| | |
| | | <result column="post" property="post"/> |
| | | <result column="cardid" property="cardid"/> |
| | | <result column="cell" property="cell"/> |
| | | <result column="shareholdingRatio" property="shareholdingratio"/> |
| | | <result column="shareholdingratio" property="shareholdingratio"/> |
| | | <result column="creditCode" property="creditcode"/> |
| | | <result column="rtime" property="rtime"/> |
| | | <result column="dept_id" property="deptId"/> |
| | | <result column="education" property="education"/> |
| | | <result column="paper" property="paper"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | select * from sys_member where is_deleted = 0 |
| | | </select> |
| | | |
| | | <select id="selectMemberInfo" resultMap="memberResultMap"> |
| | | select * from sys_member |
| | | where |
| | | 1=1 |
| | | <if test="member.creditcode!=null and member.creditcode!=''" > |
| | | and creditCode=#{member.creditcode} |
| | | </if> |
| | | <if test="member.deptId!=null and member.deptId!=''" > |
| | | and dept_id=#{member.deptId} |
| | | </if> |
| | | <if test="member.education!=null" > |
| | | and education=#{member.education} |
| | | </if> |
| | | <if test="member.name!=null and member.name!=''" > |
| | | and name like concat ('%',#{member.name},'%') |
| | | </if> |
| | | <if test="member.post!=null and member.post!=''" > |
| | | and post like concat ('%',#{member.post},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |