no message

main
HUOJIN\92525 2025-04-02 16:15:08 +08:00
parent 5d927567fa
commit dbede726f4
3 changed files with 3 additions and 3 deletions

View File

@ -1244,7 +1244,7 @@ public class DefaultCustomsOrderManager extends DefaultBaseManager implements Cu
public double getpayMoneyMap(Map map) { public double getpayMoneyMap(Map map) {
Long id=(Long) map.get("co.id"); Long id=(Long) map.get("co.id");
CustomsOrder co=this.load(CustomsOrder.class, id); CustomsOrder co=this.load(CustomsOrder.class, id);
Double qty= (Double) commonDao.findByQuery("select nvl(sum(fee.feeMenoy),0) from Fee fee where 1=1 and ((fee.orderId=:id and fee.billType='CUSTOMSORDER') or (fee.customsOrderId=:id and fee.billType='INVOICEBOX')) and fee.payOrReceive='应付' ", Double qty= (Double) commonDao.findByQuery("select nvl(sum(fee.feeMenoy),0) from Fee fee where 1=1 and ((fee.orderId=:id and fee.billType='CUSTOMSORDER') or (fee.customsOrderId=:id and fee.billType='INVOICEBOX') or (fee.customsOrderId=:id and fee.billType='ASN') or (fee.customsOrderId=:id and fee.billType='PICKTICKET')) and fee.payOrReceive='应付' ",
new String[] { "id"},new Object[] {id}).get(0); new String[] { "id"},new Object[] {id}).get(0);
return qty; return qty;
} }

View File

@ -35,7 +35,7 @@
FROM Fee fee FROM Fee fee
left join fee.feeName left join fee.feeName
left join fee.billFee left join fee.billFee
WHERE 1=1 and ((fee.orderId={co.id} and fee.billType='CUSTOMSORDER') or (fee.customsOrderId={co.id} and fee.billType='INVOICEBOX')or (fee.customsOrderId={co.id} and fee.billType='ASN')) WHERE 1=1 and ((fee.orderId={co.id} and fee.billType='CUSTOMSORDER') or (fee.customsOrderId={co.id} and fee.billType='INVOICEBOX')or (fee.customsOrderId={co.id} and fee.billType='ASN') or (fee.customsOrderId={co.id} and fee.billType='PICKTICKET'))
and fee.payOrReceive='应付' and fee.payOrReceive='应付'
]]></datasource> ]]></datasource>
<columns> <columns>

View File

@ -35,7 +35,7 @@
FROM Fee fee FROM Fee fee
left join fee.feeName left join fee.feeName
left join fee.billFee left join fee.billFee
WHERE 1=1 and ((fee.orderId={co.id} and fee.billType='CUSTOMSORDER') or (fee.customsOrderId={co.id} and fee.billType='INVOICEBOX')or (fee.customsOrderId={co.id} and fee.billType='ASN')) WHERE 1=1 and ((fee.orderId={co.id} and fee.billType='CUSTOMSORDER') or (fee.customsOrderId={co.id} and fee.billType='INVOICEBOX')or (fee.customsOrderId={co.id} and fee.billType='ASN') or (fee.customsOrderId={co.id} and fee.billType='PICKTICKET'))
and fee.payOrReceive='应付' and fee.payOrReceive='应付'
]]></datasource> ]]></datasource>
<columns> <columns>