优化流利架入出库逻辑,修改日志级别
This commit is contained in:
@@ -12,6 +12,10 @@ import com.ruoyi.log.service.IRequestLogService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 作业统计 Controller
|
||||
*/
|
||||
@@ -109,4 +113,20 @@ public class ToWmsApiController {
|
||||
requestLogService.insertRequestLog(requestLog);
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* ctu取完箱子反馈
|
||||
* @param map{
|
||||
* "lljCode"
|
||||
* }
|
||||
* @return
|
||||
*/
|
||||
|
||||
@PostMapping("/takeCompleted")
|
||||
public AjaxResult takeCompleted(@RequestBody Map<String, Object> map) {
|
||||
AjaxResult ajaxResult = toWmsService.takeCompleted(map);
|
||||
RequestLog requestLog = requestLogService.getRequestLog(JSONUtil.toJsonStr(map), "takeCompleted",ajaxResult);
|
||||
requestLogService.insertRequestLog(requestLog);
|
||||
return ajaxResult;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user