Explorar el Código

任务执行失败缓存区状态回滚

master
lgh hace 2 años
padre
commit
e3d17d1923
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java

+ 3
- 0
6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java Ver fichero

@@ -346,6 +346,9 @@ public class AsynRunTaskService extends BaseService {
}
}
} else {
//修改库位状态
location.setStatus(0);
locationServiceBiz.updateById(location);
//任务失败清除缓存库位信息
inStockInfoServiceBiz.removeById(inStockInfo);
runTask.setStatus(3);


Cargando…
Cancelar
Guardar