Browse Source

结算驾驶班审核

lamphua 5 months ago
parent
commit
ee688e9fa0

+ 58
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettle.java View File

83
     @Excel(name = "综合事务部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
83
     @Excel(name = "综合事务部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
84
     private Date zhTime;
84
     private Date zhTime;
85
 
85
 
86
+    /** 综合事务部驾驶班审核意见 */
87
+    @Excel(name = "综合事务部驾驶班审核意见")
88
+    private String jsbComment;
89
+
90
+    /** 综合事务部驾驶班审核人 */
91
+    @Excel(name = "综合事务部驾驶班审核人")
92
+    private String jsbUserName;
93
+    private Long jsbUserId;
94
+
95
+    /** 综合事务部驾驶班审核日期 */
96
+    @JsonFormat(pattern = "yyyy-MM-dd")
97
+    @Excel(name = "综合事务部驾驶班审核日期", width = 30, dateFormat = "yyyy-MM-dd")
98
+    private Date jsbTime;
99
+
86
     /** 技术质量与安全部审核意见 */
100
     /** 技术质量与安全部审核意见 */
87
     @Excel(name = "技术质量与安全部审核意见")
101
     @Excel(name = "技术质量与安全部审核意见")
88
     private String jsComment;
102
     private String jsComment;
169
 
183
 
170
     private SysUser zhUser;
184
     private SysUser zhUser;
171
 
185
 
186
+    private SysUser jsbUser;
187
+
172
     private SysUser jsUser;
188
     private SysUser jsUser;
173
 
189
 
174
     private SysUser jyUser;
190
     private SysUser jyUser;
321
     {
337
     {
322
         return zhComment;
338
         return zhComment;
323
     }
339
     }
340
+
341
+    public void setJsbUserId(Long jsbUserId)
342
+    {
343
+        this.jsbUserId = jsbUserId;
344
+    }
345
+
346
+    public Long getJsbUserId()
347
+    {
348
+        return jsbUserId;
349
+    }
350
+    public void setJsbTime(Date jsbTime)
351
+    {
352
+        this.jsbTime = jsbTime;
353
+    }
354
+
355
+    public Date getJsbTime()
356
+    {
357
+        return jsbTime;
358
+    }
359
+    public void setJsbComment(String jsbComment)
360
+    {
361
+        this.jsbComment = jsbComment;
362
+    }
363
+
364
+    public String getJsbComment()
365
+    {
366
+        return jsbComment;
367
+    }
324
     public void setJsUserId(Long jsUserId) 
368
     public void setJsUserId(Long jsUserId) 
325
     {
369
     {
326
         this.jsUserId = jsUserId;
370
         this.jsUserId = jsUserId;
503
     {
547
     {
504
         return zhUser;
548
         return zhUser;
505
     }
549
     }
550
+
551
+    public void setJsbUser(SysUser jsbUser)
552
+    {
553
+        this.jsbUser = jsbUser;
554
+        this.jsbUserName = jsbUser == null ? "" : jsbUser.getNickName();
555
+    }
556
+
557
+    public SysUser getJsbUser()
558
+    {
559
+        return jsbUser;
560
+    }
506
     public void setJyUser(SysUser jyUser)
561
     public void setJyUser(SysUser jyUser)
507
     {
562
     {
508
         this.jyUser = jyUser;
563
         this.jyUser = jyUser;
576
             .append("zhUserId", getZhUserId())
631
             .append("zhUserId", getZhUserId())
577
             .append("zhTime", getZhTime())
632
             .append("zhTime", getZhTime())
578
             .append("zhComment", getZhComment())
633
             .append("zhComment", getZhComment())
634
+            .append("jsbUserId", getJsbUserId())
635
+            .append("jsbTime", getJsbTime())
636
+            .append("jsbComment", getJsbComment())
579
             .append("jsUserId", getJsUserId())
637
             .append("jsUserId", getJsUserId())
580
             .append("jsTime", getJsTime())
638
             .append("jsTime", getJsTime())
581
             .append("jsComment", getJsComment())
639
             .append("jsComment", getJsComment())

+ 32
- 9
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml View File

18
         <result property="zhUserId"    column="zh_user_id"    />
18
         <result property="zhUserId"    column="zh_user_id"    />
19
         <result property="zhTime"    column="zh_time"    />
19
         <result property="zhTime"    column="zh_time"    />
20
         <result property="zhComment"    column="zh_comment"    />
20
         <result property="zhComment"    column="zh_comment"    />
21
+        <result property="jsbUserId"    column="jsb_user_id"    />
22
+        <result property="jsbTime"    column="jsb_time"    />
23
+        <result property="jsbComment"    column="jsb_comment"    />
21
         <result property="jsUserId"    column="js_user_id"    />
24
         <result property="jsUserId"    column="js_user_id"    />
22
         <result property="jsTime"    column="js_time"    />
25
         <result property="jsTime"    column="js_time"    />
23
         <result property="jsComment"    column="js_comment"    />
26
         <result property="jsComment"    column="js_comment"    />
39
         <result property="amount"    column="amount"    />
42
         <result property="amount"    column="amount"    />
40
         <association property="reportUser"    javaType="SysUser"         resultMap="ReportUserResult" />
43
         <association property="reportUser"    javaType="SysUser"         resultMap="ReportUserResult" />
41
         <association property="zhUser"    javaType="SysUser"         resultMap="ZhUserResult" />
44
         <association property="zhUser"    javaType="SysUser"         resultMap="ZhUserResult" />
45
+        <association property="jsbUser"    javaType="SysUser"         resultMap="jsbUserResult" />
42
         <association property="jsUser"    javaType="SysUser"         resultMap="JsUserResult" />
46
         <association property="jsUser"    javaType="SysUser"         resultMap="JsUserResult" />
43
         <association property="jyUser"    javaType="SysUser"         resultMap="JyUserResult" />
47
         <association property="jyUser"    javaType="SysUser"         resultMap="JyUserResult" />
44
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
48
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
58
         <result property="nickName"    column="zh_nick_name"    />
62
         <result property="nickName"    column="zh_nick_name"    />
59
     </resultMap>
63
     </resultMap>
60
 
64
 
65
+    <resultMap type="SysUser" id="jsbUserResult">
66
+        <result property="userId"    column="user_id"    />
67
+        <result property="nickName"    column="jsb_nick_name"    />
68
+    </resultMap>
69
+
61
     <resultMap type="SysUser" id="JsUserResult">
70
     <resultMap type="SysUser" id="JsUserResult">
62
         <result property="userId"    column="user_id"    />
71
         <result property="userId"    column="user_id"    />
63
         <result property="nickName"    column="js_nick_name"    />
72
         <result property="nickName"    column="js_nick_name"    />
96
     </resultMap>
105
     </resultMap>
97
 
106
 
98
     <sql id="selectCmcSettleVo">
107
     <sql id="selectCmcSettleVo">
99
-        select distinct s.settle_id, s.project_id, p.project_number, p.project_name, p.undertaking_dept, s.xm_name, s.workload_report, s.reporter, u.nick_name as report_nick_name, s.report_time, s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name,
100
-               s.zh_time, s.zh_comment, s.js_user_id, u2.nick_name as js_nick_name, s.js_time, s.js_comment, s.jy_user_id, u3.nick_name as jy_nick_name, s.jy_time, s.jy_comment, ss.amount,
101
-               s.manager_user_id, u4.nick_name as manager_nick_name, s.manager_time, s.manager_comment, s.gm_user_id, u5.nick_name as gm_nick_name, s.gm_time, s.gm_comment, ss.content,
102
-               s.dsz_user_id, u6.nick_name as dsz_nick_name, s.dsz_time, s.dsz_comment, s.settle_document, s.modify_document, s.final_document, s.report_dept, d.dept_name from cmc_settle as s
108
+        select distinct s.settle_id, s.project_id, p.project_number, p.project_name, p.undertaking_dept, s.xm_name, s.workload_report, s.reporter, u.nick_name as report_nick_name, s.report_time,
109
+               s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name,s.zh_time, s.zh_comment, s.jsb_user_id, u2.nick_name as jsb_nick_name,s.jsb_time, s.jsb_comment, 
110
+               s.js_user_id, u3.nick_name as js_nick_name, s.js_time, s.js_comment, s.jy_user_id, u4.nick_name as jy_nick_name, s.jy_time, s.jy_comment, ss.amount,
111
+               s.manager_user_id, u5.nick_name as manager_nick_name, s.manager_time, s.manager_comment, s.gm_user_id, u6.nick_name as gm_nick_name, s.gm_time, s.gm_comment, ss.content,
112
+               s.dsz_user_id, u7.nick_name as dsz_nick_name, s.dsz_time, s.dsz_comment, s.settle_document, s.modify_document, s.final_document, s.report_dept, d.dept_name from cmc_settle as s
103
         left join sys_user as u on u.user_id = s.reporter
113
         left join sys_user as u on u.user_id = s.reporter
104
         left join sys_user as u1 on u1.user_id = s.zh_user_id
114
         left join sys_user as u1 on u1.user_id = s.zh_user_id
105
-        left join sys_user as u2 on u2.user_id = s.js_user_id
106
-        left join sys_user as u3 on u3.user_id = s.jy_user_id
107
-        left join sys_user as u4 on u4.user_id = s.manager_user_id
108
-        left join sys_user as u5 on u5.user_id = s.gm_user_id
109
-        left join sys_user as u6 on u6.user_id = s.dsz_user_id
115
+        left join sys_user as u2 on u2.user_id = s.jsb_user_id
116
+        left join sys_user as u3 on u3.user_id = s.js_user_id
117
+        left join sys_user as u4 on u4.user_id = s.jy_user_id
118
+        left join sys_user as u5 on u5.user_id = s.manager_user_id
119
+        left join sys_user as u6 on u6.user_id = s.gm_user_id
120
+        left join sys_user as u7 on u7.user_id = s.dsz_user_id
110
         left join cmc_project as p on p.project_id = s.project_id
121
         left join cmc_project as p on p.project_id = s.project_id
111
         left join sys_dept as d on d.dept_id = s.report_dept
122
         left join sys_dept as d on d.dept_id = s.report_dept
112
         left join cmc_settle_summary as ss on ss.settle_id = s.settle_id
123
         left join cmc_settle_summary as ss on ss.settle_id = s.settle_id
129
             <if test="zhUserId != null "> and s.zh_user_id = #{zhUserId}</if>
140
             <if test="zhUserId != null "> and s.zh_user_id = #{zhUserId}</if>
130
             <if test="zhTime != null "> and s.zh_time = #{zhTime}</if>
141
             <if test="zhTime != null "> and s.zh_time = #{zhTime}</if>
131
             <if test="zhComment != null  and zhComment != ''"> and s.zh_comment = #{zhComment}</if>
142
             <if test="zhComment != null  and zhComment != ''"> and s.zh_comment = #{zhComment}</if>
143
+            <if test="jsbUserId != null "> and s.jsb_user_id = #{jsbUserId}</if>
144
+            <if test="jsbTime != null "> and s.jsb_time = #{jsbTime}</if>
145
+            <if test="jsbComment != null  and jsbComment != ''"> and s.jsb_comment = #{jsbComment}</if>
132
             <if test="jsUserId != null "> and s.js_user_id = #{jsUserId}</if>
146
             <if test="jsUserId != null "> and s.js_user_id = #{jsUserId}</if>
133
             <if test="jsTime != null "> and s.js_time = #{jsTime}</if>
147
             <if test="jsTime != null "> and s.js_time = #{jsTime}</if>
134
             <if test="jsComment != null  and jsComment != ''"> and s.js_comment = #{jsComment}</if>
148
             <if test="jsComment != null  and jsComment != ''"> and s.js_comment = #{jsComment}</if>
166
             <if test="zhUserId != null">zh_user_id,</if>
180
             <if test="zhUserId != null">zh_user_id,</if>
167
             <if test="zhTime != null">zh_time,</if>
181
             <if test="zhTime != null">zh_time,</if>
168
             <if test="zhComment != null">zh_comment,</if>
182
             <if test="zhComment != null">zh_comment,</if>
183
+            <if test="jsbUserId != null">jsb_user_id,</if>
184
+            <if test="jsbTime != null">jsb_time,</if>
185
+            <if test="jsbComment != null">jsb_comment,</if>
169
             <if test="jsUserId != null">js_user_id,</if>
186
             <if test="jsUserId != null">js_user_id,</if>
170
             <if test="jsTime != null">js_time,</if>
187
             <if test="jsTime != null">js_time,</if>
171
             <if test="jsComment != null">js_comment,</if>
188
             <if test="jsComment != null">js_comment,</if>
197
             <if test="zhUserId != null">#{zhUserId},</if>
214
             <if test="zhUserId != null">#{zhUserId},</if>
198
             <if test="zhTime != null">#{zhTime},</if>
215
             <if test="zhTime != null">#{zhTime},</if>
199
             <if test="zhComment != null">#{zhComment},</if>
216
             <if test="zhComment != null">#{zhComment},</if>
217
+            <if test="jsbUserId != null">#{jsbUserId},</if>
218
+            <if test="jsbTime != null">#{jsbTime},</if>
219
+            <if test="jsbComment != null">#{jsbComment},</if>
200
             <if test="jsUserId != null">#{jsUserId},</if>
220
             <if test="jsUserId != null">#{jsUserId},</if>
201
             <if test="jsTime != null">#{jsTime},</if>
221
             <if test="jsTime != null">#{jsTime},</if>
202
             <if test="jsComment != null">#{jsComment},</if>
222
             <if test="jsComment != null">#{jsComment},</if>
231
             <if test="zhUserId != null">zh_user_id = #{zhUserId},</if>
251
             <if test="zhUserId != null">zh_user_id = #{zhUserId},</if>
232
             <if test="zhTime != null">zh_time = #{zhTime},</if>
252
             <if test="zhTime != null">zh_time = #{zhTime},</if>
233
             <if test="zhComment != null">zh_comment = #{zhComment},</if>
253
             <if test="zhComment != null">zh_comment = #{zhComment},</if>
254
+            <if test="jsbUserId != null">jsb_user_id = #{jsbUserId},</if>
255
+            <if test="jsbTime != null">jsb_time = #{jsbTime},</if>
256
+            <if test="jsbComment != null">jsb_comment = #{jsbComment},</if>
234
             <if test="jsUserId != null">js_user_id = #{jsUserId},</if>
257
             <if test="jsUserId != null">js_user_id = #{jsUserId},</if>
235
             <if test="jsTime != null">js_time = #{jsTime},</if>
258
             <if test="jsTime != null">js_time = #{jsTime},</if>
236
             <if test="jsComment != null">js_comment = #{jsComment},</if>
259
             <if test="jsComment != null">js_comment = #{jsComment},</if>

+ 6
- 3
oa-back/sql/sq.sql
File diff suppressed because it is too large
View File


+ 1
- 1
oa-ui/src/views/oa/price/index.vue View File

68
 
68
 
69
     <el-table v-loading="loading" :data="priceList" @selection-change="handleSelectionChange">
69
     <el-table v-loading="loading" :data="priceList" @selection-change="handleSelectionChange">
70
       <el-table-column type="selection" width="55" align="center" />
70
       <el-table-column type="selection" width="55" align="center" />
71
-      <el-table-column label="结算单价id" align="center" prop="id" />
71
+      <!-- <el-table-column label="结算单价id" align="center" prop="id" /> -->
72
       <el-table-column label="工作类别" align="center" prop="workType" />
72
       <el-table-column label="工作类别" align="center" prop="workType" />
73
       <el-table-column label="工作内容" align="center" prop="workItem" />
73
       <el-table-column label="工作内容" align="center" prop="workItem" />
74
       <el-table-column label="等级或比例尺" align="center" prop="scaleGrade" />
74
       <el-table-column label="等级或比例尺" align="center" prop="scaleGrade" />

Loading…
Cancel
Save