Merge pull request 'demand: TMS系统 - 客户管理 - 现金客户额度 - 超期已用额度 与运单明细单号运费不一致;' (#61) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/61
This commit is contained in:
heyu 2025-06-23 21:20:32 +08:00
commit 950cebc2a6

View File

@ -156,10 +156,10 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
*/
@Override
public int updateEmisTmsSiteBatch(EmisTmsSiteBatch emisTmsSiteBatch) throws EmisBizError {
List<EmisWaybill> emisWaybills = emisTmsSiteBatchDtlMapper.selectEmisWayBillByBatchNo(emisTmsSiteBatch.getBatchNo());
for (EmisWaybill emisWaybill : emisWaybills) {
checkUnique(emisTmsSiteBatch, emisWaybill.getBillCode());
}
// List<EmisWaybill> emisWaybills = emisTmsSiteBatchDtlMapper.selectEmisWayBillByBatchNo(emisTmsSiteBatch.getBatchNo());
// for (EmisWaybill emisWaybill : emisWaybills) {
// checkUnique(emisTmsSiteBatch, emisWaybill.getBillCode());
// }
return emisTmsSiteBatchMapper.updateEmisTmsSiteBatch(emisTmsSiteBatch);
}