|
|
@@ -759,9 +759,6 @@
|
|
|
<if test="consultationPrice != null">
|
|
|
consultation_price = #{consultationPrice,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
- <if test="expertAudit != null">
|
|
|
- expert_audit = #{expertAudit,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
<if test="releaseStatus != null">
|
|
|
release_status = #{releaseStatus,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
@@ -851,7 +848,7 @@
|
|
|
b.major_category as majorCategory,
|
|
|
b.qualification,
|
|
|
b.professional_title as professionalTitle,
|
|
|
- b.expert_audit as expertAudit,
|
|
|
+ b.audit_status as auditAudit,
|
|
|
b.work_unit as workUnit
|
|
|
from
|
|
|
user a left join user_identity b on
|
|
|
@@ -1057,7 +1054,7 @@
|
|
|
group by seller_id ) o on t.uid=o.seller_id
|
|
|
where expert=1
|
|
|
and u.status !=1
|
|
|
- and t.expert_audit =2
|
|
|
+ and t.audit_status =2
|
|
|
and u.source=0
|
|
|
order by u.update_time desc
|
|
|
limit #{0}
|
|
|
@@ -1071,7 +1068,7 @@
|
|
|
group by seller_id ) o on t.uid=o.seller_id
|
|
|
where expert=1
|
|
|
and u.status !=1
|
|
|
- and t.expert_audit =2
|
|
|
+ and t.audit_status =2
|
|
|
<if test="industry != null">
|
|
|
and t.industry = #{industry,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1226,7 +1223,7 @@ from
|
|
|
on u.id = a.to_uid left join( select to_uid from user_interest where from_uid =#{uid,jdbcType=VARCHAR} ) b
|
|
|
on u.id = b.to_uid
|
|
|
where u.status = 0 and u.source = 1
|
|
|
- and ui.expert = 1 and ui.expert_audit=2
|
|
|
+ and ui.expert = 1 and ui.audit_status=2
|
|
|
<if test="industry != null">
|
|
|
and ui.industry= #{industry,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1246,7 +1243,7 @@ from
|
|
|
<select id="selectCustomerAuditCount" resultType="java.lang.Integer">
|
|
|
select count(0)from
|
|
|
`user` u left join user_identity ui on ui.uid = u.id
|
|
|
- where u.status = 0 and u.source = 1 and ui.expert = 1 and ui.expert_audit=2
|
|
|
+ where u.status = 0 and u.source = 1 and ui.expert = 1 and ui.audit_status=2
|
|
|
<if test="industry != null">
|
|
|
and ui.industry= #{industry,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1290,7 +1287,7 @@ from
|
|
|
on u.id = a.to_uid left join( select to_uid from user_interest where from_uid ='1' ) b
|
|
|
on u.id = b.to_uid
|
|
|
where u.status = 0 and u.source = 1
|
|
|
- and ui.expert = 2 and ui.expert_audit=2
|
|
|
+ and ui.expert = 2 and ui.audit_status=2
|
|
|
<if test="consultantType != null">
|
|
|
and ui.consultant_type=#{consultantType,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
@@ -1321,7 +1318,7 @@ from
|
|
|
from
|
|
|
`user` u left join user_identity ui on ui.uid = u.id
|
|
|
where u.status = 0 and u.source = 1
|
|
|
- and ui.expert = 2 and ui.expert_audit=2
|
|
|
+ and ui.expert = 2 and ui.audit_status=2
|
|
|
<if test="consultantType != null">
|
|
|
and ui.consultant_type=#{consultantType,jdbcType=INTEGER}
|
|
|
</if>
|