| | |
| | | select id,name from sys_expert_info where id_card=#{idCard} and dept_id = #{deptId} and del_flag=0 limit 1 |
| | | </select> |
| | | |
| | | <select id="checkIdCardDomainUnique" resultType="com.gkhy.system.domain.SysExpertInfo"> |
| | | select id,name from sys_expert_info where id_card=#{idCard} and domain=#{domain} and phone = #{phone} and del_flag=0 limit 1 |
| | | </select> |
| | | |
| | | <select id="getExpertInfoById" resultType="com.gkhy.system.domain.SysExpertInfo"> |
| | | <include refid="selectExpertInfoVo"/> |
| | | where id=#{expertId} |
| | |
| | | a.update_time updateTime,a.state,b.classify_name bigClassifyName,a.id,a.domain |
| | | from sys_expert_info a |
| | | left join sys_expert_classify b on a.big_classify = b.id |
| | | where a.id_card=#{idCard} and a.dept_id = #{deptId} and a.phone = #{phone} and a.del_flag=0 limit 1 |
| | | where a.id_card=#{idCard} and a.domain=#{domain} and a.phone = #{phone} and a.del_flag=0 limit 1 |
| | | </select> |
| | | |
| | | <select id="getExpertRound" parameterType="com.gkhy.system.domain.vo.request.SysExpertInfoRoundReq" |