Helius
2021-02-03 fed1f885b03a5b4b7c62d44320c3ff2068ca02e6
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
@@ -140,7 +140,7 @@
   <!--  根据id更新 部分更新   -->
   <update id="updateOrderTime">
      UPDATE sys_proj_services set CREATE_TIME=#{createTime} WHERE id=#{id}
      UPDATE sys_proj_services set consume_time=#{consumeTime} WHERE id=#{id}
   </update>
   <!-- 设置服务单为已通知 -->
@@ -549,6 +549,7 @@
      left join sys_proj_use g on b.puse_id=g.ID
      left join sys_shop_info h on a.SHOP_ID=h.ID
      <where>
         and a.company_id=#{record.companyId}
         <if test="record.queryKey != null and record.queryKey != ''">
            and (instr(a.SERVICE_NO, #{record.queryKey}) or instr(e.phone, #{record.queryKey}) or instr(e.vip_name, #{record.queryKey}) )
         </if>
@@ -585,6 +586,7 @@
      left join sys_users f on f.su_id=b.STAFF_ID
      left join sys_proj_use g on b.puse_id=g.ID
      <where>
         and a.company_id=#{record.companyId}
         <if test="record.queryKey != null and record.queryKey != ''">
            and (instr(a.SERVICE_NO, #{record.queryKey}) or instr(e.phone, #{record.queryKey}) or instr(e.vip_name, #{record.queryKey}) )
         </if>