feat(service): 新增创建仓库管理员补码任务方法

- 添加qrCodeCreateTask方法用于生成补码任务
- 方法参数包括物料编号、工厂编号和仓库编号
- 在数量不一致时触发创建补码的待办任务逻辑
- 预留TODO部分待完善任务创建具体实现
This commit is contained in:
曹鹏飞 2026-05-30 17:08:45 +08:00
parent 452d924f9d
commit bf2d112156
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@ public class BaseControllerService {
return quantityQr.compareTo(quantityInventory) == 0; return quantityQr.compareTo(quantityInventory) == 0;
} }
/**
* 创建仓库管理员补码任务
* @param materialNo 物料编号
* @param factoryNo 工厂编号
* @param warehouseNo 仓库编号
*/
protected void qrCodeCreateTask(String materialNo,String factoryNo, String warehouseNo){ protected void qrCodeCreateTask(String materialNo,String factoryNo, String warehouseNo){
if (!quantityConsistencyCheck(materialNo, factoryNo, warehouseNo)) { if (!quantityConsistencyCheck(materialNo, factoryNo, warehouseNo)) {
//TODO 给仓库负责人创建补码的待办任务 //TODO 给仓库负责人创建补码的待办任务