| | |
| | | <result column="dispatch" property="dispatch"/> |
| | | <result column="my_picture" property="myPicture"/> |
| | | <result column="is_apply" property="isApply"/> |
| | | <result column="deptname" property="deptname"/> |
| | | <result column="is_apply" property="isApply"/> |
| | | <result column="is_train" property="isTrain"/> |
| | | <result column="birthtime" property="birthtime"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectUserPage" resultMap="userResultMap"> |
| | |
| | | ) |
| | | </select> |
| | | |
| | | |
| | | <select id="selectInr" resultType="java.util.HashMap"> |
| | | SELECT real_name as realName,id FROM blade_user |
| | | WHERE role_id='1412226235153731586' |
| | | <if test="deptid!=null and deptid!='' and dept!='1123598813738675201'"> |
| | | and dept_id=#{deptid} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--查询当前年份已有的保安证编号--> |
| | | <select id="getSecurityPaperCount" resultType="java.lang.Integer"> |
| | | select count(*) from blade_user |
| | | where securitynumber like concat('%', #{pre},'%') |
| | | </select> |
| | | </mapper> |