rev:修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,4 +164,12 @@ public interface PdaNotCarService {
|
||||
*/
|
||||
void publicLoadingConfirm();
|
||||
|
||||
/**
|
||||
* 仓库送料 - 清除任务
|
||||
*
|
||||
* @param whereJson {
|
||||
* }
|
||||
* @return PdaResponse
|
||||
*/
|
||||
PdaResponse cleanTask(JSONObject whereJson);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user