| | |
| | | ORDER BY id |
| | | </select> |
| | | |
| | | <select id="selectUserPages" resultMap="userResultMap"> |
| | | select * from blade_user where is_deleted = 0 |
| | | <if test="user.realName!=null and user.realName != ''"> |
| | | and real_name like concat(concat('%', #{user.realName}),'%') |
| | | </if> |
| | | <if test="user.deptId!=null and user.deptId != ''"> |
| | | and dept_id like concat(concat('%', #{user.deptId}),'%') |
| | | </if> |
| | | <if test="user.userType!=null and user.userType != ''"> |
| | | and user_type = #{user.userType} |
| | | </if> |
| | | <if test="user.nativeplace!=null and user.nativeplace != ''"> |
| | | and nativeplace = #{user.nativeplace} |
| | | </if> |
| | | <if test="user.examinationType!=null and user.examinationType != ''"> |
| | | and examination_type = #{user.examinationType} |
| | | </if> |
| | | <if test="user.sex!=null and user.sex != ''"> |
| | | and sex = #{user.sex} |
| | | </if> |
| | | <if test="user.status!=null and user.status != ''"> |
| | | and status = #{user.status} |
| | | </if> |
| | | <if test="user.hold!=null and user.hold != ''"> |
| | | and hold = #{user.hold} |
| | | </if> <if test="user.jurisdiction!=null and user.jurisdiction != ''"> |
| | | and jurisdiction = #{user.jurisdiction} |
| | | </if> |
| | | <if test="user.securitynumber!=null and user.securitynumber != ''"> |
| | | and securitynumber = #{user.securitynumber} |
| | | </if> |
| | | ORDER BY id |
| | | </select> |
| | | |
| | | |
| | | <!--保安员列表--> |
| | | <select id="selectUserPageSecurity" resultMap="userResultMaps"> |