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