浏览代码

预算、借款、结算字段修改

lamphua 11 个月前
父节点
当前提交
4a49938ac0

+ 1
- 5
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBorrowController.java 查看文件

84
     @PutMapping
84
     @PutMapping
85
     public AjaxResult edit(@RequestBody CmcBorrow cmcBorrow)
85
     public AjaxResult edit(@RequestBody CmcBorrow cmcBorrow)
86
     {
86
     {
87
-        if (cmcBorrow.getDeptComment() != null && cmcBorrow.getXmComment() == null) {
87
+        if (cmcBorrow.getDeptComment() != null && cmcBorrow.getManagerComment() == null) {
88
             cmcBorrow.setDeptUserId(getLoginUser().getUserId());
88
             cmcBorrow.setDeptUserId(getLoginUser().getUserId());
89
             cmcBorrow.setDeptTime(new Date());
89
             cmcBorrow.setDeptTime(new Date());
90
         }
90
         }
91
-        if (cmcBorrow.getXmComment() != null && cmcBorrow.getManagerComment() == null) {
92
-            cmcBorrow.setXmUserId(getLoginUser().getUserId());
93
-            cmcBorrow.setXmTime(new Date());
94
-        }
95
         if (cmcBorrow.getManagerComment() != null && cmcBorrow.getZjlComment() == null) {
91
         if (cmcBorrow.getManagerComment() != null && cmcBorrow.getZjlComment() == null) {
96
             cmcBorrow.setManagerUserId(getLoginUser().getUserId());
92
             cmcBorrow.setManagerUserId(getLoginUser().getUserId());
97
             cmcBorrow.setManagerTime(new Date());
93
             cmcBorrow.setManagerTime(new Date());

+ 8
- 4
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetController.java 查看文件

79
     @PutMapping
79
     @PutMapping
80
     public AjaxResult edit(@RequestBody CmcBudget cmcBudget)
80
     public AjaxResult edit(@RequestBody CmcBudget cmcBudget)
81
     {
81
     {
82
-        if (cmcBudget.getAuditComment() != null && cmcBudget.getApproveComment() == null) {
82
+        if (cmcBudget.getManagerComment() != null && cmcBudget.getZjlComment() == null) {
83
+            cmcBudget.setManager(getLoginUser().getUserId());
84
+            cmcBudget.setManagerTime(new Date());
85
+        }
86
+        if (cmcBudget.getZjlComment() != null && cmcBudget.getDszComment() == null) {
83
             cmcBudget.setAuditor(getLoginUser().getUserId());
87
             cmcBudget.setAuditor(getLoginUser().getUserId());
84
-            cmcBudget.setAuditTime(new Date());
88
+            cmcBudget.setZjlTime(new Date());
85
         }
89
         }
86
-        if (cmcBudget.getApproveComment() != null) {
90
+        if (cmcBudget.getDszComment() != null) {
87
             cmcBudget.setApprover(getLoginUser().getUserId());
91
             cmcBudget.setApprover(getLoginUser().getUserId());
88
-            cmcBudget.setApproveTime(new Date());
92
+            cmcBudget.setDszTime(new Date());
89
         }
93
         }
90
         return toAjax(cmcBudgetService.updateCmcBudget(cmcBudget));
94
         return toAjax(cmcBudgetService.updateCmcBudget(cmcBudget));
91
     }
95
     }

+ 2
- 2
oa-back/ruoyi-flowable/src/main/java/com/ruoyi/flowable/listener/FlowSkipListener.java 查看文件

7
 /**
7
 /**
8
  * 自动跳过流程任务监听
8
  * 自动跳过流程任务监听
9
  * @author cmc
9
  * @author cmc
10
- * @date 2023-02-18
10
+ * @date 2024-07-10
11
  */
11
  */
12
 
12
 
13
 @Component
13
 @Component
16
     public void notify(DelegateExecution execution) {
16
     public void notify(DelegateExecution execution) {
17
         //通过设置流程变量_FLOWABLE_SKIP_EXPRESSION_ENABLED为true启动skipExpression属性,
17
         //通过设置流程变量_FLOWABLE_SKIP_EXPRESSION_ENABLED为true启动skipExpression属性,
18
         //必须是true而非字符串"true",若不启动是不生效的
18
         //必须是true而非字符串"true",若不启动是不生效的
19
-        execution.setVariable("_FLOWABLE_SKIP_EXPRESSION_ENABLED",true);
19
+        execution.setVariable("_FLOWABLE_SKIP_EXPRESSION_ENABLED", true);
20
     }
20
     }
21
 }
21
 }

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

56
     private String deptUserName;
56
     private String deptUserName;
57
     private SysUser deptUser;
57
     private SysUser deptUser;
58
 
58
 
59
-    @Excel(name = "项目部审批人")
60
-    private String xmUserName;
61
-    private SysUser xmUser;
62
-
63
     @Excel(name = "分管审批人")
59
     @Excel(name = "分管审批人")
64
     private String managerUserName;
60
     private String managerUserName;
65
     private SysUser managerUser;
61
     private SysUser managerUser;
100
     /** 部门审批人 */
96
     /** 部门审批人 */
101
     private Long deptUserId;
97
     private Long deptUserId;
102
 
98
 
103
-    /** 项目部审批人 */
104
-    private Long xmUserId;
105
-
106
-    /** 项目部审批意见 */
107
-    @Excel(name = "项目部审批意见")
108
-    private String xmComment;
109
-
110
     /** 分管审批意见 */
99
     /** 分管审批意见 */
111
     @Excel(name = "分管审批意见")
100
     @Excel(name = "分管审批意见")
112
     private String managerComment;
101
     private String managerComment;
155
     @Excel(name = "部门审批时间", width = 30, dateFormat = "yyyy-MM-dd")
144
     @Excel(name = "部门审批时间", width = 30, dateFormat = "yyyy-MM-dd")
156
     private Date deptTime;
145
     private Date deptTime;
157
 
146
 
158
-    /** 项目部审批时间 */
159
-    @JsonFormat(pattern = "yyyy-MM-dd")
160
-    @Excel(name = "项目部审批时间", width = 30, dateFormat = "yyyy-MM-dd")
161
-    private Date xmTime;
162
-
163
     /** 分管审批时间 */
147
     /** 分管审批时间 */
164
     @JsonFormat(pattern = "yyyy-MM-dd")
148
     @JsonFormat(pattern = "yyyy-MM-dd")
165
     @Excel(name = "分管审批时间", width = 30, dateFormat = "yyyy-MM-dd")
149
     @Excel(name = "分管审批时间", width = 30, dateFormat = "yyyy-MM-dd")
279
     {
263
     {
280
         return deptUser;
264
         return deptUser;
281
     }
265
     }
282
-    public void setXmUser(SysUser xmUser)
283
-    {
284
-        this.xmUser = xmUser;
285
-        this.xmUserName = xmUser == null ? "" : xmUser.getNickName();
286
-    }
287
-
288
-    public SysUser getXmUser()
289
-    {
290
-        return xmUser;
291
-    }
292
     public void setManagerUser(SysUser managerUser)
266
     public void setManagerUser(SysUser managerUser)
293
     {
267
     {
294
         this.managerUser = managerUser;
268
         this.managerUser = managerUser;
384
     {
358
     {
385
         return deptUserId;
359
         return deptUserId;
386
     }
360
     }
387
-    public void setXmUserId(Long xmUserId) 
388
-    {
389
-        this.xmUserId = xmUserId;
390
-    }
391
-
392
-    public Long getXmUserId() 
393
-    {
394
-        return xmUserId;
395
-    }
396
-    public void setXmComment(String xmComment) 
397
-    {
398
-        this.xmComment = xmComment;
399
-    }
400
-
401
-    public String getXmComment() 
402
-    {
403
-        return xmComment;
404
-    }
405
     public void setManagerComment(String managerComment) 
361
     public void setManagerComment(String managerComment) 
406
     {
362
     {
407
         this.managerComment = managerComment;
363
         this.managerComment = managerComment;
501
     {
457
     {
502
         return deptTime;
458
         return deptTime;
503
     }
459
     }
504
-    public void setXmTime(Date xmTime) 
505
-    {
506
-        this.xmTime = xmTime;
507
-    }
508
-
509
-    public Date getXmTime() 
510
-    {
511
-        return xmTime;
512
-    }
513
     public void setManagerTime(Date managerTime) 
460
     public void setManagerTime(Date managerTime) 
514
     {
461
     {
515
         this.managerTime = managerTime;
462
         this.managerTime = managerTime;
587
             .append("managerAmount", getManagerAmount())
534
             .append("managerAmount", getManagerAmount())
588
             .append("deptComment", getDeptComment())
535
             .append("deptComment", getDeptComment())
589
             .append("deptUserId", getDeptUserId())
536
             .append("deptUserId", getDeptUserId())
590
-            .append("xmUserId", getXmUserId())
591
-            .append("xmComment", getXmComment())
592
             .append("managerComment", getManagerComment())
537
             .append("managerComment", getManagerComment())
593
             .append("managerUserId", getManagerUserId())
538
             .append("managerUserId", getManagerUserId())
594
             .append("zjlUserId", getZjlUserId())
539
             .append("zjlUserId", getZjlUserId())
598
             .append("cwUserId", getCwUserId())
543
             .append("cwUserId", getCwUserId())
599
             .append("cwComment", getCwComment())
544
             .append("cwComment", getCwComment())
600
             .append("deptTime", getDeptTime())
545
             .append("deptTime", getDeptTime())
601
-            .append("xmTime", getXmTime())
602
             .append("managerTime", getManagerTime())
546
             .append("managerTime", getManagerTime())
603
             .append("zjlTime", getZjlTime())
547
             .append("zjlTime", getZjlTime())
604
             .append("unionTime", getUnionTime())
548
             .append("unionTime", getUnionTime())

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

43
     @Excel(name = "申请金额")
43
     @Excel(name = "申请金额")
44
     private BigDecimal applyAmount;
44
     private BigDecimal applyAmount;
45
 
45
 
46
-    /** 项目部校核金额 */
47
-    @Excel(name = "项目部校核金额")
48
-    private BigDecimal xmAmount;
49
-
50
     /** 分管审核金额 */
46
     /** 分管审核金额 */
51
     @Excel(name = "分管审核金额")
47
     @Excel(name = "分管审核金额")
52
     private BigDecimal managerAmount;
48
     private BigDecimal managerAmount;
114
     {
110
     {
115
         return applyAmount;
111
         return applyAmount;
116
     }
112
     }
117
-    public void setXmAmount(BigDecimal xmAmount) 
118
-    {
119
-        this.xmAmount = xmAmount;
120
-    }
121
-
122
-    public BigDecimal getXmAmount() 
123
-    {
124
-        return xmAmount;
125
-    }
126
     public void setManagerAmount(BigDecimal managerAmount) 
113
     public void setManagerAmount(BigDecimal managerAmount) 
127
     {
114
     {
128
         this.managerAmount = managerAmount;
115
         this.managerAmount = managerAmount;
143
             .append("price", getPrice())
130
             .append("price", getPrice())
144
             .append("quantity", getQuantity())
131
             .append("quantity", getQuantity())
145
             .append("applyAmount", getApplyAmount())
132
             .append("applyAmount", getApplyAmount())
146
-            .append("xmAmount", getXmAmount())
147
             .append("managerAmount", getManagerAmount())
133
             .append("managerAmount", getManagerAmount())
148
             .toString();
134
             .toString();
149
     }
135
     }

+ 97
- 44
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBudget.java 查看文件

103
     /** 编制人 */
103
     /** 编制人 */
104
     private Long compiler;
104
     private Long compiler;
105
 
105
 
106
-    /** 批准人 */
106
+    /** 董事长 */
107
     private Long approver;
107
     private Long approver;
108
 
108
 
109
+    /** 分管审核人 */
110
+    private Long manager;
111
+
109
     @Excel(name = "编制人")
112
     @Excel(name = "编制人")
110
     private String compilerUserName;
113
     private String compilerUserName;
111
     private SysUser compilerUser;
114
     private SysUser compilerUser;
112
 
115
 
113
-    @Excel(name = "审核人")
114
-    private String auditorUserName;
115
-    private SysUser auditorUser;
116
+    @Excel(name = "分管审核人")
117
+    private String managerUserName;
118
+    private SysUser managerUser;
119
+
120
+    @Excel(name = "总经理")
121
+    private String zjlUserName;
122
+    private SysUser zjlUser;
116
 
123
 
117
-    @Excel(name = "批准人")
118
-    private String approverUserName;
119
-    private SysUser approverUser;
124
+    @Excel(name = "董事长")
125
+    private String dszUserName;
126
+    private SysUser dszUser;
120
 
127
 
121
-    /** 审核人 */
128
+    /** 总经理 */
122
     private Long auditor;
129
     private Long auditor;
123
 
130
 
124
-    /** 审批时间 */
131
+    /** 总经理审批时间 */
132
+    @JsonFormat(pattern = "yyyy-MM-dd")
133
+    @Excel(name = "总经理审批时间", width = 30, dateFormat = "yyyy-MM-dd")
134
+    private Date zjlTime;
135
+
136
+    /** 分管审核时间 */
125
     @JsonFormat(pattern = "yyyy-MM-dd")
137
     @JsonFormat(pattern = "yyyy-MM-dd")
126
-    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
127
-    private Date auditTime;
138
+    @Excel(name = "分管审核时间", width = 30, dateFormat = "yyyy-MM-dd")
139
+    private Date managerTime;
128
 
140
 
129
-    /** 批准时间 */
141
+    /** 董事长批准时间 */
130
     @JsonFormat(pattern = "yyyy-MM-dd")
142
     @JsonFormat(pattern = "yyyy-MM-dd")
131
-    @Excel(name = "批准时间", width = 30, dateFormat = "yyyy-MM-dd")
132
-    private Date approveTime;
143
+    @Excel(name = "董事长批准时间", width = 30, dateFormat = "yyyy-MM-dd")
144
+    private Date dszTime;
133
 
145
 
134
-    @Excel(name = "审批意见")
135
-    private String auditComment;
146
+    @Excel(name = "分管审核意见")
147
+    private String managerComment;
136
 
148
 
137
-    @Excel(name = "批准意见")
138
-    private String approveComment;
149
+    @Excel(name = "总经理审批意见")
150
+    private String zjlComment;
151
+
152
+    @Excel(name = "董事长批准意见")
153
+    private String dszComment;
139
 
154
 
140
     public void setBudgetId(String budgetId)
155
     public void setBudgetId(String budgetId)
141
     {
156
     {
328
     {
343
     {
329
         return compiler;
344
         return compiler;
330
     }
345
     }
346
+    public void setManager(Long manager)
347
+    {
348
+        this.manager = manager;
349
+    }
350
+
351
+    public Long getManager()
352
+    {
353
+        return manager;
354
+    }
331
     public void setCompilerUser(SysUser compilerUser)
355
     public void setCompilerUser(SysUser compilerUser)
332
     {
356
     {
333
         this.compilerUser = compilerUser;
357
         this.compilerUser = compilerUser;
338
     {
362
     {
339
         return compilerUser;
363
         return compilerUser;
340
     }
364
     }
341
-    public void setAuditorUser(SysUser auditorUser)
365
+
366
+    public void setManagerUser(SysUser managerUser)
367
+    {
368
+        this.managerUser = managerUser;
369
+        this.managerUserName = managerUser == null ? "" : managerUser.getNickName();
370
+    }
371
+
372
+    public SysUser getManagerUser()
373
+    {
374
+        return managerUser;
375
+    }
376
+    public void setZjlUser(SysUser zjlUser)
342
     {
377
     {
343
-        this.auditorUser = auditorUser;
344
-        this.auditorUserName = auditorUser == null ? "" : auditorUser.getNickName();
378
+        this.zjlUser = zjlUser;
379
+        this.zjlUserName = zjlUser == null ? "" : zjlUser.getNickName();
345
     }
380
     }
346
 
381
 
347
-    public SysUser getAuditorUser()
382
+    public SysUser getZjlUser()
348
     {
383
     {
349
-        return auditorUser;
384
+        return zjlUser;
350
     }
385
     }
351
     public void setAuditor(Long auditor)
386
     public void setAuditor(Long auditor)
352
     {
387
     {
366
     {
401
     {
367
         return approver;
402
         return approver;
368
     }
403
     }
369
-    public void setApproverUser(SysUser approverUser)
404
+    public void setDszUser(SysUser dszUser)
405
+    {
406
+        this.dszUser = dszUser;
407
+        this.dszUserName = dszUser == null ? "" : dszUser.getNickName();
408
+    }
409
+
410
+    public SysUser getDszUser()
411
+    {
412
+        return dszUser;
413
+    }
414
+    public void setManagerTime(Date managerTime)
415
+    {
416
+        this.managerTime = managerTime;
417
+    }
418
+
419
+    public Date getManagerTime()
420
+    {
421
+        return managerTime;
422
+    }
423
+    public void setZjlTime(Date zjlTime)
370
     {
424
     {
371
-        this.approverUser = approverUser;
372
-        this.approverUserName = approverUser == null ? "" : approverUser.getNickName();
425
+        this.zjlTime = zjlTime;
373
     }
426
     }
374
 
427
 
375
-    public SysUser getApproverUser()
428
+    public Date getZjlTime()
376
     {
429
     {
377
-        return approverUser;
430
+        return zjlTime;
378
     }
431
     }
379
-    public void setAuditTime(Date auditTime)
432
+    public void setDszTime(Date dszTime)
380
     {
433
     {
381
-        this.auditTime = auditTime;
434
+        this.dszTime = dszTime;
382
     }
435
     }
383
 
436
 
384
-    public Date getAuditTime()
437
+    public Date getDszTime()
385
     {
438
     {
386
-        return auditTime;
439
+        return dszTime;
387
     }
440
     }
388
-    public void setApproveTime(Date approveTime)
441
+    public void setManagerComment(String managerComment)
389
     {
442
     {
390
-        this.approveTime = approveTime;
443
+        this.managerComment = managerComment;
391
     }
444
     }
392
 
445
 
393
-    public Date getApproveTime()
446
+    public String getManagerComment()
394
     {
447
     {
395
-        return approveTime;
448
+        return managerComment;
396
     }
449
     }
397
-    public void setAuditComment(String auditComment)
450
+    public void setZjlComment(String zjlComment)
398
     {
451
     {
399
-        this.auditComment = auditComment;
452
+        this.zjlComment = zjlComment;
400
     }
453
     }
401
 
454
 
402
-    public String getAuditComment()
455
+    public String getZjlComment()
403
     {
456
     {
404
-        return auditComment;
457
+        return zjlComment;
405
     }
458
     }
406
-    public void setApproveComment(String approveComment)
459
+    public void setDszComment(String dszComment)
407
     {
460
     {
408
-        this.approveComment = approveComment;
461
+        this.dszComment = dszComment;
409
     }
462
     }
410
 
463
 
411
-    public String getApproveComment()
464
+    public String getDszComment()
412
     {
465
     {
413
-        return approveComment;
466
+        return dszComment;
414
     }
467
     }
415
 
468
 
416
     @Override
469
     @Override

+ 53
- 112
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettle.java 查看文件

48
     private String jsUserName;
48
     private String jsUserName;
49
     private SysUser jsUser;
49
     private SysUser jsUser;
50
 
50
 
51
-    @Excel(name = "项目管理部审核人")
52
-    private String xmUserName;
53
-    private SysUser xmUser;
54
-
55
-    @Excel(name = "承担部门审核人")
56
-    private String deptUserName;
57
-    private SysUser deptUser;
58
-
59
     @Excel(name = "经营发展部审核人")
51
     @Excel(name = "经营发展部审核人")
60
     private String jyUserName;
52
     private String jyUserName;
61
     private SysUser jyUser;
53
     private SysUser jyUser;
68
     private String gmUserName;
60
     private String gmUserName;
69
     private SysUser gmUser;
61
     private SysUser gmUser;
70
 
62
 
63
+    @Excel(name = "董事长")
64
+    private String dszUserName;
65
+    private SysUser dszUser;
66
+
71
     /** 上报日期 */
67
     /** 上报日期 */
72
     @JsonFormat(pattern = "yyyy-MM-dd")
68
     @JsonFormat(pattern = "yyyy-MM-dd")
73
     @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
69
     @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
101
     @Excel(name = "技术质量部审核意见")
97
     @Excel(name = "技术质量部审核意见")
102
     private String jsComment;
98
     private String jsComment;
103
 
99
 
104
-    /** 项目管理部审核人 */
105
-    private Long xmUserId;
106
-
107
-    /** 项目管理部审核日期 */
108
-    @JsonFormat(pattern = "yyyy-MM-dd")
109
-    @Excel(name = "项目管理部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
110
-    private Date xmTime;
111
-
112
-    /** 项目管理部审核意见 */
113
-    @Excel(name = "项目管理部审核意见")
114
-    private String xmComment;
115
-
116
-    /** 承担部门审核人 */
117
-    private Long deptUserId;
118
-
119
-    /** 承担部门审核日期 */
120
-    @JsonFormat(pattern = "yyyy-MM-dd")
121
-    @Excel(name = "承担部门审核日期", width = 30, dateFormat = "yyyy-MM-dd")
122
-    private Date deptTime;
123
-
124
-    /** 承担部门审核意见 */
125
-    @Excel(name = "承担部门审核意见")
126
-    private String deptComment;
127
-
128
     /** 经营发展部审核人 */
100
     /** 经营发展部审核人 */
129
     private Long jyUserId;
101
     private Long jyUserId;
130
 
102
 
161
     @Excel(name = "总经理审核意见")
133
     @Excel(name = "总经理审核意见")
162
     private String gmComment;
134
     private String gmComment;
163
 
135
 
136
+    /** 董事长审核人 */
137
+    private Long dszUserId;
138
+
139
+    /** 董事长审核日期 */
140
+    @JsonFormat(pattern = "yyyy-MM-dd")
141
+    @Excel(name = "董事长审核日期", width = 30, dateFormat = "yyyy-MM-dd")
142
+    private Date dszTime;
143
+
144
+    /** 董事长审核意见 */
145
+    @Excel(name = "董事长审核意见")
146
+    private String dszComment;
147
+
164
     /** 原始结算表 */
148
     /** 原始结算表 */
165
     @Excel(name = "原始结算表")
149
     @Excel(name = "原始结算表")
166
     private String settleDocument;
150
     private String settleDocument;
292
     {
276
     {
293
         return jsComment;
277
         return jsComment;
294
     }
278
     }
295
-    public void setXmUserId(Long xmUserId) 
296
-    {
297
-        this.xmUserId = xmUserId;
298
-    }
299
-
300
-    public Long getXmUserId() 
301
-    {
302
-        return xmUserId;
303
-    }
304
-    public void setXmTime(Date xmTime) 
305
-    {
306
-        this.xmTime = xmTime;
307
-    }
308
-
309
-    public Date getXmTime() 
310
-    {
311
-        return xmTime;
312
-    }
313
-    public void setXmComment(String xmComment) 
314
-    {
315
-        this.xmComment = xmComment;
316
-    }
317
-
318
-    public String getXmComment() 
319
-    {
320
-        return xmComment;
321
-    }
322
-    public void setDeptUserId(Long deptUserId) 
323
-    {
324
-        this.deptUserId = deptUserId;
325
-    }
326
-
327
-    public Long getDeptUserId() 
328
-    {
329
-        return deptUserId;
330
-    }
331
-    public void setDeptTime(Date deptTime) 
332
-    {
333
-        this.deptTime = deptTime;
334
-    }
335
-
336
-    public Date getDeptTime() 
337
-    {
338
-        return deptTime;
339
-    }
340
-    public void setDeptComment(String deptComment) 
341
-    {
342
-        this.deptComment = deptComment;
343
-    }
344
-
345
-    public String getDeptComment() 
346
-    {
347
-        return deptComment;
348
-    }
349
     public void setJyUserId(Long jyUserId) 
279
     public void setJyUserId(Long jyUserId) 
350
     {
280
     {
351
         this.jyUserId = jyUserId;
281
         this.jyUserId = jyUserId;
427
     {
357
     {
428
         return gmComment;
358
         return gmComment;
429
     }
359
     }
360
+    public void setDszUserId(Long dszUserId)
361
+    {
362
+        this.dszUserId = dszUserId;
363
+    }
364
+
365
+    public Long getDszUserId()
366
+    {
367
+        return dszUserId;
368
+    }
369
+    public void setDszTime(Date dszTime)
370
+    {
371
+        this.dszTime = dszTime;
372
+    }
373
+
374
+    public Date getDszTime()
375
+    {
376
+        return dszTime;
377
+    }
378
+    public void setDszComment(String dszComment) 
379
+    {
380
+        this.dszComment = dszComment;
381
+    }
382
+
383
+    public String getDszComment() 
384
+    {
385
+        return dszComment;
386
+    }
430
     public void setSettleDocument(String settleDocument)
387
     public void setSettleDocument(String settleDocument)
431
     {
388
     {
432
         this.settleDocument = settleDocument;
389
         this.settleDocument = settleDocument;
464
     {
421
     {
465
         return reporterUser;
422
         return reporterUser;
466
     }
423
     }
467
-    public void setDeptUser(SysUser deptUser)
468
-    {
469
-        this.deptUser = deptUser;
470
-        this.deptUserName = deptUser == null ? "" : deptUser.getNickName();
471
-    }
472
-
473
-    public SysUser getDeptUser()
474
-    {
475
-        return deptUser;
476
-    }
477
     public void setZhUser(SysUser zhUser)
424
     public void setZhUser(SysUser zhUser)
478
     {
425
     {
479
         this.zhUser = zhUser;
426
         this.zhUser = zhUser;
504
     {
451
     {
505
         return jsUser;
452
         return jsUser;
506
     }
453
     }
507
-    public void setXmUser(SysUser xmUser)
508
-    {
509
-        this.xmUser = xmUser;
510
-        this.xmUserName = xmUser == null ? "" : xmUser.getNickName();
511
-    }
512
-
513
-    public SysUser getXmUser()
514
-    {
515
-        return xmUser;
516
-    }
517
     public void setManagerUser(SysUser managerUser)
454
     public void setManagerUser(SysUser managerUser)
518
     {
455
     {
519
         this.managerUser = managerUser;
456
         this.managerUser = managerUser;
534
     {
471
     {
535
         return gmUser;
472
         return gmUser;
536
     }
473
     }
474
+    public void setDszUser(SysUser dszUser)
475
+    {
476
+        this.dszUser = dszUser;
477
+        this.dszUserName = dszUser == null ? "" : dszUser.getNickName();
478
+    }
479
+
480
+    public SysUser getDszUser()
481
+    {
482
+        return dszUser;
483
+    }
537
 
484
 
538
     @Override
485
     @Override
539
     public String toString() {
486
     public String toString() {
550
             .append("jsUserId", getJsUserId())
497
             .append("jsUserId", getJsUserId())
551
             .append("jsTime", getJsTime())
498
             .append("jsTime", getJsTime())
552
             .append("jsComment", getJsComment())
499
             .append("jsComment", getJsComment())
553
-            .append("xmUserId", getXmUserId())
554
-            .append("xmTime", getXmTime())
555
-            .append("xmComment", getXmComment())
556
-            .append("deptUserId", getDeptUserId())
557
-            .append("deptTime", getDeptTime())
558
-            .append("deptComment", getDeptComment())
559
             .append("jyUserId", getJyUserId())
500
             .append("jyUserId", getJyUserId())
560
             .append("jyTime", getJyTime())
501
             .append("jyTime", getJyTime())
561
             .append("jyComment", getJyComment())
502
             .append("jyComment", getJyComment())

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

12
         <result property="price"    column="price"    />
12
         <result property="price"    column="price"    />
13
         <result property="quantity"    column="quantity"    />
13
         <result property="quantity"    column="quantity"    />
14
         <result property="applyAmount"    column="apply_amount"    />
14
         <result property="applyAmount"    column="apply_amount"    />
15
-        <result property="xmAmount"    column="xm_amount"    />
16
         <result property="managerAmount"    column="manager_amount"    />
15
         <result property="managerAmount"    column="manager_amount"    />
17
     </resultMap>
16
     </resultMap>
18
 
17
 
19
     <sql id="selectCmcBorrowDetailVo">
18
     <sql id="selectCmcBorrowDetailVo">
20
-        select borrow_detail_id, borrow_id, borrow_item, unit, price, quantity, apply_amount, xm_amount, manager_amount from cmc_borrow_detail
19
+        select borrow_detail_id, borrow_id, borrow_item, unit, price, quantity, apply_amount, manager_amount from cmc_borrow_detail
21
     </sql>
20
     </sql>
22
 
21
 
23
     <select id="selectCmcBorrowDetailList" parameterType="CmcBorrowDetail" resultMap="CmcBorrowDetailResult">
22
     <select id="selectCmcBorrowDetailList" parameterType="CmcBorrowDetail" resultMap="CmcBorrowDetailResult">
29
             <if test="price != null "> and price = #{price}</if>
28
             <if test="price != null "> and price = #{price}</if>
30
             <if test="quantity != null "> and quantity = #{quantity}</if>
29
             <if test="quantity != null "> and quantity = #{quantity}</if>
31
             <if test="applyAmount != null "> and apply_amount = #{applyAmount}</if>
30
             <if test="applyAmount != null "> and apply_amount = #{applyAmount}</if>
32
-            <if test="xmAmount != null "> and xm_amount = #{xmAmount}</if>
33
             <if test="managerAmount != null "> and manager_amount = #{managerAmount}</if>
31
             <if test="managerAmount != null "> and manager_amount = #{managerAmount}</if>
34
         </where>
32
         </where>
35
     </select>
33
     </select>
49
             <if test="price != null">price,</if>
47
             <if test="price != null">price,</if>
50
             <if test="quantity != null">quantity,</if>
48
             <if test="quantity != null">quantity,</if>
51
             <if test="applyAmount != null">apply_amount,</if>
49
             <if test="applyAmount != null">apply_amount,</if>
52
-            <if test="xmAmount != null">xm_amount,</if>
53
             <if test="managerAmount != null">manager_amount,</if>
50
             <if test="managerAmount != null">manager_amount,</if>
54
          </trim>
51
          </trim>
55
         <trim prefix="values (" suffix=")" suffixOverrides=",">
52
         <trim prefix="values (" suffix=")" suffixOverrides=",">
60
             <if test="price != null">#{price},</if>
57
             <if test="price != null">#{price},</if>
61
             <if test="quantity != null">#{quantity},</if>
58
             <if test="quantity != null">#{quantity},</if>
62
             <if test="applyAmount != null">#{applyAmount},</if>
59
             <if test="applyAmount != null">#{applyAmount},</if>
63
-            <if test="xmAmount != null">#{xmAmount},</if>
64
             <if test="managerAmount != null">#{managerAmount},</if>
60
             <if test="managerAmount != null">#{managerAmount},</if>
65
          </trim>
61
          </trim>
66
     </insert>
62
     </insert>
74
             <if test="price != null">price = #{price},</if>
70
             <if test="price != null">price = #{price},</if>
75
             <if test="quantity != null">quantity = #{quantity},</if>
71
             <if test="quantity != null">quantity = #{quantity},</if>
76
             <if test="applyAmount != null">apply_amount = #{applyAmount},</if>
72
             <if test="applyAmount != null">apply_amount = #{applyAmount},</if>
77
-            <if test="xmAmount != null">xm_amount = #{xmAmount},</if>
78
             <if test="managerAmount != null">manager_amount = #{managerAmount},</if>
73
             <if test="managerAmount != null">manager_amount = #{managerAmount},</if>
79
         </trim>
74
         </trim>
80
         where borrow_detail_id = #{borrowDetailId}
75
         where borrow_detail_id = #{borrowDetailId}

+ 11
- 31
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBorrowMapper.xml 查看文件

17
         <result property="managerAmount"    column="manager_amount"    />
17
         <result property="managerAmount"    column="manager_amount"    />
18
         <result property="deptComment"    column="dept_comment"    />
18
         <result property="deptComment"    column="dept_comment"    />
19
         <result property="deptUserId"    column="dept_user_id"    />
19
         <result property="deptUserId"    column="dept_user_id"    />
20
-        <result property="xmUserId"    column="xm_user_id"    />
21
-        <result property="xmComment"    column="xm_comment"    />
22
         <result property="managerComment"    column="manager_comment"    />
20
         <result property="managerComment"    column="manager_comment"    />
23
         <result property="managerUserId"    column="manager_user_id"    />
21
         <result property="managerUserId"    column="manager_user_id"    />
24
         <result property="zjlUserId"    column="zjl_user_id"    />
22
         <result property="zjlUserId"    column="zjl_user_id"    />
25
         <result property="zjlComment"    column="zjl_comment"    />
23
         <result property="zjlComment"    column="zjl_comment"    />
24
+        <result property="dszUserId"    column="dsz_user_id"    />
25
+        <result property="dszComment"    column="dsz_comment"    />
26
         <result property="unionUserId"    column="union_user_id"    />
26
         <result property="unionUserId"    column="union_user_id"    />
27
         <result property="unionComment"    column="union_comment"    />
27
         <result property="unionComment"    column="union_comment"    />
28
         <result property="cwUserId"    column="cw_user_id"    />
28
         <result property="cwUserId"    column="cw_user_id"    />
29
         <result property="cwComment"    column="cw_comment"    />
29
         <result property="cwComment"    column="cw_comment"    />
30
         <result property="deptTime"    column="dept_time"    />
30
         <result property="deptTime"    column="dept_time"    />
31
-        <result property="xmTime"    column="xm_time"    />
32
         <result property="managerTime"    column="manager_time"    />
31
         <result property="managerTime"    column="manager_time"    />
33
         <result property="zjlTime"    column="zjl_time"    />
32
         <result property="zjlTime"    column="zjl_time"    />
33
+        <result property="dszTime"    column="dsz_time"    />
34
         <result property="lendTime"    column="lend_time"    />
34
         <result property="lendTime"    column="lend_time"    />
35
         <result property="lendDocument"    column="lend_document"    />
35
         <result property="lendDocument"    column="lend_document"    />
36
         <result property="borrowDocument"    column="borrow_document"    />
36
         <result property="borrowDocument"    column="borrow_document"    />
38
         <association property="applierUser"    javaType="SysUser"         resultMap="ApplierUserResult" />
38
         <association property="applierUser"    javaType="SysUser"         resultMap="ApplierUserResult" />
39
         <association property="deptUser"    javaType="SysUser"         resultMap="DeptUserResult" />
39
         <association property="deptUser"    javaType="SysUser"         resultMap="DeptUserResult" />
40
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
40
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
41
-        <association property="xmUser"    javaType="SysUser"         resultMap="XmUserResult" />
42
         <association property="zjlUser"    javaType="SysUser"         resultMap="ZjlUserResult" />
41
         <association property="zjlUser"    javaType="SysUser"         resultMap="ZjlUserResult" />
43
         <association property="dszUser"    javaType="SysUser"         resultMap="DszUserResult" />
42
         <association property="dszUser"    javaType="SysUser"         resultMap="DszUserResult" />
44
         <association property="unionUser"    javaType="SysUser"         resultMap="UnionUserResult" />
43
         <association property="unionUser"    javaType="SysUser"         resultMap="UnionUserResult" />
62
         <result property="nickName"    column="manager_nick_name"    />
61
         <result property="nickName"    column="manager_nick_name"    />
63
     </resultMap>
62
     </resultMap>
64
 
63
 
65
-    <resultMap type="SysUser" id="XmUserResult">
66
-        <result property="userId"    column="user_id"    />
67
-        <result property="nickName"    column="xm_nick_name"    />
68
-    </resultMap>
69
-
70
     <resultMap type="SysUser" id="ZjlUserResult">
64
     <resultMap type="SysUser" id="ZjlUserResult">
71
         <result property="userId"    column="user_id"    />
65
         <result property="userId"    column="user_id"    />
72
         <result property="nickName"    column="zjl_nick_name"    />
66
         <result property="nickName"    column="zjl_nick_name"    />
100
 
94
 
101
     <sql id="selectCmcBorrowVo">
95
     <sql id="selectCmcBorrowVo">
102
         select b.borrow_id, b.project_id, p.project_number, p.project_name, b.apply_reason, b.applier, u.nick_name as applier_nick_name, d.dept_name, b.apply_dept, b.remark, b.borrow_usage,
96
         select b.borrow_id, b.project_id, p.project_number, p.project_name, b.apply_reason, b.applier, u.nick_name as applier_nick_name, d.dept_name, b.apply_dept, b.remark, b.borrow_usage,
103
-               b.apply_date, b.apply_amount, b.manager_amount, b.dept_comment, b.dept_user_id, u1.nick_name as dept_nick_name, b.xm_user_id, u2.nick_name as xm_nick_name, b.xm_comment,
104
-               b.manager_comment, b.manager_user_id, u3.nick_name as manager_nick_name, b.zjl_user_id, u4.nick_name as zjl_nick_name, b.zjl_comment, b.dsz_comment,  b.union_user_id, 
105
-               u5.nick_name as zjl_nick_name, b.union_comment, b.cw_user_id, u6.nick_name as cw_nick_name, b.dsz_user_id, u7.nick_name as dsz_nick_name, b.cw_comment, b.dept_time, b.xm_time,
106
-               b.manager_time, b.zjl_time, b.dsz_time, b.lend_time, b.lend_document, b.borrow_document, b.union_time from cmc_borrow as b
97
+               b.apply_date, b.apply_amount, b.manager_amount, b.dept_comment, b.dept_user_id, u1.nick_name as dept_nick_name, b.manager_comment, b.manager_user_id, u2.nick_name as manager_nick_name,
98
+               b.zjl_user_id, u3.nick_name as zjl_nick_name, b.zjl_comment, b.dsz_comment,  b.union_user_id, u4.nick_name as union_nick_name, b.union_comment, b.cw_user_id, u5.nick_name as cw_nick_name,
99
+               b.dsz_user_id, u6.nick_name as dsz_nick_name, b.cw_comment, b.dept_time, b.manager_time, b.zjl_time, b.dsz_time, b.lend_time, b.lend_document, b.borrow_document, b.union_time from cmc_borrow as b
107
         left join sys_user as u on u.user_id = b.applier
100
         left join sys_user as u on u.user_id = b.applier
108
         left join sys_user as u1 on u1.user_id = b.dept_user_id
101
         left join sys_user as u1 on u1.user_id = b.dept_user_id
109
-        left join sys_user as u2 on u2.user_id = b.xm_user_id
110
-        left join sys_user as u3 on u3.user_id = b.manager_user_id
111
-        left join sys_user as u4 on u4.user_id = b.zjl_user_id
112
-        left join sys_user as u5 on u5.user_id = b.union_user_id
113
-        left join sys_user as u6 on u6.user_id = b.cw_user_id
114
-        left join sys_user as u7 on u7.user_id = b.dsz_user_id
102
+        left join sys_user as u2 on u2.user_id = b.manager_user_id
103
+        left join sys_user as u3 on u3.user_id = b.zjl_user_id
104
+        left join sys_user as u4 on u4.user_id = b.union_user_id
105
+        left join sys_user as u5 on u5.user_id = b.cw_user_id
106
+        left join sys_user as u6 on u6.user_id = b.dsz_user_id
115
         left join sys_dept as d on d.dept_id = b.apply_dept
107
         left join sys_dept as d on d.dept_id = b.apply_dept
116
         left join cmc_project as p on b.project_id = p.project_id
108
         left join cmc_project as p on b.project_id = p.project_id
117
     </sql>
109
     </sql>
130
             <if test="managerAmount != null "> and b.manager_amount = #{managerAmount}</if>
122
             <if test="managerAmount != null "> and b.manager_amount = #{managerAmount}</if>
131
             <if test="deptComment != null  and deptComment != ''"> and b.dept_comment = #{deptComment}</if>
123
             <if test="deptComment != null  and deptComment != ''"> and b.dept_comment = #{deptComment}</if>
132
             <if test="deptUserId != null "> and b.dept_user_id = #{deptUserId}</if>
124
             <if test="deptUserId != null "> and b.dept_user_id = #{deptUserId}</if>
133
-            <if test="xmUserId != null "> and b.xm_user_id = #{xmUserId}</if>
134
-            <if test="xmComment != null  and xmComment != ''"> and b.xm_comment = #{xmComment}</if>
135
             <if test="managerComment != null  and managerComment != ''"> and b.manager_comment = #{managerComment}</if>
125
             <if test="managerComment != null  and managerComment != ''"> and b.manager_comment = #{managerComment}</if>
136
             <if test="managerUserId != null "> and b.manager_user_id = #{managerUserId}</if>
126
             <if test="managerUserId != null "> and b.manager_user_id = #{managerUserId}</if>
137
             <if test="zjlUserId != null "> and b.zjl_user_id = #{zjlUserId}</if>
127
             <if test="zjlUserId != null "> and b.zjl_user_id = #{zjlUserId}</if>
143
             <if test="cwUserId != null "> and b.cw_user_id = #{cwUserId}</if>
133
             <if test="cwUserId != null "> and b.cw_user_id = #{cwUserId}</if>
144
             <if test="cwComment != null  and cwComment != ''"> and b.cw_comment = #{cwComment}</if>
134
             <if test="cwComment != null  and cwComment != ''"> and b.cw_comment = #{cwComment}</if>
145
             <if test="deptTime != null "> and b.dept_time = #{deptTime}</if>
135
             <if test="deptTime != null "> and b.dept_time = #{deptTime}</if>
146
-            <if test="xmTime != null "> and b.xm_time = #{xmTime}</if>
147
             <if test="managerTime != null "> and b.manager_time = #{managerTime}</if>
136
             <if test="managerTime != null "> and b.manager_time = #{managerTime}</if>
148
             <if test="zjlTime != null "> and b.zjl_time = #{zjlTime}</if>
137
             <if test="zjlTime != null "> and b.zjl_time = #{zjlTime}</if>
149
             <if test="dszTime != null "> and b.dsz_time = #{dszTime}</if>
138
             <if test="dszTime != null "> and b.dsz_time = #{dszTime}</if>
173
             <if test="managerAmount != null">manager_amount,</if>
162
             <if test="managerAmount != null">manager_amount,</if>
174
             <if test="deptComment != null">dept_comment,</if>
163
             <if test="deptComment != null">dept_comment,</if>
175
             <if test="deptUserId != null">dept_user_id,</if>
164
             <if test="deptUserId != null">dept_user_id,</if>
176
-            <if test="xmUserId != null">xm_user_id,</if>
177
-            <if test="xmComment != null">xm_comment,</if>
178
             <if test="managerComment != null">manager_comment,</if>
165
             <if test="managerComment != null">manager_comment,</if>
179
             <if test="managerUserId != null">manager_user_id,</if>
166
             <if test="managerUserId != null">manager_user_id,</if>
180
             <if test="zjlUserId != null">zjl_user_id,</if>
167
             <if test="zjlUserId != null">zjl_user_id,</if>
186
             <if test="cwUserId != null">cw_user_id,</if>
173
             <if test="cwUserId != null">cw_user_id,</if>
187
             <if test="cwComment != null">cw_comment,</if>
174
             <if test="cwComment != null">cw_comment,</if>
188
             <if test="deptTime != null">dept_time,</if>
175
             <if test="deptTime != null">dept_time,</if>
189
-            <if test="xmTime != null">xm_time,</if>
190
             <if test="managerTime != null">manager_time,</if>
176
             <if test="managerTime != null">manager_time,</if>
191
             <if test="zjlTime != null">zjl_time,</if>
177
             <if test="zjlTime != null">zjl_time,</if>
192
             <if test="dszTime != null">dsz_time,</if>
178
             <if test="dszTime != null">dsz_time,</if>
208
             <if test="managerAmount != null">#{managerAmount},</if>
194
             <if test="managerAmount != null">#{managerAmount},</if>
209
             <if test="deptComment != null">#{deptComment},</if>
195
             <if test="deptComment != null">#{deptComment},</if>
210
             <if test="deptUserId != null">#{deptUserId},</if>
196
             <if test="deptUserId != null">#{deptUserId},</if>
211
-            <if test="xmUserId != null">#{xmUserId},</if>
212
-            <if test="xmComment != null">#{xmComment},</if>
213
             <if test="managerComment != null">#{managerComment},</if>
197
             <if test="managerComment != null">#{managerComment},</if>
214
             <if test="managerUserId != null">#{managerUserId},</if>
198
             <if test="managerUserId != null">#{managerUserId},</if>
215
             <if test="zjlUserId != null">#{zjlUserId},</if>
199
             <if test="zjlUserId != null">#{zjlUserId},</if>
221
             <if test="cwUserId != null">#{cwUserId},</if>
205
             <if test="cwUserId != null">#{cwUserId},</if>
222
             <if test="cwComment != null">#{cwComment},</if>
206
             <if test="cwComment != null">#{cwComment},</if>
223
             <if test="deptTime != null">#{deptTime},</if>
207
             <if test="deptTime != null">#{deptTime},</if>
224
-            <if test="xmTime != null">#{xmTime},</if>
225
             <if test="managerTime != null">#{managerTime},</if>
208
             <if test="managerTime != null">#{managerTime},</if>
226
             <if test="zjlTime != null">#{zjlTime},</if>
209
             <if test="zjlTime != null">#{zjlTime},</if>
227
             <if test="dszTime != null">#{dszTime},</if>
210
             <if test="dszTime != null">#{dszTime},</if>
246
             <if test="managerAmount != null">manager_amount = #{managerAmount},</if>
229
             <if test="managerAmount != null">manager_amount = #{managerAmount},</if>
247
             <if test="deptComment != null">dept_comment = #{deptComment},</if>
230
             <if test="deptComment != null">dept_comment = #{deptComment},</if>
248
             <if test="deptUserId != null">dept_user_id = #{deptUserId},</if>
231
             <if test="deptUserId != null">dept_user_id = #{deptUserId},</if>
249
-            <if test="xmUserId != null">xm_user_id = #{xmUserId},</if>
250
-            <if test="xmComment != null">xm_comment = #{xmComment},</if>
251
             <if test="managerComment != null">manager_comment = #{managerComment},</if>
232
             <if test="managerComment != null">manager_comment = #{managerComment},</if>
252
             <if test="managerUserId != null">manager_user_id = #{managerUserId},</if>
233
             <if test="managerUserId != null">manager_user_id = #{managerUserId},</if>
253
             <if test="zjlUserId != null">zjl_user_id = #{zjlUserId},</if>
234
             <if test="zjlUserId != null">zjl_user_id = #{zjlUserId},</if>
259
             <if test="cwUserId != null">cw_user_id = #{cwUserId},</if>
240
             <if test="cwUserId != null">cw_user_id = #{cwUserId},</if>
260
             <if test="cwComment != null">cw_comment = #{cwComment},</if>
241
             <if test="cwComment != null">cw_comment = #{cwComment},</if>
261
             <if test="deptTime != null">dept_time = #{deptTime},</if>
242
             <if test="deptTime != null">dept_time = #{deptTime},</if>
262
-            <if test="xmTime != null">xm_time = #{xmTime},</if>
263
             <if test="managerTime != null">manager_time = #{managerTime},</if>
243
             <if test="managerTime != null">manager_time = #{managerTime},</if>
264
             <if test="zjlTime != null">zjl_time = #{zjlTime},</if>
244
             <if test="zjlTime != null">zjl_time = #{zjlTime},</if>
265
             <if test="dszTime != null">dsz_time = #{dszTime},</if>
245
             <if test="dszTime != null">dsz_time = #{dszTime},</if>

+ 43
- 26
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetMapper.xml 查看文件

25
         <result property="directExpense"    column="direct_expense"    />
25
         <result property="directExpense"    column="direct_expense"    />
26
         <result property="totalBudget"    column="total_budget"    />
26
         <result property="totalBudget"    column="total_budget"    />
27
         <result property="compiler"    column="compiler"    />
27
         <result property="compiler"    column="compiler"    />
28
+        <result property="manager"    column="manager"    />
28
         <result property="auditor"    column="auditor"    />
29
         <result property="auditor"    column="auditor"    />
29
         <result property="approver"    column="approver"    />
30
         <result property="approver"    column="approver"    />
30
-        <result property="auditComment"    column="auditor_comment"    />
31
-        <result property="approveComment"    column="approve_comment"    />
32
-        <result property="auditTime"    column="audit_time"    />
33
-        <result property="approveTime"    column="approve_time"    />
31
+        <result property="zjlComment"    column="zjl_comment"    />
32
+        <result property="dszComment"    column="dsz_comment"    />
33
+        <result property="zjlTime"    column="zjl_time"    />
34
+        <result property="dszTime"    column="dsz_time"    />
34
         <result property="createTime"    column="create_time"    />
35
         <result property="createTime"    column="create_time"    />
35
         <association property="compilerUser"    javaType="SysUser"         resultMap="CompilerResult" />
36
         <association property="compilerUser"    javaType="SysUser"         resultMap="CompilerResult" />
36
-        <association property="auditorUser"    javaType="SysUser"         resultMap="AuditorResult" />
37
-        <association property="approverUser"    javaType="SysUser"         resultMap="ApproverResult" />
37
+        <association property="managerUser"    javaType="SysUser"         resultMap="ManagerResult" />
38
+        <association property="zjlUser"    javaType="SysUser"         resultMap="ZjlResult" />
39
+        <association property="dszUser"    javaType="SysUser"         resultMap="DszResult" />
38
         <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
40
         <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
39
     </resultMap>
41
     </resultMap>
40
 
42
 
43
         <result property="nickName"    column="compiler_nick_name"    />
45
         <result property="nickName"    column="compiler_nick_name"    />
44
     </resultMap>
46
     </resultMap>
45
 
47
 
46
-    <resultMap type="SysUser" id="AuditorResult">
48
+    <resultMap type="SysUser" id="ManagerResult">
47
         <result property="userId"    column="user_id"    />
49
         <result property="userId"    column="user_id"    />
48
-        <result property="nickName"    column="auditor_nick_name"    />
50
+        <result property="nickName"    column="manager_nick_name"    />
49
     </resultMap>
51
     </resultMap>
50
 
52
 
51
-    <resultMap type="SysUser" id="ApproverResult">
53
+    <resultMap type="SysUser" id="ZjlResult">
52
         <result property="userId"    column="user_id"    />
54
         <result property="userId"    column="user_id"    />
53
-        <result property="nickName"    column="approver_nick_name"    />
55
+        <result property="nickName"    column="zjl_nick_name"    />
56
+    </resultMap>
57
+
58
+    <resultMap type="SysUser" id="DszResult">
59
+        <result property="userId"    column="user_id"    />
60
+        <result property="nickName"    column="dsz_nick_name"    />
54
     </resultMap>
61
     </resultMap>
55
 
62
 
56
     <resultMap type="CmcProject" id="CmcProjectResult">
63
     <resultMap type="CmcProject" id="CmcProjectResult">
62
     <sql id="selectCmcBudgetVo">
69
     <sql id="selectCmcBudgetVo">
63
         select b.budget_id, b.project_id, p.project_number, p.project_name, b.staff_cost, b.car_cost, b.device_cost, b.fix_cost, b.settle_expense, b.out_expense, b.business_expense, b.tax_expense,
70
         select b.budget_id, b.project_id, p.project_number, p.project_name, b.staff_cost, b.car_cost, b.device_cost, b.fix_cost, b.settle_expense, b.out_expense, b.business_expense, b.tax_expense,
64
                b.rent_expense, b.other_expense, b.out_remark, b.business_remark, b.tax_remark, b.rent_remark, b.other_remark, b.direct_expense, b.total_budget, b.compiler,
71
                b.rent_expense, b.other_expense, b.out_remark, b.business_remark, b.tax_remark, b.rent_remark, b.other_remark, b.direct_expense, b.total_budget, b.compiler,
65
-               u.nick_name as compiler_nick_name, b.auditor, u1.nick_name as auditor_nick_name, b.approver, u2.nick_name as approver_nick_name, b.create_time, b.audit_time, b.approve_time,
66
-               b.audit_comment, b.approve_comment from cmc_budget as b
72
+               u.nick_name as compiler_nick_name, b.manager, u2.nick_name as manager_nick_name, b.auditor, u3.nick_name as zjl_nick_name, b.approver, u4.nick_name as dsz_nick_name, b.create_time, b.manager_time, b.zjl_time, b.dsz_time,
73
+               b.manager_comment, b.zjl_comment, b.dsz_comment from cmc_budget as b
67
             left join sys_user as u on u.user_id = b.compiler
74
             left join sys_user as u on u.user_id = b.compiler
68
-            left join sys_user as u1 on u1.user_id = b.auditor
69
-            left join sys_user as u2 on u2.user_id = b.approver
75
+            left join sys_user as u1 on u1.user_id = b.manager
76
+            left join sys_user as u2 on u2.user_id = b.auditor
77
+            left join sys_user as u3 on u3.user_id = b.approver
70
             left join cmc_project as p on b.project_id = p.project_id
78
             left join cmc_project as p on b.project_id = p.project_id
71
     </sql>
79
     </sql>
72
 
80
 
119
             <if test="directExpense != null">direct_expense,</if>
127
             <if test="directExpense != null">direct_expense,</if>
120
             <if test="totalBudget != null">total_budget,</if>
128
             <if test="totalBudget != null">total_budget,</if>
121
             <if test="compiler != null">compiler,</if>
129
             <if test="compiler != null">compiler,</if>
130
+            <if test="manager != null">manager,</if>
122
             <if test="auditor != null">auditor,</if>
131
             <if test="auditor != null">auditor,</if>
123
             <if test="approver != null">approver,</if>
132
             <if test="approver != null">approver,</if>
124
-            <if test="auditTime != null">audit_time,</if>
125
-            <if test="approveTime != null">approve_time,</if>
126
-            <if test="auditComment != null">audit_comment,</if>
127
-            <if test="approveComment != null">approve_comment,</if>
133
+            <if test="managerTime != null">manager_time,</if>
134
+            <if test="zjlTime != null">zjl_time,</if>
135
+            <if test="dszTime != null">dsz_time,</if>
136
+            <if test="managerComment != null">manager_comment,</if>
137
+            <if test="zjlComment != null">zjl_comment,</if>
138
+            <if test="dszComment != null">dsz_comment,</if>
128
             create_time
139
             create_time
129
         </trim>
140
         </trim>
130
         <trim prefix="values (" suffix=")" suffixOverrides=",">
141
         <trim prefix="values (" suffix=")" suffixOverrides=",">
148
             <if test="directExpense != null">#{directExpense},</if>
159
             <if test="directExpense != null">#{directExpense},</if>
149
             <if test="totalBudget != null">#{totalBudget},</if>
160
             <if test="totalBudget != null">#{totalBudget},</if>
150
             <if test="compiler != null">#{compiler},</if>
161
             <if test="compiler != null">#{compiler},</if>
162
+            <if test="manager != null">#{manager},</if>
151
             <if test="auditor != null">#{auditor},</if>
163
             <if test="auditor != null">#{auditor},</if>
152
             <if test="approver != null">#{approver},</if>
164
             <if test="approver != null">#{approver},</if>
153
-            <if test="auditTime != null">#{auditTime},</if>
154
-            <if test="approveTime != null">#{approveTime},</if>
155
-            <if test="auditComment != null">#{auditComment},</if>
156
-            <if test="approveComment != null">#{approveComment},</if>
165
+            <if test="managerTime != null">#{managerTime},</if>
166
+            <if test="zjlTime != null">#{zjlTime},</if>
167
+            <if test="dszTime != null">#{dszTime},</if>
168
+            <if test="managerComment != null">#{managerComment},</if>
169
+            <if test="zjlComment != null">#{zjlComment},</if>
170
+            <if test="dszComment != null">#{dszComment},</if>
157
             sysdate()
171
             sysdate()
158
         </trim>
172
         </trim>
159
     </insert>
173
     </insert>
180
             <if test="directExpense != null">direct_expense = #{directExpense},</if>
194
             <if test="directExpense != null">direct_expense = #{directExpense},</if>
181
             <if test="totalBudget != null">total_budget = #{totalBudget},</if>
195
             <if test="totalBudget != null">total_budget = #{totalBudget},</if>
182
             <if test="compiler != null">compiler = #{compiler},</if>
196
             <if test="compiler != null">compiler = #{compiler},</if>
197
+            <if test="manager != null">manager = #{manager},</if>
183
             <if test="auditor != null">auditor = #{auditor},</if>
198
             <if test="auditor != null">auditor = #{auditor},</if>
184
             <if test="approver != null">approver = #{approver},</if>
199
             <if test="approver != null">approver = #{approver},</if>
185
-            <if test="auditTime != null">audit_time = #{auditTime},</if>
186
-            <if test="approveTime != null">approve_time = #{approveTime},</if>
187
-            <if test="auditComment != null">audit_comment = #{auditComment},</if>
188
-            <if test="approveComment != null">approve_comment = #{approveComment},</if>
200
+            <if test="managerTime != null">manager_time = #{managerTime},</if>
201
+            <if test="zjlTime != null">zjl_time = #{zjlTime},</if>
202
+            <if test="dszTime != null">dsz_time = #{dszTime},</if>
203
+            <if test="managerComment != null">manager_comment = #{managerComment},</if>
204
+            <if test="zjlComment != null">zjl_comment = #{zjlComment},</if>
205
+            <if test="dszComment != null">dsz_comment = #{dszComment},</if>
189
             <if test="createTime != null">create_time = #{createTime},</if>
206
             <if test="createTime != null">create_time = #{createTime},</if>
190
         </trim>
207
         </trim>
191
         where budget_id = #{budgetId}
208
         where budget_id = #{budgetId}

+ 25
- 41
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml 查看文件

20
         <result property="xmUserId"    column="xm_user_id"    />
20
         <result property="xmUserId"    column="xm_user_id"    />
21
         <result property="xmTime"    column="xm_time"    />
21
         <result property="xmTime"    column="xm_time"    />
22
         <result property="xmComment"    column="xm_comment"    />
22
         <result property="xmComment"    column="xm_comment"    />
23
-        <result property="deptUserId"    column="dept_user_id"    />
24
-        <result property="deptTime"    column="dept_time"    />
25
-        <result property="deptComment"    column="dept_comment"    />
26
         <result property="jyUserId"    column="jy_user_id"    />
23
         <result property="jyUserId"    column="jy_user_id"    />
27
         <result property="jyTime"    column="jy_time"    />
24
         <result property="jyTime"    column="jy_time"    />
28
         <result property="jyComment"    column="jy_comment"    />
25
         <result property="jyComment"    column="jy_comment"    />
32
         <result property="gmUserId"    column="gm_user_id"    />
29
         <result property="gmUserId"    column="gm_user_id"    />
33
         <result property="gmTime"    column="gm_time"    />
30
         <result property="gmTime"    column="gm_time"    />
34
         <result property="gmComment"    column="gm_comment"    />
31
         <result property="gmComment"    column="gm_comment"    />
32
+        <result property="dszUserId"    column="dsz_user_id"    />
33
+        <result property="dszTime"    column="dsz_time"    />
34
+        <result property="dszComment"    column="dsz_comment"    />
35
         <result property="settleDocument"    column="settle_document"    />
35
         <result property="settleDocument"    column="settle_document"    />
36
         <result property="modifyDocument"    column="modify_document"    />
36
         <result property="modifyDocument"    column="modify_document"    />
37
         <result property="finalDocument"    column="final_document"    />
37
         <result property="finalDocument"    column="final_document"    />
39
         <association property="zhUser"    javaType="SysUser"         resultMap="ZhUserResult" />
39
         <association property="zhUser"    javaType="SysUser"         resultMap="ZhUserResult" />
40
         <association property="jsUser"    javaType="SysUser"         resultMap="JsUserResult" />
40
         <association property="jsUser"    javaType="SysUser"         resultMap="JsUserResult" />
41
         <association property="xmUser"    javaType="SysUser"         resultMap="XmUserResult" />
41
         <association property="xmUser"    javaType="SysUser"         resultMap="XmUserResult" />
42
-        <association property="deptUser"    javaType="SysUser"         resultMap="DeptUserResult" />
43
         <association property="jyUser"    javaType="SysUser"         resultMap="JyUserResult" />
42
         <association property="jyUser"    javaType="SysUser"         resultMap="JyUserResult" />
44
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
43
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
45
         <association property="gmUser"    javaType="SysUser"         resultMap="GmUserResult" />
44
         <association property="gmUser"    javaType="SysUser"         resultMap="GmUserResult" />
45
+        <association property="dszUser"    javaType="SysUser"         resultMap="DszUserResult" />
46
     </resultMap>
46
     </resultMap>
47
 
47
 
48
     <resultMap type="SysUser" id="ReporterUserResult">
48
     <resultMap type="SysUser" id="ReporterUserResult">
65
         <result property="nickName"    column="xm_nick_name"    />
65
         <result property="nickName"    column="xm_nick_name"    />
66
     </resultMap>
66
     </resultMap>
67
 
67
 
68
-    <resultMap type="SysUser" id="DeptUserResult">
69
-        <result property="userId"    column="user_id"    />
70
-        <result property="nickName"    column="dept_nick_name"    />
71
-    </resultMap>
72
-
73
     <resultMap type="SysUser" id="JyUserResult">
68
     <resultMap type="SysUser" id="JyUserResult">
74
         <result property="userId"    column="user_id"    />
69
         <result property="userId"    column="user_id"    />
75
         <result property="nickName"    column="jy_nick_name"    />
70
         <result property="nickName"    column="jy_nick_name"    />
85
         <result property="nickName"    column="gm_nick_name"    />
80
         <result property="nickName"    column="gm_nick_name"    />
86
     </resultMap>
81
     </resultMap>
87
 
82
 
83
+    <resultMap type="SysUser" id="DszUserResult">
84
+        <result property="userId"    column="user_id"    />
85
+        <result property="nickName"    column="dsz_nick_name"    />
86
+    </resultMap>
87
+
88
     <sql id="selectCmcSettleVo">
88
     <sql id="selectCmcSettleVo">
89
         select s.settle_id, s.project_id, s.workload_report, s.reporter, u.nick_name as reporter_nick_name, s.report_time, s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name, 
89
         select s.settle_id, s.project_id, s.workload_report, s.reporter, u.nick_name as reporter_nick_name, s.report_time, s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name, 
90
-               s.zh_time, s.zh_comment, s.js_user_id, u2.nick_name as js_nick_name, s.js_time, s.js_comment, s.xm_user_id, u3.nick_name as xm_nick_name, s.xm_time, s.xm_comment, s.dept_user_id,
91
-               u4.nick_name as dept_nick_name, s.dept_time, s.dept_comment, s.jy_user_id, u5.nick_name as jy_nick_name, s.jy_time, s.jy_comment, s.manager_user_id, u6.nick_name as manager_nick_name, 
92
-               s.manager_time, s.manager_comment, s.gm_user_id, u7.nick_name as gm_nick_name, s.gm_time, s.gm_comment, s.settle_document, s.modify_document, s.final_document from cmc_settle as s
90
+               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, 
91
+               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,
92
+               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 from cmc_settle as s
93
         left join sys_user as u on u.user_id = s.reporter
93
         left join sys_user as u on u.user_id = s.reporter
94
         left join sys_user as u1 on u1.user_id = s.zh_user_id
94
         left join sys_user as u1 on u1.user_id = s.zh_user_id
95
         left join sys_user as u2 on u2.user_id = s.js_user_id
95
         left join sys_user as u2 on u2.user_id = s.js_user_id
96
-        left join sys_user as u3 on u3.user_id = s.xm_user_id
97
-        left join sys_user as u4 on u4.user_id = s.dept_user_id
98
-        left join sys_user as u5 on u5.user_id = s.jy_user_id
99
-        left join sys_user as u6 on u6.user_id = s.manager_user_id
100
-        left join sys_user as u7 on u7.user_id = s.gm_user_id
96
+        left join sys_user as u3 on u3.user_id = s.jy_user_id
97
+        left join sys_user as u4 on u4.user_id = s.manager_user_id
98
+        left join sys_user as u5 on u5.user_id = s.gm_user_id
99
+        left join sys_user as u6 on u6.user_id = s.dsz_user_id
101
     </sql>
100
     </sql>
102
 
101
 
103
     <select id="selectCmcSettleList" parameterType="CmcSettle" resultMap="CmcSettleResult">
102
     <select id="selectCmcSettleList" parameterType="CmcSettle" resultMap="CmcSettleResult">
115
             <if test="jsUserId != null "> and s.js_user_id = #{jsUserId}</if>
114
             <if test="jsUserId != null "> and s.js_user_id = #{jsUserId}</if>
116
             <if test="jsTime != null "> and s.js_time = #{jsTime}</if>
115
             <if test="jsTime != null "> and s.js_time = #{jsTime}</if>
117
             <if test="jsComment != null  and jsComment != ''"> and s.js_comment = #{jsComment}</if>
116
             <if test="jsComment != null  and jsComment != ''"> and s.js_comment = #{jsComment}</if>
118
-            <if test="xmUserId != null "> and s.xm_user_id = #{xmUserId}</if>
119
-            <if test="xmTime != null "> and s.xm_time = #{xmTime}</if>
120
-            <if test="xmComment != null  and xmComment != ''"> and s.xm_comment = #{xmComment}</if>
121
-            <if test="deptUserId != null "> and s.dept_user_id = #{deptUserId}</if>
122
-            <if test="deptTime != null "> and s.dept_time = #{deptTime}</if>
123
-            <if test="deptComment != null  and deptComment != ''"> and s.dept_comment = #{deptComment}</if>
124
             <if test="jyUserId != null "> and s.jy_user_id = #{jyUserId}</if>
117
             <if test="jyUserId != null "> and s.jy_user_id = #{jyUserId}</if>
125
             <if test="jyTime != null "> and s.jy_time = #{jyTime}</if>
118
             <if test="jyTime != null "> and s.jy_time = #{jyTime}</if>
126
             <if test="jyComment != null  and jyComment != ''"> and s.jy_comment = #{jyComment}</if>
119
             <if test="jyComment != null  and jyComment != ''"> and s.jy_comment = #{jyComment}</if>
154
             <if test="jsUserId != null">js_user_id,</if>
147
             <if test="jsUserId != null">js_user_id,</if>
155
             <if test="jsTime != null">js_time,</if>
148
             <if test="jsTime != null">js_time,</if>
156
             <if test="jsComment != null">js_comment,</if>
149
             <if test="jsComment != null">js_comment,</if>
157
-            <if test="xmUserId != null">xm_user_id,</if>
158
-            <if test="xmTime != null">xm_time,</if>
159
-            <if test="xmComment != null">xm_comment,</if>
160
-            <if test="deptUserId != null">dept_user_id,</if>
161
-            <if test="deptTime != null">dept_time,</if>
162
-            <if test="deptComment != null">dept_comment,</if>
163
             <if test="jyUserId != null">jy_user_id,</if>
150
             <if test="jyUserId != null">jy_user_id,</if>
164
             <if test="jyTime != null">jy_time,</if>
151
             <if test="jyTime != null">jy_time,</if>
165
             <if test="jyComment != null">jy_comment,</if>
152
             <if test="jyComment != null">jy_comment,</if>
169
             <if test="gmUserId != null">gm_user_id,</if>
156
             <if test="gmUserId != null">gm_user_id,</if>
170
             <if test="gmTime != null">gm_time,</if>
157
             <if test="gmTime != null">gm_time,</if>
171
             <if test="gmComment != null">gm_comment,</if>
158
             <if test="gmComment != null">gm_comment,</if>
159
+            <if test="dszUserId != null">dsz_user_id,</if>
160
+            <if test="dszTime != null">dsz_time,</if>
161
+            <if test="dszComment != null">dsz_comment,</if>
172
             <if test="settleDocument != null">settle_document,</if>
162
             <if test="settleDocument != null">settle_document,</if>
173
             <if test="modifyDocument != null">modify_document,</if>
163
             <if test="modifyDocument != null">modify_document,</if>
174
             <if test="finalDocument != null">final_document,</if>
164
             <if test="finalDocument != null">final_document,</if>
186
             <if test="jsUserId != null">#{jsUserId},</if>
176
             <if test="jsUserId != null">#{jsUserId},</if>
187
             <if test="jsTime != null">#{jsTime},</if>
177
             <if test="jsTime != null">#{jsTime},</if>
188
             <if test="jsComment != null">#{jsComment},</if>
178
             <if test="jsComment != null">#{jsComment},</if>
189
-            <if test="xmUserId != null">#{xmUserId},</if>
190
-            <if test="xmTime != null">#{xmTime},</if>
191
-            <if test="xmComment != null">#{xmComment},</if>
192
-            <if test="deptUserId != null">#{deptUserId},</if>
193
-            <if test="deptTime != null">#{deptTime},</if>
194
-            <if test="deptComment != null">#{deptComment},</if>
195
             <if test="jyUserId != null">#{jyUserId},</if>
179
             <if test="jyUserId != null">#{jyUserId},</if>
196
             <if test="jyTime != null">#{jyTime},</if>
180
             <if test="jyTime != null">#{jyTime},</if>
197
             <if test="jyComment != null">#{jyComment},</if>
181
             <if test="jyComment != null">#{jyComment},</if>
201
             <if test="gmUserId != null">#{gmUserId},</if>
185
             <if test="gmUserId != null">#{gmUserId},</if>
202
             <if test="gmTime != null">#{gmTime},</if>
186
             <if test="gmTime != null">#{gmTime},</if>
203
             <if test="gmComment != null">#{gmComment},</if>
187
             <if test="gmComment != null">#{gmComment},</if>
188
+            <if test="dszUserId != null">#{dszUserId},</if>
189
+            <if test="dszTime != null">#{dszTime},</if>
190
+            <if test="dszComment != null">#{dszComment},</if>
204
             <if test="settleDocument != null">#{settleDocument},</if>
191
             <if test="settleDocument != null">#{settleDocument},</if>
205
             <if test="modifyDocument != null">#{modifyDocument},</if>
192
             <if test="modifyDocument != null">#{modifyDocument},</if>
206
             <if test="finalDocument != null">#{finalDocument},</if>
193
             <if test="finalDocument != null">#{finalDocument},</if>
221
             <if test="jsUserId != null">js_user_id = #{jsUserId},</if>
208
             <if test="jsUserId != null">js_user_id = #{jsUserId},</if>
222
             <if test="jsTime != null">js_time = #{jsTime},</if>
209
             <if test="jsTime != null">js_time = #{jsTime},</if>
223
             <if test="jsComment != null">js_comment = #{jsComment},</if>
210
             <if test="jsComment != null">js_comment = #{jsComment},</if>
224
-            <if test="xmUserId != null">xm_user_id = #{xmUserId},</if>
225
-            <if test="xmTime != null">xm_time = #{xmTime},</if>
226
-            <if test="xmComment != null">xm_comment = #{xmComment},</if>
227
-            <if test="deptUserId != null">dept_user_id = #{deptUserId},</if>
228
-            <if test="deptTime != null">dept_time = #{deptTime},</if>
229
-            <if test="deptComment != null">dept_comment = #{deptComment},</if>
230
             <if test="jyUserId != null">jy_user_id = #{jyUserId},</if>
211
             <if test="jyUserId != null">jy_user_id = #{jyUserId},</if>
231
             <if test="jyTime != null">jy_time = #{jyTime},</if>
212
             <if test="jyTime != null">jy_time = #{jyTime},</if>
232
             <if test="jyComment != null">jy_comment = #{jyComment},</if>
213
             <if test="jyComment != null">jy_comment = #{jyComment},</if>
236
             <if test="gmUserId != null">gm_user_id = #{gmUserId},</if>
217
             <if test="gmUserId != null">gm_user_id = #{gmUserId},</if>
237
             <if test="gmTime != null">gm_time = #{gmTime},</if>
218
             <if test="gmTime != null">gm_time = #{gmTime},</if>
238
             <if test="gmComment != null">gm_comment = #{gmComment},</if>
219
             <if test="gmComment != null">gm_comment = #{gmComment},</if>
220
+            <if test="dszUserId != null">dsz_user_id = #{dszUserId},</if>
221
+            <if test="dszTime != null">dsz_time = #{dszTime},</if>
222
+            <if test="dszComment != null">dsz_comment = #{dszComment},</if>
239
             <if test="settleDocument != null">settle_document = #{settleDocument},</if>
223
             <if test="settleDocument != null">settle_document = #{settleDocument},</if>
240
             <if test="modifyDocument != null">modify_document = #{modifyDocument},</if>
224
             <if test="modifyDocument != null">modify_document = #{modifyDocument},</if>
241
             <if test="finalDocument != null">final_document = #{finalDocument},</if>
225
             <if test="finalDocument != null">final_document = #{finalDocument},</if>

+ 14
- 18
oa-back/sql/sql.sql
文件差异内容过多而无法显示
查看文件


+ 5
- 2
oa-ui/src/views/flowable/form/settleForm.vue 查看文件

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-04-30 09:03:14
3
  * @Date: 2024-04-30 09:03:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-07-09 17:01:08
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-07-10 17:20:43
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div class="app-container" v-loading="loading">
8
   <div class="app-container" v-loading="loading">
955
         work.remark = '不足600,按600算'
955
         work.remark = '不足600,按600算'
956
         sum = 600
956
         sum = 600
957
       }
957
       }
958
+      else {
959
+        work.remark = ''
960
+      }
958
       work.settle = Number(sum).toFixed(2);
961
       work.settle = Number(sum).toFixed(2);
959
       this.calculateSumSettle();
962
       this.calculateSumSettle();
960
       this.calculateActualSumSettle();
963
       this.calculateActualSumSettle();

+ 7
- 6
oa-ui/src/views/oa/project/index.vue 查看文件

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-02-27 14:49:15
3
  * @Date: 2024-02-27 14:49:15
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-07-09 15:26:58
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-07-10 15:09:11
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div class="project-wrapper">
8
   <div class="project-wrapper">
244
 import { listDept } from '@/api/system/dept';
244
 import { listDept } from '@/api/system/dept';
245
 import { listUser, getUser } from '@/api/system/user';
245
 import { listUser, getUser } from '@/api/system/user';
246
 import { mapGetters } from 'vuex';
246
 import { mapGetters } from 'vuex';
247
-import { getIsDeptLeader } from '@/api/system/post.js'
247
+import { checkPermi } from '@/utils/permission';
248
+
248
 export default {
249
 export default {
249
   computed: {
250
   computed: {
250
     ...mapGetters(['deptId', 'userId'])
251
     ...mapGetters(['deptId', 'userId'])
297
     // 查询项目列表
298
     // 查询项目列表
298
     async getList() {
299
     async getList() {
299
       this.loading = true
300
       this.loading = true
300
-      if (this.deptId > 107) {
301
-        let response = await getIsDeptLeader({ deptId: this.deptId })
302
-        if (response.data == false) {
301
+      if (this.deptId > 107 && this.deptId != 109) {
302
+        let response = await checkPermi(['oa:allproject:query'])
303
+        if (response == false) {
303
           this.queryParams.undertakingDept = this.deptId
304
           this.queryParams.undertakingDept = this.deptId
304
         }
305
         }
305
       }
306
       }

正在加载...
取消
保存