修改批量出入库
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user