Merge remote-tracking branch 'origin/main'

main
wanglei 2 months ago
commit a6867c339f

@ -54,10 +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,emp.word_id,emp.`position` from kh_pc_emp pe,kh_employee emp select pe.bkhdx_id,pe.bkhdx_name,pe.dept_id,pe.dept_name,emp.word_id,emp.`position` from kh_pc_emp pe left join kh_employee emp
on pe.bkhdx_id = emp.id
<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