no message

main
HUOJIN\92525 2024-10-12 13:42:31 +08:00
parent 1ab895aa65
commit 7bf19d0e77
7 changed files with 8 additions and 4 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
target/

View File

@ -2471,6 +2471,9 @@ public class DefaultFeeManager extends DefaultBaseManager implements FeeManager
if(!"".equals(order.getBillCode()) && null!=order.getBillCode()){
throw new BusinessException("已对账!不能修改。");
}
if(FeeStatus.CHECK.equals(order.getCostStatus())){
throw new BusinessException(order.getRelateBill3()+"单据费用已审核,不能修改。");
}
Long id=order.getId();
String billObject=BillObjectType.ORDER;
saveInputFee(id, billObject, null, "运输费", order.getFee1());

View File

@ -67,7 +67,7 @@
and shipment.platForm=#{SESSION_PLATFORM}
and f.billId=shipment.id
and shipment.status='ARRIVED'
and shipment.costStatus in('SUBMIT_CHECK','CHECK')
and shipment.costStatus in('CHECK')
and f.billObject='SHIPMENT'
and bf.id is null
/~shipment.code: AND shipment.code like upper({shipment.code})~/

View File

@ -77,7 +77,7 @@ or carrier.id in (select detail.subOrg.id from OrganizationDetail detail where d
<hql><![CDATA[ SELECT
enumerate.enumValue,
enumerate.enumValue From Enumerate enumerate
where enumerate.enumType = 'FeeStatus' and enumerate.enumValue in('OPEN','CHECK') order by enumerate.id asc ]]></hql>
where enumerate.enumType = 'FeeStatus' and enumerate.enumValue in('OPEN','SUBMIT_CHECK','CHECK') order by enumerate.id asc ]]></hql>
</list>
<booleanList id="shipment.needSinglePrice" title="是否支付" row="12" col="1" span="1" width="120" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false"/>

View File

@ -67,7 +67,7 @@
and shipment.platForm=#{SESSION_PLATFORM}
and f.billId=shipment.id
and shipment.status='ARRIVED'
and shipment.costStatus in('SUBMIT_CHECK','CHECK')
and shipment.costStatus in('CHECK')
and f.billObject='SHIPMENT'
and bf.id is null
/~shipment.code: AND shipment.code like upper({shipment.code})~/

View File

@ -77,7 +77,7 @@ or carrier.id in (select detail.subOrg.id from OrganizationDetail detail where d
<hql><![CDATA[ SELECT
enumerate.enumValue,
enumerate.enumValue From Enumerate enumerate
where enumerate.enumType = 'FeeStatus' and enumerate.enumValue in('OPEN','CHECK') order by enumerate.id asc ]]></hql>
where enumerate.enumType = 'FeeStatus' and enumerate.enumValue in('OPEN','SUBMIT_CHECK','CHECK') order by enumerate.id asc ]]></hql>
</list>
<booleanList id="shipment.needSinglePrice" title="是否支付" row="12" col="1" span="1" width="120" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false"/>