From 45ff2e5b23822d82223e457a0fd8ae81bf556584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 22 Oct 2022 12:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E6=AC=A0=E6=AC=BE=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=92=E5=BA=8F=EF=BC=8C=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=8C=89=E5=8D=95=E6=8D=AE=E6=97=B6=E9=97=B4=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml index 5d6f7a47..50e0f231 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml @@ -897,7 +897,7 @@ and (abs(dh.change_amount)+(select ifnull(sum(abs(ai.each_amount)),0) from jsh_account_item ai where ai.bill_id=dh.id and ifnull(ai.delete_flag,'0') !='1')) < (dh.discount_last_money + dh.other_money - ifnull(dh.deposit,0)) and ifnull(dh.delete_flag,'0') !='1' - order by dh.id desc + order by dh.oper_time desc