|
@ -29,6 +29,7 @@ import com.ruoyi.quality.service.IQualityOrderService; |
|
|
import com.ruoyi.system.domain.*; |
|
|
import com.ruoyi.system.domain.*; |
|
|
import com.ruoyi.system.mapper.*; |
|
|
import com.ruoyi.system.mapper.*; |
|
|
import com.ruoyi.system.service.ISysMakeOrderService; |
|
|
import com.ruoyi.system.service.ISysMakeOrderService; |
|
|
|
|
|
import com.ruoyi.system.service.ISysRemindService; |
|
|
import com.ruoyi.system.service.ISysSalesOrderService; |
|
|
import com.ruoyi.system.service.ISysSalesOrderService; |
|
|
import com.ruoyi.warehouse.domain.*; |
|
|
import com.ruoyi.warehouse.domain.*; |
|
|
import com.ruoyi.warehouse.mapper.*; |
|
|
import com.ruoyi.warehouse.mapper.*; |
|
@ -131,6 +132,9 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
@Autowired |
|
|
@Autowired |
|
|
private SysMakeorderPickMapper makeorderPickMapper; |
|
|
private SysMakeorderPickMapper makeorderPickMapper; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private ISysRemindService remindService; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查询仓库入库单 |
|
|
* 查询仓库入库单 |
|
|
* |
|
|
* |
|
@ -773,6 +777,8 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
throw new BusinessException("更新库存查询记录失败!"); |
|
|
throw new BusinessException("更新库存查询记录失败!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
remindService.warehouseSafetyStockRemind(oldWarehouseInventoryInquiry); |
|
|
|
|
|
|
|
|
WarehouseInventoryInquiryDetail inquiryDetail = new WarehouseInventoryInquiryDetail(); |
|
|
WarehouseInventoryInquiryDetail inquiryDetail = new WarehouseInventoryInquiryDetail(); |
|
|
inquiryDetail.setMaterialNo(materialNo); |
|
|
inquiryDetail.setMaterialNo(materialNo); |
|
|
inquiryDetail.setInquiryWarehouseType("0");//采购入库
|
|
|
inquiryDetail.setInquiryWarehouseType("0");//采购入库
|
|
@ -821,6 +827,8 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
throw new BusinessException("更新库存查询记录失败!"); |
|
|
throw new BusinessException("更新库存查询记录失败!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
remindService.warehouseSafetyStockRemind(oldWarehouseInventoryInquiry); |
|
|
|
|
|
|
|
|
WarehouseInventoryInquiryDetail inquiryDetail = new WarehouseInventoryInquiryDetail(); |
|
|
WarehouseInventoryInquiryDetail inquiryDetail = new WarehouseInventoryInquiryDetail(); |
|
|
inquiryDetail.setMaterialNo(materialNo); |
|
|
inquiryDetail.setMaterialNo(materialNo); |
|
|
inquiryDetail.setInquiryWarehouseType("0");//采购入库
|
|
|
inquiryDetail.setInquiryWarehouseType("0");//采购入库
|
|
@ -1861,6 +1869,8 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
inquiry.setUpdateBy(ShiroUtils.getLoginName()); |
|
|
inquiry.setUpdateBy(ShiroUtils.getLoginName()); |
|
|
inquiry.setUpdateTime(DateUtils.getNowDate()); |
|
|
inquiry.setUpdateTime(DateUtils.getNowDate()); |
|
|
|
|
|
|
|
|
|
|
|
remindService.warehouseSafetyStockRemind(inquiry); |
|
|
|
|
|
|
|
|
return warehouseInventoryInquiryMapper.updateWarehouseInventoryInquiry(inquiry); |
|
|
return warehouseInventoryInquiryMapper.updateWarehouseInventoryInquiry(inquiry); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|