| | |
| | | <result column="registered" property="registered"/> |
| | | <result column="rtime" property="rtime"/> |
| | | <result column="hold" property="hold"/> |
| | | <result column="jurisdiction" property="jurisdiction"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectUserPage" resultMap="userResultMap"> |
| | | select * from blade_user where is_deleted = 0 |
| | | and tenant_id!=000000 |
| | | <if test="user.tenantId!=null and user.tenantId != ''"> |
| | | and tenant_id = #{user.tenantId} |
| | | </if> |
| | |
| | | </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="deptIdList!=null and deptIdList.size>0"> |
| | | and id in ( |
| | |
| | | SELECT id, tenant_id, user_type, account, name, real_name, email, phone, birthday, role_id, dept_id, post_id FROM blade_user ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <update id="updateUser"> |
| | | update blade_user set hold=#{hold} where cardid=#{cardid} |
| | | </update> |
| | | |
| | | </mapper> |