Commit a7c6dbdb by mayunfei

侦查指令 GRADE联络员查询修改

parent 3cdefb57
......@@ -6,7 +6,7 @@
<select id="getLlysPolicemanId" parameterType="java.util.Map" resultType="com.founder.model.TbYwZczlLly">
select * from TB_YW_ZCZL_LLY where unitcode= #{unitcode, jdbcType=VARCHAR} and xxscpdbz='0'
UNION
select * from TB_YW_ZCZL_LLY where unitcode like #{unitcodegrade, jdbcType=VARCHAR}||'%'
select * from TB_YW_ZCZL_LLY lly where unitcode like #{unitcodegrade, jdbcType=VARCHAR}||'%'
and (select GRADE from SYS_USER us where lly.userid = us.id)= #{grade, jdbcType=VARCHAR}
and xxscpdbz='0'
</select>
......
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