From b83aab51e1836a7eff3909f5b3ddc661b3036ff4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 16 May 2022 15:50:18 +0800
Subject: [PATCH] 20220516
---
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml | 10 ++++++++++
1 files changed, 10 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 902cbc7..e37c0d0 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
@@ -42,6 +42,7 @@
<result property="reply" column="reply"/>
<result property="overtimeNotice" column="overtime_notice"/>
<result property="cashierId" column="cashier_id"/>
+ <result property="signPic" column="sign_pic"/>
<result property="cashierName" column="cashierName"/>
@@ -272,6 +273,9 @@
<if test="cashierId != null ">
cashier_id = #{cashierId},
</if>
+ <if test="signPic != null ">
+ sign_pic = #{signPic},
+ </if>
</set>
WHERE id=#{id}
</update>
@@ -309,6 +313,9 @@
left join sys_beautician_state c on a.id=c.SERVICES_ID
WHERE 1 = 1
<if test="record!=null">
+ <if test="record.queryKey != null and record.queryKey != ''">
+ and (instr(c.vip_name, #{record.queryKey}) or instr(c.phone, #{record.queryKey}) or instr(a.order_no, #{record.queryKey}))
+ </if>
<if test="record.queryStaffId != null and record.queryStaffId !='' ">
and (a.CREATE_STAFF_ID = #{record.queryStaffId} or c.STAFF_ID=#{record.queryStaffId} )
</if>
@@ -376,6 +383,9 @@
left join sys_beautician_state c on a.id=c.SERVICES_ID
WHERE 1 = 1
<if test="record!=null">
+ <if test="record.queryKey != null and record.queryKey != ''">
+ and (instr(c.vip_name, #{record.queryKey}) or instr(c.phone, #{record.queryKey}) or instr(a.order_no, #{record.queryKey}))
+ </if>
<if test="record.queryStaffId != null and record.queryStaffId !='' ">
and (a.CREATE_STAFF_ID = #{record.queryStaffId} or c.STAFF_ID=#{record.queryStaffId} )
</if>
--
Gitblit v1.9.1