liwenxuan 5 months ago
parent
commit
63594e1063
  1. 40
      src/main/resources/mapper/FxfxdxMapper.xml

40
src/main/resources/mapper/FxfxdxMapper.xml

@ -721,8 +721,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
order by order by
@ -820,8 +822,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
order by order by
@ -947,8 +951,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2024-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
order by order by
@ -1051,8 +1057,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2024-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
--AND OTBILLID='DH20250213197' --AND OTBILLID='DH20250213197'
@ -1163,8 +1171,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2023-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
--AND OTBILLID='DH20250213197' --AND OTBILLID='DH20250213197'
@ -1267,8 +1277,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
and c.id in('f0ffe0a4620d4f53a143e647fc467b88', '797dcd5af1c04d76b8bc0071321aae6b') and c.id in('f0ffe0a4620d4f53a143e647fc467b88', '797dcd5af1c04d76b8bc0071321aae6b')
@ -1363,8 +1375,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2023-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
and c.id in('0579b3bc102e46feac2d8bdb617750df', '02954995e8e14704ac86276dee785983') and c.id in('0579b3bc102e46feac2d8bdb617750df', '02954995e8e14704ac86276dee785983')
@ -1458,8 +1472,10 @@
AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0) AND (DATEDIFF(dd, a.APPLYTIME, GETDATE() - 7) = 0)
</when> </when>
<otherwise> <otherwise>
<![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-06-01 00:00:00.000'
AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]>
</otherwise> </otherwise>
</choose> </choose>
and c.id in('35ee7345c96a4d77b206d47076ed6839', '9b8ee675618f4544b9e4a565df4c8f01','96f4c6faafcb405785c23f9c0e431a30') and c.id in('35ee7345c96a4d77b206d47076ed6839', '9b8ee675618f4544b9e4a565df4c8f01','96f4c6faafcb405785c23f9c0e431a30')

Loading…
Cancel
Save