From af6a6f03d3da1303b6fec2cff5dbd0fd10e8ad5c Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Wed, 27 Jan 2021 09:59:32 +0800
Subject: [PATCH] 1、查询产品bug 2、储值卡使用完成不设置为失效

---
 zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java b/zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java
index 825d86e..08933dd 100644
--- a/zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java
+++ b/zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java
@@ -3,6 +3,9 @@
 import com.matrix.system.app.dto.ServiceOrderListDto;
 import com.matrix.system.app.vo.ServiceOrderListVo;
 import com.matrix.system.hive.bean.SysProjServices;
+import com.matrix.system.shopXcx.api.dto.ErpServiceOrderListDto;
+import com.matrix.system.shopXcx.api.vo.ErpOrderDetailItemVo;
+import com.matrix.system.shopXcx.api.vo.ErpServiceOrderListVo;
 import org.apache.ibatis.annotations.Param;
 
 import com.matrix.core.pojo.PaginationVO;
@@ -41,4 +44,31 @@
 	List<ServiceOrderListVo> selectApiServiceOrderListInPage(@Param("record") ServiceOrderListDto serviceOrderListDto, @Param("pageVo") PaginationVO pageVo);
 
 	int selectApiServiceOrderListTotal(@Param("record") ServiceOrderListDto serviceOrderListDto);
+
+	/**
+	 * 小程序端查询客户预约单
+	 * @param orderListDto
+	 * @return
+	 */
+    List<ErpServiceOrderListVo> findWxServiceOrderList(ErpServiceOrderListDto orderListDto);
+
+	/**
+	 * 小程序端查询客户预约单详情
+	 * @param id
+	 * @return
+	 */
+	ErpServiceOrderListVo findWxServiceOrderById(Long id);
+
+	/**
+	 * 查询预约时间在1小时之内且没有通知过的服务单
+	 * @return
+	 */
+	List<SysProjServices> selectNeedNoticeService();
+
+	/**
+	 * 设置服务单为已通知
+	 * @param noticedIds
+	 * @return
+	 */
+	int updateNoticeTimes(@Param("list")List<Long> noticedIds);
 }
\ No newline at end of file

--
Gitblit v1.9.1