|
|
@@ -47,6 +47,8 @@
|
|
|
<result column="consultant" jdbcType="INTEGER" property="consultant" />
|
|
|
<result column="consultation_price" jdbcType="DECIMAL" property="consultationPrice" />
|
|
|
<result column="expert_audit" jdbcType="INTEGER" property="expertAudit" />
|
|
|
+ <result column="identify_name" jdbcType="INTEGER" property="identifyName" />
|
|
|
+ <result column="consultant_type" jdbcType="INTEGER" property="consultantType" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -127,7 +129,7 @@
|
|
|
amount_money, audit_status, process, wrong_count, payment_date, expert,
|
|
|
international, fixed_tel, qq, postal_address, postcode, review_instructions, industry,
|
|
|
contacts, email, professional_title, work_unit, education, major_category, qualification,
|
|
|
- graduate_school, consultation_price
|
|
|
+ graduate_school, consultation_price , consultant_type
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.goafanti.common.model.UserIdentityExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -760,8 +762,11 @@
|
|
|
<if test="consultationPrice != null">
|
|
|
consultation_price = #{consultationPrice,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="expertAudit != null">
|
|
|
- audit_status = #{expertAudit,jdbcType=DECIMAL},
|
|
|
+ <if test="consultantType != null">
|
|
|
+ consultant_type = #{consultantType,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="auditStatus != null">
|
|
|
+ audit_status = #{auditStatus,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="releaseStatus != null">
|
|
|
release_status = #{releaseStatus,jdbcType=DECIMAL},
|
|
|
@@ -852,9 +857,10 @@
|
|
|
b.major_category as majorCategory,
|
|
|
b.qualification,
|
|
|
b.professional_title as professionalTitle,
|
|
|
- b.audit_status as expertAudit,
|
|
|
+ b.audit_status as auditStatus,
|
|
|
b.expert as expert,
|
|
|
- b.work_unit as workUnit
|
|
|
+ b.work_unit as workUnit,
|
|
|
+ b.consultant_type as consultantType
|
|
|
from
|
|
|
user a left join user_identity b on
|
|
|
a.id = b.uid
|
|
|
@@ -1344,14 +1350,14 @@ from
|
|
|
<!-- 获得专家顾问审核列表数据 -->
|
|
|
<select id="getExpertAuditList" resultMap="BaseResultMap">
|
|
|
select
|
|
|
- i.id, i.uid, i.username, id_number, positive_id_url, i.audit_status, expert, i.audit_status as expert_audit, fixed_tel, industry,
|
|
|
- u.mobile as contact_mobile, c.name as contacts
|
|
|
+ i.id, i.uid, i.username, id_number, positive_id_url, i.audit_status, expert, i.audit_status, fixed_tel, industry,
|
|
|
+ u.mobile as contact_mobile, c.name as contacts, identify_name
|
|
|
from user_identity i
|
|
|
inner join user u on i.uid = u.id
|
|
|
inner join industry_category c on c.id = i.industry
|
|
|
where 1 = 1
|
|
|
- <if test="expertAudit != null ">
|
|
|
- and i.audit_status = #{expertAudit,jdbcType=VARCHAR}
|
|
|
+ <if test="auditStatus != null ">
|
|
|
+ and i.audit_status = #{auditStatus,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="industry != null ">
|
|
|
and industry = #{industry,jdbcType=INTEGER}
|
|
|
@@ -1376,8 +1382,8 @@ from
|
|
|
from user_identity i
|
|
|
inner join user u on i.uid = u.id
|
|
|
where 1 = 1
|
|
|
- <if test="expertAudit != null ">
|
|
|
- and i.audit_status = #{expertAudit,jdbcType=VARCHAR}
|
|
|
+ <if test="auditStatus != null ">
|
|
|
+ and i.audit_status = #{auditStatus,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="industry != null ">
|
|
|
and industry = #{industry,jdbcType=INTEGER}
|