Commit 550b7310 authored by dahai's avatar dahai

push

parent 6cf487fd
......@@ -179,7 +179,7 @@ public interface ReceiptMapper {
public Map<String,Object> selectCountTimeT(@Param("groupNo") String groupNo);
@Select("select POLICE_dic.POLICE_NAME from PROD_GROUP_RELATION_T@PRODYD_LINK \n" +
"left join POLICE_dic on POLICE_dic.POLICE_CODE = substr(PROD_GROUP_RELATION_T.UPLOAD_UNIT_NO,0,9)||'000'\n" +
"left join POLICE_dic on substr(POLICE_dic.POLICE_CODE,0,8) = substr(PROD_GROUP_RELATION_T.UPLOAD_UNIT_NO,0,8)\n" +
"where group_no = #{policeCode} ")
public List<Map<String,Object>> queryPoliceName(@Param("policeCode") String policeCode);
......
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