Commit baf2e9be authored by dahai's avatar dahai

修改查询XML制证信息

parent 0e133045
......@@ -86,13 +86,31 @@ public class TaskListApi {
/**
* 查询任务单详情
* (受理库)
* @param state
* @param process 工序
* @param date 查询时间
* @param resp
* @return
*/
@RequestMapping("queryByCountyAtACCU")
public List<Object> queryByCountyAtACCU(@RequestParam("state") String state, HttpServletResponse resp){
List<Object> objects = taskListService.selectByCountyAtACCU(state);
public List<Object> queryByCountyAtACCU(@RequestParam("process") String process,@RequestParam("date") String date, HttpServletResponse resp){
List<Object> objects = taskListService.selectByCountyAtACCU(date);
return objects;
}
/**
* 查询派出所列表详情
* @param date 查询时间
* @param typeCode 制证类型
* @param countyCode 区县代码
* @param resp
* @return
*/
@RequestMapping("queryByPoliceAtACCU")
public List<Object> queryByPoliceAtACCU(@RequestParam("state") String date,@RequestParam("typeCode") String typeCode,@RequestParam("countyCode") String countyCode, HttpServletResponse resp){
List<Object> objects = taskListService.selectByPoliceAtACCU(date, typeCode, countyCode);
return objects;
}
}
......@@ -44,19 +44,13 @@ public interface TaskListMapper {
/**
* 派出所计数查询
* 查询派出所列表
* 受理库
* @param submitDate
* @param countyCount
* @return
*/
@Select("SELECT gajg.gajg_mc,substr(act.upload_no,0,9),count(*) as gajg\n" +
" FROM ACC_CARD_T@ACCU_DBLINK act \n" +
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no \n" +
" LEFT JOIN GAJG_DM gajg on substr(act.upload_no,0,9) = gajg.gajg_dm\n" +
" WHERE agt.group_no not in (select GROUP_NO.group_no from GROUP_NO) \n" +
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} \n" +
" and substr(act.upload_no,0,6) = #{countyCode}\n" +
" GROUP by gajg.GAJG_MC,substr(act.upload_no,0,9)")
@Select("")
public List<CountGajgEntity> selectByGajg(@Param("submitDate") String submitDate,@Param("countyCode") String countyCount);
......
......@@ -20,4 +20,5 @@ public interface TaskListService {
public boolean updateState(String taskId);
public List<Object> selectByCountyAtACCU(String date);
public List<Object> selectByPoliceAtACCU(String date,String typeCode,String countyCode);
}
......@@ -124,8 +124,6 @@ public class TaskListServiceImpl implements TaskListService {
}
}
countyMap.put("groupNum",createGroupNo(c, nsList));
}
countyMap.remove("groupList");
typeList.add(countyMap);
......@@ -135,13 +133,17 @@ public class TaskListServiceImpl implements TaskListService {
typeMapList.put("typeSum",typeSum);
typeMapList.put("countyList",typeList);
list.add(typeMapList);
}
System.out.println(maps.toString()+"---------");
return list;
}
@Override
public List<Object> selectByPoliceAtACCU(String date,String typeCode,String countyCode) {
// taskListMapper.;
return null;
}
private String createGroupNo(List<Integer> c, List<Integer> nsList) {
try {
String groupNo = "";
......
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