|
|
|
@ -508,6 +508,7 @@ public class InvPlaceServiceImpl implements InvPlaceService {
|
|
|
|
|
QueryWrapper<InvPreInProductDetailEntity> ew = new QueryWrapper<>();
|
|
|
|
|
ew.eq("code", bindInvSpaceRequest.getCode());
|
|
|
|
|
ew.eq("invSpaceCode", bindInvSpaceRequest.getInvSpaceCode());
|
|
|
|
|
ew.eq("mainAction", "WareHouseIn");
|
|
|
|
|
InvPreInProductDetailEntity invPreInProductDetailEntity = invPreInProductDetailDao.selectOne(ew);
|
|
|
|
|
count = invPreInProductDetailEntity.getInCount();
|
|
|
|
|
if (invPreInProductDetailEntity == null) {
|
|
|
|
@ -537,6 +538,7 @@ public class InvPlaceServiceImpl implements InvPlaceService {
|
|
|
|
|
QueryWrapper<InvPreProductDetailEntity> ew = new QueryWrapper<>();
|
|
|
|
|
ew.eq("code", bindInvSpaceRequest.getCode());
|
|
|
|
|
ew.eq("invSpaceCode", bindInvSpaceRequest.getInvSpaceCode());
|
|
|
|
|
ew.eq("mainAction", "WareHouseIn");
|
|
|
|
|
InvPreProductDetailEntity invPreProductDetailEntity = invPreProductDetailDao.selectOne(ew);
|
|
|
|
|
if (invPreProductDetailEntity == null) {
|
|
|
|
|
return "该产品库存不足!";
|
|
|
|
@ -567,6 +569,7 @@ public class InvPlaceServiceImpl implements InvPlaceService {
|
|
|
|
|
QueryWrapper<InvProductDetailEntity> ew = new QueryWrapper<>();
|
|
|
|
|
ew.eq("code", bindInvSpaceRequest.getCode());
|
|
|
|
|
ew.eq("invSpaceCode", bindInvSpaceRequest.getInvSpaceCode());
|
|
|
|
|
ew.eq("mainAction", "WareHouseIn");
|
|
|
|
|
InvProductDetailEntity invProductDetailEntity = invProductDetailDao.selectOne(ew);
|
|
|
|
|
if (invProductDetailEntity == null) {
|
|
|
|
|
return "该产品库存不足!";
|
|
|
|
|