Commit 0e70b0ce authored by liuxinben's avatar liuxinben

push

parent 6c362f9f
......@@ -1633,7 +1633,7 @@ public interface TaskListMapper {
@Select("SELECT * FROM POLICE_DIC")
public List<Map<String,Object>> selectPoliceList();
@Select("SELECT * FROM POLICE_DIC WHERE POLICE_CODE = #{policeCode}")
@Select("SELECT * FROM POLICE_DIC WHERE POLICE_CODE = #{policeCode} OR POLICE_NAME LIKE #{policeName}")
public List<Map<String,Object>> selectPoliceListByPoliceCode(String policeCode);
@Insert("INSERT INTO POLICE_DIC (POLICE_CODE,POLICE_NAME) VALUES (#{policeCode},#{policeName})")
......
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