jyy
2021-01-27 af6a6f03d3da1303b6fec2cff5dbd0fd10e8ad5c
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml
@@ -246,20 +246,20 @@
               CHANGE_ID = #{changeId},
            </if>
            <if test="oldShopId != null and oldShopId !='' ">
               OLD_SHOP_ID = #{oldShopId}
               OLD_SHOP_ID = #{oldShopId},
            </if>
            <if test="consumeTime != null  ">
               consume_time = #{consumeTime}
               consume_time = #{consumeTime},
            </if>
            <if test="reply != null  ">
               reply = #{reply}
               reply = #{reply},
            </if>
            <if test="comment != null  ">
               comment = #{comment}
               comment = #{comment},
            </if>
            <if test="overtimeNotice != null  ">
               overtime_notice = #{overtimeNotice}
               overtime_notice = #{overtimeNotice},
            </if>
      </set>
      WHERE id=#{id} 
@@ -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>