update 应收账款统计列表查询sql
This commit is contained in:
+6
-6
@@ -2375,8 +2375,8 @@
|
||||
and departCode = #{departCode}
|
||||
</if>
|
||||
<!-- 开票未来款 -->
|
||||
AND (comeAllMoney <![CDATA[<]]> billMoney or
|
||||
(comeAllMoney is null and billMoney is not null and billMoney !=0))
|
||||
AND (paidNoTaxAmount <![CDATA[<]]> invoiceNoTaxAmount or
|
||||
(paidNoTaxAmount is null and invoiceNoTaxAmount is not null and invoiceNoTaxAmount != 0))
|
||||
</where>
|
||||
) a
|
||||
</select>
|
||||
@@ -2444,8 +2444,8 @@
|
||||
and departCode = #{departCode}
|
||||
</if>
|
||||
<!-- 开票未来款 -->
|
||||
AND (comeAllMoney <![CDATA[<]]> billMoney or
|
||||
(comeAllMoney is null and billMoney is not null and billMoney != 0))
|
||||
AND (paidNoTaxAmount <![CDATA[<]]> invoiceNoTaxAmount or
|
||||
(paidNoTaxAmount is null and invoiceNoTaxAmount is not null and invoiceNoTaxAmount != 0))
|
||||
</where>) p
|
||||
<if test="column != null and column != ''">
|
||||
<if test="column == 'allMoney' and order == 'desc'">
|
||||
@@ -2504,8 +2504,8 @@
|
||||
and departCode = #{departCode}
|
||||
</if>
|
||||
<!-- 开票未来款 -->
|
||||
AND (comeAllMoney <![CDATA[<]]> billMoney or
|
||||
(comeAllMoney is null and billMoney is not null and billMoney != 0))
|
||||
AND (paidNoTaxAmount <![CDATA[<]]> invoiceNoTaxAmount or
|
||||
(paidNoTaxAmount is null and invoiceNoTaxAmount is not null and invoiceNoTaxAmount != 0))
|
||||
</where>
|
||||
) a
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user