Commit af5cf0a5 authored by dahai's avatar dahai

添加查询分拣历史任务单API

parent a6c23473
...@@ -212,7 +212,7 @@ public class TaskListApi { ...@@ -212,7 +212,7 @@ public class TaskListApi {
*/ */
@RequestMapping("queryHistoryTaskAtAuxiliary") @RequestMapping("queryHistoryTaskAtAuxiliary")
public List<Object> queryHistoryTaskAtAuxiliary(@RequestParam("process") String process,@RequestParam("date") String date, HttpServletResponse resp) { public List<Object> queryHistoryTaskAtAuxiliary(@RequestParam("process") String process,@RequestParam("date") String date, HttpServletResponse resp) {
List<Object> objects = taskListService.selectHistoryTaskAtAuxiliary(Long.valueOf(process) ,date); List<Object> objects = taskListService.selectHistoryTaskAtAuxiliary(Long.valueOf(process) ,replaceDate(date));
return objects; return objects;
} }
...@@ -225,7 +225,7 @@ public class TaskListApi { ...@@ -225,7 +225,7 @@ public class TaskListApi {
*/ */
@RequestMapping("queryHistoryTaskAtAuxiliary2") @RequestMapping("queryHistoryTaskAtAuxiliary2")
public List<Object> queryHistoryTaskAtAuxiliary2(@RequestParam("date") String date, HttpServletResponse resp) { public List<Object> queryHistoryTaskAtAuxiliary2(@RequestParam("date") String date, HttpServletResponse resp) {
List<Object> objects = taskListService.selectHistoryTaskAtAuxiliary2(date); List<Object> objects = taskListService.selectHistoryTaskAtAuxiliary2(replaceDate(date));
return objects; return objects;
} }
......
...@@ -34,8 +34,6 @@ public class ImportXmlServiceImpl implements ImportXmlService { ...@@ -34,8 +34,6 @@ public class ImportXmlServiceImpl implements ImportXmlService {
long l = filesMapper.insertFiles(filesEntity); long l = filesMapper.insertFiles(filesEntity);
for (PreproPersonEntity preproPersonEntity : preproPersonEntities) { for (PreproPersonEntity preproPersonEntity : preproPersonEntities) {
preproPersonEntity.setFileId(filesEntity.getId()); preproPersonEntity.setFileId(filesEntity.getId());
System.out.println(preproPersonEntity.getFileId()+"----preproPersonEntity----");
preproPersonMapper.savePreproPersonEntity(preproPersonEntity); preproPersonMapper.savePreproPersonEntity(preproPersonEntity);
} }
return true; return true;
......
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