Administrator преди 4 години
родител
ревизия
3fe2afbd28

+ 38 - 1
ruoyi-system/src/main/java/com/ruoyi/system/domain/project/BmProjectReport.java

@@ -46,11 +46,48 @@ public class BmProjectReport extends BaseEntity
     @Excel(name = "附件url")
     private String url;
 
+    /**
+     * 投资方
+     */
+    private String ivestor;
+    /**
+     * 引荐单位
+     */
+    private String recommendCompany;
+    /**
+     * 引荐方联系方式
+     */
+    private String recommendPhone;
+
     /** 项目id* */
     @Excel(name = "项目id*")
     private Long bmProjectId;
 
-    public void setId(Long id) 
+    public String getIvestor() {
+        return ivestor;
+    }
+
+    public void setIvestor(String ivestor) {
+        this.ivestor = ivestor;
+    }
+
+    public String getRecommendCompany() {
+        return recommendCompany;
+    }
+
+    public void setRecommendCompany(String recommendCompany) {
+        this.recommendCompany = recommendCompany;
+    }
+
+    public String getRecommendPhone() {
+        return recommendPhone;
+    }
+
+    public void setRecommendPhone(String recommendPhone) {
+        this.recommendPhone = recommendPhone;
+    }
+
+    public void setId(Long id)
     {
         this.id = id;
     }

+ 16 - 1
ruoyi-system/src/main/resources/mapper/system/project/BmProjectReportMapper.xml

@@ -20,11 +20,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="updateTime"    column="update_time"    />
         <result property="isDel"    column="is_del"    />
         <result property="sysDeptId"    column="sys_dept_id"    />
+        <result property="ivestor"    column="ivestor"    />
+        <result property="recommendCompany"    column="recommend_company"    />
+        <result property="recommendPhone"    column="recommend_phone"    />
         <result property="remark"    column="remark"    />
     </resultMap>
 
     <sql id="selectBmProjectReportVo">
-        select id, project_name, investment_quota, contacts_name, contacts_phone, project_introduction, report_status, url, bm_project_id, create_by, create_time, update_by, update_time, is_del, sys_dept_id, remark from bm_project_report
+        select id, project_name, investment_quota, contacts_name, contacts_phone, project_introduction, report_status, url, bm_project_id, create_by, create_time, update_by, update_time, is_del, sys_dept_id, ivestor, recommend_company,recommend_phone, remark from bm_project_report
     </sql>
 
     <select id="selectBmProjectReportList" parameterType="BmProjectReport" resultMap="BmProjectReportResult">
@@ -39,6 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="url != null  and url != ''"> and url = #{url}</if>
             <if test="bmProjectId != null "> and bm_project_id = #{bmProjectId}</if>
             <if test="sysDeptId != null "> and sys_dept_id = #{sysDeptId}</if>
+            <if test="ivestor != null and ivestor != ''"> and ivestor = #{ivestor}</if>
+            <if test="recommendCompany != null and recommendCompany != '' "> and recommend_company = #{recommendCompany}</if>
+            <if test="recommendPhone != null and recommendPhone != ''"> and recommend_phone = #{recommendPhone}</if>
             <if test="isDel != null "> and is_del = #{isDel}</if>
         </where>
     </select>
@@ -65,6 +71,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">update_time,</if>
             <if test="isDel != null">is_del,</if>
             <if test="sysDeptId != null">sys_dept_id,</if>
+            <if test="ivestor != null">ivestor,</if>
+            <if test="recommendCompany != null">recommend_company,</if>
+            <if test="recommendPhone != null">recommend_phone,</if>
             <if test="remark != null">remark,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -82,6 +91,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">#{updateTime},</if>
             <if test="isDel != null">#{isDel},</if>
             <if test="sysDeptId != null">#{sysDeptId},</if>
+            <if test="ivestor != null">#{ivestor},</if>
+            <if test="recommendCompany != null">#{recommendCompany},</if>
+            <if test="recommendPhone != null">#{recommendPhone},</if>
             <if test="remark != null">#{remark},</if>
          </trim>
     </insert>
@@ -103,6 +115,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">update_time = #{updateTime},</if>
             <if test="isDel != null">is_del = #{isDel},</if>
             <if test="sysDeptId != null">sys_dept_id = #{sysDeptId},</if>
+            <if test="ivestor != null">ivestor = #{ivestor},</if>
+            <if test="recommendCompany != null">recommend_company = #{recommendCompany},</if>
+            <if test="recommendPhone != null">recommend_phone = #{recommendPhone},</if>
             <if test="remark != null">remark = #{remark},</if>
         </trim>
         where id = #{id}