fix 81465 专项项目库-依据描述查看未正常回显数据

This commit is contained in:
lijiarao
2024-01-30 10:57:02 +08:00
parent e8d0d26c6f
commit 75ed0a88ea
@@ -37,7 +37,12 @@
select ppstu.* from process_project_standard_term_user ppstu left join
sys_user su on ppstu.design_engineer = su.id
<where>
ppstu.term_id = #{termUser.id}
<if test="termUser.termId != null and termUser.termId != ''">
ppstu.term_id = #{termUser.termId}
</if>
<if test="termUser.id != null and termUser.id != ''">
and ppstu.term_id = #{termUser.id}
</if>
<if test="termUser.userName != null and termUser.userName != ''">
and su.username like concat('%', #{termUser.userName}, '%')
</if>