This commit is contained in:
parent
7179e31025
commit
726c6ae9b4
|
|
@ -52,8 +52,10 @@
|
||||||
left join tb_sub ts on tsp.sub_id = ts.id
|
left join tb_sub ts on tsp.sub_id = ts.id
|
||||||
where tsp.del_flag = 0
|
where tsp.del_flag = 0
|
||||||
<if test="userName != '' and userName != null">and tsp.user_name = #{userName}</if>
|
<if test="userName != '' and userName != null">and tsp.user_name = #{userName}</if>
|
||||||
|
<if test="userName != '' and userName != null">and tsp.user_name = #{userName}</if>
|
||||||
<if test="title != '' and title != null">and tsp.title = #{title}</if>
|
<if test="title != '' and title != null">and tsp.title = #{title}</if>
|
||||||
<if test="diploma != '' and diploma != null">and tsp.diploma = #{diploma}</if>
|
<if test="diploma != '' and diploma != null">and tsp.diploma = #{diploma}</if>
|
||||||
|
<if test="subId != '' and subId != null">and tsp.sub_id = #{subId}</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="getTbSubPeopleById" resultType="com.bonus.tool.dto.TbSubPeopleVo">
|
<select id="getTbSubPeopleById" resultType="com.bonus.tool.dto.TbSubPeopleVo">
|
||||||
select id,user_name,id_card,title,diploma,diploma_num
|
select id,user_name,id_card,title,diploma,diploma_num
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue