|
@@ -118,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectTProjectPoolList" parameterType="TProjectPool" resultMap="TProjectPoolResult">
|
|
|
<include refid="selectTProjectPoolVo"/>
|
|
|
<where>
|
|
|
+ a.project_state != '1'
|
|
|
<if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if>
|
|
|
<if test="projectGroup != null and projectGroup != ''"> and a.project_group = #{projectGroup}</if>
|
|
|
<if test="projectCode != null and projectCode != ''"> and a.project_code = #{projectCode}</if>
|
|
@@ -143,7 +144,37 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="delFlag != null and delFlag != ''"> and a.del_flag = #{delFlag}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
+ <select id="selectTProjectPoolListStage" parameterType="TProjectPool" resultMap="TProjectPoolResult">
|
|
|
+ <include refid="selectTProjectPoolVo"/>
|
|
|
+ <where>
|
|
|
+ <if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if>
|
|
|
+ <if test="projectGroup != null and projectGroup != ''"> and a.project_group = #{projectGroup}</if>
|
|
|
+ <if test="projectCode != null and projectCode != ''"> and a.project_code = #{projectCode}</if>
|
|
|
+ <if test="channel != null and channel != ''"> and a.channel = #{channel}</if>
|
|
|
+ <if test="contactDate != null "> and a.contact_date = #{contactDate}</if>
|
|
|
+ <if test="projectDate != null "> and a.project_date = #{projectDate}</if>
|
|
|
+ <if test="decisionDate != null "> and a.decision_date = #{decisionDate}</if>
|
|
|
+ <if test="industry != null and industry != ''"> and a.industry = #{industry}</if>
|
|
|
+ <if test="company != null and company != ''"> and b.company_name like concat('%', #{company}, '%')</if>
|
|
|
+ <if test="projectContacts != null and projectContacts != ''"> and c.name like concat('%', #{projectContacts}, '%')</if>
|
|
|
+ <if test="investHead != null and investHead != ''"> and a.invest_head like concat('%', #{investHead}, '%')</if>
|
|
|
+ <if test="previousFinancing != null and previousFinancing != ''"> and a.previous_financing = #{previousFinancing}</if>
|
|
|
+ <if test="financingStage != null and financingStage != ''"> and a.financing_stage = #{financingStage}</if>
|
|
|
+ <if test="financingMoney != null and financingMoney != ''"> and a.financing_money = #{financingMoney}</if>
|
|
|
+ <if test="financingDate != null "> and a.financing_date = #{financingDate}</if>
|
|
|
+ <if test="investValuation != null and investValuation != ''"> and a.invest_valuation = #{investValuation}</if>
|
|
|
+ <if test="investMoney != null and investMoney != ''"> and a.invest_money = #{investMoney}</if>
|
|
|
+ <if test="investType != null and investType != ''"> and a.invest_type = #{investType}</if>
|
|
|
+ <if test="investPloy != null and investPloy != ''"> and a.invest_ploy = #{investPloy}</if>
|
|
|
+ <if test="investWorth != null and investWorth != ''"> and a.invest_worth = #{investWorth}</if>
|
|
|
+ <if test="projectStage != null and projectStage != ''"> and a.project_stage = #{projectStage}</if>
|
|
|
+ <if test="projectState != null and projectState != ''"> and a.project_state = #{projectState}</if>
|
|
|
+ <if test="delFlag != null and delFlag != ''"> and a.del_flag = #{delFlag}</if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
<select id="selectTProjectPoolById" parameterType="String" resultMap="TProjectPoolResult">
|
|
|
<include refid="selectTProjectPoolVo"/>
|
|
|
where a.id = #{id}
|