Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
Tankaikai
2024-10-31 15:24:39 +08:00

View File

@@ -75,7 +75,7 @@ public class TbConCheckServiceImpl implements TbConCheckService {
}
TbConsInfoFlow flow=new TbConsInfoFlow();
if(consInfo.getStockNumber().compareTo(resources.getStockNumber())>=0){
if((consInfo.getStockNumber().subtract(consInfo.getStockConsume())).compareTo(resources.getStockNumber())>=0){
flow.setBizCode("checkStockOut");
flow.setBizName("盘点出库");
flow.setBizType("-");