提交 6c8d20bc authored 作者: zhoushaopan's avatar zhoushaopan

fix(维修模块): 省直属发起入库,装备状态未发生改变

省直属发起入库,装备状态未发生改变
上级 3b87f4fc
...@@ -3057,7 +3057,7 @@ public class RepairController { ...@@ -3057,7 +3057,7 @@ public class RepairController {
deviceRepairDetailService.save(repairDetail); deviceRepairDetailService.save(repairDetail);
} }
//如果当前为省像国家发起的 //如果当前为省像国家发起的
if (level == 1 && units.getType() == 2) { if (level == 1 && units.getType() == 1) {
deviceLibraryEntity.setLifeStatus(4); deviceLibraryEntity.setLifeStatus(4);
deviceLibraryEntity.setLocationUnit(repairBillSaveVo.getReceiveUnit()); deviceLibraryEntity.setLocationUnit(repairBillSaveVo.getReceiveUnit());
deviceLibraryEntity.setStorageLocation(null); deviceLibraryEntity.setStorageLocation(null);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论