update 到账开票可以查询到23年及之前的打包子项目
This commit is contained in:
+6
-6
@@ -57,7 +57,7 @@
|
|||||||
where
|
where
|
||||||
c.receivable_amount <![CDATA[<>]]> 0
|
c.receivable_amount <![CDATA[<>]]> 0
|
||||||
and c.receivable_amount is not null
|
and c.receivable_amount is not null
|
||||||
and c.pack = 0
|
and (pack = 0 or year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND c.principal_id = #{payCommonProject.principalId}
|
AND c.principal_id = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
where
|
where
|
||||||
gsub.receivable_amount <![CDATA[<>]]> 0
|
gsub.receivable_amount <![CDATA[<>]]> 0
|
||||||
and gsub.receivable_amount is not null
|
and gsub.receivable_amount is not null
|
||||||
and gsub.pack = 0
|
and (pack = 0 or year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND g.principal_id_a = #{payCommonProject.principalId}
|
AND g.principal_id_a = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
where
|
where
|
||||||
sit.amount_receivable <![CDATA[<>]]> 0
|
sit.amount_receivable <![CDATA[<>]]> 0
|
||||||
and sit.amount_receivable is not null
|
and sit.amount_receivable is not null
|
||||||
and sit.pack = 0
|
and (pack = 0 or particular_year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND meeting.director_id = #{payCommonProject.principalId}
|
AND meeting.director_id = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
where
|
where
|
||||||
msub.amount_receivable <![CDATA[<>]]> 0
|
msub.amount_receivable <![CDATA[<>]]> 0
|
||||||
and msub.amount_receivable is not null
|
and msub.amount_receivable is not null
|
||||||
and msub.pack = 0
|
and (pack = 0 or particular_year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND pmp.director_id = #{payCommonProject.principalId}
|
AND pmp.director_id = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
where
|
where
|
||||||
tmsub.amount_receivable <![CDATA[<>]]> 0
|
tmsub.amount_receivable <![CDATA[<>]]> 0
|
||||||
and tmsub.amount_receivable is not null
|
and tmsub.amount_receivable is not null
|
||||||
and tmsub.pack = 0
|
and (pack = 0 or year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND tmember.director_id = #{payCommonProject.principalId}
|
AND tmember.director_id = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
@@ -249,7 +249,7 @@
|
|||||||
where
|
where
|
||||||
tcp.amount_receivable <![CDATA[<>]]> 0
|
tcp.amount_receivable <![CDATA[<>]]> 0
|
||||||
and tcp.amount_receivable is not null
|
and tcp.amount_receivable is not null
|
||||||
and tcp.pack = 0
|
and (pack = 0 or year <![CDATA[<]]> 2024)
|
||||||
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
<if test="payCommonProject.principalId != null and payCommonProject.principalId != ''">
|
||||||
AND tmember.director_id = #{payCommonProject.principalId}
|
AND tmember.director_id = #{payCommonProject.principalId}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user