修改bug

This commit is contained in:
yangjun 2025-12-15 10:15:28 +08:00
parent 8f60b466a9
commit 84155facc3
1 changed files with 2 additions and 2 deletions

View File

@ -172,9 +172,9 @@ public class NuInvoicingPddMainServiceImpl extends ServiceImpl<NuInvoicingPddMai
int kcsl = nuInvoicingPddInfo.getDqkcsl();
int pdsl = nuInvoicingPddInfo.getPdsl();
if(pdsl > kcsl){
nuInvoicingPddInfo.setPdType("2");
}else{
nuInvoicingPddInfo.setPdType("1");
}else{
nuInvoicingPddInfo.setPdType("2");
}
nuInvoicingPddInfo.setCesl(Math.abs(pdsl-kcsl));
pddInfoMapper.updateById(nuInvoicingPddInfo);