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