修改批量出入库
This commit is contained in:
parent
259705cb76
commit
6db4ad5e35
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue