fix: 手持菜单区分与清除暂存修改
This commit is contained in:
@@ -81,7 +81,7 @@ public class SlitterPdaController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/toCleanCutCacheInventory")
|
@PostMapping("/toCleanCutCacheInventory")
|
||||||
@Log("清理分切缓存到内包间")
|
@Log("清理分切缓存")
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public ResponseEntity<Object> toCleanCutCacheInventory(@RequestBody JSONObject param) {
|
public ResponseEntity<Object> toCleanCutCacheInventory(@RequestBody JSONObject param) {
|
||||||
return new ResponseEntity<>(slitterDevices.toCleanCutCacheInventory(param), HttpStatus.OK);
|
return new ResponseEntity<>(slitterDevices.toCleanCutCacheInventory(param), HttpStatus.OK);
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ public interface SlitterService {
|
|||||||
JSONArray getCutCacheAgvPoints();
|
JSONArray getCutCacheAgvPoints();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 清理分切缓存到内包间
|
* 清理分切缓
|
||||||
* @param param /
|
* @param param /
|
||||||
* @return /
|
* @return /
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1003,10 +1003,16 @@ public class SlitterServiceImpl implements SlitterService {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if (openLock) {
|
if (openLock) {
|
||||||
BstIvtCutpointivt agvCode = bcutpointivtService.getPintByAgvCode(pointCode, false);
|
BstIvtCutpointivt agvCode = bcutpointivtService.getPintByTrussCode(pointCode, false);
|
||||||
agvCode.setQzz_no1("");
|
if (agvCode.getTruss_point_code1().equals(pointCode)) {
|
||||||
agvCode.setQzz_no2("");
|
agvCode.setQzz_no1("");
|
||||||
agvCode.setPoint_status("1");
|
}
|
||||||
|
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);
|
TaskUtils.updateOptMessageByBCutPoint(agvCode);
|
||||||
bcutpointivtService.updateById(agvCode);
|
bcutpointivtService.updateById(agvCode);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -495,7 +495,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|||||||
roleTree.add(row);
|
roleTree.add(row);
|
||||||
}
|
}
|
||||||
res.put("sonTree", roleTree);
|
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");
|
returnjo.put("code", "1");
|
||||||
|
|||||||
Reference in New Issue
Block a user