| | |
| | | <result column="work_status" property="work_status"/> |
| | | <result column="examination_type" property="examination_type"/> |
| | | <result column="examination_mx" property="examination_mx"/> |
| | | <result column="audit_time" property="auditTime"/> |
| | | <result column="cardid" property="cardid"/> |
| | | <result column="district" property="district"/> |
| | | </resultMap> |
| | | <resultMap id="userResultMaps" type="org.springblade.modules.system.vo.UsersVo"> |
| | |
| | | <result column="examination_type" property="examination_type"/> |
| | | <result column="examination_mx" property="examination_mx"/> |
| | | <result column="dept_name" property="deptName"/> |
| | | <result column="audit_time" property="auditTime"/> |
| | | <result column="cardid" property="cardid"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectUserPage" resultMap="userResultMap"> |
| | |
| | | blade_role br |
| | | on |
| | | s.role_id=br.id |
| | | where s.is_deleted = 0 and br.role_alias ='qfqkdw' |
| | | where s.is_deleted = 0 |
| | | <if test="user.account!=null and user.account != ''"> |
| | | and s.account = #{user.account} |
| | | </if> |
| | |
| | | on |
| | | bu.role_id=br.id |
| | | where |
| | | br.role_alias ='qfqkdw' |
| | | and bu.is_deleted=0 |
| | | bu.is_deleted=0 |
| | | <if test="user.realName!=null and user.realName !=''"> |
| | | <bind name="realName" value="'%'+user.realName+'%'"/> |
| | | and bu.real_name like #{realName} |
| | |
| | | GROUP BY |
| | | bu.district |
| | | </select> |
| | | |
| | | |
| | | <!--查询用户数据,未审核的--> |
| | | <select id="getNotAuditAllUserList" resultType="org.springblade.modules.system.entity.User"> |
| | | select id, cardid |
| | | from blade_user |
| | | where examination_type is null |
| | | </select> |
| | | |
| | | |
| | | </mapper> |