| | |
| | | <select id="expertInfoList" resultType="com.gkhy.system.domain.SysExpertInfo"> |
| | | select id,name,sex,birthday,phone,title,degree,state,speciality,big_classify,small_classify,id_card,company_name, |
| | | domain,level,current_profession,duty_status,support_direction_safety,support_direction_prevention,support_direction_emergency,create_time, |
| | | rating_level,employment_date_start,employment_date_end,expert_certificate from sys_expert_info |
| | | rating_level,employment_date_start,employment_date_end,expert_certificate,update_time from sys_expert_info |
| | | <where> |
| | | and del_flag = 0 |
| | | <if test="name != null and name != ''"> |
| | |
| | | |
| | | |
| | | <select id="queryApprove" parameterType="com.gkhy.system.domain.vo.request.SysExpertSearchReqDto" resultType="com.gkhy.system.domain.vo.response.SysExpertSearchRep"> |
| | | select expert_certificate,state from sys_expert_info where id_card=#{idCard} and dept_id = #{deptId} and phone = #{phone} and del_flag=0 limit 1 |
| | | select name,employment_date_start,employment_date_end,update_time,state from sys_expert_info where id_card=#{idCard} and dept_id = #{deptId} and phone = #{phone} and del_flag=0 limit 1 |
| | | </select> |
| | | |
| | | <select id="getExpertRound" parameterType="com.gkhy.system.domain.vo.request.SysExpertInfoRoundReq" |
| | |
| | | select id,name,sex,id_card idCard, |
| | | domain,rating_level ratingLevel from sys_expert_info |
| | | where del_flag = 0 |
| | | <if test="deptId != null "> and dept_id = #{deptId}</if> |
| | | <if test="domain != null and domain.size() > 0"> |
| | | and domain in |
| | | <foreach collection="domain" item="item" open="(" separator="," close=")"> |