Commit 3340e6c1 authored by dahai's avatar dahai

修改查询XML制证信息

parent c9874151
......@@ -93,7 +93,7 @@ public class TaskListApi {
*/
@RequestMapping("queryByCountyAtACCU")
public List<Object> queryByCountyAtACCU(@RequestParam("process") String process,@RequestParam("date") String date, HttpServletResponse resp){
List<Object> objects = taskListService.selectByCountyAtACCU(date);
List<Object> objects = taskListService.selectByCountyAtACCU(replaceDate(date));
return objects;
}
......@@ -113,4 +113,25 @@ public class TaskListApi {
}
/**
* 字符串去除空格
* @param str 原始字符串
* @return 返回新的字符串
*/
private String replaceNullString(String str) {
if (str == ""){
return null;
} else return str;
}
/**
* 去除字符串中中线
* @param str
* @return
*/
private String replaceDate(String str){
return str.replace("-","");
}
}
......@@ -20,5 +20,6 @@ public interface TaskListService {
public boolean updateState(String taskId);
public List<Object> selectByCountyAtACCU(String date);
public List<Object> selectByPoliceAtACCU(String date,String typeCode,String countyCode);
}
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