From b817fbb5145bbdf84f0e0c50969d429c28809f53 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sun, 09 Oct 2022 21:40:55 +0800
Subject: [PATCH] 修复取消订单时充值卡未从无效变有效

---
 zq-erp/src/main/java/com/matrix/system/hive/dao/SysProjServicesDao.java |   47 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 41 insertions(+), 6 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 8614295..9c7955f 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
@@ -1,12 +1,14 @@
 package com.matrix.system.hive.dao;
 
+import com.matrix.core.pojo.PaginationVO;
+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.hive.dto.ServiceOrderTimeDto;
+import com.matrix.system.shopXcx.api.dto.ErpServiceOrderListDto;
+import com.matrix.system.shopXcx.api.vo.ErpServiceOrderListVo;
 import org.apache.ibatis.annotations.Param;
 
-import com.matrix.core.pojo.PaginationVO;
-
-
-import java.util.Date;
 import java.util.List;
 
 
@@ -34,7 +36,40 @@
 
 	public SysProjServices  selectById(Long id);
 
-	public void updateOrderTime(@Param("createTime") Date createTime, @Param("id") Long id);
-	 
+	public void updateOrderTime(@Param("serviceOrderTimeDto") ServiceOrderTimeDto serviceOrderTimeDto);
 
+	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);
+
+	List<SysProjServices> selectProjServicesByOrderItemId(@Param("itemId") Long itemId);
+
+    List<SysProjServices> selectByIds(@Param("list")List<Long> ids);
 }
\ No newline at end of file

--
Gitblit v1.9.1