From ce50a18232be02616cb429b2885bf623ee030304 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期日, 21 十二月 2025 09:39:43 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/LocDetlMapper.xml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index bde6021..1cad7ac 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -148,7 +148,7 @@
<if test="anfme!=null and anfme!='' ">
and a.anfme like concat('%' , #{anfme} , '%')
</if>
- <if test="startTime!=null and endTime!=null">
+ <if test="startTime!=null and endTime!=null and endTime!=''">
and a.modi_time between #{startTime} and #{endTime}
</if>
<if test="crnNo!=null and crnNo!='' ">
@@ -447,5 +447,7 @@
update asr_loc_detl set three_code = #{qualified} where model = #{rollNo}
</update>
-
+ <update id="updateQualifiedByBrand">
+ update asr_loc_detl set three_code = #{qualified} where brand = #{brand}
+ </update>
</mapper>
--
Gitblit v1.9.1