|
@ -166,6 +166,8 @@ public class CountJobDetailServiceImpl implements CountJobDetailService { |
|
|
if (res) { |
|
|
if (res) { |
|
|
//如果子表中的库存数量和盘点数量都不同时,盘点调整才能生成
|
|
|
//如果子表中的库存数量和盘点数量都不同时,盘点调整才能生成
|
|
|
counRecordMainDO.setStatus(AdjustStatusEnum.CANGENERATE.getCode()); |
|
|
counRecordMainDO.setStatus(AdjustStatusEnum.CANGENERATE.getCode()); |
|
|
|
|
|
counRecordMainDO.setCreateTime(LocalDateTime.now()); |
|
|
|
|
|
counRecordMainDO.setUpdateTime(LocalDateTime.now()); |
|
|
countRecordMainMapper.insert(counRecordMainDO); |
|
|
countRecordMainMapper.insert(counRecordMainDO); |
|
|
for (CountJobDetailExcelVO data : countJobDetailExcelVOList) { |
|
|
for (CountJobDetailExcelVO data : countJobDetailExcelVOList) { |
|
|
CountRecordDetailDO countRecordDetailDO = new CountRecordDetailDO(); |
|
|
CountRecordDetailDO countRecordDetailDO = new CountRecordDetailDO(); |
|
|