md
This commit is contained in:
parent
4945736038
commit
6641fa5b5f
@ -131,6 +131,18 @@ public class EmisWaybillProblemInfoServiceImpl extends EmisBaseService implement
|
|||||||
emisWaybill.setBillCode(emisWaybillProblemInfo.getMainBillCode());
|
emisWaybill.setBillCode(emisWaybillProblemInfo.getMainBillCode());
|
||||||
emisWaybillMapper.cancelProblemRegister(emisWaybill);
|
emisWaybillMapper.cancelProblemRegister(emisWaybill);
|
||||||
|
|
||||||
|
// 重新计算信用额度
|
||||||
|
// 重新计算信用额度 173,170,151
|
||||||
|
Integer typeId = emisWaybillProblemInfo.getProblemType();
|
||||||
|
if(typeId == 173 || typeId == 170 || typeId == 151) {
|
||||||
|
try {
|
||||||
|
EmisWaybill oldEmisWaybill=getWaybillByBillCode(emisWaybillProblemInfo.getMainBillCode());
|
||||||
|
adjustUseQuotaCredit(oldEmisWaybill, null);
|
||||||
|
} catch (EmisBizError emisBizError) {
|
||||||
|
emisBizError.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user