xiaoyong931011
2022-04-26 b3dddba2861bd98bbaf30df60121fc0709fac9da
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
@@ -309,6 +309,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 +379,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>