Commit 5b5a3977 authored by Administrator's avatar Administrator

查询返回登记修改

parent f1512a97
...@@ -501,18 +501,21 @@ public class TaskListApi { ...@@ -501,18 +501,21 @@ public class TaskListApi {
/** /**
* 查询重做返回登记任务单 * 查询重做返回登记任务单
* @param date * @param startDate 查询起始时间
* @param endDate 查询结束时间
* @param requ
* @return * @return
*/ */
@RequestMapping("queryRedoTask") @RequestMapping("queryRedoTask")
public List<Map<String, Object>> queryRedoTask( @RequestParam("date")String date, HttpServletRequest requ) { public List<Map<String, Object>> queryRedoTask( @RequestParam("startDate")String startDate,@RequestParam("endDate")String endDate, HttpServletRequest requ) {
String remoteAddr = requ.getRemoteAddr(); String remoteAddr = requ.getRemoteAddr();
MDC.put("ip", remoteAddr); MDC.put("ip", remoteAddr);
List<Map<String, Object>> maps = new ArrayList <>(); List<Map<String, Object>> maps = new ArrayList <>();
try { try {
maps = taskListService.selectRedoTask(replaceDate(date)); maps = taskListService.selectRedoTask(replaceDate(startDate),replaceDate(endDate));
}catch (Exception e){ }catch (Exception e){
logger.error("登记时间:" + date); logger.error("登记时间:" + startDate+"-------"+endDate);
logger.error("Exception 查询重做返回登记任务单异常", e); logger.error("Exception 查询重做返回登记任务单异常", e);
} }
return maps; return maps;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment