From 2e3c12ca3a7241f498c32121cb1572502c998d0d Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Sat, 09 Jan 2021 00:42:00 +0800 Subject: [PATCH] 公众号模板消息demo --- zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml index 1df9bcf..d2b2a8b 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml @@ -466,6 +466,7 @@ <result property="vipName" column="vipName" /> <result property="timeLength" column="timeLength" /> <result property="status" column="status" /> + <result property="createStaffId" column="createStaffId" /> <collection property="projs" ofType="com.matrix.system.app.vo.ServiceOrderListProjVo"> <result property="projName" column="projName" /> <result property="beautyName" column="beautyName" /> @@ -481,6 +482,7 @@ a.YY_TIME time, a.TOTAL_TIME timeLength, a.state status, + a.create_staff_id createStaffId, d.BED_NAME bed, e.VIP_NAME vipName, b.staff_id staffId, @@ -502,6 +504,9 @@ </if> <if test="record.shopId != null"> and a.shop_id=#{record.shopId} + </if> + <if test="record.userId!=null"> + and (a.create_staff_id=#{record.userId} or b.staff_id=#{record.userId}) </if> </where> <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> @@ -532,6 +537,9 @@ <if test="record.shopId != null"> and a.shop_id=#{record.shopId} </if> + <if test="record.userId!=null"> + and (a.create_staff_id=#{record.userId} or b.staff_id=#{record.userId}) + </if> </where> </select> </mapper> -- Gitblit v1.9.1