盘点出入库判断

This commit is contained in:
wangw 2024-10-31 15:10:56 +08:00
parent 7691a967b4
commit 5eab49b844
1 changed files with 1 additions and 1 deletions

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("-");