fix: 手持菜单区分与清除暂存修改

This commit is contained in:
2024-07-02 09:27:01 +08:00
parent 1cf2e6305d
commit a84a6544f9
4 changed files with 13 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ public class SlitterPdaController {
}
@PostMapping("/toCleanCutCacheInventory")
@Log("清理分切缓存到内包间")
@Log("清理分切缓存")
@SaIgnore
public ResponseEntity<Object> toCleanCutCacheInventory(@RequestBody JSONObject param) {
return new ResponseEntity<>(slitterDevices.toCleanCutCacheInventory(param), HttpStatus.OK);

View File

@@ -142,7 +142,7 @@ public interface SlitterService {
JSONArray getCutCacheAgvPoints();
/**
* 清理分切缓存到内包间
* 清理分切缓
* @param param /
* @return /
*/

View File

@@ -1003,10 +1003,16 @@ public class SlitterServiceImpl implements SlitterService {
}
try {
if (openLock) {
BstIvtCutpointivt agvCode = bcutpointivtService.getPintByAgvCode(pointCode, false);
agvCode.setQzz_no1("");
agvCode.setQzz_no2("");
agvCode.setPoint_status("1");
BstIvtCutpointivt agvCode = bcutpointivtService.getPintByTrussCode(pointCode, false);
if (agvCode.getTruss_point_code1().equals(pointCode)) {
agvCode.setQzz_no1("");
}
if (agvCode.getTruss_point_code2().equals(pointCode)) {
agvCode.setQzz_no2("");
}
if (ObjectUtil.isEmpty(agvCode.getQzz_no1()) && ObjectUtil.isEmpty(agvCode.getQzz_no2())) {
agvCode.setPoint_status("1");
}
TaskUtils.updateOptMessageByBCutPoint(agvCode);
bcutpointivtService.updateById(agvCode);
} else {

View File

@@ -495,7 +495,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
roleTree.add(row);
}
res.put("sonTree", roleTree);
result.put("rf_menu" + i, res);
result.put("rf_menu" + ("188".equals(res.getString("menu_id"))?1:0), res);
}
returnjo.put("code", "1");