| | |
| | | |
| | | <!--通过 身份证号查询用户信息--> |
| | | <select id="getUserInfoByIdCardNo" resultType="org.springblade.modules.system.entity.User"> |
| | | SELECT id, name, real_name RealName,securitynumber,dept_id |
| | | SELECT id, name, real_name RealName,securitynumber,dept_id,dispatch |
| | | FROM blade_user |
| | | where 1=1 |
| | | and is_deleted = 0 |
| | |
| | | <if test="user.jurisdiction!=null and user.jurisdiction != ''"> |
| | | and bu.jurisdiction = #{user.jurisdiction} |
| | | </if> |
| | | <if test="user.unitName!=null and user.unitName != ''"> |
| | | and bud.unit_name like concat('%', #{user.unitName},'%') |
| | | </if> |
| | | <!-- <if test="user.unitName!=null and user.unitName != ''">--> |
| | | <!-- and bud.unit_name like concat('%', #{user.unitName},'%')--> |
| | | <!-- </if>--> |
| | | <if test="user.securitynumber!=null and user.securitynumber != ''"> |
| | | and bu.securitynumber = #{user.securitynumber} |
| | | </if> |