修改批量出入库

This commit is contained in:
韩鹏辉 2024-07-08 10:52:14 +08:00
parent 259705cb76
commit 6db4ad5e35
1 changed files with 2 additions and 2 deletions

View File

@ -217,6 +217,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
suppFlow.setShopId(resources.getShopId());
suppFlow.setSupplierId(resources.getSupplierId());
suppFlow.setType(resources.getType());
suppFlow.setStockNumber(conInfos.getStockNumber());
if ("in".equals(resources.getType())) {
@ -263,6 +264,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
} else {
purveyorTransact.setStatus(0);
}
purveyorTransact.setPaidAt(System.currentTimeMillis());
purveyorTransactRepository.save(purveyorTransact);
@ -272,8 +274,6 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
tbConsInfoRepository.save(info);
tbConsSuppFlowRepository.save(suppFlow);