|
@@ -600,7 +600,7 @@ public class ProductInventoryServiceImpl implements IProductInventoryService {
|
|
|
// productCodeListVO.getQrCode();
|
|
|
|
|
|
// 得到当前码单出库信息
|
|
|
- ProductOutboundRecord productOutboundRecord = productOutboundRecordMapper.selectProductOutboundRecordWhetherExist(productCodeListVO.getQrCodeId(), productCodeListVO.getQrCode());
|
|
|
+ ProductOutboundRecord productOutboundRecord = productOutboundRecordMapper.selectProductOutboundRecordWhetherExist(productCodeListVO.getQrCode(),productCodeListVO.getQrCodeId());
|
|
|
productOutboundRecord.getNoticeNumber(); // 通知单号
|
|
|
|
|
|
// 根据通知单号查询出库单信息
|
|
@@ -626,7 +626,7 @@ public class ProductInventoryServiceImpl implements IProductInventoryService {
|
|
|
.orElse(null);
|
|
|
|
|
|
// getBatchState() 0 表示正常登账状态不可以退库 1表示撤销登账状态可以退库
|
|
|
- if (find != null && find.getBatchState() == 1) {
|
|
|
+ if (find != null && (find.getBatchState() == '0')) {
|
|
|
retList.add(productCodeListVO);
|
|
|
continue;
|
|
|
}
|