From 277ce0556ebe4bd91af10f3e4e8b69bab78947d7 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 14 十一月 2024 12:11:01 +0800 Subject: [PATCH] # --- src/main/resources/mapper/LocDetlMapper.xml | 80 ++++++++++++++++++++-------------------- 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml index 93fbee4..900ece5 100644 --- a/src/main/resources/mapper/LocDetlMapper.xml +++ b/src/main/resources/mapper/LocDetlMapper.xml @@ -148,14 +148,14 @@ left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no where 1=1 and b.loc_sts = 'F' - <choose> - <when test="owner != null and owner != 0"> - and owner = #{owner} - </when> - <otherwise> - and 1!=1 - </otherwise> - </choose> +<!-- <choose>--> +<!-- <when test="owner != null and owner != 0">--> +<!-- and owner = #{owner}--> +<!-- </when>--> +<!-- <otherwise>--> +<!-- and 1!=1--> +<!-- </otherwise>--> +<!-- </choose>--> <!-- <choose>--> <!-- <when test="payment != null and payment != 0">--> <!-- and payment = #{payment}--> @@ -175,14 +175,14 @@ left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no where 1=1 and b.loc_sts = 'F' - <choose> - <when test="owner != null and owner != 0"> - and owner = #{owner} - </when> - <otherwise> - and 1!=1 - </otherwise> - </choose> +<!-- <choose>--> +<!-- <when test="owner != null and owner != 0">--> +<!-- and owner = #{owner}--> +<!-- </when>--> +<!-- <otherwise>--> +<!-- and 1!=1--> +<!-- </otherwise>--> +<!-- </choose>--> <!-- <choose>--> <!-- <when test="payment != null and payment != 0">--> <!-- and payment = #{payment}--> @@ -278,14 +278,14 @@ <!-- </otherwise>--> <!-- </choose>--> - <choose> - <when test="owner != null and owner !=0"> - and a.owner = #{owner} - </when> - <otherwise> - and 1!=1 - </otherwise> - </choose> +<!-- <choose>--> +<!-- <when test="owner != null and owner !=0">--> +<!-- and a.owner = #{owner}--> +<!-- </when>--> +<!-- <otherwise>--> +<!-- and 1!=1--> +<!-- </otherwise>--> +<!-- </choose>--> order by DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme @@ -448,14 +448,14 @@ <!-- </otherwise>--> <!-- </choose>--> - <choose> - <when test="owner != null and owner !=0"> - and a.owner = #{owner} - </when> - <otherwise> - and 1!=1 - </otherwise> - </choose> +<!-- <choose>--> +<!-- <when test="owner != null and owner !=0">--> +<!-- and a.owner = #{owner}--> +<!-- </when>--> +<!-- <otherwise>--> +<!-- and 1!=1--> +<!-- </otherwise>--> +<!-- </choose>--> order by a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme @@ -661,14 +661,14 @@ </otherwise> </choose> - <choose> - <when test="owner != null and owner !=0"> - and a.owner = #{owner} - </when> - <otherwise> - and 1!=1 - </otherwise> - </choose> +<!-- <choose>--> +<!-- <when test="owner != null and owner !=0">--> +<!-- and a.owner = #{owner}--> +<!-- </when>--> +<!-- <otherwise>--> +<!-- and 1!=1--> +<!-- </otherwise>--> +<!-- </choose>--> order by a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme -- Gitblit v1.9.1