From dafedc4516f8fcec837e1a2b93c9b70bc7ff169a Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 30 Nov 2021 18:04:19 +0800 Subject: [PATCH] fix --- zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml | 10 ++++++---- 1 files changed, 6 insertions(+), 4 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 28022f2..558112d 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjServicesDao.xml @@ -140,7 +140,11 @@ <!-- 根据id更新 部分更新 --> <update id="updateOrderTime"> - UPDATE sys_proj_services set consume_time=#{consumeTime} WHERE id=#{id} + UPDATE sys_proj_services set + consume_time=#{serviceOrderTimeDto.consumeTime}, + yy_time=#{serviceOrderTimeDto.yyTime}, + create_time=#{serviceOrderTimeDto.createTime} + WHERE id=#{serviceOrderTimeDto.id} </update> <!-- 设置服务单为已通知 --> @@ -328,9 +332,7 @@ <if test="record.vipId != null and record.vipId !='' "> and a.VIP_ID = #{record.vipId} </if> - <if test="record.isOverTime != null and record.serviceNo !='' "> - and a.IS_OVERTIME > #{record.isOverTime} - </if> + <if test="record.serviceNo != null and record.serviceNo !='' "> and a.SERVICE_NO like CONCAT('%',#{record.serviceNo},'%') </if> -- Gitblit v1.9.1