浏览代码

增加修改技术方案字段

lamphua 9 个月前
父节点
当前提交
20aad6edb6

+ 13
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcTechnicalPlan.java 查看文件

@@ -111,6 +111,10 @@ public class CmcTechnicalPlan extends BaseEntity
111 111
 //    @Excel(name = "修改技术方案")
112 112
     private String modifyDocument;
113 113
 
114
+    /** 修改技术方案 */
115
+//    @Excel(name = "修改技术方案")
116
+    private String reviseDocument;
117
+
114 118
     /** 最终技术方案 */
115 119
 //    @Excel(name = "最终技术方案")
116 120
     private String finalDocument;
@@ -322,6 +326,15 @@ public class CmcTechnicalPlan extends BaseEntity
322 326
     {
323 327
         return modifyDocument;
324 328
     }
329
+    public void setReviseDocument(String reviseDocument)
330
+    {
331
+        this.reviseDocument = reviseDocument;
332
+    }
333
+
334
+    public String getReviseDocument()
335
+    {
336
+        return reviseDocument;
337
+    }
325 338
     public void setFinalDocument(String finalDocument)
326 339
     {
327 340
         this.finalDocument = finalDocument;

+ 1
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalMapper.xml 查看文件

@@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
20 20
         <result property="confirmTime"    column="confirm_time"    />
21 21
         <association property="acceptUser"    javaType="SysUser"         resultMap="AcceptUserResult" />
22 22
         <association property="disclosureUser"    javaType="SysUser"         resultMap="DisclosureUserResult" />
23
-        <association property="confirmUser"    javaType="SysUser"         resultMap="confirmUserResult" />
23
+        <association property="confirmUser"    javaType="SysUser"         resultMap="ConfirmUserResult" />
24 24
         <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
25 25
     </resultMap>
26 26
 

+ 3
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalPlanMapper.xml 查看文件

@@ -17,6 +17,7 @@
17 17
         <result property="technicalTime"    column="technical_time"    />
18 18
         <result property="technicalDocument"    column="technical_document"    />
19 19
         <result property="modifyDocument"    column="modify_document"    />
20
+        <result property="reviseDocument"    column="revise_document"    />
20 21
         <result property="finalDocument"    column="final_document"    />
21 22
         <result property="designDescription"    column="design_description"    />
22 23
         <result property="technicalComment"    column="technical_comment"    />
@@ -73,7 +74,7 @@
73 74
 
74 75
     <sql id="selectCmcTechnicalPlanVo">
75 76
         select t.technical_plan_id, t.project_id, p.project_number, p.project_name, t.technical_director, u.nick_name as direct_nick_name, t.technical_designer, u1.nick_name as design_nick_name,
76
-               t.technical_planner, u2.nick_name as plan_nick_name, t.plan_comment, t.quality_inspector, t.technical_time, t.technical_document, t.modify_document, t.final_document,
77
+               t.technical_planner, u2.nick_name as plan_nick_name, t.plan_comment, t.quality_inspector, t.technical_time, t.technical_document, t.modify_document, t.revise_document, t.final_document,
77 78
                t.design_description, t.technical_comment, t.technical_auditor, u3.nick_name as audit_nick_name, t.tech_dept_leader, u4.nick_name as tech_nick_name, t.tech_dept_comment, t.manager_user_id,
78 79
                u5.nick_name as manager_nick_name, t.manage_comment, t.technical_upload_time, t.tech_approval_time, t.tech_dept_time, t.manage_approval_time from cmc_technical_plan as t
79 80
         left join sys_user as u on u.user_id = t.technical_director
@@ -172,6 +173,7 @@
172 173
             <if test="qualityInspector != null">quality_inspector = #{qualityInspector},</if>
173 174
             <if test="technicalTime != null">technical_time = #{technicalTime},</if>
174 175
             <if test="technicalDocument != null">technical_document = #{technicalDocument},</if>
176
+            <if test="reviseDocument != null">revise_document = #{reviseDocument},</if>
175 177
             <if test="modifyDocument != null">modify_document = #{modifyDocument},</if>
176 178
             <if test="finalDocument != null">final_document = #{finalDocument},</if>
177 179
             <if test="designDescription != null">design_description = #{designDescription},</if>

正在加载...
取消
保存