Sfoglia il codice sorgente

增加修改技术方案字段

lamphua 8 mesi fa
parent
commit
20aad6edb6

+ 13
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcTechnicalPlan.java Vedi File

111
 //    @Excel(name = "修改技术方案")
111
 //    @Excel(name = "修改技术方案")
112
     private String modifyDocument;
112
     private String modifyDocument;
113
 
113
 
114
+    /** 修改技术方案 */
115
+//    @Excel(name = "修改技术方案")
116
+    private String reviseDocument;
117
+
114
     /** 最终技术方案 */
118
     /** 最终技术方案 */
115
 //    @Excel(name = "最终技术方案")
119
 //    @Excel(name = "最终技术方案")
116
     private String finalDocument;
120
     private String finalDocument;
322
     {
326
     {
323
         return modifyDocument;
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
     public void setFinalDocument(String finalDocument)
338
     public void setFinalDocument(String finalDocument)
326
     {
339
     {
327
         this.finalDocument = finalDocument;
340
         this.finalDocument = finalDocument;

+ 1
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalMapper.xml Vedi File

20
         <result property="confirmTime"    column="confirm_time"    />
20
         <result property="confirmTime"    column="confirm_time"    />
21
         <association property="acceptUser"    javaType="SysUser"         resultMap="AcceptUserResult" />
21
         <association property="acceptUser"    javaType="SysUser"         resultMap="AcceptUserResult" />
22
         <association property="disclosureUser"    javaType="SysUser"         resultMap="DisclosureUserResult" />
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
         <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
24
         <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
25
     </resultMap>
25
     </resultMap>
26
 
26
 

+ 3
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalPlanMapper.xml Vedi File

17
         <result property="technicalTime"    column="technical_time"    />
17
         <result property="technicalTime"    column="technical_time"    />
18
         <result property="technicalDocument"    column="technical_document"    />
18
         <result property="technicalDocument"    column="technical_document"    />
19
         <result property="modifyDocument"    column="modify_document"    />
19
         <result property="modifyDocument"    column="modify_document"    />
20
+        <result property="reviseDocument"    column="revise_document"    />
20
         <result property="finalDocument"    column="final_document"    />
21
         <result property="finalDocument"    column="final_document"    />
21
         <result property="designDescription"    column="design_description"    />
22
         <result property="designDescription"    column="design_description"    />
22
         <result property="technicalComment"    column="technical_comment"    />
23
         <result property="technicalComment"    column="technical_comment"    />
73
 
74
 
74
     <sql id="selectCmcTechnicalPlanVo">
75
     <sql id="selectCmcTechnicalPlanVo">
75
         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
         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
                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
                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
                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
                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
         left join sys_user as u on u.user_id = t.technical_director
80
         left join sys_user as u on u.user_id = t.technical_director
172
             <if test="qualityInspector != null">quality_inspector = #{qualityInspector},</if>
173
             <if test="qualityInspector != null">quality_inspector = #{qualityInspector},</if>
173
             <if test="technicalTime != null">technical_time = #{technicalTime},</if>
174
             <if test="technicalTime != null">technical_time = #{technicalTime},</if>
174
             <if test="technicalDocument != null">technical_document = #{technicalDocument},</if>
175
             <if test="technicalDocument != null">technical_document = #{technicalDocument},</if>
176
+            <if test="reviseDocument != null">revise_document = #{reviseDocument},</if>
175
             <if test="modifyDocument != null">modify_document = #{modifyDocument},</if>
177
             <if test="modifyDocument != null">modify_document = #{modifyDocument},</if>
176
             <if test="finalDocument != null">final_document = #{finalDocument},</if>
178
             <if test="finalDocument != null">final_document = #{finalDocument},</if>
177
             <if test="designDescription != null">design_description = #{designDescription},</if>
179
             <if test="designDescription != null">design_description = #{designDescription},</if>

Loading…
Annulla
Salva