|
|
@@ -243,11 +243,11 @@ interview_distribution = values(interview_distribution)
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserArchivesList" resultType="com.goafanti.customer.bo.OutSelectUserArchives">
|
|
|
- select a.id , a.nickname ,d1.name as province ,d2.name as city ,d3.name area ,
|
|
|
+ select a.id , a.nickname ,d1.name as province ,d2.name as city ,d3.name area ,a.sign_bills signBills,
|
|
|
a.share_type as shareType ,d.channel_type as channelType ,e.enterprise_count as enterpriseCount,
|
|
|
c.name contactName,f.name adminName,e.channel_indicators as channelIndicators,
|
|
|
e.interview_ideas as interviewIdeas ,b.intended_project as intendedProject,
|
|
|
- e.interview_distribution as interviewDistribution, g.name depName,
|
|
|
+ e.interview_distribution as interviewDistribution, g.name depName,e.update_time updateTime,
|
|
|
ic.name as industry ,b.business_scope as businessScope ,e.financial_data as financialData,
|
|
|
e.early_communication as earlyCommunication,e.patent_count as patentCount,
|
|
|
e.invention_patent_count as inventionPatentCount,e.utility_model_count as utilityModelCount,
|
|
|
@@ -283,10 +283,13 @@ interview_distribution = values(interview_distribution)
|
|
|
<if test="shareType < 4">
|
|
|
and a.share_type = #{shareType}
|
|
|
</if>
|
|
|
- <if test="shareType = 4">
|
|
|
+ <if test="shareType == 4">
|
|
|
and a.share_type in (0,2)
|
|
|
</if>
|
|
|
</if>
|
|
|
+ <if test="signBills !=null">
|
|
|
+ and a.sign_bills = #{signBills}
|
|
|
+ </if>
|
|
|
<if test="businessScope !=null">
|
|
|
and find_in_set(#{businessScope},b.business_scope)
|
|
|
</if>
|
|
|
@@ -296,6 +299,9 @@ interview_distribution = values(interview_distribution)
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="startTime !=null and endTime !=null">
|
|
|
+ and e.update_time between #{startTime} and #{endTime}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
|
@@ -330,6 +336,9 @@ interview_distribution = values(interview_distribution)
|
|
|
and a.share_type in (0,2)
|
|
|
</if>
|
|
|
</if>
|
|
|
+ <if test="signBills !=null">
|
|
|
+ and a.sign_bills = #{signBills}
|
|
|
+ </if>
|
|
|
<if test="businessScope !=null">
|
|
|
and find_in_set(#{businessScope},b.business_scope)
|
|
|
</if>
|
|
|
@@ -339,6 +348,9 @@ interview_distribution = values(interview_distribution)
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="startTime !=null and endTime !=null">
|
|
|
+ and e.update_time between #{startTime} and #{endTime}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|