Commit c79a84e8 authored by dahai's avatar dahai

push

parent 06979059
...@@ -168,7 +168,7 @@ public interface ReceiptMapper { ...@@ -168,7 +168,7 @@ public interface ReceiptMapper {
@Select("select police_name from (select DISTINCT substr(#{policeCode},4,2)||'0000' POLICE_CODE from POLICE_DIC where substr(#{policeCode},4,2)\n" + @Select("select police_name from (select DISTINCT substr(#{policeCode},4,2)||'0000' POLICE_CODE from POLICE_DIC where substr(#{policeCode},4,2)\n" +
"=substr(POLICE_DIC.POLICE_CODE,5,2) ) p1\n" + "=substr(POLICE_DIC.POLICE_CODE,5,2) ) p1\n" +
"left join POLICE_DIC on p1.POLICE_CODE = substr(POLICE_DIC.POLICE_CODE,7,6)") "left join POLICE_DIC on p1.POLICE_CODE = substr(POLICE_DIC.POLICE_CODE,7,6)")
public Map<String,Object> queryPoliceName(@Param("policeCode") String policeCode); public List<Map<String,Object>> queryPoliceName(@Param("policeCode") String policeCode);
@Select("select \n" + @Select("select \n" +
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\n" + "prod_trace_t.DOWNLOAD_DATE as downloadDate,\n" +
......
...@@ -206,8 +206,8 @@ public class ReceiptServiceImpl implements ReceiptService { ...@@ -206,8 +206,8 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override @Override
public List<Map<String, Object>> queryPoliceName(String policeCode) { public List<Map<String, Object>> queryPoliceName(String policeCode) {
receiptMapper.queryPoliceName(policeCode);
return null; return receiptMapper.queryPoliceName(policeCode);
} }
private List<Map<String, Object>> formateMap(List<Map<String, Object>> maplist) { private List<Map<String, Object>> formateMap(List<Map<String, Object>> maplist) {
......
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