fix: 手持菜单区分与清除暂存修改
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -142,7 +142,7 @@ public interface SlitterService {
|
||||
JSONArray getCutCacheAgvPoints();
|
||||
|
||||
/**
|
||||
* 清理分切缓存到内包间
|
||||
* 清理分切缓
|
||||
* @param param /
|
||||
* @return /
|
||||
*/
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user