From 9c61e9c8f99cc3c35f2940333605981ef4b30fbb Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 19 八月 2024 18:20:20 +0800 Subject: [PATCH] 工时管理小数点问题 --- inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml index 87f66bb..08ee5e4 100644 --- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml @@ -191,7 +191,7 @@ LEFT JOIN user ON isu.user_id = user.id WHERE io.state = 1 - # AND io.ins_state != 5 +-- # AND io.ins_state != 5 and send_time is not null <if test="userId !=null and userId!=''"> and (isu.user_id = #{userId} OR isu.user_id is NULL ) @@ -212,7 +212,7 @@ isu2.ins_sample_id = a.id where ins_state is not null <if test="laboratory != null and laboratory != ''"> - and laboratory=#{laboratory} + and a.laboratory=#{laboratory} </if> ORDER BY <!--a.user_id DESC,--> -- Gitblit v1.9.3