修改bug
This commit is contained in:
parent
8f60b466a9
commit
84155facc3
|
|
@ -172,9 +172,9 @@ public class NuInvoicingPddMainServiceImpl extends ServiceImpl<NuInvoicingPddMai
|
||||||
int kcsl = nuInvoicingPddInfo.getDqkcsl();
|
int kcsl = nuInvoicingPddInfo.getDqkcsl();
|
||||||
int pdsl = nuInvoicingPddInfo.getPdsl();
|
int pdsl = nuInvoicingPddInfo.getPdsl();
|
||||||
if(pdsl > kcsl){
|
if(pdsl > kcsl){
|
||||||
nuInvoicingPddInfo.setPdType("2");
|
|
||||||
}else{
|
|
||||||
nuInvoicingPddInfo.setPdType("1");
|
nuInvoicingPddInfo.setPdType("1");
|
||||||
|
}else{
|
||||||
|
nuInvoicingPddInfo.setPdType("2");
|
||||||
}
|
}
|
||||||
nuInvoicingPddInfo.setCesl(Math.abs(pdsl-kcsl));
|
nuInvoicingPddInfo.setCesl(Math.abs(pdsl-kcsl));
|
||||||
pddInfoMapper.updateById(nuInvoicingPddInfo);
|
pddInfoMapper.updateById(nuInvoicingPddInfo);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue