rev:修改

This commit is contained in:
2026-04-21 13:55:35 +08:00
parent 9b8e24129d
commit 39b6b3ff20
3 changed files with 27 additions and 0 deletions

View File

@@ -129,4 +129,11 @@ public class PdaNotCarController {
public ResponseEntity<Object> queryIvt(@RequestBody JSONObject whereJson) {
return new ResponseEntity<>(notCarService.queryIvt(whereJson), HttpStatus.OK);
}
@PostMapping("/cleanTask")
@Log("仓库送料 - 清除任务")
@SaIgnore
public ResponseEntity<Object> cleanTask(@RequestBody JSONObject whereJson) {
return new ResponseEntity<>(notCarService.cleanTask(whereJson), HttpStatus.OK);
}
}

View File

@@ -164,4 +164,12 @@ public interface PdaNotCarService {
*/
void publicLoadingConfirm();
/**
* 仓库送料 - 清除任务
*
* @param whereJson {
* }
* @return PdaResponse
*/
PdaResponse cleanTask(JSONObject whereJson);
}

View File

@@ -506,4 +506,16 @@ public class PdaNotCarServiceImpl implements PdaNotCarService {
param.put("data", data);
wmsToNotCarService.continueTask(param);
}
@Override
public PdaResponse cleanTask(JSONObject whereJson) {
Param sysParamService = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("NO_CAR_TASK");
sysParamService.setValue(IOSConstant.ZERO);
iSysParamService.updateById(sysParamService);
Param sysParamService1 = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("IS_ARRIVE");
sysParamService1.setValue(IOSConstant.ZERO);
iSysParamService.updateById(sysParamService1);
return PdaResponse.requestOk();
}
}