Commit ae98eb34 authored by xiachenqi's avatar xiachenqi

ems制证量数据导出的excel统计中 普证和邮寄证添加异地首申的统计

parent 11eaeda1
......@@ -189,7 +189,7 @@ public interface PersonPostMapper {
"left join COUNTY_DIC cd\n" +
"on substr(dwdm,0,6)=cd.COUNTY_CODE\n" +
"where pp.YXQQSRQ BETWEEN #{strDate} AND #{endDate}\n" +
"and pp.CARD_TYPE_ID=0\n" +
"and pp.CARD_TYPE_ID in (0,10)\n" +
"group by cd.COUNTYNAME,fi.DWDM,fi.dwmc,pp.CARD_TYPE_ID " +
"order by fi.DWDM \n" +
") dataa\n" +
......@@ -202,7 +202,7 @@ public interface PersonPostMapper {
"left join COUNTY_DIC cd\n" +
"on substr(dwdm,0,6)=cd.COUNTY_CODE\n" +
"where pp.YXQQSRQ BETWEEN #{strDate} AND #{endDate}\n" +
"and pp.CARD_TYPE_ID=9\n" +
"and pp.CARD_TYPE_ID in (9,11)\n" +
"group by cd.COUNTYNAME,fi.DWDM,fi.dwmc,pp.CARD_TYPE_ID ) datab\n" +
"on dataa.DWDM=datab.DWDM")
List<Map<String,Object>> downloadUploadInfo(@Param("strDate") String strDate, @Param("endDate") String endDate);
......
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