现场人员姓名模糊查询

This commit is contained in:
jjLv 2024-10-14 09:20:08 +08:00
parent 0ff92cbd38
commit 2aae7705b8
1 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and tpp.id=#{gtId}
</if>
<if test="userName!=null and userName!=''">
and (tpe.name=#{userName} or tlu.name=#{userName})
and (INSTR(tpe.name,#{userName}) > 0 or INSTR(tlu.name,#{userName}) > 0)
# and (tpe.name=#{userName} or tlu.name=#{userName})
</if>
</where>
group by twt.team_id,blt.sh_code,sbx.gt_id,blt.peopel_type,tddone.data_val,tddtwo.data_val,tddthree.data_val,tddfour.data_val,tddfive.data_val,tddsix.data_val,
@ -175,4 +176,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and box.team_id=#{teamId}
</if>
</select>
</mapper>
</mapper>