Commit 7aaa5c79 authored by dahai's avatar dahai

修改更新废证循环单状态

parent 90097547
...@@ -33,11 +33,11 @@ public class ExportExcelApi { ...@@ -33,11 +33,11 @@ public class ExportExcelApi {
List<Map<String, Object>> mapList = detailReceiptListService.selectPostDetails(replaceDate(date)); List<Map<String, Object>> mapList = detailReceiptListService.selectPostDetails(replaceDate(date));
response.setContentType("application/x-download"); response.setContentType("application/x-download");
response.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8");
String dateTime = DateFormatUtils.format(new Date(), "yyyy年MM月dd日"); String dateTime = DateFormatUtils.format(new Date(), "yyyy-MM-dd");
// //使用Servlet实现文件下载的时候,避免浏览器自动打开文件 // //使用Servlet实现文件下载的时候,避免浏览器自动打开文件
String fout = null; String fout = null;
fout = ExportExcel.exportExcelDate(mapList); fout = ExportExcel.exportExcelDate(mapList);
String outFile = dateTime + "公安网数据"; String outFile = dateTime+"公安网信息表" ;
try { try {
FileInputStream fis = new FileInputStream(new File(fout)); FileInputStream fis = new FileInputStream(new File(fout));
byte[] b = new byte[fis.available()]; byte[] b = new byte[fis.available()];
......
...@@ -255,13 +255,13 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -255,13 +255,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public List<Object> selectByCountyAtAuxiliary(long process) { public List<Object> selectByCountyAtAuxiliary(long process) {
//查询普通组号列表 在辅助库中 //查询普通组号列表 在辅助库中
List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common(process,process-1); List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common(process,process-2);
//查询快证组号列表 在辅助库中 //查询快证组号列表 在辅助库中
List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast(process,process-1); List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast(process,process-2);
//查询余证组号列表 在辅助库中 //查询余证组号列表 在辅助库中
List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind(process,process-1); List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind(process,process-2);
//查询废证组号列表 在辅助库中 //查询废证组号列表 在辅助库中
List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed(process-1); List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed(process-2);
List list = new ArrayList(); List list = new ArrayList();
list = formateMap(mapList_common); list = formateMap(mapList_common);
list.addAll(formateMap(mapList_fast)); list.addAll(formateMap(mapList_fast));
...@@ -282,13 +282,13 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -282,13 +282,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public Map selectByCountyAtAuxiliary2(long process) { public Map selectByCountyAtAuxiliary2(long process) {
//查询普通组号列表 在辅助库中 //查询普通组号列表 在辅助库中
List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common(process,process-1); List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common(process,process-2);
//查询快证组号列表 在辅助库中 //查询快证组号列表 在辅助库中
List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast(process,process-1); List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast(process,process-2);
//查询余证组号列表 在辅助库中 //查询余证组号列表 在辅助库中
List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind(process,process-1); List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind(process,process-2);
//查询废证组号列表 在辅助库中 //查询废证组号列表 在辅助库中
List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed(process-1); List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed(process-2);
List<Map<String, Object>> list = new ArrayList<>(); List<Map<String, Object>> list = new ArrayList<>();
list = formateMap(mapList_common); list = formateMap(mapList_common);
...@@ -318,13 +318,13 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -318,13 +318,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public List selectByCountyAtAuxiliary3(long process) { public List selectByCountyAtAuxiliary3(long process) {
//查询普通组号列表 在辅助库、制证库中 //查询普通组号列表 在辅助库、制证库中
List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common2(process,process-1); List<Map<String, Object>> mapList_common = taskListMapper.selectByCountyAtAuxiliary_common2(process,process-2);
//查询快证组号列表 在辅助库、制证库中 //查询快证组号列表 在辅助库、制证库中
List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast2(process,process-1); List<Map<String, Object>> mapList_fast = taskListMapper.selectByCountyAtAuxiliary_fast2(process,process-2);
//查询余证组号列表 在辅助库、制证库中 //查询余证组号列表 在辅助库、制证库中
List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind2(process,process-1); List<Map<String, Object>> mapList_remaind = taskListMapper.selectByCountyAtAuxiliary_remaind2(process,process-2);
//查询余证组号列表 在辅助库、制证库中 //查询余证组号列表 在辅助库、制证库中
List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed2(process-1); List<Map<String, Object>> mapList_failed = taskListMapper.selectByCountyAtAuxiliary_failed2(process-2);
List<Map<String, Object>> list = new ArrayList<>(); List<Map<String, Object>> list = new ArrayList<>();
list = formateMap2(mapList_common); list = formateMap2(mapList_common);
list.addAll(formateMap2(mapList_fast)); list.addAll(formateMap2(mapList_fast));
......
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