main 54
hshansha 2 months ago
parent c5c7da182e
commit 2fd561f116

@ -54,9 +54,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="getBkhdxs" resultMap="BkhdxsResult"> <select id="getBkhdxs" resultMap="BkhdxsResult">
select pe.bkhdx_id,pe.bkhdx_name,pe.dept_id,pe.dept_name,word_id,`position` from kh_pc_emp pe,kh_employee select pe.bkhdx_id,pe.bkhdx_name,pe.dept_id,pe.dept_name,emp.word_id,emp.`position` from kh_pc_emp pe,kh_employee emp
<where> <where>
<if test="id != null "> pe.pc_id = #{id}</if> <if test="id != null "> pe.pc_id = #{id}</if>
and pe.bkhdx_id = emp.id
</where> </where>
</select> </select>

Loading…
Cancel
Save