소스 검색

1新增品牌项目支付、保证金审批、成果归档、项目结算四个流程

2修改部分接口
lamphua 1 년 전
부모
커밋
1ae5d6dfad
100개의 변경된 파일7072개의 추가작업 그리고 410개의 파일을 삭제
  1. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcArchiveController.java
  2. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandController.java
  3. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandPaymentController.java
  4. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectController.java
  5. 1
    1
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetCarController.java
  6. 3
    3
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetDeviceController.java
  7. 3
    3
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetSettleController.java
  8. 3
    3
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetStaffController.java
  9. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcDepositController.java
  10. 1
    1
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcProjectController.java
  11. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleController.java
  12. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleSummaryController.java
  13. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleWorkController.java
  14. 297
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcArchive.java
  15. 147
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrand.java
  16. 82
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandPayment.java
  17. 179
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProject.java
  18. 311
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcDeposit.java
  19. 0
    28
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcProject.java
  20. 411
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettle.java
  21. 109
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettleSummary.java
  22. 165
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettleWork.java
  23. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcArchiveMapper.java
  24. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandMapper.java
  25. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandPaymentMapper.java
  26. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandProjectMapper.java
  27. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetCarMapper.java
  28. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetDeviceMapper.java
  29. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetSettleMapper.java
  30. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetStaffMapper.java
  31. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcDepositMapper.java
  32. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleMapper.java
  33. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleSummaryMapper.java
  34. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleWorkMapper.java
  35. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcArchiveService.java
  36. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandPaymentService.java
  37. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandProjectService.java
  38. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandService.java
  39. 2
    2
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetCarService.java
  40. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetDeviceService.java
  41. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetSettleService.java
  42. 4
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetStaffService.java
  43. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcDepositService.java
  44. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleService.java
  45. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleSummaryService.java
  46. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleWorkService.java
  47. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcArchiveServiceImpl.java
  48. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandPaymentServiceImpl.java
  49. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandProjectServiceImpl.java
  50. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandServiceImpl.java
  51. 6
    6
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetCarServiceImpl.java
  52. 6
    6
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetDeviceServiceImpl.java
  53. 6
    6
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetSettleServiceImpl.java
  54. 6
    6
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetStaffServiceImpl.java
  55. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcDepositServiceImpl.java
  56. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleServiceImpl.java
  57. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleSummaryServiceImpl.java
  58. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleWorkServiceImpl.java
  59. 143
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcArchiveMapper.xml
  60. 97
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandMapper.xml
  61. 68
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandPaymentMapper.xml
  62. 107
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectMapper.xml
  63. 6
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetCarMapper.xml
  64. 6
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetDeviceMapper.xml
  65. 6
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetSettleMapper.xml
  66. 6
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetStaffMapper.xml
  67. 148
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDepositMapper.xml
  68. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectCommentMapper.xml
  69. 1
    11
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectMapper.xml
  70. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectWorkMapper.xml
  71. 183
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml
  72. 82
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleSummaryMapper.xml
  73. 102
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleWorkMapper.xml
  74. 387
    169
      oa-back/sql/sql.sql
  75. 44
    0
      oa-ui/src/api/oa/archive/archive.js
  76. 44
    0
      oa-ui/src/api/oa/brand/brand.js
  77. 50
    0
      oa-ui/src/api/oa/brand/brandPayment.js
  78. 44
    0
      oa-ui/src/api/oa/brand/brandProject.js
  79. 4
    4
      oa-ui/src/api/oa/budget/budgetCar.js
  80. 4
    4
      oa-ui/src/api/oa/budget/budgetDevice.js
  81. 4
    4
      oa-ui/src/api/oa/budget/budgetSettle.js
  82. 4
    4
      oa-ui/src/api/oa/budget/budgetStaff.js
  83. 44
    0
      oa-ui/src/api/oa/deposit/deposit.js
  84. 44
    0
      oa-ui/src/api/oa/settle/settle.js
  85. 50
    0
      oa-ui/src/api/oa/settle/settleSummary.js
  86. 44
    0
      oa-ui/src/api/oa/settle/settleWork.js
  87. 350
    0
      oa-ui/src/views/flowable/form/archiveForm.vue
  88. 4
    4
      oa-ui/src/views/flowable/form/borrow/borrowData.vue
  89. 4
    4
      oa-ui/src/views/flowable/form/borrowForm.vue
  90. 291
    0
      oa-ui/src/views/flowable/form/brandForm.vue
  91. 21
    21
      oa-ui/src/views/flowable/form/budget/budgetInfo.vue
  92. 13
    15
      oa-ui/src/views/flowable/form/contractForm.vue
  93. 344
    0
      oa-ui/src/views/flowable/form/depositForm.vue
  94. 6
    6
      oa-ui/src/views/flowable/form/projectProcess/addproject.vue
  95. 15
    9
      oa-ui/src/views/flowable/form/projectProcess/budgetTab.vue
  96. 6
    6
      oa-ui/src/views/flowable/form/projectProcess/businessReview.vue
  97. 16
    16
      oa-ui/src/views/flowable/form/projectProcess/inProgress.vue
  98. 8
    8
      oa-ui/src/views/flowable/form/projectProcess/manageReview.vue
  99. 8
    8
      oa-ui/src/views/flowable/form/projectProcess/scConfirm.vue
  100. 0
    0
      oa-ui/src/views/flowable/form/settleForm.vue

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcArchiveController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcArchive;
19
+import com.ruoyi.oa.service.ICmcArchiveService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc成果归档Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/archive")
31
+public class CmcArchiveController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcArchiveService cmcArchiveService;
35
+
36
+    /**
37
+     * 查询cmc成果归档列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcArchive cmcArchive)
41
+    {
42
+        startPage();
43
+        List<CmcArchive> list = cmcArchiveService.selectCmcArchiveList(cmcArchive);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc成果归档列表
49
+     */
50
+    @Log(title = "cmc成果归档", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcArchive cmcArchive)
53
+    {
54
+        List<CmcArchive> list = cmcArchiveService.selectCmcArchiveList(cmcArchive);
55
+        ExcelUtil<CmcArchive> util = new ExcelUtil<CmcArchive>(CmcArchive.class);
56
+        util.exportExcel(response, list, "cmc成果归档数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc成果归档详细信息
61
+     */
62
+    @GetMapping(value = "/{archiveId}")
63
+    public AjaxResult getInfo(@PathVariable("archiveId") String archiveId)
64
+    {
65
+        return success(cmcArchiveService.selectCmcArchiveByArchiveId(archiveId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc成果归档
70
+     */
71
+    @Log(title = "cmc成果归档", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcArchive cmcArchive)
74
+    {
75
+        return toAjax(cmcArchiveService.insertCmcArchive(cmcArchive));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc成果归档
80
+     */
81
+    @Log(title = "cmc成果归档", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcArchive cmcArchive)
84
+    {
85
+        return toAjax(cmcArchiveService.updateCmcArchive(cmcArchive));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc成果归档
90
+     */
91
+    @Log(title = "cmc成果归档", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{archiveIds}")
93
+    public AjaxResult remove(@PathVariable String[] archiveIds)
94
+    {
95
+        return toAjax(cmcArchiveService.deleteCmcArchiveByArchiveIds(archiveIds));
96
+    }
97
+}

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcBrand;
19
+import com.ruoyi.oa.service.ICmcBrandService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc品牌项目支付审批Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/brand")
31
+public class CmcBrandController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcBrandService cmcBrandService;
35
+
36
+    /**
37
+     * 查询cmc品牌项目支付审批列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcBrand cmcBrand)
41
+    {
42
+        startPage();
43
+        List<CmcBrand> list = cmcBrandService.selectCmcBrandList(cmcBrand);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc品牌项目支付审批列表
49
+     */
50
+    @Log(title = "cmc品牌项目支付审批", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcBrand cmcBrand)
53
+    {
54
+        List<CmcBrand> list = cmcBrandService.selectCmcBrandList(cmcBrand);
55
+        ExcelUtil<CmcBrand> util = new ExcelUtil<CmcBrand>(CmcBrand.class);
56
+        util.exportExcel(response, list, "cmc品牌项目支付审批数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc品牌项目支付审批详细信息
61
+     */
62
+    @GetMapping(value = "/{brandId}")
63
+    public AjaxResult getInfo(@PathVariable("brandId") String brandId)
64
+    {
65
+        return success(cmcBrandService.selectCmcBrandByBrandId(brandId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc品牌项目支付审批
70
+     */
71
+    @Log(title = "cmc品牌项目支付审批", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcBrand cmcBrand)
74
+    {
75
+        return toAjax(cmcBrandService.insertCmcBrand(cmcBrand));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc品牌项目支付审批
80
+     */
81
+    @Log(title = "cmc品牌项目支付审批", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcBrand cmcBrand)
84
+    {
85
+        return toAjax(cmcBrandService.updateCmcBrand(cmcBrand));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc品牌项目支付审批
90
+     */
91
+    @Log(title = "cmc品牌项目支付审批", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{brandIds}")
93
+    public AjaxResult remove(@PathVariable String[] brandIds)
94
+    {
95
+        return toAjax(cmcBrandService.deleteCmcBrandByBrandIds(brandIds));
96
+    }
97
+}

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandPaymentController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcBrandPayment;
19
+import com.ruoyi.oa.service.ICmcBrandPaymentService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc品牌项目支付记录Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/brandPayment")
31
+public class CmcBrandPaymentController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcBrandPaymentService cmcBrandPaymentService;
35
+
36
+    /**
37
+     * 查询cmc品牌项目支付记录列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcBrandPayment cmcBrandPayment)
41
+    {
42
+        startPage();
43
+        List<CmcBrandPayment> list = cmcBrandPaymentService.selectCmcBrandPaymentList(cmcBrandPayment);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc品牌项目支付记录列表
49
+     */
50
+    @Log(title = "cmc品牌项目支付记录", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcBrandPayment cmcBrandPayment)
53
+    {
54
+        List<CmcBrandPayment> list = cmcBrandPaymentService.selectCmcBrandPaymentList(cmcBrandPayment);
55
+        ExcelUtil<CmcBrandPayment> util = new ExcelUtil<CmcBrandPayment>(CmcBrandPayment.class);
56
+        util.exportExcel(response, list, "cmc品牌项目支付记录数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc品牌项目支付记录详细信息
61
+     */
62
+    @GetMapping(value = "/{brandId}")
63
+    public AjaxResult getInfo(@PathVariable("brandId") String brandId)
64
+    {
65
+        return success(cmcBrandPaymentService.selectCmcBrandPaymentByBrandId(brandId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc品牌项目支付记录
70
+     */
71
+    @Log(title = "cmc品牌项目支付记录", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcBrandPayment cmcBrandPayment)
74
+    {
75
+        return toAjax(cmcBrandPaymentService.insertCmcBrandPayment(cmcBrandPayment));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc品牌项目支付记录
80
+     */
81
+    @Log(title = "cmc品牌项目支付记录", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcBrandPayment cmcBrandPayment)
84
+    {
85
+        return toAjax(cmcBrandPaymentService.updateCmcBrandPayment(cmcBrandPayment));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc品牌项目支付记录
90
+     */
91
+    @Log(title = "cmc品牌项目支付记录", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{brandIds}")
93
+    public AjaxResult remove(@PathVariable String[] brandIds)
94
+    {
95
+        return toAjax(cmcBrandPaymentService.deleteCmcBrandPaymentByBrandIds(brandIds));
96
+    }
97
+}

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcBrandProject;
19
+import com.ruoyi.oa.service.ICmcBrandProjectService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc品牌项目Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/brandProject")
31
+public class CmcBrandProjectController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcBrandProjectService cmcBrandProjectService;
35
+
36
+    /**
37
+     * 查询cmc品牌项目列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcBrandProject cmcBrandProject)
41
+    {
42
+        startPage();
43
+        List<CmcBrandProject> list = cmcBrandProjectService.selectCmcBrandProjectList(cmcBrandProject);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc品牌项目列表
49
+     */
50
+    @Log(title = "cmc品牌项目", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcBrandProject cmcBrandProject)
53
+    {
54
+        List<CmcBrandProject> list = cmcBrandProjectService.selectCmcBrandProjectList(cmcBrandProject);
55
+        ExcelUtil<CmcBrandProject> util = new ExcelUtil<CmcBrandProject>(CmcBrandProject.class);
56
+        util.exportExcel(response, list, "cmc品牌项目数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc品牌项目详细信息
61
+     */
62
+    @GetMapping(value = "/{projectId}")
63
+    public AjaxResult getInfo(@PathVariable("projectId") String projectId)
64
+    {
65
+        return success(cmcBrandProjectService.selectCmcBrandProjectByProjectId(projectId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc品牌项目
70
+     */
71
+    @Log(title = "cmc品牌项目", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcBrandProject cmcBrandProject)
74
+    {
75
+        return toAjax(cmcBrandProjectService.insertCmcBrandProject(cmcBrandProject));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc品牌项目
80
+     */
81
+    @Log(title = "cmc品牌项目", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcBrandProject cmcBrandProject)
84
+    {
85
+        return toAjax(cmcBrandProjectService.updateCmcBrandProject(cmcBrandProject));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc品牌项目
90
+     */
91
+    @Log(title = "cmc品牌项目", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{projectIds}")
93
+    public AjaxResult remove(@PathVariable String[] projectIds)
94
+    {
95
+        return toAjax(cmcBrandProjectService.deleteCmcBrandProjectByProjectIds(projectIds));
96
+    }
97
+}

+ 1
- 1
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetCarController.java 파일 보기

@@ -97,6 +97,6 @@ public class CmcBudgetCarController extends BaseController
97 97
 	@DeleteMapping("/{budgetCarIds}")
98 98
     public AjaxResult remove(@PathVariable String[] budgetCarIds)
99 99
     {
100
-        return toAjax(cmcBudgetCarService.deleteCmcBudgetCarByBudgetCarIds(budgetCarIds));
100
+        return toAjax(cmcBudgetCarService.deleteCmcBudgetCarByBudgetIds(budgetCarIds));
101 101
     }
102 102
 }

+ 3
- 3
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetDeviceController.java 파일 보기

@@ -94,9 +94,9 @@ public class CmcBudgetDeviceController extends BaseController
94 94
      * 删除cmc设备预算
95 95
      */
96 96
     @Log(title = "cmc设备预算", businessType = BusinessType.DELETE)
97
-	@DeleteMapping("/{budgetDeviceIds}")
98
-    public AjaxResult remove(@PathVariable String[] budgetDeviceIds)
97
+	@DeleteMapping("/{budgetIds}")
98
+    public AjaxResult remove(@PathVariable String[] budgetIds)
99 99
     {
100
-        return toAjax(cmcBudgetDeviceService.deleteCmcBudgetDeviceByBudgetDeviceIds(budgetDeviceIds));
100
+        return toAjax(cmcBudgetDeviceService.deleteCmcBudgetDeviceByBudgetIds(budgetIds));
101 101
     }
102 102
 }

+ 3
- 3
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetSettleController.java 파일 보기

@@ -94,9 +94,9 @@ public class CmcBudgetSettleController extends BaseController
94 94
      * 删除cmc预结算
95 95
      */
96 96
     @Log(title = "cmc预结算", businessType = BusinessType.DELETE)
97
-	@DeleteMapping("/{budgetSettleIds}")
98
-    public AjaxResult remove(@PathVariable String[] budgetSettleIds)
97
+	@DeleteMapping("/{budgetIds}")
98
+    public AjaxResult remove(@PathVariable String[] budgetIds)
99 99
     {
100
-        return toAjax(cmcBudgetSettleService.deleteCmcBudgetSettleByBudgetSettleIds(budgetSettleIds));
100
+        return toAjax(cmcBudgetSettleService.deleteCmcBudgetSettleByBudgetIds(budgetIds));
101 101
     }
102 102
 }

+ 3
- 3
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBudgetStaffController.java 파일 보기

@@ -94,9 +94,9 @@ public class CmcBudgetStaffController extends BaseController
94 94
      * 删除cmc人员预算
95 95
      */
96 96
     @Log(title = "cmc人员预算", businessType = BusinessType.DELETE)
97
-	@DeleteMapping("/{budgetStaffIds}")
98
-    public AjaxResult remove(@PathVariable String[] budgetStaffIds)
97
+	@DeleteMapping("/{budgetIds}")
98
+    public AjaxResult remove(@PathVariable String[] budgetIds)
99 99
     {
100
-        return toAjax(cmcBudgetStaffService.deleteCmcBudgetStaffByBudgetStaffIds(budgetStaffIds));
100
+        return toAjax(cmcBudgetStaffService.deleteCmcBudgetStaffByBudgetIds(budgetIds));
101 101
     }
102 102
 }

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcDepositController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcDeposit;
19
+import com.ruoyi.oa.service.ICmcDepositService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc保证金审批Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/deposit")
31
+public class CmcDepositController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcDepositService cmcDepositService;
35
+
36
+    /**
37
+     * 查询cmc保证金审批列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcDeposit cmcDeposit)
41
+    {
42
+        startPage();
43
+        List<CmcDeposit> list = cmcDepositService.selectCmcDepositList(cmcDeposit);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc保证金审批列表
49
+     */
50
+    @Log(title = "cmc保证金审批", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcDeposit cmcDeposit)
53
+    {
54
+        List<CmcDeposit> list = cmcDepositService.selectCmcDepositList(cmcDeposit);
55
+        ExcelUtil<CmcDeposit> util = new ExcelUtil<CmcDeposit>(CmcDeposit.class);
56
+        util.exportExcel(response, list, "cmc保证金审批数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc保证金审批详细信息
61
+     */
62
+    @GetMapping(value = "/{depositId}")
63
+    public AjaxResult getInfo(@PathVariable("depositId") String depositId)
64
+    {
65
+        return success(cmcDepositService.selectCmcDepositByDepositId(depositId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc保证金审批
70
+     */
71
+    @Log(title = "cmc保证金审批", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcDeposit cmcDeposit)
74
+    {
75
+        return toAjax(cmcDepositService.insertCmcDeposit(cmcDeposit));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc保证金审批
80
+     */
81
+    @Log(title = "cmc保证金审批", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcDeposit cmcDeposit)
84
+    {
85
+        return toAjax(cmcDepositService.updateCmcDeposit(cmcDeposit));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc保证金审批
90
+     */
91
+    @Log(title = "cmc保证金审批", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{depositIds}")
93
+    public AjaxResult remove(@PathVariable String[] depositIds)
94
+    {
95
+        return toAjax(cmcDepositService.deleteCmcDepositByDepositIds(depositIds));
96
+    }
97
+}

+ 1
- 1
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcProjectController.java 파일 보기

@@ -74,7 +74,7 @@ public class CmcProjectController extends BaseController
74 74
         StringBuilder underTakingDeptName = new StringBuilder();
75 75
         if (underTakingDept != null && !underTakingDept.equals("") && underTakingDept.split(",").length > 0) {
76 76
             for (String dept : underTakingDept.split(","))
77
-                underTakingDeptName.append(deptService.selectDeptById(Long.parseLong(dept)).getDeptName()).append(",");
77
+                underTakingDeptName.append(deptService.selectDeptById(Long.parseLong(dept)).getDeptName()).append("");
78 78
             cmcProject.setUndertakingDeptName(underTakingDeptName.substring(0, underTakingDeptName.length() - 1));
79 79
         }
80 80
         return success(cmcProject);

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcSettle;
19
+import com.ruoyi.oa.service.ICmcSettleService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc结算审批Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/settle")
31
+public class CmcSettleController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcSettleService cmcSettleService;
35
+
36
+    /**
37
+     * 查询cmc结算审批列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcSettle cmcSettle)
41
+    {
42
+        startPage();
43
+        List<CmcSettle> list = cmcSettleService.selectCmcSettleList(cmcSettle);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc结算审批列表
49
+     */
50
+    @Log(title = "cmc结算审批", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcSettle cmcSettle)
53
+    {
54
+        List<CmcSettle> list = cmcSettleService.selectCmcSettleList(cmcSettle);
55
+        ExcelUtil<CmcSettle> util = new ExcelUtil<CmcSettle>(CmcSettle.class);
56
+        util.exportExcel(response, list, "cmc结算审批数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc结算审批详细信息
61
+     */
62
+    @GetMapping(value = "/{settleId}")
63
+    public AjaxResult getInfo(@PathVariable("settleId") String settleId)
64
+    {
65
+        return success(cmcSettleService.selectCmcSettleBySettleId(settleId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc结算审批
70
+     */
71
+    @Log(title = "cmc结算审批", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcSettle cmcSettle)
74
+    {
75
+        return toAjax(cmcSettleService.insertCmcSettle(cmcSettle));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc结算审批
80
+     */
81
+    @Log(title = "cmc结算审批", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcSettle cmcSettle)
84
+    {
85
+        return toAjax(cmcSettleService.updateCmcSettle(cmcSettle));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc结算审批
90
+     */
91
+    @Log(title = "cmc结算审批", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{settleIds}")
93
+    public AjaxResult remove(@PathVariable String[] settleIds)
94
+    {
95
+        return toAjax(cmcSettleService.deleteCmcSettleBySettleIds(settleIds));
96
+    }
97
+}

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleSummaryController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcSettleSummary;
19
+import com.ruoyi.oa.service.ICmcSettleSummaryService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc结算汇总Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/settleSummary")
31
+public class CmcSettleSummaryController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcSettleSummaryService cmcSettleSummaryService;
35
+
36
+    /**
37
+     * 查询cmc结算汇总列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcSettleSummary cmcSettleSummary)
41
+    {
42
+        startPage();
43
+        List<CmcSettleSummary> list = cmcSettleSummaryService.selectCmcSettleSummaryList(cmcSettleSummary);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc结算汇总列表
49
+     */
50
+    @Log(title = "cmc结算汇总", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcSettleSummary cmcSettleSummary)
53
+    {
54
+        List<CmcSettleSummary> list = cmcSettleSummaryService.selectCmcSettleSummaryList(cmcSettleSummary);
55
+        ExcelUtil<CmcSettleSummary> util = new ExcelUtil<CmcSettleSummary>(CmcSettleSummary.class);
56
+        util.exportExcel(response, list, "cmc结算汇总数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc结算汇总详细信息
61
+     */
62
+    @GetMapping(value = "/{settleId}")
63
+    public AjaxResult getInfo(@PathVariable("settleId") String settleId)
64
+    {
65
+        return success(cmcSettleSummaryService.selectCmcSettleSummaryBySettleId(settleId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc结算汇总
70
+     */
71
+    @Log(title = "cmc结算汇总", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcSettleSummary cmcSettleSummary)
74
+    {
75
+        return toAjax(cmcSettleSummaryService.insertCmcSettleSummary(cmcSettleSummary));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc结算汇总
80
+     */
81
+    @Log(title = "cmc结算汇总", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcSettleSummary cmcSettleSummary)
84
+    {
85
+        return toAjax(cmcSettleSummaryService.updateCmcSettleSummary(cmcSettleSummary));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc结算汇总
90
+     */
91
+    @Log(title = "cmc结算汇总", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{settleIds}")
93
+    public AjaxResult remove(@PathVariable String[] settleIds)
94
+    {
95
+        return toAjax(cmcSettleSummaryService.deleteCmcSettleSummaryBySettleIds(settleIds));
96
+    }
97
+}

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSettleWorkController.java 파일 보기

@@ -0,0 +1,97 @@
1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcSettleWork;
19
+import com.ruoyi.oa.service.ICmcSettleWorkService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc经费计算Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-04-29
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/settleWork")
31
+public class CmcSettleWorkController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcSettleWorkService cmcSettleWorkService;
35
+
36
+    /**
37
+     * 查询cmc经费计算列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcSettleWork cmcSettleWork)
41
+    {
42
+        startPage();
43
+        List<CmcSettleWork> list = cmcSettleWorkService.selectCmcSettleWorkList(cmcSettleWork);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc经费计算列表
49
+     */
50
+    @Log(title = "cmc经费计算", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcSettleWork cmcSettleWork)
53
+    {
54
+        List<CmcSettleWork> list = cmcSettleWorkService.selectCmcSettleWorkList(cmcSettleWork);
55
+        ExcelUtil<CmcSettleWork> util = new ExcelUtil<CmcSettleWork>(CmcSettleWork.class);
56
+        util.exportExcel(response, list, "cmc经费计算数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc经费计算详细信息
61
+     */
62
+    @GetMapping(value = "/{settleId}")
63
+    public AjaxResult getInfo(@PathVariable("settleId") String settleId)
64
+    {
65
+        return success(cmcSettleWorkService.selectCmcSettleWorkBySettleId(settleId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc经费计算
70
+     */
71
+    @Log(title = "cmc经费计算", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcSettleWork cmcSettleWork)
74
+    {
75
+        return toAjax(cmcSettleWorkService.insertCmcSettleWork(cmcSettleWork));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc经费计算
80
+     */
81
+    @Log(title = "cmc经费计算", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcSettleWork cmcSettleWork)
84
+    {
85
+        return toAjax(cmcSettleWorkService.updateCmcSettleWork(cmcSettleWork));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc经费计算
90
+     */
91
+    @Log(title = "cmc经费计算", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{settleIds}")
93
+    public AjaxResult remove(@PathVariable String[] settleIds)
94
+    {
95
+        return toAjax(cmcSettleWorkService.deleteCmcSettleWorkBySettleIds(settleIds));
96
+    }
97
+}

+ 297
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcArchive.java 파일 보기

@@ -0,0 +1,297 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import org.apache.commons.lang3.builder.ToStringBuilder;
6
+import org.apache.commons.lang3.builder.ToStringStyle;
7
+import com.ruoyi.common.annotation.Excel;
8
+import com.ruoyi.common.core.domain.BaseEntity;
9
+
10
+/**
11
+ * cmc成果归档对象 cmc_archive
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+public class CmcArchive extends BaseEntity
17
+{
18
+    private static final long serialVersionUID = 1L;
19
+
20
+    /** 成果归档id */
21
+    private String archiveId;
22
+
23
+    /** 项目id */
24
+    @Excel(name = "项目id")
25
+    private String projectId;
26
+
27
+    /** 成果汇交日期 */
28
+    @JsonFormat(pattern = "yyyy-MM-dd")
29
+    @Excel(name = "成果汇交日期", width = 30, dateFormat = "yyyy-MM-dd")
30
+    private Date submitTime;
31
+
32
+    /** 备注说明 */
33
+    @Excel(name = "备注说明")
34
+    private String submitSituation;
35
+
36
+    /** 坐标经度 */
37
+    @Excel(name = "坐标经度")
38
+    private String locationLng;
39
+
40
+    /** 坐标纬度 */
41
+    @Excel(name = "坐标纬度")
42
+    private String locationLat;
43
+
44
+    /** 生产部门检查员 */
45
+    @Excel(name = "生产部门检查员")
46
+    private Long produceInspector;
47
+
48
+    /** 质量检查员 */
49
+    @Excel(name = "质量检查员")
50
+    private Long qualityInspector;
51
+
52
+    /** 技术部负责人 */
53
+    @Excel(name = "技术部负责人")
54
+    private Long deptLeader;
55
+
56
+    /** 归档人 */
57
+    @Excel(name = "归档人")
58
+    private Long archiver;
59
+
60
+    /** 资料接收时间 */
61
+    @JsonFormat(pattern = "yyyy-MM-dd")
62
+    @Excel(name = "资料接收时间", width = 30, dateFormat = "yyyy-MM-dd")
63
+    private Date receiveTime;
64
+
65
+    /** 质量检查时间 */
66
+    @JsonFormat(pattern = "yyyy-MM-dd")
67
+    @Excel(name = "质量检查时间", width = 30, dateFormat = "yyyy-MM-dd")
68
+    private Date qualityTime;
69
+
70
+    /** 生产部门检查时间 */
71
+    @JsonFormat(pattern = "yyyy-MM-dd")
72
+    @Excel(name = "生产部门检查时间", width = 30, dateFormat = "yyyy-MM-dd")
73
+    private Date produceTime;
74
+
75
+    /** 技术部审核时间 */
76
+    @JsonFormat(pattern = "yyyy-MM-dd")
77
+    @Excel(name = "技术部审核时间", width = 30, dateFormat = "yyyy-MM-dd")
78
+    private Date deptTime;
79
+
80
+    /** 归档时间 */
81
+    @JsonFormat(pattern = "yyyy-MM-dd")
82
+    @Excel(name = "归档时间", width = 30, dateFormat = "yyyy-MM-dd")
83
+    private Date archiveTime;
84
+
85
+    /** 生产部门意见 */
86
+    @Excel(name = "生产部门意见")
87
+    private String produceComment;
88
+
89
+    /** 质量检查意见 */
90
+    @Excel(name = "质量检查意见")
91
+    private String qualityComment;
92
+
93
+    /** 技术部审核意见 */
94
+    @Excel(name = "技术部审核意见")
95
+    private String deptComment;
96
+
97
+    /** 归档审核意见 */
98
+    @Excel(name = "归档审核意见")
99
+    private String archiveComment;
100
+
101
+    public void setArchiveId(String archiveId) 
102
+    {
103
+        this.archiveId = archiveId;
104
+    }
105
+
106
+    public String getArchiveId() 
107
+    {
108
+        return archiveId;
109
+    }
110
+    public void setProjectId(String projectId) 
111
+    {
112
+        this.projectId = projectId;
113
+    }
114
+
115
+    public String getProjectId() 
116
+    {
117
+        return projectId;
118
+    }
119
+    public void setSubmitTime(Date submitTime) 
120
+    {
121
+        this.submitTime = submitTime;
122
+    }
123
+
124
+    public Date getSubmitTime() 
125
+    {
126
+        return submitTime;
127
+    }
128
+    public void setSubmitSituation(String submitSituation) 
129
+    {
130
+        this.submitSituation = submitSituation;
131
+    }
132
+
133
+    public String getSubmitSituation() 
134
+    {
135
+        return submitSituation;
136
+    }
137
+    public void setLocationLng(String locationLng) 
138
+    {
139
+        this.locationLng = locationLng;
140
+    }
141
+
142
+    public String getLocationLng() 
143
+    {
144
+        return locationLng;
145
+    }
146
+    public void setLocationLat(String locationLat) 
147
+    {
148
+        this.locationLat = locationLat;
149
+    }
150
+
151
+    public String getLocationLat() 
152
+    {
153
+        return locationLat;
154
+    }
155
+    public void setProduceInspector(Long produceInspector) 
156
+    {
157
+        this.produceInspector = produceInspector;
158
+    }
159
+
160
+    public Long getProduceInspector() 
161
+    {
162
+        return produceInspector;
163
+    }
164
+    public void setQualityInspector(Long qualityInspector) 
165
+    {
166
+        this.qualityInspector = qualityInspector;
167
+    }
168
+
169
+    public Long getQualityInspector() 
170
+    {
171
+        return qualityInspector;
172
+    }
173
+    public void setDeptLeader(Long deptLeader) 
174
+    {
175
+        this.deptLeader = deptLeader;
176
+    }
177
+
178
+    public Long getDeptLeader() 
179
+    {
180
+        return deptLeader;
181
+    }
182
+    public void setArchiver(Long archiver) 
183
+    {
184
+        this.archiver = archiver;
185
+    }
186
+
187
+    public Long getArchiver() 
188
+    {
189
+        return archiver;
190
+    }
191
+    public void setReceiveTime(Date receiveTime) 
192
+    {
193
+        this.receiveTime = receiveTime;
194
+    }
195
+
196
+    public Date getReceiveTime() 
197
+    {
198
+        return receiveTime;
199
+    }
200
+    public void setQualityTime(Date qualityTime) 
201
+    {
202
+        this.qualityTime = qualityTime;
203
+    }
204
+
205
+    public Date getQualityTime() 
206
+    {
207
+        return qualityTime;
208
+    }
209
+    public void setProduceTime(Date produceTime) 
210
+    {
211
+        this.produceTime = produceTime;
212
+    }
213
+
214
+    public Date getProduceTime() 
215
+    {
216
+        return produceTime;
217
+    }
218
+    public void setDeptTime(Date deptTime) 
219
+    {
220
+        this.deptTime = deptTime;
221
+    }
222
+
223
+    public Date getDeptTime() 
224
+    {
225
+        return deptTime;
226
+    }
227
+    public void setArchiveTime(Date archiveTime) 
228
+    {
229
+        this.archiveTime = archiveTime;
230
+    }
231
+
232
+    public Date getArchiveTime() 
233
+    {
234
+        return archiveTime;
235
+    }
236
+    public void setProduceComment(String produceComment) 
237
+    {
238
+        this.produceComment = produceComment;
239
+    }
240
+
241
+    public String getProduceComment() 
242
+    {
243
+        return produceComment;
244
+    }
245
+    public void setQualityComment(String qualityComment) 
246
+    {
247
+        this.qualityComment = qualityComment;
248
+    }
249
+
250
+    public String getQualityComment() 
251
+    {
252
+        return qualityComment;
253
+    }
254
+    public void setDeptComment(String deptComment) 
255
+    {
256
+        this.deptComment = deptComment;
257
+    }
258
+
259
+    public String getDeptComment() 
260
+    {
261
+        return deptComment;
262
+    }
263
+    public void setArchiveComment(String archiveComment) 
264
+    {
265
+        this.archiveComment = archiveComment;
266
+    }
267
+
268
+    public String getArchiveComment() 
269
+    {
270
+        return archiveComment;
271
+    }
272
+
273
+    @Override
274
+    public String toString() {
275
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
276
+            .append("archiveId", getArchiveId())
277
+            .append("projectId", getProjectId())
278
+            .append("submitTime", getSubmitTime())
279
+            .append("submitSituation", getSubmitSituation())
280
+            .append("locationLng", getLocationLng())
281
+            .append("locationLat", getLocationLat())
282
+            .append("produceInspector", getProduceInspector())
283
+            .append("qualityInspector", getQualityInspector())
284
+            .append("deptLeader", getDeptLeader())
285
+            .append("archiver", getArchiver())
286
+            .append("receiveTime", getReceiveTime())
287
+            .append("qualityTime", getQualityTime())
288
+            .append("produceTime", getProduceTime())
289
+            .append("deptTime", getDeptTime())
290
+            .append("archiveTime", getArchiveTime())
291
+            .append("produceComment", getProduceComment())
292
+            .append("qualityComment", getQualityComment())
293
+            .append("deptComment", getDeptComment())
294
+            .append("archiveComment", getArchiveComment())
295
+            .toString();
296
+    }
297
+}

+ 147
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrand.java 파일 보기

@@ -0,0 +1,147 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import com.ruoyi.common.core.domain.entity.SysUser;
6
+import org.apache.commons.lang3.builder.ToStringBuilder;
7
+import org.apache.commons.lang3.builder.ToStringStyle;
8
+import com.ruoyi.common.annotation.Excel;
9
+import com.ruoyi.common.core.domain.BaseEntity;
10
+
11
+/**
12
+ * cmc品牌项目支付审批对象 cmc_brand
13
+ * 
14
+ * @author cmc
15
+ * @date 2024-04-29
16
+ */
17
+public class CmcBrand extends BaseEntity
18
+{
19
+    private static final long serialVersionUID = 1L;
20
+
21
+    /** 品牌项目支付审批id */
22
+    private String brandId;
23
+
24
+    /** 品牌项目id */
25
+    @Excel(name = "品牌项目id")
26
+    private String projectId;
27
+
28
+    /** 申请支付说明 */
29
+    @Excel(name = "申请支付说明")
30
+    private String applyReason;
31
+
32
+    /** 审核文件 */
33
+    @Excel(name = "审核文件")
34
+    private String approvalDocument;
35
+
36
+    /** 申请人 */
37
+    @Excel(name = "申请人")
38
+    private Long applier;
39
+
40
+    private SysUser applierUser;
41
+
42
+    /** 申请时间 */
43
+    @JsonFormat(pattern = "yyyy-MM-dd")
44
+    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
45
+    private Date applyTime;
46
+
47
+    /** 财务部经办人 */
48
+    @Excel(name = "财务部经办人")
49
+    private Long cwUserId;
50
+
51
+    private SysUser cwUser;
52
+
53
+    public void setBrandId(String brandId) 
54
+    {
55
+        this.brandId = brandId;
56
+    }
57
+
58
+    public String getBrandId() 
59
+    {
60
+        return brandId;
61
+    }
62
+    public void setProjectId(String projectId) 
63
+    {
64
+        this.projectId = projectId;
65
+    }
66
+
67
+    public String getProjectId() 
68
+    {
69
+        return projectId;
70
+    }
71
+    public void setApplyReason(String applyReason) 
72
+    {
73
+        this.applyReason = applyReason;
74
+    }
75
+
76
+    public String getApplyReason() 
77
+    {
78
+        return applyReason;
79
+    }
80
+    public void setApprovalDocument(String approvalDocument) 
81
+    {
82
+        this.approvalDocument = approvalDocument;
83
+    }
84
+
85
+    public String getApprovalDocument() 
86
+    {
87
+        return approvalDocument;
88
+    }
89
+    public void setApplier(Long applier) 
90
+    {
91
+        this.applier = applier;
92
+    }
93
+
94
+    public Long getApplier() 
95
+    {
96
+        return applier;
97
+    }
98
+    public void setApplierUser(SysUser applierUser)
99
+    {
100
+        this.applierUser = applierUser;
101
+    }
102
+
103
+    public SysUser getApplierUser()
104
+    {
105
+        return applierUser;
106
+    }
107
+    public void setApplyTime(Date applyTime) 
108
+    {
109
+        this.applyTime = applyTime;
110
+    }
111
+
112
+    public Date getApplyTime() 
113
+    {
114
+        return applyTime;
115
+    }
116
+    public void setCwUserId(Long cwUserId) 
117
+    {
118
+        this.cwUserId = cwUserId;
119
+    }
120
+
121
+    public Long getCwUserId() 
122
+    {
123
+        return cwUserId;
124
+    }
125
+    public void setCwUser(SysUser cwUser)
126
+    {
127
+        this.cwUser = cwUser;
128
+    }
129
+
130
+    public SysUser getCwUser()
131
+    {
132
+        return cwUser;
133
+    }
134
+
135
+    @Override
136
+    public String toString() {
137
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
138
+            .append("brandId", getBrandId())
139
+            .append("projectId", getProjectId())
140
+            .append("applyReason", getApplyReason())
141
+            .append("approvalDocument", getApprovalDocument())
142
+            .append("applier", getApplier())
143
+            .append("applyTime", getApplyTime())
144
+            .append("cwUserId", getCwUserId())
145
+            .toString();
146
+    }
147
+}

+ 82
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandPayment.java 파일 보기

@@ -0,0 +1,82 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import org.apache.commons.lang3.builder.ToStringBuilder;
6
+import org.apache.commons.lang3.builder.ToStringStyle;
7
+import com.ruoyi.common.annotation.Excel;
8
+import com.ruoyi.common.core.domain.BaseEntity;
9
+
10
+/**
11
+ * cmc品牌项目支付记录对象 cmc_brand_payment
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+public class CmcBrandPayment extends BaseEntity
17
+{
18
+    private static final long serialVersionUID = 1L;
19
+
20
+    /** 品牌项目支付记录id */
21
+    private String brandPaymentId;
22
+
23
+    /** 品牌项目支付审批id */
24
+    @Excel(name = "品牌项目支付审批id")
25
+    private String brandId;
26
+
27
+    /** 到账时间 */
28
+    @JsonFormat(pattern = "yyyy-MM-dd")
29
+    @Excel(name = "到账时间", width = 30, dateFormat = "yyyy-MM-dd")
30
+    private Date paymentTime;
31
+
32
+    /** 到账情况 */
33
+    @Excel(name = "到账情况")
34
+    private String cwComment;
35
+
36
+    public void setBrandPaymentId(String brandPaymentId) 
37
+    {
38
+        this.brandPaymentId = brandPaymentId;
39
+    }
40
+
41
+    public String getBrandPaymentId() 
42
+    {
43
+        return brandPaymentId;
44
+    }
45
+    public void setBrandId(String brandId) 
46
+    {
47
+        this.brandId = brandId;
48
+    }
49
+
50
+    public String getBrandId() 
51
+    {
52
+        return brandId;
53
+    }
54
+    public void setPaymentTime(Date paymentTime) 
55
+    {
56
+        this.paymentTime = paymentTime;
57
+    }
58
+
59
+    public Date getPaymentTime() 
60
+    {
61
+        return paymentTime;
62
+    }
63
+    public void setCwComment(String cwComment) 
64
+    {
65
+        this.cwComment = cwComment;
66
+    }
67
+
68
+    public String getCwComment() 
69
+    {
70
+        return cwComment;
71
+    }
72
+
73
+    @Override
74
+    public String toString() {
75
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
76
+            .append("brandPaymentId", getBrandPaymentId())
77
+            .append("brandId", getBrandId())
78
+            .append("paymentTime", getPaymentTime())
79
+            .append("cwComment", getCwComment())
80
+            .toString();
81
+    }
82
+}

+ 179
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProject.java 파일 보기

@@ -0,0 +1,179 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.math.BigDecimal;
4
+import org.apache.commons.lang3.builder.ToStringBuilder;
5
+import org.apache.commons.lang3.builder.ToStringStyle;
6
+import com.ruoyi.common.annotation.Excel;
7
+import com.ruoyi.common.core.domain.BaseEntity;
8
+
9
+/**
10
+ * cmc品牌项目对象 cmc_brand_project
11
+ * 
12
+ * @author cmc
13
+ * @date 2024-04-29
14
+ */
15
+public class CmcBrandProject extends BaseEntity
16
+{
17
+    private static final long serialVersionUID = 1L;
18
+
19
+    /** 项目id */
20
+    private String projectId;
21
+
22
+    /** 项目编号 */
23
+    @Excel(name = "项目编号")
24
+    private String projectNumber;
25
+
26
+    /** 项目名称 */
27
+    @Excel(name = "项目名称")
28
+    private String projectName;
29
+
30
+    /** 甲方单位 */
31
+    @Excel(name = "甲方单位")
32
+    private String partyA;
33
+
34
+    /** 甲方单位联系人 */
35
+    @Excel(name = "甲方单位联系人")
36
+    private String aPerson;
37
+
38
+    /** 甲方单位联系电话 */
39
+    @Excel(name = "甲方单位联系电话")
40
+    private String aPhone;
41
+
42
+    /** 合作单位 */
43
+    @Excel(name = "合作单位")
44
+    private String partnerId;
45
+
46
+    /** 合作单位联系人 */
47
+    @Excel(name = "合作单位联系人")
48
+    private String contactPerson;
49
+
50
+    /** 合作单位联系电话 */
51
+    @Excel(name = "合作单位联系电话")
52
+    private String telephone;
53
+
54
+    /** 项目工期 */
55
+    @Excel(name = "项目工期")
56
+    private String duration;
57
+
58
+    /** 合同金额 */
59
+    @Excel(name = "合同金额")
60
+    private BigDecimal amount;
61
+
62
+    public void setProjectId(String projectId) 
63
+    {
64
+        this.projectId = projectId;
65
+    }
66
+
67
+    public String getProjectId() 
68
+    {
69
+        return projectId;
70
+    }
71
+    public void setProjectNumber(String projectNumber) 
72
+    {
73
+        this.projectNumber = projectNumber;
74
+    }
75
+
76
+    public String getProjectNumber() 
77
+    {
78
+        return projectNumber;
79
+    }
80
+    public void setProjectName(String projectName) 
81
+    {
82
+        this.projectName = projectName;
83
+    }
84
+
85
+    public String getProjectName() 
86
+    {
87
+        return projectName;
88
+    }
89
+    public void setPartyA(String partyA) 
90
+    {
91
+        this.partyA = partyA;
92
+    }
93
+
94
+    public String getPartyA() 
95
+    {
96
+        return partyA;
97
+    }
98
+    public void setaPerson(String aPerson) 
99
+    {
100
+        this.aPerson = aPerson;
101
+    }
102
+
103
+    public String getaPerson() 
104
+    {
105
+        return aPerson;
106
+    }
107
+    public void setaPhone(String aPhone) 
108
+    {
109
+        this.aPhone = aPhone;
110
+    }
111
+
112
+    public String getaPhone() 
113
+    {
114
+        return aPhone;
115
+    }
116
+    public void setPartnerId(String partnerId) 
117
+    {
118
+        this.partnerId = partnerId;
119
+    }
120
+
121
+    public String getPartnerId() 
122
+    {
123
+        return partnerId;
124
+    }
125
+    public void setContactPerson(String contactPerson) 
126
+    {
127
+        this.contactPerson = contactPerson;
128
+    }
129
+
130
+    public String getContactPerson() 
131
+    {
132
+        return contactPerson;
133
+    }
134
+    public void setTelephone(String telephone) 
135
+    {
136
+        this.telephone = telephone;
137
+    }
138
+
139
+    public String getTelephone() 
140
+    {
141
+        return telephone;
142
+    }
143
+    public void setDuration(String duration) 
144
+    {
145
+        this.duration = duration;
146
+    }
147
+
148
+    public String getDuration() 
149
+    {
150
+        return duration;
151
+    }
152
+    public void setAmount(BigDecimal amount) 
153
+    {
154
+        this.amount = amount;
155
+    }
156
+
157
+    public BigDecimal getAmount() 
158
+    {
159
+        return amount;
160
+    }
161
+
162
+    @Override
163
+    public String toString() {
164
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
165
+            .append("projectId", getProjectId())
166
+            .append("projectNumber", getProjectNumber())
167
+            .append("projectName", getProjectName())
168
+            .append("partyA", getPartyA())
169
+            .append("aPerson", getaPerson())
170
+            .append("aPhone", getaPhone())
171
+            .append("partnerId", getPartnerId())
172
+            .append("contactPerson", getContactPerson())
173
+            .append("telephone", getTelephone())
174
+            .append("duration", getDuration())
175
+            .append("amount", getAmount())
176
+            .append("remark", getRemark())
177
+            .toString();
178
+    }
179
+}

+ 311
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcDeposit.java 파일 보기

@@ -0,0 +1,311 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import org.apache.commons.lang3.builder.ToStringBuilder;
6
+import org.apache.commons.lang3.builder.ToStringStyle;
7
+import com.ruoyi.common.annotation.Excel;
8
+import com.ruoyi.common.core.domain.BaseEntity;
9
+
10
+/**
11
+ * cmc保证金审批对象 cmc_deposit
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+public class CmcDeposit extends BaseEntity
17
+{
18
+    private static final long serialVersionUID = 1L;
19
+
20
+    /** 保证金审批id */
21
+    private String depositId;
22
+
23
+    /** 保证金类型 */
24
+    @Excel(name = "保证金类型")
25
+    private String depositType;
26
+
27
+    /** 投标项目id */
28
+    @Excel(name = "投标项目id")
29
+    private String tenderId;
30
+
31
+    /** 合同id */
32
+    @Excel(name = "合同id")
33
+    private String contractId;
34
+
35
+    /** 预计退还日期 */
36
+    @JsonFormat(pattern = "yyyy-MM-dd")
37
+    @Excel(name = "预计退还日期", width = 30, dateFormat = "yyyy-MM-dd")
38
+    private Date returnTime;
39
+
40
+    /** 开户名称 */
41
+    @Excel(name = "开户名称")
42
+    private String accountName;
43
+
44
+    /** 开户银行 */
45
+    @Excel(name = "开户银行")
46
+    private String accountBank;
47
+
48
+    /** 银行卡号 */
49
+    @Excel(name = "银行卡号")
50
+    private String cardNumber;
51
+
52
+    /** 保证金形式 */
53
+    @Excel(name = "保证金形式")
54
+    private String depositWay;
55
+
56
+    /** 申请人 */
57
+    @Excel(name = "申请人")
58
+    private Long applier;
59
+
60
+    /** 申请日期 */
61
+    @JsonFormat(pattern = "yyyy-MM-dd")
62
+    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
63
+    private Date applyTime;
64
+
65
+    /** 申请说明 */
66
+    @Excel(name = "申请说明")
67
+    private String applyReason;
68
+
69
+    /** 相关附件 */
70
+    @Excel(name = "相关附件")
71
+    private String applyDocument;
72
+
73
+    /** 分管审批时间 */
74
+    @JsonFormat(pattern = "yyyy-MM-dd")
75
+    @Excel(name = "分管审批时间", width = 30, dateFormat = "yyyy-MM-dd")
76
+    private Date managerTime;
77
+
78
+    /** 分管审批人 */
79
+    @Excel(name = "分管审批人")
80
+    private Long managerUserId;
81
+
82
+    /** 汇款日期 */
83
+    @JsonFormat(pattern = "yyyy-MM-dd")
84
+    @Excel(name = "汇款日期", width = 30, dateFormat = "yyyy-MM-dd")
85
+    private Date remitTime;
86
+
87
+    /** 财务处理时间 */
88
+    @JsonFormat(pattern = "yyyy-MM-dd")
89
+    @Excel(name = "财务处理时间", width = 30, dateFormat = "yyyy-MM-dd")
90
+    private Date cwTime;
91
+
92
+    /** 退还时间 */
93
+    @JsonFormat(pattern = "yyyy-MM-dd")
94
+    @Excel(name = "退还时间", width = 30, dateFormat = "yyyy-MM-dd")
95
+    private Date backTime;
96
+
97
+    /** 财务打款备注 */
98
+    @Excel(name = "财务打款备注")
99
+    private String cwComment;
100
+
101
+    /** 财务处理人 */
102
+    @Excel(name = "财务处理人")
103
+    private Long cwUserId;
104
+
105
+    public void setDepositId(String depositId) 
106
+    {
107
+        this.depositId = depositId;
108
+    }
109
+
110
+    public String getDepositId() 
111
+    {
112
+        return depositId;
113
+    }
114
+    public void setDepositType(String depositType) 
115
+    {
116
+        this.depositType = depositType;
117
+    }
118
+
119
+    public String getDepositType() 
120
+    {
121
+        return depositType;
122
+    }
123
+    public void setTenderId(String tenderId) 
124
+    {
125
+        this.tenderId = tenderId;
126
+    }
127
+
128
+    public String getTenderId() 
129
+    {
130
+        return tenderId;
131
+    }
132
+    public void setContractId(String contractId) 
133
+    {
134
+        this.contractId = contractId;
135
+    }
136
+
137
+    public String getContractId() 
138
+    {
139
+        return contractId;
140
+    }
141
+    public void setReturnTime(Date returnTime) 
142
+    {
143
+        this.returnTime = returnTime;
144
+    }
145
+
146
+    public Date getReturnTime() 
147
+    {
148
+        return returnTime;
149
+    }
150
+    public void setAccountName(String accountName) 
151
+    {
152
+        this.accountName = accountName;
153
+    }
154
+
155
+    public String getAccountName() 
156
+    {
157
+        return accountName;
158
+    }
159
+    public void setAccountBank(String accountBank) 
160
+    {
161
+        this.accountBank = accountBank;
162
+    }
163
+
164
+    public String getAccountBank() 
165
+    {
166
+        return accountBank;
167
+    }
168
+    public void setCardNumber(String cardNumber) 
169
+    {
170
+        this.cardNumber = cardNumber;
171
+    }
172
+
173
+    public String getCardNumber() 
174
+    {
175
+        return cardNumber;
176
+    }
177
+    public void setDepositWay(String depositWay) 
178
+    {
179
+        this.depositWay = depositWay;
180
+    }
181
+
182
+    public String getDepositWay() 
183
+    {
184
+        return depositWay;
185
+    }
186
+    public void setApplier(Long applier) 
187
+    {
188
+        this.applier = applier;
189
+    }
190
+
191
+    public Long getApplier() 
192
+    {
193
+        return applier;
194
+    }
195
+    public void setApplyTime(Date applyTime) 
196
+    {
197
+        this.applyTime = applyTime;
198
+    }
199
+
200
+    public Date getApplyTime() 
201
+    {
202
+        return applyTime;
203
+    }
204
+    public void setApplyReason(String applyReason) 
205
+    {
206
+        this.applyReason = applyReason;
207
+    }
208
+
209
+    public String getApplyReason() 
210
+    {
211
+        return applyReason;
212
+    }
213
+    public void setApplyDocument(String applyDocument) 
214
+    {
215
+        this.applyDocument = applyDocument;
216
+    }
217
+
218
+    public String getApplyDocument() 
219
+    {
220
+        return applyDocument;
221
+    }
222
+    public void setManagerTime(Date managerTime) 
223
+    {
224
+        this.managerTime = managerTime;
225
+    }
226
+
227
+    public Date getManagerTime() 
228
+    {
229
+        return managerTime;
230
+    }
231
+    public void setManagerUserId(Long managerUserId) 
232
+    {
233
+        this.managerUserId = managerUserId;
234
+    }
235
+
236
+    public Long getManagerUserId() 
237
+    {
238
+        return managerUserId;
239
+    }
240
+    public void setRemitTime(Date remitTime) 
241
+    {
242
+        this.remitTime = remitTime;
243
+    }
244
+
245
+    public Date getRemitTime() 
246
+    {
247
+        return remitTime;
248
+    }
249
+    public void setCwTime(Date cwTime) 
250
+    {
251
+        this.cwTime = cwTime;
252
+    }
253
+
254
+    public Date getCwTime() 
255
+    {
256
+        return cwTime;
257
+    }
258
+    public void setBackTime(Date backTime) 
259
+    {
260
+        this.backTime = backTime;
261
+    }
262
+
263
+    public Date getBackTime() 
264
+    {
265
+        return backTime;
266
+    }
267
+    public void setCwComment(String cwComment) 
268
+    {
269
+        this.cwComment = cwComment;
270
+    }
271
+
272
+    public String getCwComment() 
273
+    {
274
+        return cwComment;
275
+    }
276
+    public void setCwUserId(Long cwUserId) 
277
+    {
278
+        this.cwUserId = cwUserId;
279
+    }
280
+
281
+    public Long getCwUserId() 
282
+    {
283
+        return cwUserId;
284
+    }
285
+
286
+    @Override
287
+    public String toString() {
288
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
289
+            .append("depositId", getDepositId())
290
+            .append("depositType", getDepositType())
291
+            .append("tenderId", getTenderId())
292
+            .append("contractId", getContractId())
293
+            .append("returnTime", getReturnTime())
294
+            .append("accountName", getAccountName())
295
+            .append("accountBank", getAccountBank())
296
+            .append("cardNumber", getCardNumber())
297
+            .append("depositWay", getDepositWay())
298
+            .append("applier", getApplier())
299
+            .append("applyTime", getApplyTime())
300
+            .append("applyReason", getApplyReason())
301
+            .append("applyDocument", getApplyDocument())
302
+            .append("managerTime", getManagerTime())
303
+            .append("managerUserId", getManagerUserId())
304
+            .append("remitTime", getRemitTime())
305
+            .append("cwTime", getCwTime())
306
+            .append("backTime", getBackTime())
307
+            .append("cwComment", getCwComment())
308
+            .append("cwUserId", getCwUserId())
309
+            .toString();
310
+    }
311
+}

+ 0
- 28
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcProject.java 파일 보기

@@ -113,14 +113,6 @@ public class CmcProject extends BaseEntity
113 113
     @Excel(name = "撤场时间", width = 30, dateFormat = "yyyy-MM-dd")
114 114
     private Date exitTime;
115 115
 
116
-    /** 预算id */
117
-    @Excel(name = "预算id")
118
-    private String budgetId;
119
-
120
-    /** 技术方案id */
121
-    @Excel(name = "技术方案id")
122
-    private String technicalId;
123
-
124 116
     public void setProjectId(String projectId)
125 117
     {
126 118
         this.projectId = projectId;
@@ -319,24 +311,6 @@ public class CmcProject extends BaseEntity
319 311
     {
320 312
         return exitTime;
321 313
     }
322
-    public void setBudgetId(String budgetId)
323
-    {
324
-        this.budgetId = budgetId;
325
-    }
326
-
327
-    public String getBudgetId()
328
-    {
329
-        return budgetId;
330
-    }
331
-    public void setTechnicalId(String technicalId)
332
-    {
333
-        this.technicalId = technicalId;
334
-    }
335
-
336
-    public String getTechnicalId()
337
-    {
338
-        return technicalId;
339
-    }
340 314
     public void setProjectLeaderUser(SysUser projectLeaderUser)
341 315
     {
342 316
         this.projectLeaderUser = projectLeaderUser;
@@ -379,8 +353,6 @@ public class CmcProject extends BaseEntity
379 353
                 .append("entryTime", getEntryTime())
380 354
                 .append("exitTime", getExitTime())
381 355
                 .append("remark", getRemark())
382
-                .append("budgetId", getBudgetId())
383
-                .append("technicalId", getTechnicalId())
384 356
                 .toString();
385 357
     }
386 358
 }

+ 411
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettle.java 파일 보기

@@ -0,0 +1,411 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import org.apache.commons.lang3.builder.ToStringBuilder;
6
+import org.apache.commons.lang3.builder.ToStringStyle;
7
+import com.ruoyi.common.annotation.Excel;
8
+import com.ruoyi.common.core.domain.BaseEntity;
9
+
10
+/**
11
+ * cmc结算审批对象 cmc_settle
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+public class CmcSettle extends BaseEntity
17
+{
18
+    private static final long serialVersionUID = 1L;
19
+
20
+    /** 结算审批id */
21
+    private String settleId;
22
+
23
+    /** 项目id */
24
+    @Excel(name = "项目id")
25
+    private String projectId;
26
+
27
+    /** 工作量上报说明 */
28
+    @Excel(name = "工作量上报说明")
29
+    private String workloadReport;
30
+
31
+    /** 上报人 */
32
+    @Excel(name = "上报人")
33
+    private Long reporter;
34
+
35
+    /** 上报日期 */
36
+    @JsonFormat(pattern = "yyyy-MM-dd")
37
+    @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
38
+    private Date reportTime;
39
+
40
+    /** 结算说明 */
41
+    @Excel(name = "结算说明")
42
+    private String settleComment;
43
+
44
+    /** 综合事务部审核人 */
45
+    @Excel(name = "综合事务部审核人")
46
+    private Long zhUserId;
47
+
48
+    /** 综合事务部审核日期 */
49
+    @JsonFormat(pattern = "yyyy-MM-dd")
50
+    @Excel(name = "综合事务部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
51
+    private Date zhTime;
52
+
53
+    /** 综合事务部审核意见 */
54
+    @Excel(name = "综合事务部审核意见")
55
+    private String zhComment;
56
+
57
+    /** 技术质量部审核人 */
58
+    @Excel(name = "技术质量部审核人")
59
+    private Long jsUserId;
60
+
61
+    /** 技术质量部审核日期 */
62
+    @JsonFormat(pattern = "yyyy-MM-dd")
63
+    @Excel(name = "技术质量部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
64
+    private Date jsTime;
65
+
66
+    /** 技术质量部审核意见 */
67
+    @Excel(name = "技术质量部审核意见")
68
+    private String jsComment;
69
+
70
+    /** 项目管理部审核人 */
71
+    @Excel(name = "项目管理部审核人")
72
+    private Long xmUserId;
73
+
74
+    /** 项目管理部审核日期 */
75
+    @JsonFormat(pattern = "yyyy-MM-dd")
76
+    @Excel(name = "项目管理部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
77
+    private Date xmTime;
78
+
79
+    /** 项目管理部审核意见 */
80
+    @Excel(name = "项目管理部审核意见")
81
+    private String xmComment;
82
+
83
+    /** 承担部门审核人 */
84
+    @Excel(name = "承担部门审核人")
85
+    private Long deptUserId;
86
+
87
+    /** 承担部门审核日期 */
88
+    @JsonFormat(pattern = "yyyy-MM-dd")
89
+    @Excel(name = "承担部门审核日期", width = 30, dateFormat = "yyyy-MM-dd")
90
+    private Date deptTime;
91
+
92
+    /** 承担部门审核意见 */
93
+    @Excel(name = "承担部门审核意见")
94
+    private String deptComment;
95
+
96
+    /** 经营发展部审核人 */
97
+    @Excel(name = "经营发展部审核人")
98
+    private Long jyUserId;
99
+
100
+    /** 经营发展部审核日期 */
101
+    @JsonFormat(pattern = "yyyy-MM-dd")
102
+    @Excel(name = "经营发展部审核日期", width = 30, dateFormat = "yyyy-MM-dd")
103
+    private Date jyTime;
104
+
105
+    /** 经营发展部审核意见 */
106
+    @Excel(name = "经营发展部审核意见")
107
+    private String jyComment;
108
+
109
+    /** 分管审核人 */
110
+    @Excel(name = "分管审核人")
111
+    private Long managerUserId;
112
+
113
+    /** 分管审核日期 */
114
+    @JsonFormat(pattern = "yyyy-MM-dd")
115
+    @Excel(name = "分管审核日期", width = 30, dateFormat = "yyyy-MM-dd")
116
+    private Date managerTime;
117
+
118
+    /** 分管审核意见 */
119
+    @Excel(name = "分管审核意见")
120
+    private String managerComment;
121
+
122
+    /** 总经理审核人 */
123
+    @Excel(name = "总经理审核人")
124
+    private Long gmUserId;
125
+
126
+    /** 总经理审核日期 */
127
+    @JsonFormat(pattern = "yyyy-MM-dd")
128
+    @Excel(name = "总经理审核日期", width = 30, dateFormat = "yyyy-MM-dd")
129
+    private Date gmTime;
130
+
131
+    /** 总经理审核意见 */
132
+    @Excel(name = "总经理审核意见")
133
+    private String gmComment;
134
+
135
+    public void setSettleId(String settleId) 
136
+    {
137
+        this.settleId = settleId;
138
+    }
139
+
140
+    public String getSettleId() 
141
+    {
142
+        return settleId;
143
+    }
144
+    public void setProjectId(String projectId) 
145
+    {
146
+        this.projectId = projectId;
147
+    }
148
+
149
+    public String getProjectId() 
150
+    {
151
+        return projectId;
152
+    }
153
+    public void setWorkloadReport(String workloadReport) 
154
+    {
155
+        this.workloadReport = workloadReport;
156
+    }
157
+
158
+    public String getWorkloadReport() 
159
+    {
160
+        return workloadReport;
161
+    }
162
+    public void setReporter(Long reporter) 
163
+    {
164
+        this.reporter = reporter;
165
+    }
166
+
167
+    public Long getReporter() 
168
+    {
169
+        return reporter;
170
+    }
171
+    public void setReportTime(Date reportTime) 
172
+    {
173
+        this.reportTime = reportTime;
174
+    }
175
+
176
+    public Date getReportTime() 
177
+    {
178
+        return reportTime;
179
+    }
180
+    public void setSettleComment(String settleComment) 
181
+    {
182
+        this.settleComment = settleComment;
183
+    }
184
+
185
+    public String getSettleComment() 
186
+    {
187
+        return settleComment;
188
+    }
189
+    public void setZhUserId(Long zhUserId) 
190
+    {
191
+        this.zhUserId = zhUserId;
192
+    }
193
+
194
+    public Long getZhUserId() 
195
+    {
196
+        return zhUserId;
197
+    }
198
+    public void setZhTime(Date zhTime) 
199
+    {
200
+        this.zhTime = zhTime;
201
+    }
202
+
203
+    public Date getZhTime() 
204
+    {
205
+        return zhTime;
206
+    }
207
+    public void setZhComment(String zhComment) 
208
+    {
209
+        this.zhComment = zhComment;
210
+    }
211
+
212
+    public String getZhComment() 
213
+    {
214
+        return zhComment;
215
+    }
216
+    public void setJsUserId(Long jsUserId) 
217
+    {
218
+        this.jsUserId = jsUserId;
219
+    }
220
+
221
+    public Long getJsUserId() 
222
+    {
223
+        return jsUserId;
224
+    }
225
+    public void setJsTime(Date jsTime) 
226
+    {
227
+        this.jsTime = jsTime;
228
+    }
229
+
230
+    public Date getJsTime() 
231
+    {
232
+        return jsTime;
233
+    }
234
+    public void setJsComment(String jsComment) 
235
+    {
236
+        this.jsComment = jsComment;
237
+    }
238
+
239
+    public String getJsComment() 
240
+    {
241
+        return jsComment;
242
+    }
243
+    public void setXmUserId(Long xmUserId) 
244
+    {
245
+        this.xmUserId = xmUserId;
246
+    }
247
+
248
+    public Long getXmUserId() 
249
+    {
250
+        return xmUserId;
251
+    }
252
+    public void setXmTime(Date xmTime) 
253
+    {
254
+        this.xmTime = xmTime;
255
+    }
256
+
257
+    public Date getXmTime() 
258
+    {
259
+        return xmTime;
260
+    }
261
+    public void setXmComment(String xmComment) 
262
+    {
263
+        this.xmComment = xmComment;
264
+    }
265
+
266
+    public String getXmComment() 
267
+    {
268
+        return xmComment;
269
+    }
270
+    public void setDeptUserId(Long deptUserId) 
271
+    {
272
+        this.deptUserId = deptUserId;
273
+    }
274
+
275
+    public Long getDeptUserId() 
276
+    {
277
+        return deptUserId;
278
+    }
279
+    public void setDeptTime(Date deptTime) 
280
+    {
281
+        this.deptTime = deptTime;
282
+    }
283
+
284
+    public Date getDeptTime() 
285
+    {
286
+        return deptTime;
287
+    }
288
+    public void setDeptComment(String deptComment) 
289
+    {
290
+        this.deptComment = deptComment;
291
+    }
292
+
293
+    public String getDeptComment() 
294
+    {
295
+        return deptComment;
296
+    }
297
+    public void setJyUserId(Long jyUserId) 
298
+    {
299
+        this.jyUserId = jyUserId;
300
+    }
301
+
302
+    public Long getJyUserId() 
303
+    {
304
+        return jyUserId;
305
+    }
306
+    public void setJyTime(Date jyTime) 
307
+    {
308
+        this.jyTime = jyTime;
309
+    }
310
+
311
+    public Date getJyTime() 
312
+    {
313
+        return jyTime;
314
+    }
315
+    public void setJyComment(String jyComment) 
316
+    {
317
+        this.jyComment = jyComment;
318
+    }
319
+
320
+    public String getJyComment() 
321
+    {
322
+        return jyComment;
323
+    }
324
+    public void setManagerUserId(Long managerUserId) 
325
+    {
326
+        this.managerUserId = managerUserId;
327
+    }
328
+
329
+    public Long getManagerUserId() 
330
+    {
331
+        return managerUserId;
332
+    }
333
+    public void setManagerTime(Date managerTime) 
334
+    {
335
+        this.managerTime = managerTime;
336
+    }
337
+
338
+    public Date getManagerTime() 
339
+    {
340
+        return managerTime;
341
+    }
342
+    public void setManagerComment(String managerComment) 
343
+    {
344
+        this.managerComment = managerComment;
345
+    }
346
+
347
+    public String getManagerComment() 
348
+    {
349
+        return managerComment;
350
+    }
351
+    public void setGmUserId(Long gmUserId) 
352
+    {
353
+        this.gmUserId = gmUserId;
354
+    }
355
+
356
+    public Long getGmUserId() 
357
+    {
358
+        return gmUserId;
359
+    }
360
+    public void setGmTime(Date gmTime) 
361
+    {
362
+        this.gmTime = gmTime;
363
+    }
364
+
365
+    public Date getGmTime() 
366
+    {
367
+        return gmTime;
368
+    }
369
+    public void setGmComment(String gmComment) 
370
+    {
371
+        this.gmComment = gmComment;
372
+    }
373
+
374
+    public String getGmComment() 
375
+    {
376
+        return gmComment;
377
+    }
378
+
379
+    @Override
380
+    public String toString() {
381
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
382
+            .append("settleId", getSettleId())
383
+            .append("projectId", getProjectId())
384
+            .append("workloadReport", getWorkloadReport())
385
+            .append("reporter", getReporter())
386
+            .append("reportTime", getReportTime())
387
+            .append("settleComment", getSettleComment())
388
+            .append("zhUserId", getZhUserId())
389
+            .append("zhTime", getZhTime())
390
+            .append("zhComment", getZhComment())
391
+            .append("jsUserId", getJsUserId())
392
+            .append("jsTime", getJsTime())
393
+            .append("jsComment", getJsComment())
394
+            .append("xmUserId", getXmUserId())
395
+            .append("xmTime", getXmTime())
396
+            .append("xmComment", getXmComment())
397
+            .append("deptUserId", getDeptUserId())
398
+            .append("deptTime", getDeptTime())
399
+            .append("deptComment", getDeptComment())
400
+            .append("jyUserId", getJyUserId())
401
+            .append("jyTime", getJyTime())
402
+            .append("jyComment", getJyComment())
403
+            .append("managerUserId", getManagerUserId())
404
+            .append("managerTime", getManagerTime())
405
+            .append("managerComment", getManagerComment())
406
+            .append("gmUserId", getGmUserId())
407
+            .append("gmTime", getGmTime())
408
+            .append("gmComment", getGmComment())
409
+            .toString();
410
+    }
411
+}

+ 109
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettleSummary.java 파일 보기

@@ -0,0 +1,109 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.math.BigDecimal;
4
+import org.apache.commons.lang3.builder.ToStringBuilder;
5
+import org.apache.commons.lang3.builder.ToStringStyle;
6
+import com.ruoyi.common.annotation.Excel;
7
+import com.ruoyi.common.core.domain.BaseEntity;
8
+
9
+/**
10
+ * cmc结算汇总对象 cmc_settle_summary
11
+ * 
12
+ * @author cmc
13
+ * @date 2024-04-29
14
+ */
15
+public class CmcSettleSummary extends BaseEntity
16
+{
17
+    private static final long serialVersionUID = 1L;
18
+
19
+    /** 结算汇总id */
20
+    private String summaryId;
21
+
22
+    /** 结算id */
23
+    @Excel(name = "结算id")
24
+    private String settleId;
25
+
26
+    /** 结算内容 */
27
+    @Excel(name = "结算内容")
28
+    private String content;
29
+
30
+    /** 结算金额 */
31
+    @Excel(name = "结算金额")
32
+    private BigDecimal amount;
33
+
34
+    /** 结算金额(项目部) */
35
+    @Excel(name = "结算金额", readConverterExp = "项=目部")
36
+    private BigDecimal amountXm;
37
+
38
+    /** 结算金额(分管) */
39
+    @Excel(name = "结算金额", readConverterExp = "分=管")
40
+    private BigDecimal amountManager;
41
+
42
+    public void setSummaryId(String summaryId) 
43
+    {
44
+        this.summaryId = summaryId;
45
+    }
46
+
47
+    public String getSummaryId() 
48
+    {
49
+        return summaryId;
50
+    }
51
+    public void setSettleId(String settleId) 
52
+    {
53
+        this.settleId = settleId;
54
+    }
55
+
56
+    public String getSettleId() 
57
+    {
58
+        return settleId;
59
+    }
60
+    public void setContent(String content) 
61
+    {
62
+        this.content = content;
63
+    }
64
+
65
+    public String getContent() 
66
+    {
67
+        return content;
68
+    }
69
+    public void setAmount(BigDecimal amount) 
70
+    {
71
+        this.amount = amount;
72
+    }
73
+
74
+    public BigDecimal getAmount() 
75
+    {
76
+        return amount;
77
+    }
78
+    public void setAmountXm(BigDecimal amountXm) 
79
+    {
80
+        this.amountXm = amountXm;
81
+    }
82
+
83
+    public BigDecimal getAmountXm() 
84
+    {
85
+        return amountXm;
86
+    }
87
+    public void setAmountManager(BigDecimal amountManager) 
88
+    {
89
+        this.amountManager = amountManager;
90
+    }
91
+
92
+    public BigDecimal getAmountManager() 
93
+    {
94
+        return amountManager;
95
+    }
96
+
97
+    @Override
98
+    public String toString() {
99
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
100
+            .append("summaryId", getSummaryId())
101
+            .append("settleId", getSettleId())
102
+            .append("content", getContent())
103
+            .append("amount", getAmount())
104
+            .append("amountXm", getAmountXm())
105
+            .append("amountManager", getAmountManager())
106
+            .append("remark", getRemark())
107
+            .toString();
108
+    }
109
+}

+ 165
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSettleWork.java 파일 보기

@@ -0,0 +1,165 @@
1
+package com.ruoyi.oa.domain;
2
+
3
+import java.math.BigDecimal;
4
+import org.apache.commons.lang3.builder.ToStringBuilder;
5
+import org.apache.commons.lang3.builder.ToStringStyle;
6
+import com.ruoyi.common.annotation.Excel;
7
+import com.ruoyi.common.core.domain.BaseEntity;
8
+
9
+/**
10
+ * cmc经费计算对象 cmc_settle_work
11
+ * 
12
+ * @author cmc
13
+ * @date 2024-04-29
14
+ */
15
+public class CmcSettleWork extends BaseEntity
16
+{
17
+    private static final long serialVersionUID = 1L;
18
+
19
+    /** 工作内容id */
20
+    private String workId;
21
+
22
+    /** 结算id */
23
+    @Excel(name = "结算id")
24
+    private String settleId;
25
+
26
+    /** 工作内容 */
27
+    @Excel(name = "工作内容")
28
+    private String content;
29
+
30
+    /** 结算单价id */
31
+    @Excel(name = "结算单价id")
32
+    private Long priceId;
33
+
34
+    /** 工作量 */
35
+    @Excel(name = "工作量")
36
+    private Long workload;
37
+
38
+    /** 系数 */
39
+    @Excel(name = "系数")
40
+    private Long coefficient;
41
+
42
+    /** 地类 */
43
+    @Excel(name = "地类")
44
+    private String groundType;
45
+
46
+    /** 项目经费 */
47
+    @Excel(name = "项目经费")
48
+    private BigDecimal settle;
49
+
50
+    /** 项目经费(项目部) */
51
+    @Excel(name = "项目经费", readConverterExp = "项=目部")
52
+    private BigDecimal settleXm;
53
+
54
+    /** 项目经费(分管) */
55
+    @Excel(name = "项目经费", readConverterExp = "分=管")
56
+    private BigDecimal settleManager;
57
+
58
+    public void setWorkId(String workId) 
59
+    {
60
+        this.workId = workId;
61
+    }
62
+
63
+    public String getWorkId() 
64
+    {
65
+        return workId;
66
+    }
67
+    public void setSettleId(String settleId) 
68
+    {
69
+        this.settleId = settleId;
70
+    }
71
+
72
+    public String getSettleId() 
73
+    {
74
+        return settleId;
75
+    }
76
+    public void setContent(String content) 
77
+    {
78
+        this.content = content;
79
+    }
80
+
81
+    public String getContent() 
82
+    {
83
+        return content;
84
+    }
85
+    public void setPriceId(Long priceId) 
86
+    {
87
+        this.priceId = priceId;
88
+    }
89
+
90
+    public Long getPriceId() 
91
+    {
92
+        return priceId;
93
+    }
94
+    public void setWorkload(Long workload) 
95
+    {
96
+        this.workload = workload;
97
+    }
98
+
99
+    public Long getWorkload() 
100
+    {
101
+        return workload;
102
+    }
103
+    public void setCoefficient(Long coefficient) 
104
+    {
105
+        this.coefficient = coefficient;
106
+    }
107
+
108
+    public Long getCoefficient() 
109
+    {
110
+        return coefficient;
111
+    }
112
+    public void setGroundType(String groundType) 
113
+    {
114
+        this.groundType = groundType;
115
+    }
116
+
117
+    public String getGroundType() 
118
+    {
119
+        return groundType;
120
+    }
121
+    public void setSettle(BigDecimal settle) 
122
+    {
123
+        this.settle = settle;
124
+    }
125
+
126
+    public BigDecimal getSettle() 
127
+    {
128
+        return settle;
129
+    }
130
+    public void setSettleXm(BigDecimal settleXm) 
131
+    {
132
+        this.settleXm = settleXm;
133
+    }
134
+
135
+    public BigDecimal getSettleXm() 
136
+    {
137
+        return settleXm;
138
+    }
139
+    public void setSettleManager(BigDecimal settleManager) 
140
+    {
141
+        this.settleManager = settleManager;
142
+    }
143
+
144
+    public BigDecimal getSettleManager() 
145
+    {
146
+        return settleManager;
147
+    }
148
+
149
+    @Override
150
+    public String toString() {
151
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
152
+            .append("workId", getWorkId())
153
+            .append("settleId", getSettleId())
154
+            .append("content", getContent())
155
+            .append("priceId", getPriceId())
156
+            .append("workload", getWorkload())
157
+            .append("coefficient", getCoefficient())
158
+            .append("groundType", getGroundType())
159
+            .append("settle", getSettle())
160
+            .append("settleXm", getSettleXm())
161
+            .append("settleManager", getSettleManager())
162
+            .append("remark", getRemark())
163
+            .toString();
164
+    }
165
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcArchiveMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcArchive;
5
+
6
+/**
7
+ * cmc成果归档Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcArchiveMapper 
13
+{
14
+    /**
15
+     * 查询cmc成果归档
16
+     * 
17
+     * @param archiveId cmc成果归档主键
18
+     * @return cmc成果归档
19
+     */
20
+    public CmcArchive selectCmcArchiveByArchiveId(String archiveId);
21
+
22
+    /**
23
+     * 查询cmc成果归档列表
24
+     * 
25
+     * @param cmcArchive cmc成果归档
26
+     * @return cmc成果归档集合
27
+     */
28
+    public List<CmcArchive> selectCmcArchiveList(CmcArchive cmcArchive);
29
+
30
+    /**
31
+     * 新增cmc成果归档
32
+     * 
33
+     * @param cmcArchive cmc成果归档
34
+     * @return 结果
35
+     */
36
+    public int insertCmcArchive(CmcArchive cmcArchive);
37
+
38
+    /**
39
+     * 修改cmc成果归档
40
+     * 
41
+     * @param cmcArchive cmc成果归档
42
+     * @return 结果
43
+     */
44
+    public int updateCmcArchive(CmcArchive cmcArchive);
45
+
46
+    /**
47
+     * 删除cmc成果归档
48
+     * 
49
+     * @param archiveId cmc成果归档主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcArchiveByArchiveId(String archiveId);
53
+
54
+    /**
55
+     * 批量删除cmc成果归档
56
+     * 
57
+     * @param archiveIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcArchiveByArchiveIds(String[] archiveIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrand;
5
+
6
+/**
7
+ * cmc品牌项目支付审批Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcBrandMapper 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目支付审批
16
+     * 
17
+     * @param brandId cmc品牌项目支付审批主键
18
+     * @return cmc品牌项目支付审批
19
+     */
20
+    public CmcBrand selectCmcBrandByBrandId(String brandId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付审批列表
24
+     * 
25
+     * @param cmcBrand cmc品牌项目支付审批
26
+     * @return cmc品牌项目支付审批集合
27
+     */
28
+    public List<CmcBrand> selectCmcBrandList(CmcBrand cmcBrand);
29
+
30
+    /**
31
+     * 新增cmc品牌项目支付审批
32
+     * 
33
+     * @param cmcBrand cmc品牌项目支付审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrand(CmcBrand cmcBrand);
37
+
38
+    /**
39
+     * 修改cmc品牌项目支付审批
40
+     * 
41
+     * @param cmcBrand cmc品牌项目支付审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrand(CmcBrand cmcBrand);
45
+
46
+    /**
47
+     * 删除cmc品牌项目支付审批
48
+     * 
49
+     * @param brandId cmc品牌项目支付审批主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandByBrandId(String brandId);
53
+
54
+    /**
55
+     * 批量删除cmc品牌项目支付审批
56
+     * 
57
+     * @param brandIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandByBrandIds(String[] brandIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandPaymentMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandPayment;
5
+
6
+/**
7
+ * cmc品牌项目支付记录Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcBrandPaymentMapper 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目支付记录
16
+     * 
17
+     * @param brandId cmc品牌项目支付记录主键
18
+     * @return cmc品牌项目支付记录
19
+     */
20
+    public List<CmcBrandPayment> selectCmcBrandPaymentByBrandId(String brandId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付记录列表
24
+     * 
25
+     * @param cmcBrandPayment cmc品牌项目支付记录
26
+     * @return cmc品牌项目支付记录集合
27
+     */
28
+    public List<CmcBrandPayment> selectCmcBrandPaymentList(CmcBrandPayment cmcBrandPayment);
29
+
30
+    /**
31
+     * 新增cmc品牌项目支付记录
32
+     * 
33
+     * @param cmcBrandPayment cmc品牌项目支付记录
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandPayment(CmcBrandPayment cmcBrandPayment);
37
+
38
+    /**
39
+     * 修改cmc品牌项目支付记录
40
+     * 
41
+     * @param cmcBrandPayment cmc品牌项目支付记录
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandPayment(CmcBrandPayment cmcBrandPayment);
45
+
46
+    /**
47
+     * 删除cmc品牌项目支付记录
48
+     * 
49
+     * @param brandId cmc品牌项目支付记录主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandPaymentByBrandId(String brandId);
53
+
54
+    /**
55
+     * 批量删除cmc品牌项目支付记录
56
+     * 
57
+     * @param brandIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandPaymentByBrandIds(String[] brandIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandProjectMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandProject;
5
+
6
+/**
7
+ * cmc品牌项目Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcBrandProjectMapper 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目
16
+     * 
17
+     * @param projectId cmc品牌项目主键
18
+     * @return cmc品牌项目
19
+     */
20
+    public CmcBrandProject selectCmcBrandProjectByProjectId(String projectId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目列表
24
+     * 
25
+     * @param cmcBrandProject cmc品牌项目
26
+     * @return cmc品牌项目集合
27
+     */
28
+    public List<CmcBrandProject> selectCmcBrandProjectList(CmcBrandProject cmcBrandProject);
29
+
30
+    /**
31
+     * 新增cmc品牌项目
32
+     * 
33
+     * @param cmcBrandProject cmc品牌项目
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandProject(CmcBrandProject cmcBrandProject);
37
+
38
+    /**
39
+     * 修改cmc品牌项目
40
+     * 
41
+     * @param cmcBrandProject cmc品牌项目
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandProject(CmcBrandProject cmcBrandProject);
45
+
46
+    /**
47
+     * 删除cmc品牌项目
48
+     * 
49
+     * @param projectId cmc品牌项目主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandProjectByProjectId(String projectId);
53
+
54
+    /**
55
+     * 批量删除cmc品牌项目
56
+     * 
57
+     * @param projectIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandProjectByProjectIds(String[] projectIds);
61
+}

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetCarMapper.java 파일 보기

@@ -46,16 +46,16 @@ public interface CmcBudgetCarMapper
46 46
     /**
47 47
      * 删除cmc车辆预算
48 48
      * 
49
-     * @param budgetCarId cmc车辆预算主键
49
+     * @param budgetId cmc车辆预算主键
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetCarByBudgetCarId(String budgetCarId);
52
+    public int deleteCmcBudgetCarByBudgetId(String budgetId);
53 53
 
54 54
     /**
55 55
      * 批量删除cmc车辆预算
56 56
      * 
57
-     * @param budgetCarIds 需要删除的数据主键集合
57
+     * @param budgetIds 需要删除的数据主键集合
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetCarByBudgetCarIds(String[] budgetCarIds);
60
+    public int deleteCmcBudgetCarByBudgetIds(String[] budgetIds);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetDeviceMapper.java 파일 보기

@@ -46,16 +46,16 @@ public interface CmcBudgetDeviceMapper
46 46
     /**
47 47
      * 删除cmc设备预算
48 48
      * 
49
-     * @param budgetDeviceId cmc设备预算主键
49
+     * @param budgetId cmc设备预算主键
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetDeviceByBudgetDeviceId(String budgetDeviceId);
52
+    public int deleteCmcBudgetDeviceByBudgetId(String budgetId);
53 53
 
54 54
     /**
55 55
      * 批量删除cmc设备预算
56 56
      * 
57
-     * @param budgetDeviceIds 需要删除的数据主键集合
57
+     * @param budgetIds 需要删除的数据主键集合
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetDeviceByBudgetDeviceIds(String[] budgetDeviceIds);
60
+    public int deleteCmcBudgetDeviceByBudgetIds(String[] budgetIds);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetSettleMapper.java 파일 보기

@@ -46,16 +46,16 @@ public interface CmcBudgetSettleMapper
46 46
     /**
47 47
      * 删除cmc预结算
48 48
      * 
49
-     * @param budgetSettleId cmc预结算主键
49
+     * @param budgetId cmc预结算主键
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetSettleByBudgetSettleId(String budgetSettleId);
52
+    public int deleteCmcBudgetSettleByBudgetId(String budgetId);
53 53
 
54 54
     /**
55 55
      * 批量删除cmc预结算
56 56
      * 
57
-     * @param budgetSettleIds 需要删除的数据主键集合
57
+     * @param budgetIds 需要删除的数据主键集合
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetSettleByBudgetSettleIds(String[] budgetSettleIds);
60
+    public int deleteCmcBudgetSettleByBudgetIds(String[] budgetIds);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBudgetStaffMapper.java 파일 보기

@@ -46,16 +46,16 @@ public interface CmcBudgetStaffMapper
46 46
     /**
47 47
      * 删除cmc人员预算
48 48
      * 
49
-     * @param budgetStaffId cmc人员预算主键
49
+     * @param budgetId cmc人员预算主键
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetStaffByBudgetStaffId(String budgetStaffId);
52
+    public int deleteCmcBudgetStaffByBudgetId(String budgetId);
53 53
 
54 54
     /**
55 55
      * 批量删除cmc人员预算
56 56
      * 
57
-     * @param budgetStaffIds 需要删除的数据主键集合
57
+     * @param budgetIds 需要删除的数据主键集合
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetStaffByBudgetStaffIds(String[] budgetStaffIds);
60
+    public int deleteCmcBudgetStaffByBudgetIds(String[] budgetIds);
61 61
 }

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcDepositMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcDeposit;
5
+
6
+/**
7
+ * cmc保证金审批Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcDepositMapper 
13
+{
14
+    /**
15
+     * 查询cmc保证金审批
16
+     * 
17
+     * @param depositId cmc保证金审批主键
18
+     * @return cmc保证金审批
19
+     */
20
+    public CmcDeposit selectCmcDepositByDepositId(String depositId);
21
+
22
+    /**
23
+     * 查询cmc保证金审批列表
24
+     * 
25
+     * @param cmcDeposit cmc保证金审批
26
+     * @return cmc保证金审批集合
27
+     */
28
+    public List<CmcDeposit> selectCmcDepositList(CmcDeposit cmcDeposit);
29
+
30
+    /**
31
+     * 新增cmc保证金审批
32
+     * 
33
+     * @param cmcDeposit cmc保证金审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcDeposit(CmcDeposit cmcDeposit);
37
+
38
+    /**
39
+     * 修改cmc保证金审批
40
+     * 
41
+     * @param cmcDeposit cmc保证金审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcDeposit(CmcDeposit cmcDeposit);
45
+
46
+    /**
47
+     * 删除cmc保证金审批
48
+     * 
49
+     * @param depositId cmc保证金审批主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcDepositByDepositId(String depositId);
53
+
54
+    /**
55
+     * 批量删除cmc保证金审批
56
+     * 
57
+     * @param depositIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcDepositByDepositIds(String[] depositIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettle;
5
+
6
+/**
7
+ * cmc结算审批Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcSettleMapper 
13
+{
14
+    /**
15
+     * 查询cmc结算审批
16
+     * 
17
+     * @param settleId cmc结算审批主键
18
+     * @return cmc结算审批
19
+     */
20
+    public CmcSettle selectCmcSettleBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc结算审批列表
24
+     * 
25
+     * @param cmcSettle cmc结算审批
26
+     * @return cmc结算审批集合
27
+     */
28
+    public List<CmcSettle> selectCmcSettleList(CmcSettle cmcSettle);
29
+
30
+    /**
31
+     * 新增cmc结算审批
32
+     * 
33
+     * @param cmcSettle cmc结算审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettle(CmcSettle cmcSettle);
37
+
38
+    /**
39
+     * 修改cmc结算审批
40
+     * 
41
+     * @param cmcSettle cmc结算审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettle(CmcSettle cmcSettle);
45
+
46
+    /**
47
+     * 删除cmc结算审批
48
+     * 
49
+     * @param settleId cmc结算审批主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleBySettleId(String settleId);
53
+
54
+    /**
55
+     * 批量删除cmc结算审批
56
+     * 
57
+     * @param settleIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleBySettleIds(String[] settleIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleSummaryMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettleSummary;
5
+
6
+/**
7
+ * cmc结算汇总Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcSettleSummaryMapper 
13
+{
14
+    /**
15
+     * 查询cmc结算汇总
16
+     * 
17
+     * @param settleId cmc结算汇总主键
18
+     * @return cmc结算汇总
19
+     */
20
+    public CmcSettleSummary selectCmcSettleSummaryBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc结算汇总列表
24
+     * 
25
+     * @param cmcSettleSummary cmc结算汇总
26
+     * @return cmc结算汇总集合
27
+     */
28
+    public List<CmcSettleSummary> selectCmcSettleSummaryList(CmcSettleSummary cmcSettleSummary);
29
+
30
+    /**
31
+     * 新增cmc结算汇总
32
+     * 
33
+     * @param cmcSettleSummary cmc结算汇总
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettleSummary(CmcSettleSummary cmcSettleSummary);
37
+
38
+    /**
39
+     * 修改cmc结算汇总
40
+     * 
41
+     * @param cmcSettleSummary cmc结算汇总
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettleSummary(CmcSettleSummary cmcSettleSummary);
45
+
46
+    /**
47
+     * 删除cmc结算汇总
48
+     * 
49
+     * @param settleId cmc结算汇总主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleSummaryBySettleId(String settleId);
53
+
54
+    /**
55
+     * 批量删除cmc结算汇总
56
+     * 
57
+     * @param settleIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleSummaryBySettleIds(String[] settleIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcSettleWorkMapper.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettleWork;
5
+
6
+/**
7
+ * cmc经费计算Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface CmcSettleWorkMapper 
13
+{
14
+    /**
15
+     * 查询cmc经费计算
16
+     * 
17
+     * @param settleId cmc经费计算主键
18
+     * @return cmc经费计算
19
+     */
20
+    public CmcSettleWork selectCmcSettleWorkBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc经费计算列表
24
+     * 
25
+     * @param cmcSettleWork cmc经费计算
26
+     * @return cmc经费计算集合
27
+     */
28
+    public List<CmcSettleWork> selectCmcSettleWorkList(CmcSettleWork cmcSettleWork);
29
+
30
+    /**
31
+     * 新增cmc经费计算
32
+     * 
33
+     * @param cmcSettleWork cmc经费计算
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettleWork(CmcSettleWork cmcSettleWork);
37
+
38
+    /**
39
+     * 修改cmc经费计算
40
+     * 
41
+     * @param cmcSettleWork cmc经费计算
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettleWork(CmcSettleWork cmcSettleWork);
45
+
46
+    /**
47
+     * 删除cmc经费计算
48
+     * 
49
+     * @param settleId cmc经费计算主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleWorkBySettleId(String settleId);
53
+
54
+    /**
55
+     * 批量删除cmc经费计算
56
+     * 
57
+     * @param settleIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleWorkBySettleIds(String[] settleIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcArchiveService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcArchive;
5
+
6
+/**
7
+ * cmc成果归档Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcArchiveService 
13
+{
14
+    /**
15
+     * 查询cmc成果归档
16
+     * 
17
+     * @param archiveId cmc成果归档主键
18
+     * @return cmc成果归档
19
+     */
20
+    public CmcArchive selectCmcArchiveByArchiveId(String archiveId);
21
+
22
+    /**
23
+     * 查询cmc成果归档列表
24
+     * 
25
+     * @param cmcArchive cmc成果归档
26
+     * @return cmc成果归档集合
27
+     */
28
+    public List<CmcArchive> selectCmcArchiveList(CmcArchive cmcArchive);
29
+
30
+    /**
31
+     * 新增cmc成果归档
32
+     * 
33
+     * @param cmcArchive cmc成果归档
34
+     * @return 结果
35
+     */
36
+    public int insertCmcArchive(CmcArchive cmcArchive);
37
+
38
+    /**
39
+     * 修改cmc成果归档
40
+     * 
41
+     * @param cmcArchive cmc成果归档
42
+     * @return 结果
43
+     */
44
+    public int updateCmcArchive(CmcArchive cmcArchive);
45
+
46
+    /**
47
+     * 批量删除cmc成果归档
48
+     * 
49
+     * @param archiveIds 需要删除的cmc成果归档主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcArchiveByArchiveIds(String[] archiveIds);
53
+
54
+    /**
55
+     * 删除cmc成果归档信息
56
+     * 
57
+     * @param archiveId cmc成果归档主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcArchiveByArchiveId(String archiveId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandPaymentService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandPayment;
5
+
6
+/**
7
+ * cmc品牌项目支付记录Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcBrandPaymentService 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目支付记录
16
+     * 
17
+     * @param brandId cmc品牌项目支付记录主键
18
+     * @return cmc品牌项目支付记录
19
+     */
20
+    public List<CmcBrandPayment> selectCmcBrandPaymentByBrandId(String brandId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付记录列表
24
+     * 
25
+     * @param cmcBrandPayment cmc品牌项目支付记录
26
+     * @return cmc品牌项目支付记录集合
27
+     */
28
+    public List<CmcBrandPayment> selectCmcBrandPaymentList(CmcBrandPayment cmcBrandPayment);
29
+
30
+    /**
31
+     * 新增cmc品牌项目支付记录
32
+     * 
33
+     * @param cmcBrandPayment cmc品牌项目支付记录
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandPayment(CmcBrandPayment cmcBrandPayment);
37
+
38
+    /**
39
+     * 修改cmc品牌项目支付记录
40
+     * 
41
+     * @param cmcBrandPayment cmc品牌项目支付记录
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandPayment(CmcBrandPayment cmcBrandPayment);
45
+
46
+    /**
47
+     * 批量删除cmc品牌项目支付记录
48
+     * 
49
+     * @param brandIds 需要删除的cmc品牌项目支付记录主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandPaymentByBrandIds(String[] brandIds);
53
+
54
+    /**
55
+     * 删除cmc品牌项目支付记录信息
56
+     * 
57
+     * @param brandId cmc品牌项目支付记录主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandPaymentByBrandId(String brandId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandProjectService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandProject;
5
+
6
+/**
7
+ * cmc品牌项目Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcBrandProjectService 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目
16
+     * 
17
+     * @param projectId cmc品牌项目主键
18
+     * @return cmc品牌项目
19
+     */
20
+    public CmcBrandProject selectCmcBrandProjectByProjectId(String projectId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目列表
24
+     * 
25
+     * @param cmcBrandProject cmc品牌项目
26
+     * @return cmc品牌项目集合
27
+     */
28
+    public List<CmcBrandProject> selectCmcBrandProjectList(CmcBrandProject cmcBrandProject);
29
+
30
+    /**
31
+     * 新增cmc品牌项目
32
+     * 
33
+     * @param cmcBrandProject cmc品牌项目
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandProject(CmcBrandProject cmcBrandProject);
37
+
38
+    /**
39
+     * 修改cmc品牌项目
40
+     * 
41
+     * @param cmcBrandProject cmc品牌项目
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandProject(CmcBrandProject cmcBrandProject);
45
+
46
+    /**
47
+     * 批量删除cmc品牌项目
48
+     * 
49
+     * @param projectIds 需要删除的cmc品牌项目主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandProjectByProjectIds(String[] projectIds);
53
+
54
+    /**
55
+     * 删除cmc品牌项目信息
56
+     * 
57
+     * @param projectId cmc品牌项目主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandProjectByProjectId(String projectId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrand;
5
+
6
+/**
7
+ * cmc品牌项目支付审批Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcBrandService 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目支付审批
16
+     * 
17
+     * @param brandId cmc品牌项目支付审批主键
18
+     * @return cmc品牌项目支付审批
19
+     */
20
+    public CmcBrand selectCmcBrandByBrandId(String brandId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付审批列表
24
+     * 
25
+     * @param cmcBrand cmc品牌项目支付审批
26
+     * @return cmc品牌项目支付审批集合
27
+     */
28
+    public List<CmcBrand> selectCmcBrandList(CmcBrand cmcBrand);
29
+
30
+    /**
31
+     * 新增cmc品牌项目支付审批
32
+     * 
33
+     * @param cmcBrand cmc品牌项目支付审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrand(CmcBrand cmcBrand);
37
+
38
+    /**
39
+     * 修改cmc品牌项目支付审批
40
+     * 
41
+     * @param cmcBrand cmc品牌项目支付审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrand(CmcBrand cmcBrand);
45
+
46
+    /**
47
+     * 批量删除cmc品牌项目支付审批
48
+     * 
49
+     * @param brandIds 需要删除的cmc品牌项目支付审批主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandByBrandIds(String[] brandIds);
53
+
54
+    /**
55
+     * 删除cmc品牌项目支付审批信息
56
+     * 
57
+     * @param brandId cmc品牌项目支付审批主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandByBrandId(String brandId);
61
+}

+ 2
- 2
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetCarService.java 파일 보기

@@ -49,7 +49,7 @@ public interface ICmcBudgetCarService
49 49
      * @param budgetIds 需要删除的cmc车辆预算主键集合
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetCarByBudgetCarIds(String[] budgetIds);
52
+    public int deleteCmcBudgetCarByBudgetIds(String[] budgetIds);
53 53
 
54 54
     /**
55 55
      * 删除cmc车辆预算信息
@@ -57,5 +57,5 @@ public interface ICmcBudgetCarService
57 57
      * @param budgetId cmc车辆预算主键
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetCarByBudgetCarId(String budgetId);
60
+    public int deleteCmcBudgetCarByBudgetId(String budgetId);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetDeviceService.java 파일 보기

@@ -46,16 +46,16 @@ public interface ICmcBudgetDeviceService
46 46
     /**
47 47
      * 批量删除cmc设备预算
48 48
      * 
49
-     * @param budgetDeviceIds 需要删除的cmc设备预算主键集合
49
+     * @param budgetIds 需要删除的cmc设备预算主键集合
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetDeviceByBudgetDeviceIds(String[] budgetDeviceIds);
52
+    public int deleteCmcBudgetDeviceByBudgetIds(String[] budgetIds);
53 53
 
54 54
     /**
55 55
      * 删除cmc设备预算信息
56 56
      * 
57
-     * @param budgetDeviceId cmc设备预算主键
57
+     * @param budgetId cmc设备预算主键
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetDeviceByBudgetDeviceId(String budgetDeviceId);
60
+    public int deleteCmcBudgetDeviceByBudgetId(String budgetId);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetSettleService.java 파일 보기

@@ -46,16 +46,16 @@ public interface ICmcBudgetSettleService
46 46
     /**
47 47
      * 批量删除cmc预结算
48 48
      * 
49
-     * @param budgetSettleIds 需要删除的cmc预结算主键集合
49
+     * @param budgetIds 需要删除的cmc预结算主键集合
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetSettleByBudgetSettleIds(String[] budgetSettleIds);
52
+    public int deleteCmcBudgetSettleByBudgetIds(String[] budgetIds);
53 53
 
54 54
     /**
55 55
      * 删除cmc预结算信息
56 56
      * 
57
-     * @param budgetSettleId cmc预结算主键
57
+     * @param budgetId cmc预结算主键
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetSettleByBudgetSettleId(String budgetSettleId);
60
+    public int deleteCmcBudgetSettleByBudgetId(String budgetId);
61 61
 }

+ 4
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBudgetStaffService.java 파일 보기

@@ -46,16 +46,16 @@ public interface ICmcBudgetStaffService
46 46
     /**
47 47
      * 批量删除cmc人员预算
48 48
      * 
49
-     * @param budgetStaffIds 需要删除的cmc人员预算主键集合
49
+     * @param budgetIds 需要删除的cmc人员预算主键集合
50 50
      * @return 结果
51 51
      */
52
-    public int deleteCmcBudgetStaffByBudgetStaffIds(String[] budgetStaffIds);
52
+    public int deleteCmcBudgetStaffByBudgetIds(String[] budgetIds);
53 53
 
54 54
     /**
55 55
      * 删除cmc人员预算信息
56 56
      * 
57
-     * @param budgetStaffId cmc人员预算主键
57
+     * @param budgetId cmc人员预算主键
58 58
      * @return 结果
59 59
      */
60
-    public int deleteCmcBudgetStaffByBudgetStaffId(String budgetStaffId);
60
+    public int deleteCmcBudgetStaffByBudgetId(String budgetId);
61 61
 }

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcDepositService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcDeposit;
5
+
6
+/**
7
+ * cmc保证金审批Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcDepositService 
13
+{
14
+    /**
15
+     * 查询cmc保证金审批
16
+     * 
17
+     * @param depositId cmc保证金审批主键
18
+     * @return cmc保证金审批
19
+     */
20
+    public CmcDeposit selectCmcDepositByDepositId(String depositId);
21
+
22
+    /**
23
+     * 查询cmc保证金审批列表
24
+     * 
25
+     * @param cmcDeposit cmc保证金审批
26
+     * @return cmc保证金审批集合
27
+     */
28
+    public List<CmcDeposit> selectCmcDepositList(CmcDeposit cmcDeposit);
29
+
30
+    /**
31
+     * 新增cmc保证金审批
32
+     * 
33
+     * @param cmcDeposit cmc保证金审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcDeposit(CmcDeposit cmcDeposit);
37
+
38
+    /**
39
+     * 修改cmc保证金审批
40
+     * 
41
+     * @param cmcDeposit cmc保证金审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcDeposit(CmcDeposit cmcDeposit);
45
+
46
+    /**
47
+     * 批量删除cmc保证金审批
48
+     * 
49
+     * @param depositIds 需要删除的cmc保证金审批主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcDepositByDepositIds(String[] depositIds);
53
+
54
+    /**
55
+     * 删除cmc保证金审批信息
56
+     * 
57
+     * @param depositId cmc保证金审批主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcDepositByDepositId(String depositId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettle;
5
+
6
+/**
7
+ * cmc结算审批Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcSettleService 
13
+{
14
+    /**
15
+     * 查询cmc结算审批
16
+     * 
17
+     * @param settleId cmc结算审批主键
18
+     * @return cmc结算审批
19
+     */
20
+    public CmcSettle selectCmcSettleBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc结算审批列表
24
+     * 
25
+     * @param cmcSettle cmc结算审批
26
+     * @return cmc结算审批集合
27
+     */
28
+    public List<CmcSettle> selectCmcSettleList(CmcSettle cmcSettle);
29
+
30
+    /**
31
+     * 新增cmc结算审批
32
+     * 
33
+     * @param cmcSettle cmc结算审批
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettle(CmcSettle cmcSettle);
37
+
38
+    /**
39
+     * 修改cmc结算审批
40
+     * 
41
+     * @param cmcSettle cmc结算审批
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettle(CmcSettle cmcSettle);
45
+
46
+    /**
47
+     * 批量删除cmc结算审批
48
+     * 
49
+     * @param settleIds 需要删除的cmc结算审批主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleBySettleIds(String[] settleIds);
53
+
54
+    /**
55
+     * 删除cmc结算审批信息
56
+     * 
57
+     * @param settleId cmc结算审批主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleBySettleId(String settleId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleSummaryService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettleSummary;
5
+
6
+/**
7
+ * cmc结算汇总Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcSettleSummaryService 
13
+{
14
+    /**
15
+     * 查询cmc结算汇总
16
+     * 
17
+     * @param settleId cmc结算汇总主键
18
+     * @return cmc结算汇总
19
+     */
20
+    public CmcSettleSummary selectCmcSettleSummaryBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc结算汇总列表
24
+     * 
25
+     * @param cmcSettleSummary cmc结算汇总
26
+     * @return cmc结算汇总集合
27
+     */
28
+    public List<CmcSettleSummary> selectCmcSettleSummaryList(CmcSettleSummary cmcSettleSummary);
29
+
30
+    /**
31
+     * 新增cmc结算汇总
32
+     * 
33
+     * @param cmcSettleSummary cmc结算汇总
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettleSummary(CmcSettleSummary cmcSettleSummary);
37
+
38
+    /**
39
+     * 修改cmc结算汇总
40
+     * 
41
+     * @param cmcSettleSummary cmc结算汇总
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettleSummary(CmcSettleSummary cmcSettleSummary);
45
+
46
+    /**
47
+     * 批量删除cmc结算汇总
48
+     * 
49
+     * @param settleIds 需要删除的cmc结算汇总主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleSummaryBySettleIds(String[] settleIds);
53
+
54
+    /**
55
+     * 删除cmc结算汇总信息
56
+     * 
57
+     * @param settleId cmc结算汇总主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleSummaryBySettleId(String settleId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcSettleWorkService.java 파일 보기

@@ -0,0 +1,61 @@
1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcSettleWork;
5
+
6
+/**
7
+ * cmc经费计算Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-04-29
11
+ */
12
+public interface ICmcSettleWorkService 
13
+{
14
+    /**
15
+     * 查询cmc经费计算
16
+     * 
17
+     * @param settleId cmc经费计算主键
18
+     * @return cmc经费计算
19
+     */
20
+    public CmcSettleWork selectCmcSettleWorkBySettleId(String settleId);
21
+
22
+    /**
23
+     * 查询cmc经费计算列表
24
+     * 
25
+     * @param cmcSettleWork cmc经费计算
26
+     * @return cmc经费计算集合
27
+     */
28
+    public List<CmcSettleWork> selectCmcSettleWorkList(CmcSettleWork cmcSettleWork);
29
+
30
+    /**
31
+     * 新增cmc经费计算
32
+     * 
33
+     * @param cmcSettleWork cmc经费计算
34
+     * @return 结果
35
+     */
36
+    public int insertCmcSettleWork(CmcSettleWork cmcSettleWork);
37
+
38
+    /**
39
+     * 修改cmc经费计算
40
+     * 
41
+     * @param cmcSettleWork cmc经费计算
42
+     * @return 结果
43
+     */
44
+    public int updateCmcSettleWork(CmcSettleWork cmcSettleWork);
45
+
46
+    /**
47
+     * 批量删除cmc经费计算
48
+     * 
49
+     * @param settleIds 需要删除的cmc经费计算主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcSettleWorkBySettleIds(String[] settleIds);
53
+
54
+    /**
55
+     * 删除cmc经费计算信息
56
+     * 
57
+     * @param settleId cmc经费计算主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcSettleWorkBySettleId(String settleId);
61
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcArchiveServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcArchiveMapper;
7
+import com.ruoyi.oa.domain.CmcArchive;
8
+import com.ruoyi.oa.service.ICmcArchiveService;
9
+
10
+/**
11
+ * cmc成果归档Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcArchiveServiceImpl implements ICmcArchiveService 
18
+{
19
+    @Autowired
20
+    private CmcArchiveMapper cmcArchiveMapper;
21
+
22
+    /**
23
+     * 查询cmc成果归档
24
+     * 
25
+     * @param archiveId cmc成果归档主键
26
+     * @return cmc成果归档
27
+     */
28
+    @Override
29
+    public CmcArchive selectCmcArchiveByArchiveId(String archiveId)
30
+    {
31
+        return cmcArchiveMapper.selectCmcArchiveByArchiveId(archiveId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc成果归档列表
36
+     * 
37
+     * @param cmcArchive cmc成果归档
38
+     * @return cmc成果归档
39
+     */
40
+    @Override
41
+    public List<CmcArchive> selectCmcArchiveList(CmcArchive cmcArchive)
42
+    {
43
+        return cmcArchiveMapper.selectCmcArchiveList(cmcArchive);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc成果归档
48
+     * 
49
+     * @param cmcArchive cmc成果归档
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcArchive(CmcArchive cmcArchive)
54
+    {
55
+        return cmcArchiveMapper.insertCmcArchive(cmcArchive);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc成果归档
60
+     * 
61
+     * @param cmcArchive cmc成果归档
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcArchive(CmcArchive cmcArchive)
66
+    {
67
+        return cmcArchiveMapper.updateCmcArchive(cmcArchive);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc成果归档
72
+     * 
73
+     * @param archiveIds 需要删除的cmc成果归档主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcArchiveByArchiveIds(String[] archiveIds)
78
+    {
79
+        return cmcArchiveMapper.deleteCmcArchiveByArchiveIds(archiveIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc成果归档信息
84
+     * 
85
+     * @param archiveId cmc成果归档主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcArchiveByArchiveId(String archiveId)
90
+    {
91
+        return cmcArchiveMapper.deleteCmcArchiveByArchiveId(archiveId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandPaymentServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcBrandPaymentMapper;
7
+import com.ruoyi.oa.domain.CmcBrandPayment;
8
+import com.ruoyi.oa.service.ICmcBrandPaymentService;
9
+
10
+/**
11
+ * cmc品牌项目支付记录Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcBrandPaymentServiceImpl implements ICmcBrandPaymentService 
18
+{
19
+    @Autowired
20
+    private CmcBrandPaymentMapper cmcBrandPaymentMapper;
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付记录
24
+     * 
25
+     * @param brandId cmc品牌项目支付记录主键
26
+     * @return cmc品牌项目支付记录
27
+     */
28
+    @Override
29
+    public List<CmcBrandPayment> selectCmcBrandPaymentByBrandId(String brandId)
30
+    {
31
+        return cmcBrandPaymentMapper.selectCmcBrandPaymentByBrandId(brandId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc品牌项目支付记录列表
36
+     * 
37
+     * @param cmcBrandPayment cmc品牌项目支付记录
38
+     * @return cmc品牌项目支付记录
39
+     */
40
+    @Override
41
+    public List<CmcBrandPayment> selectCmcBrandPaymentList(CmcBrandPayment cmcBrandPayment)
42
+    {
43
+        return cmcBrandPaymentMapper.selectCmcBrandPaymentList(cmcBrandPayment);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc品牌项目支付记录
48
+     * 
49
+     * @param cmcBrandPayment cmc品牌项目支付记录
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcBrandPayment(CmcBrandPayment cmcBrandPayment)
54
+    {
55
+        return cmcBrandPaymentMapper.insertCmcBrandPayment(cmcBrandPayment);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc品牌项目支付记录
60
+     * 
61
+     * @param cmcBrandPayment cmc品牌项目支付记录
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcBrandPayment(CmcBrandPayment cmcBrandPayment)
66
+    {
67
+        return cmcBrandPaymentMapper.updateCmcBrandPayment(cmcBrandPayment);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc品牌项目支付记录
72
+     * 
73
+     * @param brandIds 需要删除的cmc品牌项目支付记录主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcBrandPaymentByBrandIds(String[] brandIds)
78
+    {
79
+        return cmcBrandPaymentMapper.deleteCmcBrandPaymentByBrandIds(brandIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc品牌项目支付记录信息
84
+     * 
85
+     * @param brandId cmc品牌项目支付记录主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcBrandPaymentByBrandId(String brandId)
90
+    {
91
+        return cmcBrandPaymentMapper.deleteCmcBrandPaymentByBrandId(brandId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandProjectServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcBrandProjectMapper;
7
+import com.ruoyi.oa.domain.CmcBrandProject;
8
+import com.ruoyi.oa.service.ICmcBrandProjectService;
9
+
10
+/**
11
+ * cmc品牌项目Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcBrandProjectServiceImpl implements ICmcBrandProjectService 
18
+{
19
+    @Autowired
20
+    private CmcBrandProjectMapper cmcBrandProjectMapper;
21
+
22
+    /**
23
+     * 查询cmc品牌项目
24
+     * 
25
+     * @param projectId cmc品牌项目主键
26
+     * @return cmc品牌项目
27
+     */
28
+    @Override
29
+    public CmcBrandProject selectCmcBrandProjectByProjectId(String projectId)
30
+    {
31
+        return cmcBrandProjectMapper.selectCmcBrandProjectByProjectId(projectId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc品牌项目列表
36
+     * 
37
+     * @param cmcBrandProject cmc品牌项目
38
+     * @return cmc品牌项目
39
+     */
40
+    @Override
41
+    public List<CmcBrandProject> selectCmcBrandProjectList(CmcBrandProject cmcBrandProject)
42
+    {
43
+        return cmcBrandProjectMapper.selectCmcBrandProjectList(cmcBrandProject);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc品牌项目
48
+     * 
49
+     * @param cmcBrandProject cmc品牌项目
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcBrandProject(CmcBrandProject cmcBrandProject)
54
+    {
55
+        return cmcBrandProjectMapper.insertCmcBrandProject(cmcBrandProject);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc品牌项目
60
+     * 
61
+     * @param cmcBrandProject cmc品牌项目
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcBrandProject(CmcBrandProject cmcBrandProject)
66
+    {
67
+        return cmcBrandProjectMapper.updateCmcBrandProject(cmcBrandProject);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc品牌项目
72
+     * 
73
+     * @param projectIds 需要删除的cmc品牌项目主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcBrandProjectByProjectIds(String[] projectIds)
78
+    {
79
+        return cmcBrandProjectMapper.deleteCmcBrandProjectByProjectIds(projectIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc品牌项目信息
84
+     * 
85
+     * @param projectId cmc品牌项目主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcBrandProjectByProjectId(String projectId)
90
+    {
91
+        return cmcBrandProjectMapper.deleteCmcBrandProjectByProjectId(projectId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcBrandMapper;
7
+import com.ruoyi.oa.domain.CmcBrand;
8
+import com.ruoyi.oa.service.ICmcBrandService;
9
+
10
+/**
11
+ * cmc品牌项目支付审批Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcBrandServiceImpl implements ICmcBrandService 
18
+{
19
+    @Autowired
20
+    private CmcBrandMapper cmcBrandMapper;
21
+
22
+    /**
23
+     * 查询cmc品牌项目支付审批
24
+     * 
25
+     * @param brandId cmc品牌项目支付审批主键
26
+     * @return cmc品牌项目支付审批
27
+     */
28
+    @Override
29
+    public CmcBrand selectCmcBrandByBrandId(String brandId)
30
+    {
31
+        return cmcBrandMapper.selectCmcBrandByBrandId(brandId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc品牌项目支付审批列表
36
+     * 
37
+     * @param cmcBrand cmc品牌项目支付审批
38
+     * @return cmc品牌项目支付审批
39
+     */
40
+    @Override
41
+    public List<CmcBrand> selectCmcBrandList(CmcBrand cmcBrand)
42
+    {
43
+        return cmcBrandMapper.selectCmcBrandList(cmcBrand);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc品牌项目支付审批
48
+     * 
49
+     * @param cmcBrand cmc品牌项目支付审批
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcBrand(CmcBrand cmcBrand)
54
+    {
55
+        return cmcBrandMapper.insertCmcBrand(cmcBrand);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc品牌项目支付审批
60
+     * 
61
+     * @param cmcBrand cmc品牌项目支付审批
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcBrand(CmcBrand cmcBrand)
66
+    {
67
+        return cmcBrandMapper.updateCmcBrand(cmcBrand);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc品牌项目支付审批
72
+     * 
73
+     * @param brandIds 需要删除的cmc品牌项目支付审批主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcBrandByBrandIds(String[] brandIds)
78
+    {
79
+        return cmcBrandMapper.deleteCmcBrandByBrandIds(brandIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc品牌项目支付审批信息
84
+     * 
85
+     * @param brandId cmc品牌项目支付审批主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcBrandByBrandId(String brandId)
90
+    {
91
+        return cmcBrandMapper.deleteCmcBrandByBrandId(brandId);
92
+    }
93
+}

+ 6
- 6
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetCarServiceImpl.java 파일 보기

@@ -70,24 +70,24 @@ public class CmcBudgetCarServiceImpl implements ICmcBudgetCarService
70 70
     /**
71 71
      * 批量删除cmc车辆预算
72 72
      * 
73
-     * @param budgetCarIds 需要删除的cmc车辆预算主键
73
+     * @param budgetIds 需要删除的cmc车辆预算主键
74 74
      * @return 结果
75 75
      */
76 76
     @Override
77
-    public int deleteCmcBudgetCarByBudgetCarIds(String[] budgetCarIds)
77
+    public int deleteCmcBudgetCarByBudgetIds(String[] budgetIds)
78 78
     {
79
-        return cmcBudgetCarMapper.deleteCmcBudgetCarByBudgetCarIds(budgetCarIds);
79
+        return cmcBudgetCarMapper.deleteCmcBudgetCarByBudgetIds(budgetIds);
80 80
     }
81 81
 
82 82
     /**
83 83
      * 删除cmc车辆预算信息
84 84
      * 
85
-     * @param budgetCarId cmc车辆预算主键
85
+     * @param budgetId cmc车辆预算主键
86 86
      * @return 结果
87 87
      */
88 88
     @Override
89
-    public int deleteCmcBudgetCarByBudgetCarId(String budgetCarId)
89
+    public int deleteCmcBudgetCarByBudgetId(String budgetId)
90 90
     {
91
-        return cmcBudgetCarMapper.deleteCmcBudgetCarByBudgetCarId(budgetCarId);
91
+        return cmcBudgetCarMapper.deleteCmcBudgetCarByBudgetId(budgetId);
92 92
     }
93 93
 }

+ 6
- 6
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetDeviceServiceImpl.java 파일 보기

@@ -70,24 +70,24 @@ public class CmcBudgetDeviceServiceImpl implements ICmcBudgetDeviceService
70 70
     /**
71 71
      * 批量删除cmc设备预算
72 72
      * 
73
-     * @param budgetDeviceIds 需要删除的cmc设备预算主键
73
+     * @param budgetIds 需要删除的cmc设备预算主键
74 74
      * @return 结果
75 75
      */
76 76
     @Override
77
-    public int deleteCmcBudgetDeviceByBudgetDeviceIds(String[] budgetDeviceIds)
77
+    public int deleteCmcBudgetDeviceByBudgetIds(String[] budgetIds)
78 78
     {
79
-        return cmcBudgetDeviceMapper.deleteCmcBudgetDeviceByBudgetDeviceIds(budgetDeviceIds);
79
+        return cmcBudgetDeviceMapper.deleteCmcBudgetDeviceByBudgetIds(budgetIds);
80 80
     }
81 81
 
82 82
     /**
83 83
      * 删除cmc设备预算信息
84 84
      * 
85
-     * @param budgetDeviceId cmc设备预算主键
85
+     * @param budgetId cmc设备预算主键
86 86
      * @return 结果
87 87
      */
88 88
     @Override
89
-    public int deleteCmcBudgetDeviceByBudgetDeviceId(String budgetDeviceId)
89
+    public int deleteCmcBudgetDeviceByBudgetId(String budgetId)
90 90
     {
91
-        return cmcBudgetDeviceMapper.deleteCmcBudgetDeviceByBudgetDeviceId(budgetDeviceId);
91
+        return cmcBudgetDeviceMapper.deleteCmcBudgetDeviceByBudgetId(budgetId);
92 92
     }
93 93
 }

+ 6
- 6
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetSettleServiceImpl.java 파일 보기

@@ -70,24 +70,24 @@ public class CmcBudgetSettleServiceImpl implements ICmcBudgetSettleService
70 70
     /**
71 71
      * 批量删除cmc预结算
72 72
      * 
73
-     * @param budgetSettleIds 需要删除的cmc预结算主键
73
+     * @param budgetIds 需要删除的cmc预结算主键
74 74
      * @return 结果
75 75
      */
76 76
     @Override
77
-    public int deleteCmcBudgetSettleByBudgetSettleIds(String[] budgetSettleIds)
77
+    public int deleteCmcBudgetSettleByBudgetIds(String[] budgetIds)
78 78
     {
79
-        return cmcBudgetSettleMapper.deleteCmcBudgetSettleByBudgetSettleIds(budgetSettleIds);
79
+        return cmcBudgetSettleMapper.deleteCmcBudgetSettleByBudgetIds(budgetIds);
80 80
     }
81 81
 
82 82
     /**
83 83
      * 删除cmc预结算信息
84 84
      * 
85
-     * @param budgetSettleId cmc预结算主键
85
+     * @param budgetId cmc预结算主键
86 86
      * @return 结果
87 87
      */
88 88
     @Override
89
-    public int deleteCmcBudgetSettleByBudgetSettleId(String budgetSettleId)
89
+    public int deleteCmcBudgetSettleByBudgetId(String budgetId)
90 90
     {
91
-        return cmcBudgetSettleMapper.deleteCmcBudgetSettleByBudgetSettleId(budgetSettleId);
91
+        return cmcBudgetSettleMapper.deleteCmcBudgetSettleByBudgetId(budgetId);
92 92
     }
93 93
 }

+ 6
- 6
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBudgetStaffServiceImpl.java 파일 보기

@@ -70,24 +70,24 @@ public class CmcBudgetStaffServiceImpl implements ICmcBudgetStaffService
70 70
     /**
71 71
      * 批量删除cmc人员预算
72 72
      * 
73
-     * @param budgetStaffIds 需要删除的cmc人员预算主键
73
+     * @param budgetIds 需要删除的cmc人员预算主键
74 74
      * @return 结果
75 75
      */
76 76
     @Override
77
-    public int deleteCmcBudgetStaffByBudgetStaffIds(String[] budgetStaffIds)
77
+    public int deleteCmcBudgetStaffByBudgetIds(String[] budgetIds)
78 78
     {
79
-        return cmcBudgetStaffMapper.deleteCmcBudgetStaffByBudgetStaffIds(budgetStaffIds);
79
+        return cmcBudgetStaffMapper.deleteCmcBudgetStaffByBudgetIds(budgetIds);
80 80
     }
81 81
 
82 82
     /**
83 83
      * 删除cmc人员预算信息
84 84
      * 
85
-     * @param budgetStaffId cmc人员预算主键
85
+     * @param budgetId cmc人员预算主键
86 86
      * @return 结果
87 87
      */
88 88
     @Override
89
-    public int deleteCmcBudgetStaffByBudgetStaffId(String budgetStaffId)
89
+    public int deleteCmcBudgetStaffByBudgetId(String budgetId)
90 90
     {
91
-        return cmcBudgetStaffMapper.deleteCmcBudgetStaffByBudgetStaffId(budgetStaffId);
91
+        return cmcBudgetStaffMapper.deleteCmcBudgetStaffByBudgetId(budgetId);
92 92
     }
93 93
 }

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcDepositServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcDepositMapper;
7
+import com.ruoyi.oa.domain.CmcDeposit;
8
+import com.ruoyi.oa.service.ICmcDepositService;
9
+
10
+/**
11
+ * cmc保证金审批Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcDepositServiceImpl implements ICmcDepositService 
18
+{
19
+    @Autowired
20
+    private CmcDepositMapper cmcDepositMapper;
21
+
22
+    /**
23
+     * 查询cmc保证金审批
24
+     * 
25
+     * @param depositId cmc保证金审批主键
26
+     * @return cmc保证金审批
27
+     */
28
+    @Override
29
+    public CmcDeposit selectCmcDepositByDepositId(String depositId)
30
+    {
31
+        return cmcDepositMapper.selectCmcDepositByDepositId(depositId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc保证金审批列表
36
+     * 
37
+     * @param cmcDeposit cmc保证金审批
38
+     * @return cmc保证金审批
39
+     */
40
+    @Override
41
+    public List<CmcDeposit> selectCmcDepositList(CmcDeposit cmcDeposit)
42
+    {
43
+        return cmcDepositMapper.selectCmcDepositList(cmcDeposit);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc保证金审批
48
+     * 
49
+     * @param cmcDeposit cmc保证金审批
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcDeposit(CmcDeposit cmcDeposit)
54
+    {
55
+        return cmcDepositMapper.insertCmcDeposit(cmcDeposit);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc保证金审批
60
+     * 
61
+     * @param cmcDeposit cmc保证金审批
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcDeposit(CmcDeposit cmcDeposit)
66
+    {
67
+        return cmcDepositMapper.updateCmcDeposit(cmcDeposit);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc保证金审批
72
+     * 
73
+     * @param depositIds 需要删除的cmc保证金审批主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcDepositByDepositIds(String[] depositIds)
78
+    {
79
+        return cmcDepositMapper.deleteCmcDepositByDepositIds(depositIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc保证金审批信息
84
+     * 
85
+     * @param depositId cmc保证金审批主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcDepositByDepositId(String depositId)
90
+    {
91
+        return cmcDepositMapper.deleteCmcDepositByDepositId(depositId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcSettleMapper;
7
+import com.ruoyi.oa.domain.CmcSettle;
8
+import com.ruoyi.oa.service.ICmcSettleService;
9
+
10
+/**
11
+ * cmc结算审批Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcSettleServiceImpl implements ICmcSettleService 
18
+{
19
+    @Autowired
20
+    private CmcSettleMapper cmcSettleMapper;
21
+
22
+    /**
23
+     * 查询cmc结算审批
24
+     * 
25
+     * @param settleId cmc结算审批主键
26
+     * @return cmc结算审批
27
+     */
28
+    @Override
29
+    public CmcSettle selectCmcSettleBySettleId(String settleId)
30
+    {
31
+        return cmcSettleMapper.selectCmcSettleBySettleId(settleId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc结算审批列表
36
+     * 
37
+     * @param cmcSettle cmc结算审批
38
+     * @return cmc结算审批
39
+     */
40
+    @Override
41
+    public List<CmcSettle> selectCmcSettleList(CmcSettle cmcSettle)
42
+    {
43
+        return cmcSettleMapper.selectCmcSettleList(cmcSettle);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc结算审批
48
+     * 
49
+     * @param cmcSettle cmc结算审批
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcSettle(CmcSettle cmcSettle)
54
+    {
55
+        return cmcSettleMapper.insertCmcSettle(cmcSettle);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc结算审批
60
+     * 
61
+     * @param cmcSettle cmc结算审批
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcSettle(CmcSettle cmcSettle)
66
+    {
67
+        return cmcSettleMapper.updateCmcSettle(cmcSettle);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc结算审批
72
+     * 
73
+     * @param settleIds 需要删除的cmc结算审批主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcSettleBySettleIds(String[] settleIds)
78
+    {
79
+        return cmcSettleMapper.deleteCmcSettleBySettleIds(settleIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc结算审批信息
84
+     * 
85
+     * @param settleId cmc结算审批主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcSettleBySettleId(String settleId)
90
+    {
91
+        return cmcSettleMapper.deleteCmcSettleBySettleId(settleId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleSummaryServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcSettleSummaryMapper;
7
+import com.ruoyi.oa.domain.CmcSettleSummary;
8
+import com.ruoyi.oa.service.ICmcSettleSummaryService;
9
+
10
+/**
11
+ * cmc结算汇总Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcSettleSummaryServiceImpl implements ICmcSettleSummaryService 
18
+{
19
+    @Autowired
20
+    private CmcSettleSummaryMapper cmcSettleSummaryMapper;
21
+
22
+    /**
23
+     * 查询cmc结算汇总
24
+     * 
25
+     * @param settleId cmc结算汇总主键
26
+     * @return cmc结算汇总
27
+     */
28
+    @Override
29
+    public CmcSettleSummary selectCmcSettleSummaryBySettleId(String settleId)
30
+    {
31
+        return cmcSettleSummaryMapper.selectCmcSettleSummaryBySettleId(settleId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc结算汇总列表
36
+     * 
37
+     * @param cmcSettleSummary cmc结算汇总
38
+     * @return cmc结算汇总
39
+     */
40
+    @Override
41
+    public List<CmcSettleSummary> selectCmcSettleSummaryList(CmcSettleSummary cmcSettleSummary)
42
+    {
43
+        return cmcSettleSummaryMapper.selectCmcSettleSummaryList(cmcSettleSummary);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc结算汇总
48
+     * 
49
+     * @param cmcSettleSummary cmc结算汇总
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcSettleSummary(CmcSettleSummary cmcSettleSummary)
54
+    {
55
+        return cmcSettleSummaryMapper.insertCmcSettleSummary(cmcSettleSummary);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc结算汇总
60
+     * 
61
+     * @param cmcSettleSummary cmc结算汇总
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcSettleSummary(CmcSettleSummary cmcSettleSummary)
66
+    {
67
+        return cmcSettleSummaryMapper.updateCmcSettleSummary(cmcSettleSummary);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc结算汇总
72
+     * 
73
+     * @param settleIds 需要删除的cmc结算汇总主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcSettleSummaryBySettleIds(String[] settleIds)
78
+    {
79
+        return cmcSettleSummaryMapper.deleteCmcSettleSummaryBySettleIds(settleIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc结算汇总信息
84
+     * 
85
+     * @param settleId cmc结算汇总主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcSettleSummaryBySettleId(String settleId)
90
+    {
91
+        return cmcSettleSummaryMapper.deleteCmcSettleSummaryBySettleId(settleId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcSettleWorkServiceImpl.java 파일 보기

@@ -0,0 +1,93 @@
1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcSettleWorkMapper;
7
+import com.ruoyi.oa.domain.CmcSettleWork;
8
+import com.ruoyi.oa.service.ICmcSettleWorkService;
9
+
10
+/**
11
+ * cmc经费计算Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-04-29
15
+ */
16
+@Service
17
+public class CmcSettleWorkServiceImpl implements ICmcSettleWorkService 
18
+{
19
+    @Autowired
20
+    private CmcSettleWorkMapper cmcSettleWorkMapper;
21
+
22
+    /**
23
+     * 查询cmc经费计算
24
+     * 
25
+     * @param settleId cmc经费计算主键
26
+     * @return cmc经费计算
27
+     */
28
+    @Override
29
+    public CmcSettleWork selectCmcSettleWorkBySettleId(String settleId)
30
+    {
31
+        return cmcSettleWorkMapper.selectCmcSettleWorkBySettleId(settleId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc经费计算列表
36
+     * 
37
+     * @param cmcSettleWork cmc经费计算
38
+     * @return cmc经费计算
39
+     */
40
+    @Override
41
+    public List<CmcSettleWork> selectCmcSettleWorkList(CmcSettleWork cmcSettleWork)
42
+    {
43
+        return cmcSettleWorkMapper.selectCmcSettleWorkList(cmcSettleWork);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc经费计算
48
+     * 
49
+     * @param cmcSettleWork cmc经费计算
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcSettleWork(CmcSettleWork cmcSettleWork)
54
+    {
55
+        return cmcSettleWorkMapper.insertCmcSettleWork(cmcSettleWork);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc经费计算
60
+     * 
61
+     * @param cmcSettleWork cmc经费计算
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcSettleWork(CmcSettleWork cmcSettleWork)
66
+    {
67
+        return cmcSettleWorkMapper.updateCmcSettleWork(cmcSettleWork);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc经费计算
72
+     * 
73
+     * @param settleIds 需要删除的cmc经费计算主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcSettleWorkBySettleIds(String[] settleIds)
78
+    {
79
+        return cmcSettleWorkMapper.deleteCmcSettleWorkBySettleIds(settleIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc经费计算信息
84
+     * 
85
+     * @param settleId cmc经费计算主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcSettleWorkBySettleId(String settleId)
90
+    {
91
+        return cmcSettleWorkMapper.deleteCmcSettleWorkBySettleId(settleId);
92
+    }
93
+}

+ 143
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcArchiveMapper.xml 파일 보기

@@ -0,0 +1,143 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcArchiveMapper">
6
+    
7
+    <resultMap type="CmcArchive" id="CmcArchiveResult">
8
+        <result property="archiveId"    column="archive_id"    />
9
+        <result property="projectId"    column="project_id"    />
10
+        <result property="submitTime"    column="submit_time"    />
11
+        <result property="submitSituation"    column="submit_situation"    />
12
+        <result property="locationLng"    column="location_lng"    />
13
+        <result property="locationLat"    column="location_lat"    />
14
+        <result property="produceInspector"    column="produce_inspector"    />
15
+        <result property="qualityInspector"    column="quality_inspector"    />
16
+        <result property="deptLeader"    column="dept_leader"    />
17
+        <result property="archiver"    column="archiver"    />
18
+        <result property="receiveTime"    column="receive_time"    />
19
+        <result property="qualityTime"    column="quality_time"    />
20
+        <result property="produceTime"    column="produce_time"    />
21
+        <result property="deptTime"    column="dept_time"    />
22
+        <result property="archiveTime"    column="archive_time"    />
23
+        <result property="produceComment"    column="produce_comment"    />
24
+        <result property="qualityComment"    column="quality_comment"    />
25
+        <result property="deptComment"    column="dept_comment"    />
26
+        <result property="archiveComment"    column="archive_comment"    />
27
+    </resultMap>
28
+
29
+    <sql id="selectCmcArchiveVo">
30
+        select archive_id, project_id, submit_time, submit_situation, location_lng, location_lat, produce_inspector, quality_inspector, dept_leader, archiver, receive_time, quality_time, produce_time, dept_time, archive_time, produce_comment, quality_comment, dept_comment, archive_comment from cmc_archive
31
+    </sql>
32
+
33
+    <select id="selectCmcArchiveList" parameterType="CmcArchive" resultMap="CmcArchiveResult">
34
+        <include refid="selectCmcArchiveVo"/>
35
+        <where>  
36
+            <if test="projectId != null  and projectId != ''"> and project_id = #{projectId}</if>
37
+            <if test="submitTime != null "> and submit_time = #{submitTime}</if>
38
+            <if test="submitSituation != null  and submitSituation != ''"> and submit_situation = #{submitSituation}</if>
39
+            <if test="locationLng != null  and locationLng != ''"> and location_lng = #{locationLng}</if>
40
+            <if test="locationLat != null  and locationLat != ''"> and location_lat = #{locationLat}</if>
41
+            <if test="produceInspector != null "> and produce_inspector = #{produceInspector}</if>
42
+            <if test="qualityInspector != null "> and quality_inspector = #{qualityInspector}</if>
43
+            <if test="deptLeader != null "> and dept_leader = #{deptLeader}</if>
44
+            <if test="archiver != null "> and archiver = #{archiver}</if>
45
+            <if test="receiveTime != null "> and receive_time = #{receiveTime}</if>
46
+            <if test="qualityTime != null "> and quality_time = #{qualityTime}</if>
47
+            <if test="produceTime != null "> and produce_time = #{produceTime}</if>
48
+            <if test="deptTime != null "> and dept_time = #{deptTime}</if>
49
+            <if test="archiveTime != null "> and archive_time = #{archiveTime}</if>
50
+            <if test="produceComment != null  and produceComment != ''"> and produce_comment = #{produceComment}</if>
51
+            <if test="qualityComment != null  and qualityComment != ''"> and quality_comment = #{qualityComment}</if>
52
+            <if test="deptComment != null  and deptComment != ''"> and dept_comment = #{deptComment}</if>
53
+            <if test="archiveComment != null  and archiveComment != ''"> and archive_comment = #{archiveComment}</if>
54
+        </where>
55
+    </select>
56
+    
57
+    <select id="selectCmcArchiveByArchiveId" parameterType="String" resultMap="CmcArchiveResult">
58
+        <include refid="selectCmcArchiveVo"/>
59
+        where archive_id = #{archiveId}
60
+    </select>
61
+        
62
+    <insert id="insertCmcArchive" parameterType="CmcArchive">
63
+        insert into cmc_archive
64
+        <trim prefix="(" suffix=")" suffixOverrides=",">
65
+            <if test="archiveId != null">archive_id,</if>
66
+            <if test="projectId != null">project_id,</if>
67
+            <if test="submitTime != null">submit_time,</if>
68
+            <if test="submitSituation != null">submit_situation,</if>
69
+            <if test="locationLng != null">location_lng,</if>
70
+            <if test="locationLat != null">location_lat,</if>
71
+            <if test="produceInspector != null">produce_inspector,</if>
72
+            <if test="qualityInspector != null">quality_inspector,</if>
73
+            <if test="deptLeader != null">dept_leader,</if>
74
+            <if test="archiver != null">archiver,</if>
75
+            <if test="receiveTime != null">receive_time,</if>
76
+            <if test="qualityTime != null">quality_time,</if>
77
+            <if test="produceTime != null">produce_time,</if>
78
+            <if test="deptTime != null">dept_time,</if>
79
+            <if test="archiveTime != null">archive_time,</if>
80
+            <if test="produceComment != null">produce_comment,</if>
81
+            <if test="qualityComment != null">quality_comment,</if>
82
+            <if test="deptComment != null">dept_comment,</if>
83
+            <if test="archiveComment != null">archive_comment,</if>
84
+         </trim>
85
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
86
+            <if test="archiveId != null">#{archiveId},</if>
87
+            <if test="projectId != null">#{projectId},</if>
88
+            <if test="submitTime != null">#{submitTime},</if>
89
+            <if test="submitSituation != null">#{submitSituation},</if>
90
+            <if test="locationLng != null">#{locationLng},</if>
91
+            <if test="locationLat != null">#{locationLat},</if>
92
+            <if test="produceInspector != null">#{produceInspector},</if>
93
+            <if test="qualityInspector != null">#{qualityInspector},</if>
94
+            <if test="deptLeader != null">#{deptLeader},</if>
95
+            <if test="archiver != null">#{archiver},</if>
96
+            <if test="receiveTime != null">#{receiveTime},</if>
97
+            <if test="qualityTime != null">#{qualityTime},</if>
98
+            <if test="produceTime != null">#{produceTime},</if>
99
+            <if test="deptTime != null">#{deptTime},</if>
100
+            <if test="archiveTime != null">#{archiveTime},</if>
101
+            <if test="produceComment != null">#{produceComment},</if>
102
+            <if test="qualityComment != null">#{qualityComment},</if>
103
+            <if test="deptComment != null">#{deptComment},</if>
104
+            <if test="archiveComment != null">#{archiveComment},</if>
105
+         </trim>
106
+    </insert>
107
+
108
+    <update id="updateCmcArchive" parameterType="CmcArchive">
109
+        update cmc_archive
110
+        <trim prefix="SET" suffixOverrides=",">
111
+            <if test="projectId != null">project_id = #{projectId},</if>
112
+            <if test="submitTime != null">submit_time = #{submitTime},</if>
113
+            <if test="submitSituation != null">submit_situation = #{submitSituation},</if>
114
+            <if test="locationLng != null">location_lng = #{locationLng},</if>
115
+            <if test="locationLat != null">location_lat = #{locationLat},</if>
116
+            <if test="produceInspector != null">produce_inspector = #{produceInspector},</if>
117
+            <if test="qualityInspector != null">quality_inspector = #{qualityInspector},</if>
118
+            <if test="deptLeader != null">dept_leader = #{deptLeader},</if>
119
+            <if test="archiver != null">archiver = #{archiver},</if>
120
+            <if test="receiveTime != null">receive_time = #{receiveTime},</if>
121
+            <if test="qualityTime != null">quality_time = #{qualityTime},</if>
122
+            <if test="produceTime != null">produce_time = #{produceTime},</if>
123
+            <if test="deptTime != null">dept_time = #{deptTime},</if>
124
+            <if test="archiveTime != null">archive_time = #{archiveTime},</if>
125
+            <if test="produceComment != null">produce_comment = #{produceComment},</if>
126
+            <if test="qualityComment != null">quality_comment = #{qualityComment},</if>
127
+            <if test="deptComment != null">dept_comment = #{deptComment},</if>
128
+            <if test="archiveComment != null">archive_comment = #{archiveComment},</if>
129
+        </trim>
130
+        where archive_id = #{archiveId}
131
+    </update>
132
+
133
+    <delete id="deleteCmcArchiveByArchiveId" parameterType="String">
134
+        delete from cmc_archive where archive_id = #{archiveId}
135
+    </delete>
136
+
137
+    <delete id="deleteCmcArchiveByArchiveIds" parameterType="String">
138
+        delete from cmc_archive where archive_id in 
139
+        <foreach item="archiveId" collection="array" open="(" separator="," close=")">
140
+            #{archiveId}
141
+        </foreach>
142
+    </delete>
143
+</mapper>

+ 97
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandMapper.xml 파일 보기

@@ -0,0 +1,97 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcBrandMapper">
6
+    
7
+    <resultMap type="CmcBrand" id="CmcBrandResult">
8
+        <result property="brandId"    column="brand_id"    />
9
+        <result property="projectId"    column="project_id"    />
10
+        <result property="applyReason"    column="apply_reason"    />
11
+        <result property="approvalDocument"    column="approval_document"    />
12
+        <result property="applier"    column="applier"    />
13
+        <result property="applyTime"    column="apply_time"    />
14
+        <result property="cwUserId"    column="cw_user_id"    />
15
+        <association property="applierUser"    javaType="SysUser"         resultMap="ApplierUserResult" />
16
+        <association property="cwUser"    javaType="SysUser"         resultMap="CwUserResult" />
17
+    </resultMap>
18
+
19
+    <resultMap type="SysUser" id="ApplierUserResult">
20
+        <result property="userId"    column="user_id"    />
21
+        <result property="nickName"    column="applier_nick_name"    />
22
+    </resultMap>
23
+
24
+    <resultMap type="SysUser" id="CwUserResult">
25
+        <result property="userId"    column="user_id"    />
26
+        <result property="nickName"    column="cw_nick_name"    />
27
+    </resultMap>
28
+
29
+    <sql id="selectCmcBrandVo">
30
+        select b.brand_id, b.project_id, b.apply_reason, b.approval_document, b.applier, u.nick_name as applier_nick_name, b.apply_time, b.cw_user_id, u1.nick_name as cw_nick_name from cmc_brand as b
31
+        left join sys_user as u on u.user_id = b.applier
32
+        left join sys_user as u1 on u1.user_id = b.cw_user_id
33
+    </sql>
34
+
35
+    <select id="selectCmcBrandList" parameterType="CmcBrand" resultMap="CmcBrandResult">
36
+        <include refid="selectCmcBrandVo"/>
37
+        <where>  
38
+            <if test="projectId != null  and projectId != ''"> and b.project_id = #{projectId}</if>
39
+            <if test="applyReason != null  and applyReason != ''"> and b.apply_reason = #{applyReason}</if>
40
+            <if test="approvalDocument != null  and approvalDocument != ''"> and b.approval_document = #{approvalDocument}</if>
41
+            <if test="applier != null "> and b.applier = #{applier}</if>
42
+            <if test="applyTime != null "> and b.apply_time = #{applyTime}</if>
43
+            <if test="cwUserId != null "> and b.cw_user_id = #{cwUserId}</if>
44
+        </where>
45
+    </select>
46
+    
47
+    <select id="selectCmcBrandByBrandId" parameterType="String" resultMap="CmcBrandResult">
48
+        <include refid="selectCmcBrandVo"/>
49
+        where b.brand_id = #{brandId}
50
+    </select>
51
+        
52
+    <insert id="insertCmcBrand" parameterType="CmcBrand">
53
+        insert into cmc_brand
54
+        <trim prefix="(" suffix=")" suffixOverrides=",">
55
+            <if test="brandId != null">brand_id,</if>
56
+            <if test="projectId != null">project_id,</if>
57
+            <if test="applyReason != null">apply_reason,</if>
58
+            <if test="approvalDocument != null">approval_document,</if>
59
+            <if test="applier != null">applier,</if>
60
+            <if test="applyTime != null">apply_time,</if>
61
+            <if test="cwUserId != null">cw_user_id,</if>
62
+         </trim>
63
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
64
+            <if test="brandId != null">#{brandId},</if>
65
+            <if test="projectId != null">#{projectId},</if>
66
+            <if test="applyReason != null">#{applyReason},</if>
67
+            <if test="approvalDocument != null">#{approvalDocument},</if>
68
+            <if test="applier != null">#{applier},</if>
69
+            <if test="applyTime != null">#{applyTime},</if>
70
+            <if test="cwUserId != null">#{cwUserId},</if>
71
+         </trim>
72
+    </insert>
73
+
74
+    <update id="updateCmcBrand" parameterType="CmcBrand">
75
+        update cmc_brand
76
+        <trim prefix="SET" suffixOverrides=",">
77
+            <if test="projectId != null">project_id = #{projectId},</if>
78
+            <if test="applyReason != null">apply_reason = #{applyReason},</if>
79
+            <if test="approvalDocument != null">approval_document = #{approvalDocument},</if>
80
+            <if test="applier != null">applier = #{applier},</if>
81
+            <if test="applyTime != null">apply_time = #{applyTime},</if>
82
+            <if test="cwUserId != null">cw_user_id = #{cwUserId},</if>
83
+        </trim>
84
+        where brand_id = #{brandId}
85
+    </update>
86
+
87
+    <delete id="deleteCmcBrandByBrandId" parameterType="String">
88
+        delete from cmc_brand where brand_id = #{brandId}
89
+    </delete>
90
+
91
+    <delete id="deleteCmcBrandByBrandIds" parameterType="String">
92
+        delete from cmc_brand where brand_id in 
93
+        <foreach item="brandId" collection="array" open="(" separator="," close=")">
94
+            #{brandId}
95
+        </foreach>
96
+    </delete>
97
+</mapper>

+ 68
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandPaymentMapper.xml 파일 보기

@@ -0,0 +1,68 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcBrandPaymentMapper">
6
+    
7
+    <resultMap type="CmcBrandPayment" id="CmcBrandPaymentResult">
8
+        <result property="brandPaymentId"    column="brand_payment_id"    />
9
+        <result property="brandId"    column="brand_id"    />
10
+        <result property="paymentTime"    column="payment_time"    />
11
+        <result property="cwComment"    column="cw_comment"    />
12
+    </resultMap>
13
+
14
+    <sql id="selectCmcBrandPaymentVo">
15
+        select brand_payment_id, brand_id, payment_time, cw_comment from cmc_brand_payment
16
+    </sql>
17
+
18
+    <select id="selectCmcBrandPaymentList" parameterType="CmcBrandPayment" resultMap="CmcBrandPaymentResult">
19
+        <include refid="selectCmcBrandPaymentVo"/>
20
+        <where>  
21
+            <if test="brandId != null  and brandId != ''"> and brand_id = #{brandId}</if>
22
+            <if test="paymentTime != null "> and payment_time = #{paymentTime}</if>
23
+            <if test="cwComment != null  and cwComment != ''"> and cw_comment = #{cwComment}</if>
24
+        </where>
25
+    </select>
26
+    
27
+    <select id="selectCmcBrandPaymentByBrandId" parameterType="String" resultMap="CmcBrandPaymentResult">
28
+        <include refid="selectCmcBrandPaymentVo"/>
29
+        where brand_id = #{brandId}
30
+    </select>
31
+        
32
+    <insert id="insertCmcBrandPayment" parameterType="CmcBrandPayment">
33
+        insert into cmc_brand_payment
34
+        <trim prefix="(" suffix=")" suffixOverrides=",">
35
+            <if test="brandPaymentId != null">brand_payment_id,</if>
36
+            <if test="brandId != null">brand_id,</if>
37
+            <if test="paymentTime != null">payment_time,</if>
38
+            <if test="cwComment != null">cw_comment,</if>
39
+         </trim>
40
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
41
+            <if test="brandPaymentId != null">#{brandPaymentId},</if>
42
+            <if test="brandId != null">#{brandId},</if>
43
+            <if test="paymentTime != null">#{paymentTime},</if>
44
+            <if test="cwComment != null">#{cwComment},</if>
45
+         </trim>
46
+    </insert>
47
+
48
+    <update id="updateCmcBrandPayment" parameterType="CmcBrandPayment">
49
+        update cmc_brand_payment
50
+        <trim prefix="SET" suffixOverrides=",">
51
+            <if test="brandId != null">brand_id = #{brandId},</if>
52
+            <if test="paymentTime != null">payment_time = #{paymentTime},</if>
53
+            <if test="cwComment != null">cw_comment = #{cwComment},</if>
54
+        </trim>
55
+        where brand_payment_id = #{brandPaymentId}
56
+    </update>
57
+
58
+    <delete id="deleteCmcBrandPaymentByBrandId" parameterType="String">
59
+        delete from cmc_brand_payment where brand_id = #{brandId}
60
+    </delete>
61
+
62
+    <delete id="deleteCmcBrandPaymentByBrandIds" parameterType="String">
63
+        delete from cmc_brand_payment where brand_id in
64
+        <foreach item="brandId" collection="array" open="(" separator="," close=")">
65
+            #{brandId}
66
+        </foreach>
67
+    </delete>
68
+</mapper>

+ 107
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectMapper.xml 파일 보기

@@ -0,0 +1,107 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcBrandProjectMapper">
6
+    
7
+    <resultMap type="CmcBrandProject" id="CmcBrandProjectResult">
8
+        <result property="projectId"    column="project_id"    />
9
+        <result property="projectNumber"    column="project_number"    />
10
+        <result property="projectName"    column="project_name"    />
11
+        <result property="partyA"    column="party_a"    />
12
+        <result property="aPerson"    column="a_person"    />
13
+        <result property="aPhone"    column="a_phone"    />
14
+        <result property="partnerId"    column="partner_id"    />
15
+        <result property="contactPerson"    column="contact_person"    />
16
+        <result property="telephone"    column="telephone"    />
17
+        <result property="duration"    column="duration"    />
18
+        <result property="amount"    column="amount"    />
19
+        <result property="remark"    column="remark"    />
20
+    </resultMap>
21
+
22
+    <sql id="selectCmcBrandProjectVo">
23
+        select project_id, project_number, project_name, party_a, a_person, a_phone, partner_id, contact_person, telephone, duration, amount, remark from cmc_brand_project
24
+    </sql>
25
+
26
+    <select id="selectCmcBrandProjectList" parameterType="CmcBrandProject" resultMap="CmcBrandProjectResult">
27
+        <include refid="selectCmcBrandProjectVo"/>
28
+        <where>  
29
+            <if test="projectNumber != null  and projectNumber != ''"> and project_number = #{projectNumber}</if>
30
+            <if test="projectName != null  and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
31
+            <if test="partyA != null  and partyA != ''"> and party_a = #{partyA}</if>
32
+            <if test="aPerson != null  and aPerson != ''"> and a_person = #{aPerson}</if>
33
+            <if test="aPhone != null  and aPhone != ''"> and a_phone = #{aPhone}</if>
34
+            <if test="partnerId != null  and partnerId != ''"> and partner_id = #{partnerId}</if>
35
+            <if test="contactPerson != null  and contactPerson != ''"> and contact_person = #{contactPerson}</if>
36
+            <if test="telephone != null  and telephone != ''"> and telephone = #{telephone}</if>
37
+            <if test="duration != null  and duration != ''"> and duration = #{duration}</if>
38
+            <if test="amount != null "> and amount = #{amount}</if>
39
+        </where>
40
+    </select>
41
+    
42
+    <select id="selectCmcBrandProjectByProjectId" parameterType="String" resultMap="CmcBrandProjectResult">
43
+        <include refid="selectCmcBrandProjectVo"/>
44
+        where project_id = #{projectId}
45
+    </select>
46
+        
47
+    <insert id="insertCmcBrandProject" parameterType="CmcBrandProject">
48
+        insert into cmc_brand_project
49
+        <trim prefix="(" suffix=")" suffixOverrides=",">
50
+            <if test="projectId != null">project_id,</if>
51
+            <if test="projectNumber != null">project_number,</if>
52
+            <if test="projectName != null">project_name,</if>
53
+            <if test="partyA != null">party_a,</if>
54
+            <if test="aPerson != null">a_person,</if>
55
+            <if test="aPhone != null">a_phone,</if>
56
+            <if test="partnerId != null">partner_id,</if>
57
+            <if test="contactPerson != null">contact_person,</if>
58
+            <if test="telephone != null">telephone,</if>
59
+            <if test="duration != null">duration,</if>
60
+            <if test="amount != null">amount,</if>
61
+            <if test="remark != null">remark,</if>
62
+         </trim>
63
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
64
+            <if test="projectId != null">#{projectId},</if>
65
+            <if test="projectNumber != null">#{projectNumber},</if>
66
+            <if test="projectName != null">#{projectName},</if>
67
+            <if test="partyA != null">#{partyA},</if>
68
+            <if test="aPerson != null">#{aPerson},</if>
69
+            <if test="aPhone != null">#{aPhone},</if>
70
+            <if test="partnerId != null">#{partnerId},</if>
71
+            <if test="contactPerson != null">#{contactPerson},</if>
72
+            <if test="telephone != null">#{telephone},</if>
73
+            <if test="duration != null">#{duration},</if>
74
+            <if test="amount != null">#{amount},</if>
75
+            <if test="remark != null">#{remark},</if>
76
+         </trim>
77
+    </insert>
78
+
79
+    <update id="updateCmcBrandProject" parameterType="CmcBrandProject">
80
+        update cmc_brand_project
81
+        <trim prefix="SET" suffixOverrides=",">
82
+            <if test="projectNumber != null">project_number = #{projectNumber},</if>
83
+            <if test="projectName != null">project_name = #{projectName},</if>
84
+            <if test="partyA != null">party_a = #{partyA},</if>
85
+            <if test="aPerson != null">a_person = #{aPerson},</if>
86
+            <if test="aPhone != null">a_phone = #{aPhone},</if>
87
+            <if test="partnerId != null">partner_id = #{partnerId},</if>
88
+            <if test="contactPerson != null">contact_person = #{contactPerson},</if>
89
+            <if test="telephone != null">telephone = #{telephone},</if>
90
+            <if test="duration != null">duration = #{duration},</if>
91
+            <if test="amount != null">amount = #{amount},</if>
92
+            <if test="remark != null">remark = #{remark},</if>
93
+        </trim>
94
+        where project_id = #{projectId}
95
+    </update>
96
+
97
+    <delete id="deleteCmcBrandProjectByProjectId" parameterType="String">
98
+        delete from cmc_brand_project where project_id = #{projectId}
99
+    </delete>
100
+
101
+    <delete id="deleteCmcBrandProjectByProjectIds" parameterType="String">
102
+        delete from cmc_brand_project where project_id in 
103
+        <foreach item="projectId" collection="array" open="(" separator="," close=")">
104
+            #{projectId}
105
+        </foreach>
106
+    </delete>
107
+</mapper>

+ 6
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetCarMapper.xml 파일 보기

@@ -95,14 +95,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
95 95
         where budget_car_id = #{budgetCarId}
96 96
     </update>
97 97
 
98
-    <delete id="deleteCmcBudgetCarByBudgetCarId" parameterType="String">
99
-        delete from cmc_budget_car where budget_car_id = #{budgetCarId}
98
+    <delete id="deleteCmcBudgetCarByBudgetId" parameterType="String">
99
+        delete from cmc_budget_car where budget_id = #{budgetId}
100 100
     </delete>
101 101
 
102
-    <delete id="deleteCmcBudgetCarByBudgetCarIds" parameterType="String">
103
-        delete from cmc_budget_car where budget_car_id in 
104
-        <foreach item="budgetCarId" collection="array" open="(" separator="," close=")">
105
-            #{budgetCarId}
102
+    <delete id="deleteCmcBudgetCarByBudgetIds" parameterType="String">
103
+        delete from cmc_budget_car where budget_id in
104
+        <foreach item="budgetId" collection="array" open="(" separator="," close=")">
105
+            #{budgetId}
106 106
         </foreach>
107 107
     </delete>
108 108
 </mapper>

+ 6
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetDeviceMapper.xml 파일 보기

@@ -75,14 +75,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
75 75
         where budget_device_id = #{budgetDeviceId}
76 76
     </update>
77 77
 
78
-    <delete id="deleteCmcBudgetDeviceByBudgetDeviceId" parameterType="String">
79
-        delete from cmc_budget_device where budget_device_id = #{budgetDeviceId}
78
+    <delete id="deleteCmcBudgetDeviceByBudgetId" parameterType="String">
79
+        delete from cmc_budget_device where budget_id = #{budgetId}
80 80
     </delete>
81 81
 
82
-    <delete id="deleteCmcBudgetDeviceByBudgetDeviceIds" parameterType="String">
83
-        delete from cmc_budget_device where budget_device_id in 
84
-        <foreach item="budgetDeviceId" collection="array" open="(" separator="," close=")">
85
-            #{budgetDeviceId}
82
+    <delete id="deleteCmcBudgetDeviceByBudgetIds" parameterType="String">
83
+        delete from cmc_budget_device where budget_id in
84
+        <foreach item="budgetId" collection="array" open="(" separator="," close=")">
85
+            #{budgetId}
86 86
         </foreach>
87 87
     </delete>
88 88
 </mapper>

+ 6
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetSettleMapper.xml 파일 보기

@@ -87,14 +87,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
87 87
         where budget_settle_id = #{budgetSettleId}
88 88
     </update>
89 89
 
90
-    <delete id="deleteCmcBudgetSettleByBudgetSettleId" parameterType="String">
91
-        delete from cmc_budget_settle where budget_settle_id = #{budgetSettleId}
90
+    <delete id="deleteCmcBudgetSettleByBudgetId" parameterType="String">
91
+        delete from cmc_budget_settle where budget_id = #{budgetId}
92 92
     </delete>
93 93
 
94
-    <delete id="deleteCmcBudgetSettleByBudgetSettleIds" parameterType="String">
95
-        delete from cmc_budget_settle where budget_settle_id in 
96
-        <foreach item="budgetSettleId" collection="array" open="(" separator="," close=")">
97
-            #{budgetSettleId}
94
+    <delete id="deleteCmcBudgetSettleByBudgetIds" parameterType="String">
95
+        delete from cmc_budget_settle where budget_id in
96
+        <foreach item="budgetId" collection="array" open="(" separator="," close=")">
97
+            #{budgetId}
98 98
         </foreach>
99 99
     </delete>
100 100
 </mapper>

+ 6
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetStaffMapper.xml 파일 보기

@@ -92,14 +92,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
92 92
         where budget_staff_id = #{budgetStaffId}
93 93
     </update>
94 94
 
95
-    <delete id="deleteCmcBudgetStaffByBudgetStaffId" parameterType="String">
96
-        delete from cmc_budget_staff where budget_staff_id = #{budgetStaffId}
95
+    <delete id="deleteCmcBudgetStaffByBudgetId" parameterType="String">
96
+        delete from cmc_budget_staff where budget_id = #{budgetId}
97 97
     </delete>
98 98
 
99
-    <delete id="deleteCmcBudgetStaffByBudgetStaffIds" parameterType="String">
100
-        delete from cmc_budget_staff where budget_staff_id in 
101
-        <foreach item="budgetStaffId" collection="array" open="(" separator="," close=")">
102
-            #{budgetStaffId}
99
+    <delete id="deleteCmcBudgetStaffByBudgetIds" parameterType="String">
100
+        delete from cmc_budget_staff where budget_id in
101
+        <foreach item="budgetId" collection="array" open="(" separator="," close=")">
102
+            #{budgetId}
103 103
         </foreach>
104 104
     </delete>
105 105
 </mapper>

+ 148
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDepositMapper.xml 파일 보기

@@ -0,0 +1,148 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcDepositMapper">
6
+    
7
+    <resultMap type="CmcDeposit" id="CmcDepositResult">
8
+        <result property="depositId"    column="deposit_id"    />
9
+        <result property="depositType"    column="deposit_type"    />
10
+        <result property="tenderId"    column="tender_id"    />
11
+        <result property="contractId"    column="contract_id"    />
12
+        <result property="returnTime"    column="return_time"    />
13
+        <result property="accountName"    column="account_name"    />
14
+        <result property="accountBank"    column="account_bank"    />
15
+        <result property="cardNumber"    column="card_number"    />
16
+        <result property="depositWay"    column="deposit_way"    />
17
+        <result property="applier"    column="applier"    />
18
+        <result property="applyTime"    column="apply_time"    />
19
+        <result property="applyReason"    column="apply_reason"    />
20
+        <result property="applyDocument"    column="apply_document"    />
21
+        <result property="managerTime"    column="manager_time"    />
22
+        <result property="managerUserId"    column="manager_user_id"    />
23
+        <result property="remitTime"    column="remit_time"    />
24
+        <result property="cwTime"    column="cw_time"    />
25
+        <result property="backTime"    column="back_time"    />
26
+        <result property="cwComment"    column="cw_comment"    />
27
+        <result property="cwUserId"    column="cw_user_id"    />
28
+    </resultMap>
29
+
30
+    <sql id="selectCmcDepositVo">
31
+        select deposit_id, deposit_type, tender_id, contract_id, return_time, account_name, account_bank, card_number, deposit_way, applier, apply_time, apply_reason, apply_document, manager_time, manager_user_id, remit_time, cw_time, back_time, cw_comment, cw_user_id from cmc_deposit
32
+    </sql>
33
+
34
+    <select id="selectCmcDepositList" parameterType="CmcDeposit" resultMap="CmcDepositResult">
35
+        <include refid="selectCmcDepositVo"/>
36
+        <where>  
37
+            <if test="depositType != null  and depositType != ''"> and deposit_type = #{depositType}</if>
38
+            <if test="tenderId != null  and tenderId != ''"> and tender_id = #{tenderId}</if>
39
+            <if test="contractId != null  and contractId != ''"> and contract_id = #{contractId}</if>
40
+            <if test="returnTime != null "> and return_time = #{returnTime}</if>
41
+            <if test="accountName != null  and accountName != ''"> and account_name like concat('%', #{accountName}, '%')</if>
42
+            <if test="accountBank != null  and accountBank != ''"> and account_bank = #{accountBank}</if>
43
+            <if test="cardNumber != null  and cardNumber != ''"> and card_number = #{cardNumber}</if>
44
+            <if test="depositWay != null  and depositWay != ''"> and deposit_way = #{depositWay}</if>
45
+            <if test="applier != null "> and applier = #{applier}</if>
46
+            <if test="applyTime != null "> and apply_time = #{applyTime}</if>
47
+            <if test="applyReason != null  and applyReason != ''"> and apply_reason = #{applyReason}</if>
48
+            <if test="applyDocument != null  and applyDocument != ''"> and apply_document = #{applyDocument}</if>
49
+            <if test="managerTime != null "> and manager_time = #{managerTime}</if>
50
+            <if test="managerUserId != null "> and manager_user_id = #{managerUserId}</if>
51
+            <if test="remitTime != null "> and remit_time = #{remitTime}</if>
52
+            <if test="cwTime != null "> and cw_time = #{cwTime}</if>
53
+            <if test="backTime != null "> and back_time = #{backTime}</if>
54
+            <if test="cwComment != null  and cwComment != ''"> and cw_comment = #{cwComment}</if>
55
+            <if test="cwUserId != null "> and cw_user_id = #{cwUserId}</if>
56
+        </where>
57
+    </select>
58
+    
59
+    <select id="selectCmcDepositByDepositId" parameterType="String" resultMap="CmcDepositResult">
60
+        <include refid="selectCmcDepositVo"/>
61
+        where deposit_id = #{depositId}
62
+    </select>
63
+        
64
+    <insert id="insertCmcDeposit" parameterType="CmcDeposit">
65
+        insert into cmc_deposit
66
+        <trim prefix="(" suffix=")" suffixOverrides=",">
67
+            <if test="depositId != null">deposit_id,</if>
68
+            <if test="depositType != null">deposit_type,</if>
69
+            <if test="tenderId != null">tender_id,</if>
70
+            <if test="contractId != null">contract_id,</if>
71
+            <if test="returnTime != null">return_time,</if>
72
+            <if test="accountName != null">account_name,</if>
73
+            <if test="accountBank != null">account_bank,</if>
74
+            <if test="cardNumber != null">card_number,</if>
75
+            <if test="depositWay != null">deposit_way,</if>
76
+            <if test="applier != null">applier,</if>
77
+            <if test="applyTime != null">apply_time,</if>
78
+            <if test="applyReason != null">apply_reason,</if>
79
+            <if test="applyDocument != null">apply_document,</if>
80
+            <if test="managerTime != null">manager_time,</if>
81
+            <if test="managerUserId != null">manager_user_id,</if>
82
+            <if test="remitTime != null">remit_time,</if>
83
+            <if test="cwTime != null">cw_time,</if>
84
+            <if test="backTime != null">back_time,</if>
85
+            <if test="cwComment != null">cw_comment,</if>
86
+            <if test="cwUserId != null">cw_user_id,</if>
87
+         </trim>
88
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
89
+            <if test="depositId != null">#{depositId},</if>
90
+            <if test="depositType != null">#{depositType},</if>
91
+            <if test="tenderId != null">#{tenderId},</if>
92
+            <if test="contractId != null">#{contractId},</if>
93
+            <if test="returnTime != null">#{returnTime},</if>
94
+            <if test="accountName != null">#{accountName},</if>
95
+            <if test="accountBank != null">#{accountBank},</if>
96
+            <if test="cardNumber != null">#{cardNumber},</if>
97
+            <if test="depositWay != null">#{depositWay},</if>
98
+            <if test="applier != null">#{applier},</if>
99
+            <if test="applyTime != null">#{applyTime},</if>
100
+            <if test="applyReason != null">#{applyReason},</if>
101
+            <if test="applyDocument != null">#{applyDocument},</if>
102
+            <if test="managerTime != null">#{managerTime},</if>
103
+            <if test="managerUserId != null">#{managerUserId},</if>
104
+            <if test="remitTime != null">#{remitTime},</if>
105
+            <if test="cwTime != null">#{cwTime},</if>
106
+            <if test="backTime != null">#{backTime},</if>
107
+            <if test="cwComment != null">#{cwComment},</if>
108
+            <if test="cwUserId != null">#{cwUserId},</if>
109
+         </trim>
110
+    </insert>
111
+
112
+    <update id="updateCmcDeposit" parameterType="CmcDeposit">
113
+        update cmc_deposit
114
+        <trim prefix="SET" suffixOverrides=",">
115
+            <if test="depositType != null">deposit_type = #{depositType},</if>
116
+            <if test="tenderId != null">tender_id = #{tenderId},</if>
117
+            <if test="contractId != null">contract_id = #{contractId},</if>
118
+            <if test="returnTime != null">return_time = #{returnTime},</if>
119
+            <if test="accountName != null">account_name = #{accountName},</if>
120
+            <if test="accountBank != null">account_bank = #{accountBank},</if>
121
+            <if test="cardNumber != null">card_number = #{cardNumber},</if>
122
+            <if test="depositWay != null">deposit_way = #{depositWay},</if>
123
+            <if test="applier != null">applier = #{applier},</if>
124
+            <if test="applyTime != null">apply_time = #{applyTime},</if>
125
+            <if test="applyReason != null">apply_reason = #{applyReason},</if>
126
+            <if test="applyDocument != null">apply_document = #{applyDocument},</if>
127
+            <if test="managerTime != null">manager_time = #{managerTime},</if>
128
+            <if test="managerUserId != null">manager_user_id = #{managerUserId},</if>
129
+            <if test="remitTime != null">remit_time = #{remitTime},</if>
130
+            <if test="cwTime != null">cw_time = #{cwTime},</if>
131
+            <if test="backTime != null">back_time = #{backTime},</if>
132
+            <if test="cwComment != null">cw_comment = #{cwComment},</if>
133
+            <if test="cwUserId != null">cw_user_id = #{cwUserId},</if>
134
+        </trim>
135
+        where deposit_id = #{depositId}
136
+    </update>
137
+
138
+    <delete id="deleteCmcDepositByDepositId" parameterType="String">
139
+        delete from cmc_deposit where deposit_id = #{depositId}
140
+    </delete>
141
+
142
+    <delete id="deleteCmcDepositByDepositIds" parameterType="String">
143
+        delete from cmc_deposit where deposit_id in 
144
+        <foreach item="depositId" collection="array" open="(" separator="," close=")">
145
+            #{depositId}
146
+        </foreach>
147
+    </delete>
148
+</mapper>

+ 1
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectCommentMapper.xml 파일 보기

@@ -39,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
39 39
     <select id="selectCmcProjectCommentList" parameterType="CmcProjectComment" resultMap="CmcProjectCommentResult">
40 40
         <include refid="selectCmcProjectCommentVo"/>
41 41
         <where>  
42
+            <if test="projectId != null  and projectId != ''"> and pc.project_id = #{projectId}</if>
42 43
             <if test="jyComment != null  and jyComment != ''"> and pc.jy_comment = #{jyComment}</if>
43 44
             <if test="jyApprover != null "> and pc.jy_approver = #{jyApprover}</if>
44 45
             <if test="jyApprovalTime != null "> and pc.jy_approval_time = #{jyApprovalTime}</if>

+ 1
- 11
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectMapper.xml 파일 보기

@@ -25,8 +25,6 @@
25 25
         <result property="entryTime"    column="entry_time"    />
26 26
         <result property="exitTime"    column="exit_time"    />
27 27
         <result property="remark"    column="remark"    />
28
-        <result property="budgetId"    column="budget_id"    />
29
-        <result property="technicalId"    column="technical_id"    />
30 28
         <association property="projectLeaderUser"    javaType="SysUser"         resultMap="ProjectLeaderResult" />
31 29
         <association property="projectRegistrantUser"    javaType="SysUser"         resultMap="ProjectRegistrantResult" />
32 30
     </resultMap>
@@ -42,7 +40,7 @@
42 40
     </resultMap>
43 41
 
44 42
     <sql id="selectCmcProjectVo">
45
-        select p.project_id, p.project_number, p.project_name, p.project_leader, u.nick_name as leader_nick_name, p.is_finished, p.project_source, p.party_a, p.contact_person, p.telephone, p.project_type, p.project_level, p.project_registrant, u1.nick_name as registrant_nick_name, p.undertaking_dept, p.project_planner, p.site_leader, p.register_time, p.plan_time, p.entry_time, p.exit_time, p.remark, p.budget_id, p.technical_id from cmc_project as p
43
+        select p.project_id, p.project_number, p.project_name, p.project_leader, u.nick_name as leader_nick_name, p.is_finished, p.project_source, p.party_a, p.contact_person, p.telephone, p.project_type, p.project_level, p.project_registrant, u1.nick_name as registrant_nick_name, p.undertaking_dept, p.project_planner, p.site_leader, p.register_time, p.plan_time, p.entry_time, p.exit_time, p.remark from cmc_project as p
46 44
         left join sys_user as u on u.user_id = p.project_leader
47 45
         left join sys_user as u1 on u1.user_id = p.project_registrant
48 46
     </sql>
@@ -67,8 +65,6 @@
67 65
             <if test="planTime != null "> and p.plan_time = #{planTime}</if>
68 66
             <if test="entryTime != null "> and p.entry_time = #{entryTime}</if>
69 67
             <if test="exitTime != null "> and p.exit_time = #{exitTime}</if>
70
-            <if test="budgetId != null  and budgetId != ''"> and p.budget_id = #{budgetId}</if>
71
-            <if test="technicalId != null  and technicalId != ''"> and p.technical_id = #{technicalId}</if>
72 68
         </where>
73 69
     </select>
74 70
 
@@ -100,8 +96,6 @@
100 96
             <if test="entryTime != null">entry_time,</if>
101 97
             <if test="exitTime != null">exit_time,</if>
102 98
             <if test="remark != null">remark,</if>
103
-            <if test="budgetId != null">budget_id,</if>
104
-            <if test="technicalId != null">technical_id,</if>
105 99
         </trim>
106 100
         <trim prefix="values (" suffix=")" suffixOverrides=",">
107 101
             <if test="projectId != null">#{projectId},</if>
@@ -124,8 +118,6 @@
124 118
             <if test="entryTime != null">#{entryTime},</if>
125 119
             <if test="exitTime != null">#{exitTime},</if>
126 120
             <if test="remark != null">#{remark},</if>
127
-            <if test="budgetId != null">#{budgetId},</if>
128
-            <if test="technicalId != null">#{technicalId},</if>
129 121
         </trim>
130 122
     </insert>
131 123
 
@@ -151,8 +143,6 @@
151 143
             <if test="entryTime != null">entry_time = #{entryTime},</if>
152 144
             <if test="exitTime != null">exit_time = #{exitTime},</if>
153 145
             <if test="remark != null">remark = #{remark},</if>
154
-            <if test="budgetId != null">budget_id = #{budgetId},</if>
155
-            <if test="technicalId != null">technical_id = #{technicalId},</if>
156 146
         </trim>
157 147
         where project_id = #{projectId}
158 148
     </update>

+ 1
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectWorkMapper.xml 파일 보기

@@ -23,6 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
23 23
     <select id="selectCmcProjectWorkList" parameterType="CmcProjectWork" resultMap="CmcProjectWorkResult">
24 24
         <include refid="selectCmcProjectWorkVo"/>
25 25
         <where>  
26
+            <if test="projectId != null  and projectId != ''"> and project_id = #{projectId}</if>
26 27
             <if test="content != null  and content != ''"> and content like concat('%', #{content}, '%')</if>
27 28
             <if test="scale != null  and scale != ''"> and scale like concat('%', #{scale}, '%')</if>
28 29
             <if test="unit != null  and unit != ''"> and unit like concat('%', #{unit}, '%')</if>

+ 183
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml 파일 보기

@@ -0,0 +1,183 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcSettleMapper">
6
+    
7
+    <resultMap type="CmcSettle" id="CmcSettleResult">
8
+        <result property="settleId"    column="settle_id"    />
9
+        <result property="projectId"    column="project_id"    />
10
+        <result property="workloadReport"    column="workload_report"    />
11
+        <result property="reporter"    column="reporter"    />
12
+        <result property="reportTime"    column="report_time"    />
13
+        <result property="settleComment"    column="settle_comment"    />
14
+        <result property="zhUserId"    column="zh_user_id"    />
15
+        <result property="zhTime"    column="zh_time"    />
16
+        <result property="zhComment"    column="zh_comment"    />
17
+        <result property="jsUserId"    column="js_user_id"    />
18
+        <result property="jsTime"    column="js_time"    />
19
+        <result property="jsComment"    column="js_comment"    />
20
+        <result property="xmUserId"    column="xm_user_id"    />
21
+        <result property="xmTime"    column="xm_time"    />
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"    />
27
+        <result property="jyTime"    column="jy_time"    />
28
+        <result property="jyComment"    column="jy_comment"    />
29
+        <result property="managerUserId"    column="manager_user_id"    />
30
+        <result property="managerTime"    column="manager_time"    />
31
+        <result property="managerComment"    column="manager_comment"    />
32
+        <result property="gmUserId"    column="gm_user_id"    />
33
+        <result property="gmTime"    column="gm_time"    />
34
+        <result property="gmComment"    column="gm_comment"    />
35
+    </resultMap>
36
+
37
+    <sql id="selectCmcSettleVo">
38
+        select settle_id, project_id, workload_report, reporter, report_time, settle_comment, zh_user_id, zh_time, zh_comment, js_user_id, js_time, js_comment, xm_user_id, xm_time, xm_comment, dept_user_id, dept_time, dept_comment, jy_user_id, jy_time, jy_comment, manager_user_id, manager_time, manager_comment, gm_user_id, gm_time, gm_comment from cmc_settle
39
+    </sql>
40
+
41
+    <select id="selectCmcSettleList" parameterType="CmcSettle" resultMap="CmcSettleResult">
42
+        <include refid="selectCmcSettleVo"/>
43
+        <where>  
44
+            <if test="projectId != null  and projectId != ''"> and project_id = #{projectId}</if>
45
+            <if test="workloadReport != null  and workloadReport != ''"> and workload_report = #{workloadReport}</if>
46
+            <if test="reporter != null "> and reporter = #{reporter}</if>
47
+            <if test="reportTime != null "> and report_time = #{reportTime}</if>
48
+            <if test="settleComment != null  and settleComment != ''"> and settle_comment = #{settleComment}</if>
49
+            <if test="zhUserId != null "> and zh_user_id = #{zhUserId}</if>
50
+            <if test="zhTime != null "> and zh_time = #{zhTime}</if>
51
+            <if test="zhComment != null  and zhComment != ''"> and zh_comment = #{zhComment}</if>
52
+            <if test="jsUserId != null "> and js_user_id = #{jsUserId}</if>
53
+            <if test="jsTime != null "> and js_time = #{jsTime}</if>
54
+            <if test="jsComment != null  and jsComment != ''"> and js_comment = #{jsComment}</if>
55
+            <if test="xmUserId != null "> and xm_user_id = #{xmUserId}</if>
56
+            <if test="xmTime != null "> and xm_time = #{xmTime}</if>
57
+            <if test="xmComment != null  and xmComment != ''"> and xm_comment = #{xmComment}</if>
58
+            <if test="deptUserId != null "> and dept_user_id = #{deptUserId}</if>
59
+            <if test="deptTime != null "> and dept_time = #{deptTime}</if>
60
+            <if test="deptComment != null  and deptComment != ''"> and dept_comment = #{deptComment}</if>
61
+            <if test="jyUserId != null "> and jy_user_id = #{jyUserId}</if>
62
+            <if test="jyTime != null "> and jy_time = #{jyTime}</if>
63
+            <if test="jyComment != null  and jyComment != ''"> and jy_comment = #{jyComment}</if>
64
+            <if test="managerUserId != null "> and manager_user_id = #{managerUserId}</if>
65
+            <if test="managerTime != null "> and manager_time = #{managerTime}</if>
66
+            <if test="managerComment != null  and managerComment != ''"> and manager_comment = #{managerComment}</if>
67
+            <if test="gmUserId != null "> and gm_user_id = #{gmUserId}</if>
68
+            <if test="gmTime != null "> and gm_time = #{gmTime}</if>
69
+            <if test="gmComment != null  and gmComment != ''"> and gm_comment = #{gmComment}</if>
70
+        </where>
71
+    </select>
72
+    
73
+    <select id="selectCmcSettleBySettleId" parameterType="String" resultMap="CmcSettleResult">
74
+        <include refid="selectCmcSettleVo"/>
75
+        where settle_id = #{settleId}
76
+    </select>
77
+        
78
+    <insert id="insertCmcSettle" parameterType="CmcSettle">
79
+        insert into cmc_settle
80
+        <trim prefix="(" suffix=")" suffixOverrides=",">
81
+            <if test="settleId != null">settle_id,</if>
82
+            <if test="projectId != null">project_id,</if>
83
+            <if test="workloadReport != null">workload_report,</if>
84
+            <if test="reporter != null">reporter,</if>
85
+            <if test="reportTime != null">report_time,</if>
86
+            <if test="settleComment != null">settle_comment,</if>
87
+            <if test="zhUserId != null">zh_user_id,</if>
88
+            <if test="zhTime != null">zh_time,</if>
89
+            <if test="zhComment != null">zh_comment,</if>
90
+            <if test="jsUserId != null">js_user_id,</if>
91
+            <if test="jsTime != null">js_time,</if>
92
+            <if test="jsComment != null">js_comment,</if>
93
+            <if test="xmUserId != null">xm_user_id,</if>
94
+            <if test="xmTime != null">xm_time,</if>
95
+            <if test="xmComment != null">xm_comment,</if>
96
+            <if test="deptUserId != null">dept_user_id,</if>
97
+            <if test="deptTime != null">dept_time,</if>
98
+            <if test="deptComment != null">dept_comment,</if>
99
+            <if test="jyUserId != null">jy_user_id,</if>
100
+            <if test="jyTime != null">jy_time,</if>
101
+            <if test="jyComment != null">jy_comment,</if>
102
+            <if test="managerUserId != null">manager_user_id,</if>
103
+            <if test="managerTime != null">manager_time,</if>
104
+            <if test="managerComment != null">manager_comment,</if>
105
+            <if test="gmUserId != null">gm_user_id,</if>
106
+            <if test="gmTime != null">gm_time,</if>
107
+            <if test="gmComment != null">gm_comment,</if>
108
+         </trim>
109
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
110
+            <if test="settleId != null">#{settleId},</if>
111
+            <if test="projectId != null">#{projectId},</if>
112
+            <if test="workloadReport != null">#{workloadReport},</if>
113
+            <if test="reporter != null">#{reporter},</if>
114
+            <if test="reportTime != null">#{reportTime},</if>
115
+            <if test="settleComment != null">#{settleComment},</if>
116
+            <if test="zhUserId != null">#{zhUserId},</if>
117
+            <if test="zhTime != null">#{zhTime},</if>
118
+            <if test="zhComment != null">#{zhComment},</if>
119
+            <if test="jsUserId != null">#{jsUserId},</if>
120
+            <if test="jsTime != null">#{jsTime},</if>
121
+            <if test="jsComment != null">#{jsComment},</if>
122
+            <if test="xmUserId != null">#{xmUserId},</if>
123
+            <if test="xmTime != null">#{xmTime},</if>
124
+            <if test="xmComment != null">#{xmComment},</if>
125
+            <if test="deptUserId != null">#{deptUserId},</if>
126
+            <if test="deptTime != null">#{deptTime},</if>
127
+            <if test="deptComment != null">#{deptComment},</if>
128
+            <if test="jyUserId != null">#{jyUserId},</if>
129
+            <if test="jyTime != null">#{jyTime},</if>
130
+            <if test="jyComment != null">#{jyComment},</if>
131
+            <if test="managerUserId != null">#{managerUserId},</if>
132
+            <if test="managerTime != null">#{managerTime},</if>
133
+            <if test="managerComment != null">#{managerComment},</if>
134
+            <if test="gmUserId != null">#{gmUserId},</if>
135
+            <if test="gmTime != null">#{gmTime},</if>
136
+            <if test="gmComment != null">#{gmComment},</if>
137
+         </trim>
138
+    </insert>
139
+
140
+    <update id="updateCmcSettle" parameterType="CmcSettle">
141
+        update cmc_settle
142
+        <trim prefix="SET" suffixOverrides=",">
143
+            <if test="projectId != null">project_id = #{projectId},</if>
144
+            <if test="workloadReport != null">workload_report = #{workloadReport},</if>
145
+            <if test="reporter != null">reporter = #{reporter},</if>
146
+            <if test="reportTime != null">report_time = #{reportTime},</if>
147
+            <if test="settleComment != null">settle_comment = #{settleComment},</if>
148
+            <if test="zhUserId != null">zh_user_id = #{zhUserId},</if>
149
+            <if test="zhTime != null">zh_time = #{zhTime},</if>
150
+            <if test="zhComment != null">zh_comment = #{zhComment},</if>
151
+            <if test="jsUserId != null">js_user_id = #{jsUserId},</if>
152
+            <if test="jsTime != null">js_time = #{jsTime},</if>
153
+            <if test="jsComment != null">js_comment = #{jsComment},</if>
154
+            <if test="xmUserId != null">xm_user_id = #{xmUserId},</if>
155
+            <if test="xmTime != null">xm_time = #{xmTime},</if>
156
+            <if test="xmComment != null">xm_comment = #{xmComment},</if>
157
+            <if test="deptUserId != null">dept_user_id = #{deptUserId},</if>
158
+            <if test="deptTime != null">dept_time = #{deptTime},</if>
159
+            <if test="deptComment != null">dept_comment = #{deptComment},</if>
160
+            <if test="jyUserId != null">jy_user_id = #{jyUserId},</if>
161
+            <if test="jyTime != null">jy_time = #{jyTime},</if>
162
+            <if test="jyComment != null">jy_comment = #{jyComment},</if>
163
+            <if test="managerUserId != null">manager_user_id = #{managerUserId},</if>
164
+            <if test="managerTime != null">manager_time = #{managerTime},</if>
165
+            <if test="managerComment != null">manager_comment = #{managerComment},</if>
166
+            <if test="gmUserId != null">gm_user_id = #{gmUserId},</if>
167
+            <if test="gmTime != null">gm_time = #{gmTime},</if>
168
+            <if test="gmComment != null">gm_comment = #{gmComment},</if>
169
+        </trim>
170
+        where settle_id = #{settleId}
171
+    </update>
172
+
173
+    <delete id="deleteCmcSettleBySettleId" parameterType="String">
174
+        delete from cmc_settle where settle_id = #{settleId}
175
+    </delete>
176
+
177
+    <delete id="deleteCmcSettleBySettleIds" parameterType="String">
178
+        delete from cmc_settle where settle_id in 
179
+        <foreach item="settleId" collection="array" open="(" separator="," close=")">
180
+            #{settleId}
181
+        </foreach>
182
+    </delete>
183
+</mapper>

+ 82
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleSummaryMapper.xml 파일 보기

@@ -0,0 +1,82 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcSettleSummaryMapper">
6
+    
7
+    <resultMap type="CmcSettleSummary" id="CmcSettleSummaryResult">
8
+        <result property="summaryId"    column="summary_id"    />
9
+        <result property="settleId"    column="settle_id"    />
10
+        <result property="content"    column="content"    />
11
+        <result property="amount"    column="amount"    />
12
+        <result property="amountXm"    column="amount_xm"    />
13
+        <result property="amountManager"    column="amount_manager"    />
14
+        <result property="remark"    column="remark"    />
15
+    </resultMap>
16
+
17
+    <sql id="selectCmcSettleSummaryVo">
18
+        select summary_id, settle_id, content, amount, amount_xm, amount_manager, remark from cmc_settle_summary
19
+    </sql>
20
+
21
+    <select id="selectCmcSettleSummaryList" parameterType="CmcSettleSummary" resultMap="CmcSettleSummaryResult">
22
+        <include refid="selectCmcSettleSummaryVo"/>
23
+        <where>  
24
+            <if test="settleId != null  and settleId != ''"> and settle_id = #{settleId}</if>
25
+            <if test="content != null  and content != ''"> and content = #{content}</if>
26
+            <if test="amount != null "> and amount = #{amount}</if>
27
+            <if test="amountXm != null "> and amount_xm = #{amountXm}</if>
28
+            <if test="amountManager != null "> and amount_manager = #{amountManager}</if>
29
+        </where>
30
+    </select>
31
+    
32
+    <select id="selectCmcSettleSummaryBySettleId" parameterType="String" resultMap="CmcSettleSummaryResult">
33
+        <include refid="selectCmcSettleSummaryVo"/>
34
+        where settle_id = #{settleId}
35
+    </select>
36
+        
37
+    <insert id="insertCmcSettleSummary" parameterType="CmcSettleSummary">
38
+        insert into cmc_settle_summary
39
+        <trim prefix="(" suffix=")" suffixOverrides=",">
40
+            <if test="summaryId != null">summary_id,</if>
41
+            <if test="settleId != null">settle_id,</if>
42
+            <if test="content != null">content,</if>
43
+            <if test="amount != null">amount,</if>
44
+            <if test="amountXm != null">amount_xm,</if>
45
+            <if test="amountManager != null">amount_manager,</if>
46
+            <if test="remark != null">remark,</if>
47
+         </trim>
48
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
49
+            <if test="summaryId != null">#{summaryId},</if>
50
+            <if test="settleId != null">#{settleId},</if>
51
+            <if test="content != null">#{content},</if>
52
+            <if test="amount != null">#{amount},</if>
53
+            <if test="amountXm != null">#{amountXm},</if>
54
+            <if test="amountManager != null">#{amountManager},</if>
55
+            <if test="remark != null">#{remark},</if>
56
+         </trim>
57
+    </insert>
58
+
59
+    <update id="updateCmcSettleSummary" parameterType="CmcSettleSummary">
60
+        update cmc_settle_summary
61
+        <trim prefix="SET" suffixOverrides=",">
62
+            <if test="settleId != null">settle_id = #{settleId},</if>
63
+            <if test="content != null">content = #{content},</if>
64
+            <if test="amount != null">amount = #{amount},</if>
65
+            <if test="amountXm != null">amount_xm = #{amountXm},</if>
66
+            <if test="amountManager != null">amount_manager = #{amountManager},</if>
67
+            <if test="remark != null">remark = #{remark},</if>
68
+        </trim>
69
+        where summary_id = #{summaryId}
70
+    </update>
71
+
72
+    <delete id="deleteCmcSettleSummaryBySettleId" parameterType="String">
73
+        delete from cmc_settle_summary where settle_id = #{settleId}
74
+    </delete>
75
+
76
+    <delete id="deleteCmcSettleSummaryBySettleIds" parameterType="String">
77
+        delete from cmc_settle_summary where settle_id in
78
+        <foreach item="settleId" collection="array" open="(" separator="," close=")">
79
+            #{settleId}
80
+        </foreach>
81
+    </delete>
82
+</mapper>

+ 102
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleWorkMapper.xml 파일 보기

@@ -0,0 +1,102 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcSettleWorkMapper">
6
+    
7
+    <resultMap type="CmcSettleWork" id="CmcSettleWorkResult">
8
+        <result property="workId"    column="work_id"    />
9
+        <result property="settleId"    column="settle_id"    />
10
+        <result property="content"    column="content"    />
11
+        <result property="priceId"    column="price_id"    />
12
+        <result property="workload"    column="workload"    />
13
+        <result property="coefficient"    column="coefficient"    />
14
+        <result property="groundType"    column="ground_type"    />
15
+        <result property="settle"    column="settle"    />
16
+        <result property="settleXm"    column="settle_xm"    />
17
+        <result property="settleManager"    column="settle_manager"    />
18
+        <result property="remark"    column="remark"    />
19
+    </resultMap>
20
+
21
+    <sql id="selectCmcSettleWorkVo">
22
+        select work_id, settle_id, content, price_id, workload, coefficient, ground_type, settle, settle_xm, settle_manager, remark from cmc_settle_work
23
+    </sql>
24
+
25
+    <select id="selectCmcSettleWorkList" parameterType="CmcSettleWork" resultMap="CmcSettleWorkResult">
26
+        <include refid="selectCmcSettleWorkVo"/>
27
+        <where>  
28
+            <if test="settleId != null  and settleId != ''"> and settle_id = #{settleId}</if>
29
+            <if test="content != null  and content != ''"> and content = #{content}</if>
30
+            <if test="priceId != null "> and price_id = #{priceId}</if>
31
+            <if test="workload != null "> and workload = #{workload}</if>
32
+            <if test="coefficient != null "> and coefficient = #{coefficient}</if>
33
+            <if test="groundType != null  and groundType != ''"> and ground_type = #{groundType}</if>
34
+            <if test="settle != null "> and settle = #{settle}</if>
35
+            <if test="settleXm != null "> and settle_xm = #{settleXm}</if>
36
+            <if test="settleManager != null "> and settle_manager = #{settleManager}</if>
37
+        </where>
38
+    </select>
39
+    
40
+    <select id="selectCmcSettleWorkBySettleId" parameterType="String" resultMap="CmcSettleWorkResult">
41
+        <include refid="selectCmcSettleWorkVo"/>
42
+        where settle_id = #{settleId}
43
+    </select>
44
+        
45
+    <insert id="insertCmcSettleWork" parameterType="CmcSettleWork">
46
+        insert into cmc_settle_work
47
+        <trim prefix="(" suffix=")" suffixOverrides=",">
48
+            <if test="workId != null">work_id,</if>
49
+            <if test="settleId != null">settle_id,</if>
50
+            <if test="content != null">content,</if>
51
+            <if test="priceId != null">price_id,</if>
52
+            <if test="workload != null">workload,</if>
53
+            <if test="coefficient != null">coefficient,</if>
54
+            <if test="groundType != null">ground_type,</if>
55
+            <if test="settle != null">settle,</if>
56
+            <if test="settleXm != null">settle_xm,</if>
57
+            <if test="settleManager != null">settle_manager,</if>
58
+            <if test="remark != null">remark,</if>
59
+         </trim>
60
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
61
+            <if test="workId != null">#{workId},</if>
62
+            <if test="settleId != null">#{settleId},</if>
63
+            <if test="content != null">#{content},</if>
64
+            <if test="priceId != null">#{priceId},</if>
65
+            <if test="workload != null">#{workload},</if>
66
+            <if test="coefficient != null">#{coefficient},</if>
67
+            <if test="groundType != null">#{groundType},</if>
68
+            <if test="settle != null">#{settle},</if>
69
+            <if test="settleXm != null">#{settleXm},</if>
70
+            <if test="settleManager != null">#{settleManager},</if>
71
+            <if test="remark != null">#{remark},</if>
72
+         </trim>
73
+    </insert>
74
+
75
+    <update id="updateCmcSettleWork" parameterType="CmcSettleWork">
76
+        update cmc_settle_work
77
+        <trim prefix="SET" suffixOverrides=",">
78
+            <if test="settleId != null">settle_id = #{settleId},</if>
79
+            <if test="content != null">content = #{content},</if>
80
+            <if test="priceId != null">price_id = #{priceId},</if>
81
+            <if test="workload != null">workload = #{workload},</if>
82
+            <if test="coefficient != null">coefficient = #{coefficient},</if>
83
+            <if test="groundType != null">ground_type = #{groundType},</if>
84
+            <if test="settle != null">settle = #{settle},</if>
85
+            <if test="settleXm != null">settle_xm = #{settleXm},</if>
86
+            <if test="settleManager != null">settle_manager = #{settleManager},</if>
87
+            <if test="remark != null">remark = #{remark},</if>
88
+        </trim>
89
+        where work_id = #{workId}
90
+    </update>
91
+
92
+    <delete id="deleteCmcSettleWorkBySettleId" parameterType="String">
93
+        delete from cmc_settle_work where settle_id = #{settleId}
94
+    </delete>
95
+
96
+    <delete id="deleteCmcSettleWorkBySettleIds" parameterType="String">
97
+        delete from cmc_settle_work where settle_id in
98
+        <foreach item="settleId" collection="array" open="(" separator="," close=")">
99
+            #{settleId}
100
+        </foreach>
101
+    </delete>
102
+</mapper>

+ 387
- 169
oa-back/sql/sql.sql
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 44
- 0
oa-ui/src/api/oa/archive/archive.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc成果归档列表
4
+export function listArchive(query) {
5
+  return request({
6
+    url: '/oa/archive/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc成果归档详细
13
+export function getArchive(archiveId) {
14
+  return request({
15
+    url: '/oa/archive/' + archiveId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc成果归档
21
+export function addArchive(data) {
22
+  return request({
23
+    url: '/oa/archive',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc成果归档
30
+export function updateArchive(data) {
31
+  return request({
32
+    url: '/oa/archive',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc成果归档
39
+export function delArchive(archiveId) {
40
+  return request({
41
+    url: '/oa/archive/' + archiveId,
42
+    method: 'delete'
43
+  })
44
+}

+ 44
- 0
oa-ui/src/api/oa/brand/brand.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc品牌项目支付审批列表
4
+export function listBrand(query) {
5
+  return request({
6
+    url: '/oa/brand/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc品牌项目支付审批详细
13
+export function getBrand(brandId) {
14
+  return request({
15
+    url: '/oa/brand/' + brandId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc品牌项目支付审批
21
+export function addBrand(data) {
22
+  return request({
23
+    url: '/oa/brand',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc品牌项目支付审批
30
+export function updateBrand(data) {
31
+  return request({
32
+    url: '/oa/brand',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc品牌项目支付审批
39
+export function delBrand(brandId) {
40
+  return request({
41
+    url: '/oa/brand/' + brandId,
42
+    method: 'delete'
43
+  })
44
+}

+ 50
- 0
oa-ui/src/api/oa/brand/brandPayment.js 파일 보기

@@ -0,0 +1,50 @@
1
+/*
2
+ * @Author: wrh
3
+ * @Date: 2024-04-29 13:55:26
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 15:19:07
6
+ */
7
+import request from '@/utils/request'
8
+
9
+// 查询cmc品牌项目支付记录列表
10
+export function listBrandPayment(query) {
11
+  return request({
12
+    url: '/oa/brandPayment/list',
13
+    method: 'get',
14
+    params: query
15
+  })
16
+}
17
+
18
+// 查询cmc品牌项目支付记录详细
19
+export function getBrandPayment(brandId) {
20
+  return request({
21
+    url: '/oa/brandPayment/' + brandId,
22
+    method: 'get'
23
+  })
24
+}
25
+
26
+// 新增cmc品牌项目支付记录
27
+export function addBrandPayment(data) {
28
+  return request({
29
+    url: '/oa/brandPayment',
30
+    method: 'post',
31
+    data: data
32
+  })
33
+}
34
+
35
+// 修改cmc品牌项目支付记录
36
+export function updateBrandPayment(data) {
37
+  return request({
38
+    url: '/oa/brandPayment',
39
+    method: 'put',
40
+    data: data
41
+  })
42
+}
43
+
44
+// 删除cmc品牌项目支付记录
45
+export function delBrandPayment(brandId) {
46
+  return request({
47
+    url: '/oa/brandPayment/' + brandId,
48
+    method: 'delete'
49
+  })
50
+}

+ 44
- 0
oa-ui/src/api/oa/brand/brandProject.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc品牌项目列表
4
+export function listBrandProject(query) {
5
+  return request({
6
+    url: '/oa/brandProject/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc品牌项目详细
13
+export function getBrandProject(projectId) {
14
+  return request({
15
+    url: '/oa/brandProject/' + projectId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc品牌项目
21
+export function addBrandProject(data) {
22
+  return request({
23
+    url: '/oa/brandProject',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc品牌项目
30
+export function updateBrandProject(data) {
31
+  return request({
32
+    url: '/oa/brandProject',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc品牌项目
39
+export function delBrandProject(projectId) {
40
+  return request({
41
+    url: '/oa/brandProject/' + projectId,
42
+    method: 'delete'
43
+  })
44
+}

+ 4
- 4
oa-ui/src/api/oa/budget/budgetCar.js 파일 보기

@@ -10,9 +10,9 @@ export function listBudgetCar(query) {
10 10
 }
11 11
 
12 12
 // 查询cmc车辆预算详细
13
-export function getBudgetCar(budgetCarId) {
13
+export function getBudgetCar(budgetId) {
14 14
   return request({
15
-    url: '/oa/budgetCar/' + budgetCarId,
15
+    url: '/oa/budgetCar/' + budgetId,
16 16
     method: 'get'
17 17
   })
18 18
 }
@@ -36,9 +36,9 @@ export function updateBudgetCar(data) {
36 36
 }
37 37
 
38 38
 // 删除cmc车辆预算
39
-export function delBudgetCar(budgetCarId) {
39
+export function delBudgetCar(budgetId) {
40 40
   return request({
41
-    url: '/oa/budgetCar/' + budgetCarId,
41
+    url: '/oa/budgetCar/' + budgetId,
42 42
     method: 'delete'
43 43
   })
44 44
 }

+ 4
- 4
oa-ui/src/api/oa/budget/budgetDevice.js 파일 보기

@@ -10,9 +10,9 @@ export function listBudgetDevice(query) {
10 10
 }
11 11
 
12 12
 // 查询cmc设备预算详细
13
-export function getBudgetDevice(budgetDeviceId) {
13
+export function getBudgetDevice(budgetId) {
14 14
   return request({
15
-    url: '/oa/budgetDevice/' + budgetDeviceId,
15
+    url: '/oa/budgetDevice/' + budgetId,
16 16
     method: 'get'
17 17
   })
18 18
 }
@@ -36,9 +36,9 @@ export function updateBudgetDevice(data) {
36 36
 }
37 37
 
38 38
 // 删除cmc设备预算
39
-export function delBudgetDevice(budgetDeviceId) {
39
+export function delBudgetDevice(budgetId) {
40 40
   return request({
41
-    url: '/oa/budgetDevice/' + budgetDeviceId,
41
+    url: '/oa/budgetDevice/' + budgetId,
42 42
     method: 'delete'
43 43
   })
44 44
 }

+ 4
- 4
oa-ui/src/api/oa/budget/budgetSettle.js 파일 보기

@@ -10,9 +10,9 @@ export function listBudgetSettle(query) {
10 10
 }
11 11
 
12 12
 // 查询cmc预结算详细
13
-export function getBudgetSettle(budgetSettleId) {
13
+export function getBudgetSettle(budgetId) {
14 14
   return request({
15
-    url: '/oa/budgetSettle/' + budgetSettleId,
15
+    url: '/oa/budgetSettle/' + budgetId,
16 16
     method: 'get'
17 17
   })
18 18
 }
@@ -36,9 +36,9 @@ export function updateBudgetSettle(data) {
36 36
 }
37 37
 
38 38
 // 删除cmc预结算
39
-export function delBudgetSettle(budgetSettleId) {
39
+export function delBudgetSettle(budgetId) {
40 40
   return request({
41
-    url: '/oa/budgetSettle/' + budgetSettleId,
41
+    url: '/oa/budgetSettle/' + budgetId,
42 42
     method: 'delete'
43 43
   })
44 44
 }

+ 4
- 4
oa-ui/src/api/oa/budget/budgetStaff.js 파일 보기

@@ -10,9 +10,9 @@ export function listBudgetStaff(query) {
10 10
 }
11 11
 
12 12
 // 查询cmc人员预算详细
13
-export function getBudgetStaff(budgetStaffId) {
13
+export function getBudgetStaff(budgetId) {
14 14
   return request({
15
-    url: '/oa/budgetStaff/' + budgetStaffId,
15
+    url: '/oa/budgetStaff/' + budgetId,
16 16
     method: 'get'
17 17
   })
18 18
 }
@@ -36,9 +36,9 @@ export function updateBudgetStaff(data) {
36 36
 }
37 37
 
38 38
 // 删除cmc人员预算
39
-export function delBudgetStaff(budgetStaffId) {
39
+export function delBudgetStaff(budgetId) {
40 40
   return request({
41
-    url: '/oa/budgetStaff/' + budgetStaffId,
41
+    url: '/oa/budgetStaff/' + budgetId,
42 42
     method: 'delete'
43 43
   })
44 44
 }

+ 44
- 0
oa-ui/src/api/oa/deposit/deposit.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc保证金审批列表
4
+export function listDeposit(query) {
5
+  return request({
6
+    url: '/oa/deposit/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc保证金审批详细
13
+export function getDeposit(depositId) {
14
+  return request({
15
+    url: '/oa/deposit/' + depositId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc保证金审批
21
+export function addDeposit(data) {
22
+  return request({
23
+    url: '/oa/deposit',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc保证金审批
30
+export function updateDeposit(data) {
31
+  return request({
32
+    url: '/oa/deposit',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc保证金审批
39
+export function delDeposit(depositId) {
40
+  return request({
41
+    url: '/oa/deposit/' + depositId,
42
+    method: 'delete'
43
+  })
44
+}

+ 44
- 0
oa-ui/src/api/oa/settle/settle.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc结算审批列表
4
+export function listSettle(query) {
5
+  return request({
6
+    url: '/oa/settle/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc结算审批详细
13
+export function getSettle(settleId) {
14
+  return request({
15
+    url: '/oa/settle/' + settleId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc结算审批
21
+export function addSettle(data) {
22
+  return request({
23
+    url: '/oa/settle',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc结算审批
30
+export function updateSettle(data) {
31
+  return request({
32
+    url: '/oa/settle',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc结算审批
39
+export function delSettle(settleId) {
40
+  return request({
41
+    url: '/oa/settle/' + settleId,
42
+    method: 'delete'
43
+  })
44
+}

+ 50
- 0
oa-ui/src/api/oa/settle/settleSummary.js 파일 보기

@@ -0,0 +1,50 @@
1
+/*
2
+ * @Author: wrh
3
+ * @Date: 2024-04-29 13:55:26
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 15:19:50
6
+ */
7
+import request from '@/utils/request'
8
+
9
+// 查询cmc结算汇总列表
10
+export function listSettleSummary(query) {
11
+  return request({
12
+    url: '/oa/settleSummary/list',
13
+    method: 'get',
14
+    params: query
15
+  })
16
+}
17
+
18
+// 查询cmc结算汇总详细
19
+export function getSettleSummary(settleId) {
20
+  return request({
21
+    url: '/oa/settleSummary/' + settleId,
22
+    method: 'get'
23
+  })
24
+}
25
+
26
+// 新增cmc结算汇总
27
+export function addSettleSummary(data) {
28
+  return request({
29
+    url: '/oa/settleSummary',
30
+    method: 'post',
31
+    data: data
32
+  })
33
+}
34
+
35
+// 修改cmc结算汇总
36
+export function updateSettleSummary(data) {
37
+  return request({
38
+    url: '/oa/settleSummary',
39
+    method: 'put',
40
+    data: data
41
+  })
42
+}
43
+
44
+// 删除cmc结算汇总
45
+export function delSettleSummary(settleId) {
46
+  return request({
47
+    url: '/oa/settleSummary/' + settleId,
48
+    method: 'delete'
49
+  })
50
+}

+ 44
- 0
oa-ui/src/api/oa/settle/settleWork.js 파일 보기

@@ -0,0 +1,44 @@
1
+import request from '@/utils/request'
2
+
3
+// 查询cmc经费计算列表
4
+export function listSettleWork(query) {
5
+  return request({
6
+    url: '/oa/settleWork/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc经费计算详细
13
+export function getSettleWork(settleId) {
14
+  return request({
15
+    url: '/oa/settleWork/' + settleId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc经费计算
21
+export function addSettleWork(data) {
22
+  return request({
23
+    url: '/oa/settleWork',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc经费计算
30
+export function updateSettleWork(data) {
31
+  return request({
32
+    url: '/oa/settleWork',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc经费计算
39
+export function delSettleWork(settleId) {
40
+  return request({
41
+    url: '/oa/settleWork/' + settleId,
42
+    method: 'delete'
43
+  })
44
+}

+ 350
- 0
oa-ui/src/views/flowable/form/archiveForm.vue 파일 보기

@@ -0,0 +1,350 @@
1
+<template>
2
+  <div class="app-container">
3
+    <el-row :gutter="20">
4
+      <el-col :span="18" :xs="24">
5
+        <h2 class="text-center">成果归档表</h2>
6
+        <el-divider></el-divider>
7
+        <el-form ref="form" :model="form" :rules="rules" label-width="120px">
8
+          <el-form-item label="项目id" prop="projectId">
9
+            <el-select v-model="form.projectId" filterable placeholder="请选择" @change="handleSelectProject"
10
+              :disabled="taskName != '成果上传'" clearable>
11
+              <el-option v-for="item in projectList" :key="item.value" :label="item.projectName" :value="item.projectId">
12
+              </el-option>
13
+            </el-select>
14
+            <el-descriptions border v-if="isSelect" style="margin-top: 10px;" :column="1">
15
+              <el-descriptions-item label="项目编号" label-class-name="my-label">{{ chooseProject.projectNumber
16
+              }}</el-descriptions-item>
17
+              <el-descriptions-item label="项目名称" label-class-name="my-label">{{ chooseProject.projectName
18
+              }}</el-descriptions-item>
19
+              <el-descriptions-item label="项目负责人" label-class-name="my-label">{{ chooseProject.projectLeaderUser ?
20
+                chooseProject.projectLeaderUser.nickName : ''
21
+              }}</el-descriptions-item>
22
+            </el-descriptions>
23
+          </el-form-item>
24
+          <el-form-item label="成果汇交日期" prop="submitTime">
25
+            <el-date-picker clearable v-model="form.submitTime" type="date" value-format="yyyy-MM-dd"
26
+              placeholder="请选择成果汇交日期">
27
+            </el-date-picker>
28
+          </el-form-item>
29
+          <el-form-item label="备注说明" prop="submitSituation">
30
+            <el-input v-model="form.submitSituation" placeholder="请输入备注说明" />
31
+          </el-form-item>
32
+          <el-form-item label="坐标经度" prop="locationLng">
33
+            <el-input v-model="form.locationLng" placeholder="请输入坐标经度" />
34
+          </el-form-item>
35
+          <el-form-item label="坐标纬度" prop="locationLat">
36
+            <el-input v-model="form.locationLat" placeholder="请输入坐标纬度" />
37
+          </el-form-item>
38
+          <el-form-item label="生产部门检查员" prop="produceInspector">
39
+            <el-input v-model="form.produceInspector" placeholder="请输入生产部门检查员" />
40
+          </el-form-item>
41
+          <el-form-item label="质量检查员" prop="qualityInspector">
42
+            <el-input v-model="form.qualityInspector" placeholder="请输入质量检查员" />
43
+          </el-form-item>
44
+          <el-form-item label="技术部负责人" prop="deptLeader">
45
+            <el-input v-model="form.deptLeader" placeholder="请输入技术部负责人" />
46
+          </el-form-item>
47
+          <el-form-item label="归档人" prop="archiver">
48
+            <el-input v-model="form.archiver" placeholder="请输入归档人" />
49
+          </el-form-item>
50
+          <el-form-item label="资料接收时间" prop="receiveTime">
51
+            <el-date-picker clearable v-model="form.receiveTime" type="date" value-format="yyyy-MM-dd"
52
+              placeholder="请选择资料接收时间">
53
+            </el-date-picker>
54
+          </el-form-item>
55
+          <el-form-item label="质量检查时间" prop="qualityTime">
56
+            <el-date-picker clearable v-model="form.qualityTime" type="date" value-format="yyyy-MM-dd"
57
+              placeholder="请选择质量检查时间">
58
+            </el-date-picker>
59
+          </el-form-item>
60
+          <el-form-item label="生产部门检查时间" prop="produceTime">
61
+            <el-date-picker clearable v-model="form.produceTime" type="date" value-format="yyyy-MM-dd"
62
+              placeholder="请选择生产部门检查时间">
63
+            </el-date-picker>
64
+          </el-form-item>
65
+          <el-form-item label="技术部审核时间" prop="deptTime">
66
+            <el-date-picker clearable v-model="form.deptTime" type="date" value-format="yyyy-MM-dd"
67
+              placeholder="请选择技术部审核时间">
68
+            </el-date-picker>
69
+          </el-form-item>
70
+          <el-form-item label="归档时间" prop="archiveTime">
71
+            <el-date-picker clearable v-model="form.archiveTime" type="date" value-format="yyyy-MM-dd"
72
+              placeholder="请选择归档时间">
73
+            </el-date-picker>
74
+          </el-form-item>
75
+          <el-form-item label="生产部门意见" prop="produceComment">
76
+            <el-input v-model="form.produceComment" placeholder="请输入生产部门意见" />
77
+          </el-form-item>
78
+          <el-form-item label="质量检查意见" prop="qualityComment">
79
+            <el-input v-model="form.qualityComment" placeholder="请输入质量检查意见" />
80
+          </el-form-item>
81
+          <el-form-item label="技术部审核意见" prop="deptComment">
82
+            <el-input v-model="form.deptComment" placeholder="请输入技术部审核意见" />
83
+          </el-form-item>
84
+          <el-form-item label="归档审核意见" prop="archiveComment">
85
+            <el-input v-model="form.archiveComment" placeholder="请输入归档审核意见" />
86
+          </el-form-item>
87
+        </el-form>
88
+        <div style="text-align: center;">
89
+          <el-button type="primary" @click="submitForm">确 定</el-button>
90
+          <el-button @click="cancel">取 消</el-button>
91
+        </div>
92
+      </el-col>
93
+      <el-col :span="6" :xs="24">
94
+        <el-card>
95
+          <h2 style="text-align: center;">流程进度</h2>
96
+          <div>
97
+            <flow :flowData="flowData" />
98
+          </div>
99
+        </el-card>
100
+      </el-col>
101
+    </el-row>
102
+  </div>
103
+</template>
104
+
105
+<script>
106
+import { parseTime } from "@/utils/ruoyi";
107
+import { listProject, getProject } from "@/api/oa/project/project";
108
+import { listArchive, getArchive, delArchive, addArchive, updateArchive } from "@/api/oa/archive/archive";
109
+import { complete, getNextFlowNode } from "@/api/flowable/todo";
110
+import flow from '@/views/flowable/task/todo/detail/flow'
111
+import { flowXmlAndNode } from "@/api/flowable/definition";
112
+
113
+export default {
114
+  components: {
115
+    flow
116
+  },
117
+  props: {
118
+    taskName: {
119
+      type: String,
120
+      required: true
121
+    },
122
+    taskForm: {
123
+      type: Object,
124
+      required: true
125
+    }
126
+  },
127
+  name: "Archive",
128
+  data() {
129
+    return {
130
+      // 遮罩层
131
+      loading: true,
132
+      // 选中数组
133
+      ids: [],
134
+      // 非单个禁用
135
+      single: true,
136
+      // 非多个禁用
137
+      multiple: true,
138
+      // 显示搜索条件
139
+      showSearch: true,
140
+      // 总条数
141
+      total: 0,
142
+      // cmc成果归档表格数据
143
+      archiveList: [],
144
+      // 弹出层标题
145
+      title: "",
146
+      // 是否显示弹出层
147
+      open: false,
148
+      // 查询参数
149
+      queryParams: {
150
+        pageNum: 1,
151
+        pageSize: 10,
152
+        projectId: null,
153
+        submitTime: null,
154
+        submitSituation: null,
155
+        locationLng: null,
156
+        locationLat: null,
157
+        produceInspector: null,
158
+        qualityInspector: null,
159
+        deptLeader: null,
160
+        archiver: null,
161
+        receiveTime: null,
162
+        qualityTime: null,
163
+        produceTime: null,
164
+        deptTime: null,
165
+        archiveTime: null,
166
+        produceComment: null,
167
+        qualityComment: null,
168
+        deptComment: null,
169
+        archiveComment: null
170
+      },
171
+      // 表单参数
172
+      form: {},
173
+      // 表单校验
174
+      rules: {
175
+      },
176
+      chooseProject: {},
177
+      isSelect: false,
178
+      formTotal: 0,
179
+      flowData: {},
180
+      projectList: [],
181
+    };
182
+  },
183
+  created() {
184
+    this.getProjectList();
185
+    this.getList();
186
+    flowXmlAndNode({ procInsId: this.taskForm.procInsId, deployId: this.taskForm.deployId }).then(res => {
187
+      this.flowData = res.data;
188
+    })
189
+  },
190
+  methods: {
191
+    // 初始化表单
192
+    initForm() {
193
+      getArchive(this.taskForm.formId).then(res => {
194
+        if (this.isEmptyObject(res.data)) {
195
+          this.formTotal = 0;
196
+          this.form.applier = this.$store.getters.userId;
197
+          this.form.applyTime = parseTime(new Date(), '{y}-{m}-{d}')
198
+        }
199
+        else {
200
+          this.formTotal = 1;
201
+          this.form = res.data;
202
+          if (res.data.projectId) {
203
+            getProject(data.projectId).then(response => {
204
+              this.chooseProject = response.data;
205
+              this.isSelect = true
206
+            })
207
+          }
208
+          this.loading = false
209
+        }
210
+      })
211
+    },
212
+    /** 查询cmc成果归档列表 */
213
+    getList() {
214
+      this.loading = true;
215
+      listArchive(this.queryParams).then(response => {
216
+        this.archiveList = response.rows;
217
+        this.total = response.total;
218
+        this.loading = false;
219
+      });
220
+    },
221
+    // 取消按钮
222
+    cancel() {
223
+      this.open = false;
224
+      this.reset();
225
+    },
226
+    // 查询项目列表
227
+    getProjectList() {
228
+      this.loading = true
229
+      listProject({
230
+        pageNum: 1,
231
+        pageSize: 99999999
232
+      }).then(response => {
233
+        this.projectList = response.rows;
234
+      })
235
+    },
236
+    // 选择项目
237
+    handleSelectProject(val) {
238
+      if (val != "" && val != undefined && val != null) {
239
+        getProject(val).then(res => {
240
+          this.chooseProject = res.data;
241
+          this.isSelect = true;
242
+        })
243
+      } else {
244
+        this.isSelect = false
245
+      }
246
+    },
247
+    isEmptyObject(obj) {
248
+      for (var key in obj) {
249
+        if (obj.hasOwnProperty(key)) {
250
+          return false;
251
+        }
252
+      }
253
+      return true;
254
+    },
255
+    // 表单重置
256
+    reset() {
257
+      this.form = {
258
+        archiveId: null,
259
+        projectId: null,
260
+        submitTime: null,
261
+        submitSituation: null,
262
+        locationLng: null,
263
+        locationLat: null,
264
+        produceInspector: null,
265
+        qualityInspector: null,
266
+        deptLeader: null,
267
+        archiver: null,
268
+        receiveTime: null,
269
+        qualityTime: null,
270
+        produceTime: null,
271
+        deptTime: null,
272
+        archiveTime: null,
273
+        produceComment: null,
274
+        qualityComment: null,
275
+        deptComment: null,
276
+        archiveComment: null
277
+      };
278
+      this.resetForm("form");
279
+    },
280
+    /** 搜索按钮操作 */
281
+    handleQuery() {
282
+      this.queryParams.pageNum = 1;
283
+      this.getList();
284
+    },
285
+    /** 重置按钮操作 */
286
+    resetQuery() {
287
+      this.resetForm("queryForm");
288
+      this.handleQuery();
289
+    },
290
+    // 多选框选中数据
291
+    handleSelectionChange(selection) {
292
+      this.ids = selection.map(item => item.archiveId)
293
+      this.single = selection.length !== 1
294
+      this.multiple = !selection.length
295
+    },
296
+    /** 新增按钮操作 */
297
+    handleAdd() {
298
+      this.reset();
299
+      this.open = true;
300
+      this.title = "添加cmc成果归档";
301
+    },
302
+    /** 修改按钮操作 */
303
+    handleUpdate(row) {
304
+      this.reset();
305
+      const archiveId = row.archiveId || this.ids
306
+      getArchive(archiveId).then(response => {
307
+        this.form = response.data;
308
+        this.open = true;
309
+        this.title = "修改cmc成果归档";
310
+      });
311
+    },
312
+    /** 提交按钮 */
313
+    submitForm() {
314
+      this.$refs["form"].validate(valid => {
315
+        if (valid) {
316
+          if (this.formTotal != 0) {
317
+            updateArchive(this.form).then(response => {
318
+              this.$modal.msgSuccess("修改成功");
319
+              this.open = false;
320
+              this.getList();
321
+            });
322
+          } else {
323
+            addArchive(this.form).then(response => {
324
+              this.$modal.msgSuccess("新增成功");
325
+              this.open = false;
326
+              this.getList();
327
+            });
328
+          }
329
+        }
330
+      });
331
+    },
332
+    /** 删除按钮操作 */
333
+    handleDelete(row) {
334
+      const archiveIds = row.archiveId || this.ids;
335
+      this.$modal.confirm('是否确认删除cmc成果归档编号为"' + archiveIds + '"的数据项?').then(function () {
336
+        return delArchive(archiveIds);
337
+      }).then(() => {
338
+        this.getList();
339
+        this.$modal.msgSuccess("删除成功");
340
+      }).catch(() => { });
341
+    },
342
+    /** 导出按钮操作 */
343
+    handleExport() {
344
+      this.download('oa/archive/export', {
345
+        ...this.queryParams
346
+      }, `archive_${new Date().getTime()}.xlsx`)
347
+    }
348
+  }
349
+};
350
+</script>

+ 4
- 4
oa-ui/src/views/flowable/form/borrow/borrowData.vue 파일 보기

@@ -86,7 +86,7 @@
86 86
 
87 87
 <script>
88 88
 import { listBorrow, getBorrow, delBorrow, addBorrow, updateBorrow } from "@/api/oa/borrow/borrow";
89
-import { getBorrowDetail, addBorrowDetail, updateBorrowDetail } from "@/api/oa/borrow/borrowDetail";
89
+import { listBorrowDetail, addBorrowDetail, updateBorrowDetail } from "@/api/oa/borrow/borrowDetail";
90 90
 import { listDefinition } from "@/api/flowable/definition";
91 91
 import { getNextFlowNodeByStart } from "@/api/flowable/todo";
92 92
 import { definitionStart, flowXmlAndNode } from "@/api/flowable/definition";
@@ -122,9 +122,9 @@ export default {
122 122
       })
123 123
     },
124 124
     getBorrowDetailData(borrowId) {
125
-      getBorrowDetail(borrowId).then(res => {
126
-        if (res.data.length != 0) {
127
-          this.detailList = res.data
125
+      listBorrowDetail({borrowId:borrowId}).then(res => {
126
+        if (res.rows.length != 0) {
127
+          this.detailList = res.rows
128 128
         }
129 129
       });
130 130
     },

+ 4
- 4
oa-ui/src/views/flowable/form/borrowForm.vue 파일 보기

@@ -252,7 +252,7 @@
252 252
 import { parseTime } from "@/utils/ruoyi";
253 253
 import { getUsersDeptLeader, getUsersDeptLeaderByDept, getUsersManageLeaderByDept } from '@/api/system/post.js'
254 254
 import { listBorrow, getBorrow, delBorrow, addBorrow, updateBorrow } from "@/api/oa/borrow/borrow";
255
-import { getBorrowDetail, addBorrowDetail, updateBorrowDetail } from "@/api/oa/borrow/borrowDetail";
255
+import { listBorrowDetail, addBorrowDetail, updateBorrowDetail } from "@/api/oa/borrow/borrowDetail";
256 256
 import { listProject, getProject } from "@/api/oa/project/project";
257 257
 import flow from '@/views/flowable/task/todo/detail/flow'
258 258
 import { flowXmlAndNode } from "@/api/flowable/definition";
@@ -374,9 +374,9 @@ export default {
374 374
   },
375 375
   methods: {
376 376
     initForm() {
377
-      getBorrowDetail(this.taskForm.formId).then(res => {
378
-        if (res.data.length != 0) {
379
-          this.detailList = res.data
377
+      listBorrowDetail({borrowId: this.taskForm.formId}).then(res => {
378
+        if (res.rows.length != 0) {
379
+          this.detailList = res.rows
380 380
         }
381 381
       });
382 382
       getBorrow(this.taskForm.formId).then(res => {

+ 291
- 0
oa-ui/src/views/flowable/form/brandForm.vue 파일 보기

@@ -0,0 +1,291 @@
1
+<template>
2
+  <div class="app-container">
3
+    <el-row :gutter="20">
4
+      <el-col :span="18" :xs="24">
5
+        <h2 class="text-center">品牌项目支付审批表</h2>
6
+        <el-divider></el-divider>
7
+        <el-form ref="form" :model="form" :rules="rules" label-width="120px">
8
+          <el-form-item label="品牌项目id" prop="projectId">
9
+            <el-select v-model="form.projectId" filterable placeholder="请选择" @change="handleSelectProject"
10
+              :disabled="taskName != '支付申请'" clearable>
11
+              <el-option v-for="item in projectList" :key="item.value" :label="item.projectName" :value="item.projectId">
12
+              </el-option>
13
+            </el-select>
14
+            <el-descriptions border v-if="isSelect" style="margin-top: 10px;" :column="1">
15
+              <el-descriptions-item label="项目编号" label-class-name="my-label">{{ chooseProject.projectNumber
16
+              }}</el-descriptions-item>
17
+              <el-descriptions-item label="项目名称" label-class-name="my-label">{{ chooseProject.projectName
18
+              }}</el-descriptions-item>
19
+              <el-descriptions-item label="项目负责人" label-class-name="my-label">{{ chooseProject.projectLeaderUser ?
20
+                chooseProject.projectLeaderUser.nickName : ''
21
+              }}</el-descriptions-item>
22
+            </el-descriptions>
23
+          </el-form-item>
24
+          <el-form-item label="申请支付说明" prop="applyReason">
25
+            <el-input v-model="form.applyReason" placeholder="请输入申请支付说明" />
26
+          </el-form-item>
27
+          <el-form-item label="审核文件" prop="approvalDocument">
28
+            <el-input v-model="form.approvalDocument" placeholder="请输入审核文件" />
29
+          </el-form-item>
30
+          <el-row>
31
+            <el-col :span="6" :xs="24" :offset="12">
32
+              <el-form-item label="签名:" label-width="120px">
33
+                <span class="auditor"> {{ form.applierUser ? form.applierUser.nickName : applierUser }} </span>
34
+              </el-form-item>
35
+            </el-col>
36
+            <el-col :span="6">
37
+              <el-form-item label="日期:" label-width="120px">
38
+                <span> {{ form.applyTime ? form.applyTime : applyTime }} </span>
39
+              </el-form-item>
40
+            </el-col>
41
+          </el-row>
42
+          <el-form-item label="财务部经办人" prop="cwUserId">
43
+            <el-input v-model="form.cwUserId" placeholder="请输入财务部经办人" />
44
+          </el-form-item>
45
+        </el-form>
46
+        <div style="text-align: center;">
47
+          <el-button type="primary" @click="submitForm">确 定</el-button>
48
+          <el-button @click="cancel">取 消</el-button>
49
+        </div>
50
+      </el-col>
51
+      <el-col :span="6" :xs="24">
52
+        <el-card>
53
+          <h2 style="text-align: center;">流程进度</h2>
54
+          <div>
55
+            <flow :flowData="flowData" />
56
+          </div>
57
+        </el-card>
58
+      </el-col>
59
+    </el-row>
60
+  </div>
61
+</template>
62
+
63
+<script>
64
+import { parseTime } from "@/utils/ruoyi";
65
+import { listBrandProject, getBrandProject } from "@/api/oa/brand/brandProject";
66
+import { listBrand, getBrand, delBrand, addBrand, updateBrand } from "@/api/oa/brand/brand";
67
+import { complete, getNextFlowNode } from "@/api/flowable/todo";
68
+import flow from '@/views/flowable/task/todo/detail/flow'
69
+import { flowXmlAndNode } from "@/api/flowable/definition";
70
+
71
+export default {
72
+  components: {
73
+    flow
74
+  },
75
+  props: {
76
+    taskName: {
77
+      type: String,
78
+      required: true
79
+    },
80
+    taskForm: {
81
+      type: Object,
82
+      required: true
83
+    }
84
+  },
85
+  name: "Brand",
86
+  data() {
87
+    return {
88
+      // 遮罩层
89
+      loading: true,
90
+      // 选中数组
91
+      ids: [],
92
+      // 非单个禁用
93
+      single: true,
94
+      // 非多个禁用
95
+      multiple: true,
96
+      // 显示搜索条件
97
+      showSearch: true,
98
+      // 总条数
99
+      total: 0,
100
+      // cmc品牌项目支付审批表格数据
101
+      brandList: [],
102
+      // 弹出层标题
103
+      title: "",
104
+      // 是否显示弹出层
105
+      open: false,
106
+      // 查询参数
107
+      queryParams: {
108
+        pageNum: 1,
109
+        pageSize: 10,
110
+        projectId: null,
111
+        applyReason: null,
112
+        approvalDocument: null,
113
+        applier: null,
114
+        applyTime: null,
115
+        cwUserId: null
116
+      },
117
+      // 表单参数
118
+      form: {},
119
+      // 表单校验
120
+      rules: {
121
+      },
122
+      chooseProject: {},
123
+      isSelect: false,
124
+      formTotal: 0,
125
+      flowData: {},
126
+      projectList: [],
127
+    };
128
+  },
129
+  mounted() {
130
+    this.initForm();
131
+  },
132
+  created() {
133
+    if (this.taskName == '支付申请') {
134
+      this.applierUser = this.$store.getters.name;
135
+      this.applyTime = parseTime(new Date(), '{y}-{m}-{d}')
136
+    }
137
+    this.getProjectList();
138
+    this.getList();
139
+    flowXmlAndNode({ procInsId: this.taskForm.procInsId, deployId: this.taskForm.deployId }).then(res => {
140
+      this.flowData = res.data;
141
+    })
142
+  },
143
+  methods: {
144
+    // 初始化表单
145
+    initForm() {
146
+      getBrand(this.taskForm.formId).then(res => {
147
+        if (this.isEmptyObject(res.data)) {
148
+          this.formTotal = 0;
149
+          this.form.applier = this.$store.getters.userId;
150
+          this.form.applyTime = parseTime(new Date(), '{y}-{m}-{d}')
151
+        }
152
+        else {
153
+          this.formTotal = 1;
154
+          this.form = res.data;
155
+          if (res.data.projectId) {
156
+            getProject(data.projectId).then(response => {
157
+              this.chooseProject = response.data;
158
+              this.isSelect = true
159
+            })
160
+          }
161
+          this.loading = false
162
+        }
163
+      })
164
+    },
165
+    /** 查询cmc品牌项目支付审批列表 */
166
+    getList() {
167
+      this.loading = true;
168
+      listBrand(this.queryParams).then(response => {
169
+        this.brandList = response.rows;
170
+        this.total = response.total;
171
+        this.loading = false;
172
+      });
173
+    },
174
+    // 取消按钮
175
+    cancel() {
176
+      this.open = false;
177
+      this.reset();
178
+    },
179
+    // 查询项目列表
180
+    getProjectList() {
181
+      this.loading = true
182
+      listBrandProject({
183
+        pageNum: 1,
184
+        pageSize: 99999999
185
+      }).then(response => {
186
+        this.projectList = response.rows;
187
+      })
188
+    },
189
+    // 选择项目
190
+    handleSelectProject(val) {
191
+      if (val != "" && val != undefined && val != null) {
192
+        getBrandProject(val).then(res => {
193
+          this.chooseProject = res.data;
194
+          this.isSelect = true;
195
+        })
196
+      } else {
197
+        this.isSelect = false
198
+      }
199
+    },
200
+    isEmptyObject(obj) {
201
+      for (var key in obj) {
202
+        if (obj.hasOwnProperty(key)) {
203
+          return false;
204
+        }
205
+      }
206
+      return true;
207
+    },
208
+    // 表单重置
209
+    reset() {
210
+      this.form = {
211
+        brandId: null,
212
+        projectId: null,
213
+        applyReason: null,
214
+        approvalDocument: null,
215
+        applier: null,
216
+        applyTime: null,
217
+        cwUserId: null
218
+      };
219
+      this.resetForm("form");
220
+    },
221
+    /** 搜索按钮操作 */
222
+    handleQuery() {
223
+      this.queryParams.pageNum = 1;
224
+      this.getList();
225
+    },
226
+    /** 重置按钮操作 */
227
+    resetQuery() {
228
+      this.resetForm("queryForm");
229
+      this.handleQuery();
230
+    },
231
+    // 多选框选中数据
232
+    handleSelectionChange(selection) {
233
+      this.ids = selection.map(item => item.brandId)
234
+      this.single = selection.length !== 1
235
+      this.multiple = !selection.length
236
+    },
237
+    /** 新增按钮操作 */
238
+    handleAdd() {
239
+      this.reset();
240
+      this.open = true;
241
+      this.title = "添加cmc品牌项目支付审批";
242
+    },
243
+    /** 修改按钮操作 */
244
+    handleUpdate(row) {
245
+      this.reset();
246
+      const brandId = row.brandId || this.ids
247
+      getBrand(brandId).then(response => {
248
+        this.form = response.data;
249
+        this.open = true;
250
+        this.title = "修改cmc品牌项目支付审批";
251
+      });
252
+    },
253
+    /** 提交按钮 */
254
+    submitForm() {
255
+      this.$refs["form"].validate(valid => {
256
+        if (valid) {
257
+          if (this.formTotal != 0) {
258
+            updateBrand(this.form).then(response => {
259
+              this.$modal.msgSuccess("修改成功");
260
+              this.open = false;
261
+              this.getList();
262
+            });
263
+          } else {
264
+            addBrand(this.form).then(response => {
265
+              this.$modal.msgSuccess("新增成功");
266
+              this.open = false;
267
+              this.getList();
268
+            });
269
+          }
270
+        }
271
+      });
272
+    },
273
+    /** 删除按钮操作 */
274
+    handleDelete(row) {
275
+      const brandIds = row.brandId || this.ids;
276
+      this.$modal.confirm('是否确认删除cmc品牌项目支付审批编号为"' + brandIds + '"的数据项?').then(function () {
277
+        return delBrand(brandIds);
278
+      }).then(() => {
279
+        this.getList();
280
+        this.$modal.msgSuccess("删除成功");
281
+      }).catch(() => { });
282
+    },
283
+    /** 导出按钮操作 */
284
+    handleExport() {
285
+      this.download('oa/brand/export', {
286
+        ...this.queryParams
287
+      }, `brand_${new Date().getTime()}.xlsx`)
288
+    }
289
+  }
290
+};
291
+</script>

+ 21
- 21
oa-ui/src/views/flowable/form/budget/budgetInfo.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-03 16:28:09
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-18 14:01:23
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:28:28
6 6
 -->
7 7
 <template>
8 8
   <div class="main">
@@ -127,11 +127,11 @@
127 127
 
128 128
 <script>
129 129
 import { listBudget } from "@/api/oa/budget/budget";
130
-import { listBudgetCar, getBudgetCar } from "@/api/oa/budget/budgetCar";
131
-import { listBudgetDevice, getBudgetDevice } from "@/api/oa/budget/budgetDevice";
132
-import { listBudgetSettle, getBudgetSettle } from "@/api/oa/budget/budgetSettle";
133
-import { listBudgetStaff, getBudgetStaff } from "@/api/oa/budget/budgetStaff";
134
-import { getProjectWork } from "@/api/oa/project/projectWork";
130
+import { listBudgetCar } from "@/api/oa/budget/budgetCar";
131
+import { listBudgetDevice } from "@/api/oa/budget/budgetDevice";
132
+import { listBudgetSettle } from "@/api/oa/budget/budgetSettle";
133
+import { listBudgetStaff } from "@/api/oa/budget/budgetStaff";
134
+import { listProjectWork } from "@/api/oa/project/projectWork";
135 135
 import { mapGetters } from 'vuex';
136 136
 export default {
137 137
   computed: {
@@ -172,26 +172,26 @@ export default {
172 172
     initBudgetForm() {
173 173
       listBudget({ pageNum: 1, pageSize: 20, projectId: this.taskForm.formId }).then(res => {
174 174
         this.budgetForm = res.rows[0];
175
-        getBudgetDevice(this.budgetForm.budgetId).then(res => {
176
-          this.chooseDevice = res.data;
177
-          this.deviceLen = res.data.length + 1;
175
+        listBudgetDevice({budgetId: this.budgetForm.budgetId}).then(res => {
176
+          this.chooseDevice = res.rows;
177
+          this.deviceLen = res.rows.length + 1;
178 178
         })
179
-        getBudgetStaff(this.budgetForm.budgetId).then(res => {
180
-          this.chooseUser = res.data;
181
-          this.userLen = res.data.length + 1;
179
+        listBudgetStaff({budgetId: this.budgetForm.budgetId}).then(res => {
180
+          this.chooseUser = res.rows;
181
+          this.userLen = res.rows.length + 1;
182 182
           let days = 0;
183 183
           for(let d of this.chooseUser){
184 184
             days = days + d.days
185 185
           }
186 186
           this.budgetForm.inOutPriceSum = Number(days) * Number(this.chooseUser[0].inOutPrice)
187 187
         })
188
-        getBudgetCar(this.budgetForm.budgetId).then(res => {
189
-          this.chooseCar = res.data;
190
-          this.carLen = res.data.length + 1;
188
+        listBudgetCar({budgetId: this.budgetForm.budgetId}).then(res => {
189
+          this.chooseCar = res.rows;
190
+          this.carLen = res.rows.length + 1;
191 191
         })
192
-        getBudgetSettle(this.budgetForm.budgetId).then(res => {
193
-          this.workList = res.data;
194
-          this.workLen = res.data.length + 6;
192
+        listBudgetSettle({budgetId: this.budgetForm.budgetId}).then(res => {
193
+          this.workList = res.rows;
194
+          this.workLen = res.rows.length + 6;
195 195
           for(let work of this.workList){
196 196
             if(work.groundType == '0'){
197 197
               work.price = work.cmcPrice.commonPrice
@@ -205,8 +205,8 @@ export default {
205 205
       });
206 206
     },
207 207
     getProjectWorkList() {
208
-      getProjectWork(this.$route.query.formId).then(res => {
209
-        this.workContentList = res.data;
208
+      listProjectWork({projectId: this.$route.query.formId}).then(res => {
209
+        this.workContentList = res.rows;
210 210
       })
211 211
     },
212 212
   },

+ 13
- 15
oa-ui/src/views/flowable/form/contractForm.vue 파일 보기

@@ -348,9 +348,9 @@ import { listProject, getProject } from "@/api/oa/project/project";
348 348
 import { listDept } from '@/api/system/dept'
349 349
 import { listUser } from '@/api/system/user'
350 350
 import { listContract, getContract, delContract, addContract, updateContract } from "@/api/oa/contract/contract";
351
-import { getContractWork, addContractWork } from "@/api/oa/contract/contractWork";
352
-import { getContractPayment, addContractPayment } from "@/api/oa/contract/contractPayment";
353
-import { getContractComment, addContractComment, updateContractComment } from "@/api/oa/contract/contractComment";
351
+import { listContractWork, addContractWork } from "@/api/oa/contract/contractWork";
352
+import { listContractPayment, addContractPayment } from "@/api/oa/contract/contractPayment";
353
+import { listContractComment, addContractComment, updateContractComment } from "@/api/oa/contract/contractComment";
354 354
 import { getContractMeeting, addContractMeeting, updateContractMeeting } from "@/api/oa/contract/contractMeeting";
355 355
 import { listProjectContract, addProjectContract } from "@/api/oa/contract/projectContract";
356 356
 import { complete, rejectTask, returnList, returnTask, getNextFlowNode, delegate, flowTaskForm, } from "@/api/flowable/todo";
@@ -548,17 +548,17 @@ export default {
548 548
               this.isSelect = true
549 549
             })
550 550
           }
551
-          getContractWork(this.taskForm.formId).then(res => {
552
-            if (res.data)
553
-              this.workList = res.data;
551
+          listContractWork({contractId: this.taskForm.formId}).then(res => {
552
+            if (res.rows)
553
+              this.workList = res.rows;
554 554
           });
555
-          getContractPayment(this.taskForm.formId).then(res => {
556
-            if (res.data)
557
-              this.paymentList = res.data;
555
+          listContractPayment({contractId: this.taskForm.formId}).then(res => {
556
+            if (res.rows)
557
+              this.paymentList = res.rows;
558 558
           });
559
-          getContractComment(this.taskForm.formId).then(res => {
560
-            if (res.data)
561
-              this.commentList = res.data;
559
+          listContractComment({contractId: this.taskForm.formId}).then(res => {
560
+            if (res.rows)
561
+              this.commentList = res.rows;
562 562
             for (let comment of this.commentList) {
563 563
               if (comment.commentTime == undefined) {
564 564
                 if (comment.userId != this.$store.getters.userId) {
@@ -663,8 +663,7 @@ export default {
663 663
       return true;
664 664
     },
665 665
     getProjectSource(chooseTender) {
666
-      let partyAList = ['中国电建集团成都勘测设计研究院勘测设计分公司', '成勘院 水环境与城建工程分公司'];
667
-      return partyAList.indexOf(chooseTender.partyA) != -1 ? '院内' : '院外';
666
+      return chooseTender.partyA.indexOf('中国电建集团成都勘测设计研究院有限公司') != -1 ? '院内' : '院外';
668 667
     },
669 668
     addWorkList() {
670 669
       this.workList.push({
@@ -827,7 +826,6 @@ export default {
827 826
                 });
828 827
               }
829 828
               else if (this.taskName == '线上会审') {
830
-                console.log(this.commentList);
831 829
                 for (let comment of this.commentList) {
832 830
                   updateContractComment(comment);
833 831
                 }

+ 344
- 0
oa-ui/src/views/flowable/form/depositForm.vue 파일 보기

@@ -0,0 +1,344 @@
1
+<template>
2
+  <div class="app-container">
3
+    <el-row :gutter="20">
4
+      <el-col :span="18" :xs="24">
5
+        <h2 class="text-center">保证金审批表</h2>
6
+        <el-divider></el-divider>
7
+        <el-form ref="form" :model="form" :rules="rules" label-width="120px">
8
+          <el-form-item label="投标项目id" prop="tenderId">
9
+            <el-select v-model="form.tenderId" filterable placeholder="请选择" @change="handleSelectTender"
10
+              :disabled="taskName != '保证金申请'" clearable>
11
+              <el-option v-for="item in tenderList" :key="item.value" :label="item.projectName" :value="item.tenderId">
12
+              </el-option>
13
+            </el-select>
14
+          </el-form-item>
15
+          <el-form-item label="合同id" prop="contractId">
16
+            <el-input v-model="form.contractId" placeholder="请输入合同id" />
17
+          </el-form-item>
18
+          <el-form-item label="预计退还日期" prop="returnTime">
19
+            <el-date-picker clearable v-model="form.returnTime" type="date" value-format="yyyy-MM-dd"
20
+              placeholder="请选择预计退还日期">
21
+            </el-date-picker>
22
+          </el-form-item>
23
+          <el-form-item label="开户名称" prop="accountName">
24
+            <el-input v-model="form.accountName" placeholder="请输入开户名称" />
25
+          </el-form-item>
26
+          <el-form-item label="开户银行" prop="accountBank">
27
+            <el-input v-model="form.accountBank" placeholder="请输入开户银行" />
28
+          </el-form-item>
29
+          <el-form-item label="银行卡号" prop="cardNumber">
30
+            <el-input v-model="form.cardNumber" placeholder="请输入银行卡号" />
31
+          </el-form-item>
32
+          <el-form-item label="保证金形式" prop="depositWay">
33
+            <el-input v-model="form.depositWay" placeholder="请输入保证金形式" />
34
+          </el-form-item>
35
+          <el-form-item label="申请人" prop="applier">
36
+            <el-input v-model="form.applier" placeholder="请输入申请人" />
37
+          </el-form-item>
38
+          <el-form-item label="申请日期" prop="applyTime">
39
+            <el-date-picker clearable v-model="form.applyTime" type="date" value-format="yyyy-MM-dd"
40
+              placeholder="请选择申请日期">
41
+            </el-date-picker>
42
+          </el-form-item>
43
+          <el-form-item label="申请说明" prop="applyReason">
44
+            <el-input v-model="form.applyReason" placeholder="请输入申请说明" />
45
+          </el-form-item>
46
+          <el-form-item label="相关附件" prop="applyDocument">
47
+            <el-input v-model="form.applyDocument" placeholder="请输入相关附件" />
48
+          </el-form-item>
49
+          <el-form-item label="分管审批时间" prop="managerTime">
50
+            <el-date-picker clearable v-model="form.managerTime" type="date" value-format="yyyy-MM-dd"
51
+              placeholder="请选择分管审批时间">
52
+            </el-date-picker>
53
+          </el-form-item>
54
+          <el-form-item label="分管审批人" prop="managerUserId">
55
+            <el-input v-model="form.managerUserId" placeholder="请输入分管审批人" />
56
+          </el-form-item>
57
+          <el-form-item label="汇款日期" prop="remitTime">
58
+            <el-date-picker clearable v-model="form.remitTime" type="date" value-format="yyyy-MM-dd"
59
+              placeholder="请选择汇款日期">
60
+            </el-date-picker>
61
+          </el-form-item>
62
+          <el-form-item label="财务处理时间" prop="cwTime">
63
+            <el-date-picker clearable v-model="form.cwTime" type="date" value-format="yyyy-MM-dd" placeholder="请选择财务处理时间">
64
+            </el-date-picker>
65
+          </el-form-item>
66
+          <el-form-item label="退还时间" prop="backTime">
67
+            <el-date-picker clearable v-model="form.backTime" type="date" value-format="yyyy-MM-dd" placeholder="请选择退还时间">
68
+            </el-date-picker>
69
+          </el-form-item>
70
+          <el-form-item label="财务打款备注" prop="cwComment">
71
+            <el-input v-model="form.cwComment" placeholder="请输入财务打款备注" />
72
+          </el-form-item>
73
+          <el-form-item label="财务处理人" prop="cwUserId">
74
+            <el-input v-model="form.cwUserId" placeholder="请输入财务处理人" />
75
+          </el-form-item>
76
+        </el-form>
77
+        <div style="text-align: center;">
78
+          <el-button type="primary" @click="submitForm">确 定</el-button>
79
+          <el-button @click="cancel">取 消</el-button>
80
+        </div>
81
+      </el-col>
82
+      <el-col :span="6" :xs="24">
83
+        <el-card>
84
+          <h2 style="text-align: center;">流程进度</h2>
85
+          <div>
86
+            <flow :flowData="flowData" />
87
+          </div>
88
+        </el-card>
89
+      </el-col>
90
+    </el-row>
91
+  </div>
92
+</template>
93
+
94
+<script>
95
+import { parseTime } from "@/utils/ruoyi";
96
+import { listTender, getTender } from "@/api/oa/tender/tender";
97
+import { listDeposit, getDeposit, delDeposit, addDeposit, updateDeposit } from "@/api/oa/deposit/deposit";
98
+import { complete, getNextFlowNode } from "@/api/flowable/todo";
99
+import flow from '@/views/flowable/task/todo/detail/flow'
100
+import { flowXmlAndNode } from "@/api/flowable/definition";
101
+
102
+export default {
103
+  components: {
104
+    flow
105
+  },
106
+  props: {
107
+    taskName: {
108
+      type: String,
109
+      required: true
110
+    },
111
+    taskForm: {
112
+      type: Object,
113
+      required: true
114
+    }
115
+  },
116
+  name: "Deposit",
117
+  data() {
118
+    return {
119
+      // 遮罩层
120
+      loading: true,
121
+      // 选中数组
122
+      ids: [],
123
+      // 非单个禁用
124
+      single: true,
125
+      // 非多个禁用
126
+      multiple: true,
127
+      // 显示搜索条件
128
+      showSearch: true,
129
+      // 总条数
130
+      total: 0,
131
+      // cmc保证金审批表格数据
132
+      depositList: [],
133
+      // 弹出层标题
134
+      title: "",
135
+      // 是否显示弹出层
136
+      open: false,
137
+      // 查询参数
138
+      queryParams: {
139
+        pageNum: 1,
140
+        pageSize: 10,
141
+        depositType: null,
142
+        tenderId: null,
143
+        contractId: null,
144
+        returnTime: null,
145
+        accountName: null,
146
+        accountBank: null,
147
+        cardNumber: null,
148
+        depositWay: null,
149
+        applier: null,
150
+        applyTime: null,
151
+        applyReason: null,
152
+        applyDocument: null,
153
+        managerTime: null,
154
+        managerUserId: null,
155
+        remitTime: null,
156
+        cwTime: null,
157
+        backTime: null,
158
+        cwComment: null,
159
+        cwUserId: null
160
+      },
161
+      // 表单参数
162
+      form: {},
163
+      // 表单校验
164
+      rules: {
165
+      },
166
+      chooseTender: {},
167
+      isSelect: false,
168
+      formTotal: 0,
169
+      flowData: {},
170
+      tenderList: [],
171
+    };
172
+  },
173
+  mounted() {
174
+    this.initForm();
175
+  },
176
+  created() {
177
+    this.getTenderList();
178
+    this.getList();
179
+    flowXmlAndNode({ procInsId: this.taskForm.procInsId, deployId: this.taskForm.deployId }).then(res => {
180
+      this.flowData = res.data;
181
+    })
182
+  },
183
+  methods: {
184
+    // 初始化表单
185
+    initForm() {
186
+      getDeposit(this.taskForm.formId).then(res => {
187
+        if (this.isEmptyObject(res.data)) {
188
+          this.formTotal = 0;
189
+          this.form.applier = this.$store.getters.userId;
190
+          this.form.applyTime = parseTime(new Date(), '{y}-{m}-{d}')
191
+        }
192
+        else {
193
+          this.formTotal = 1;
194
+          this.form = res.data;
195
+          if (res.data.tenderId) {
196
+            getTender(data.tenderId).then(response => {
197
+              this.chooseTender = response.data;
198
+              this.isSelect = true
199
+            })
200
+          }
201
+          this.loading = false
202
+        }
203
+      })
204
+    },
205
+    /** 查询cmc保证金审批列表 */
206
+    getList() {
207
+      this.loading = true;
208
+      listDeposit(this.queryParams).then(response => {
209
+        this.depositList = response.rows;
210
+        this.total = response.total;
211
+        this.loading = false;
212
+      });
213
+    },
214
+    // 取消按钮
215
+    cancel() {
216
+      this.open = false;
217
+      this.reset();
218
+    },
219
+    // 查询项目列表
220
+    getTenderList() {
221
+      this.loading = true
222
+      listTender({
223
+        pageNum: 1,
224
+        pageSize: 99999999
225
+      }).then(response => {
226
+        this.tenderList = response.rows;
227
+      })
228
+    },
229
+    // 选择项目
230
+    handleSelectTender(val) {
231
+      if (val != "" && val != undefined && val != null) {
232
+        getTender(val).then(res => {
233
+          this.chooseTender = res.data;
234
+          this.isSelect = true;
235
+        })
236
+      } else {
237
+        this.isSelect = false
238
+      }
239
+    },
240
+    isEmptyObject(obj) {
241
+      for (var key in obj) {
242
+        if (obj.hasOwnProperty(key)) {
243
+          return false;
244
+        }
245
+      }
246
+      return true;
247
+    },
248
+    // 表单重置
249
+    reset() {
250
+      this.form = {
251
+        depositId: null,
252
+        depositType: null,
253
+        tenderId: null,
254
+        contractId: null,
255
+        returnTime: null,
256
+        accountName: null,
257
+        accountBank: null,
258
+        cardNumber: null,
259
+        depositWay: null,
260
+        applier: null,
261
+        applyTime: null,
262
+        applyReason: null,
263
+        applyDocument: null,
264
+        managerTime: null,
265
+        managerUserId: null,
266
+        remitTime: null,
267
+        cwTime: null,
268
+        backTime: null,
269
+        cwComment: null,
270
+        cwUserId: null
271
+      };
272
+      this.resetForm("form");
273
+    },
274
+    /** 搜索按钮操作 */
275
+    handleQuery() {
276
+      this.queryParams.pageNum = 1;
277
+      this.getList();
278
+    },
279
+    /** 重置按钮操作 */
280
+    resetQuery() {
281
+      this.resetForm("queryForm");
282
+      this.handleQuery();
283
+    },
284
+    // 多选框选中数据
285
+    handleSelectionChange(selection) {
286
+      this.ids = selection.map(item => item.depositId)
287
+      this.single = selection.length !== 1
288
+      this.multiple = !selection.length
289
+    },
290
+    /** 新增按钮操作 */
291
+    handleAdd() {
292
+      this.reset();
293
+      this.open = true;
294
+      this.title = "添加cmc保证金审批";
295
+    },
296
+    /** 修改按钮操作 */
297
+    handleUpdate(row) {
298
+      this.reset();
299
+      const depositId = row.depositId || this.ids
300
+      getDeposit(depositId).then(response => {
301
+        this.form = response.data;
302
+        this.open = true;
303
+        this.title = "修改cmc保证金审批";
304
+      });
305
+    },
306
+    /** 提交按钮 */
307
+    submitForm() {
308
+      this.$refs["form"].validate(valid => {
309
+        if (valid) {
310
+          if (this.formTotal != 0) {
311
+            updateDeposit(this.form).then(response => {
312
+              this.$modal.msgSuccess("修改成功");
313
+              this.open = false;
314
+              this.getList();
315
+            });
316
+          } else {
317
+            addDeposit(this.form).then(response => {
318
+              this.$modal.msgSuccess("新增成功");
319
+              this.open = false;
320
+              this.getList();
321
+            });
322
+          }
323
+        }
324
+      });
325
+    },
326
+    /** 删除按钮操作 */
327
+    handleDelete(row) {
328
+      const depositIds = row.depositId || this.ids;
329
+      this.$modal.confirm('是否确认删除cmc保证金审批编号为"' + depositIds + '"的数据项?').then(function () {
330
+        return delDeposit(depositIds);
331
+      }).then(() => {
332
+        this.getList();
333
+        this.$modal.msgSuccess("删除成功");
334
+      }).catch(() => { });
335
+    },
336
+    /** 导出按钮操作 */
337
+    handleExport() {
338
+      this.download('oa/deposit/export', {
339
+        ...this.queryParams
340
+      }, `deposit_${new Date().getTime()}.xlsx`)
341
+    }
342
+  }
343
+};
344
+</script>

+ 6
- 6
oa-ui/src/views/flowable/form/projectProcess/addproject.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-02-27 14:49:15
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-26 16:55:34
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:08:59
6 6
 -->
7 7
 
8 8
 <template>
@@ -129,8 +129,8 @@ import { listProject, getProject, addProject, delProject } from "@/api/oa/projec
129 129
 import { getUser } from "@/api/system/user";
130 130
 import { getUsersDeptLeaderByDept } from "@/api/system/post";
131 131
 import { complete, rejectTask, returnList, returnTask, getNextFlowNode, delegate, flowTaskForm } from "@/api/flowable/todo";
132
-import { getProjectWork, addProjectWork } from "@/api/oa/project/projectWork";
133
-import { listProjectContract, addProjectContract, get } from "@/api/oa/contract/projectContract";
132
+import { listProjectWork, addProjectWork } from "@/api/oa/project/projectWork";
133
+import { listProjectContract, addProjectContract } from "@/api/oa/contract/projectContract";
134 134
 import { listContract, getContract, delContract, addContract, updateContract } from "@/api/oa/contract/contract";
135 135
 export default {
136 136
   props: {
@@ -225,8 +225,8 @@ export default {
225 225
       })
226 226
     },
227 227
     getProjectWorkList() {
228
-      getProjectWork(this.taskForm.formId).then(res => {
229
-        this.workList = res.data;
228
+      listProjectWork({projectId: this.taskForm.formId}).then(res => {
229
+        this.workList = res.rows;
230 230
       })
231 231
     },
232 232
     getContractDataList() {

+ 15
- 9
oa-ui/src/views/flowable/form/projectProcess/budgetTab.vue 파일 보기

@@ -1,3 +1,9 @@
1
+<!--
2
+ * @Author: wrh
3
+ * @Date: 2024-04-26 17:52:02
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:32:50
6
+-->
1 7
 <template>
2 8
   <div class="app-container" v-loading="loading">
3 9
     <el-empty description="预算未编制,等待项目负责人编制" v-if="!haveBudget"></el-empty>
@@ -12,11 +18,11 @@
12 18
 
13 19
 <script>
14 20
 import { listBudget } from "@/api/oa/budget/budget";
15
-import { listBudgetCar, getBudgetCar } from "@/api/oa/budget/budgetCar";
16
-import { listBudgetDevice, getBudgetDevice } from "@/api/oa/budget/budgetDevice";
17
-import { listBudgetSettle, getBudgetSettle } from "@/api/oa/budget/budgetSettle";
18
-import { listBudgetStaff, getBudgetStaff } from "@/api/oa/budget/budgetStaff";
19
-import { getProjectWork } from "@/api/oa/project/projectWork";
21
+import { listBudgetCar } from "@/api/oa/budget/budgetCar";
22
+import { listBudgetDevice } from "@/api/oa/budget/budgetDevice";
23
+import { listBudgetSettle } from "@/api/oa/budget/budgetSettle";
24
+import { listBudgetStaff } from "@/api/oa/budget/budgetStaff";
25
+import { listProjectWork } from "@/api/oa/project/projectWork";
20 26
 import BudgetInfo from "../budget/budgetInfo.vue";
21 27
 export default {
22 28
   components: {
@@ -58,11 +64,11 @@ export default {
58 64
         if (res.total != 0) {
59 65
           this.haveBudget = true;
60 66
           this.budgetId = res.rows[0].budgetId;
61
-          getProjectWork(projectId).then(res => {
62
-            if (res.data) {
63
-              this.workList = res.data;
67
+          listProjectWork({projectId: projectId}).then(res => {
68
+            if (res.rows) {
69
+              this.workList = res.rows;
64 70
             }
65
-            getBudgetSettle(this.budgetId).then(res => {
71
+            listBudgetSettle({budgetId: this.budgetId}).then(res => {
66 72
             });
67 73
           });
68 74
         }

+ 6
- 6
oa-ui/src/views/flowable/form/projectProcess/businessReview.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-08 13:56:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-11 17:03:10
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:10:25
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container">
@@ -29,7 +29,7 @@
29 29
 import { mapGetters } from 'vuex';
30 30
 import { parseTime } from "@/utils/ruoyi";
31 31
 import { complete, rejectTask, returnList, returnTask, getNextFlowNode, delegate, flowTaskForm } from "@/api/flowable/todo";
32
-import { getProjectComment, addProjectComment } from "@/api/oa/project/projectComment"
32
+import { listProjectComment, addProjectComment } from "@/api/oa/project/projectComment"
33 33
 import { listProject, getProject, addProject, updateProject, delProject, submitProject, modifyProject } from "@/api/oa/project/project";
34 34
 import { getUsersManageLeaderByDept } from '@/api/system/post'
35 35
 export default {
@@ -76,9 +76,9 @@ export default {
76 76
   },
77 77
   methods: {
78 78
     initForm() {
79
-      getProjectComment(this.taskForm.formId).then(res => {
80
-        if (res.data) {
81
-          this.form = res.data
79
+      listProjectComment({projectId: this.taskForm.formId}).then(res => {
80
+        if (res.rows) {
81
+          this.form = res.rows
82 82
           if (this.form.jyUser) {
83 83
             this.form.jyApproverName = this.form.jyUser.nickName
84 84
           }

+ 16
- 16
oa-ui/src/views/flowable/form/projectProcess/inProgress.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-08 13:56:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-25 17:41:02
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:33:39
6 6
 -->
7 7
 <template>
8 8
   <div>
@@ -125,14 +125,14 @@ import {
125 125
 } from "@/api/oa/project/projectComment";
126 126
 import { getUsersDeptLeaderByDept } from "@/api/system/post";
127 127
 import {
128
-  getProjectProgress,
128
+  listProjectProgress,
129 129
   addProjectProgress,
130 130
   delProjectProgress,
131 131
 } from "@/api/oa/project/projectProgress";
132
-import { listBudgetCar, getBudgetCar } from "@/api/oa/budget/budgetCar";
133
-import { listBudgetDevice, getBudgetDevice } from "@/api/oa/budget/budgetDevice";
134
-import { listBudgetSettle, getBudgetSettle } from "@/api/oa/budget/budgetSettle";
135
-import { listBudgetStaff, getBudgetStaff } from "@/api/oa/budget/budgetStaff";
132
+import { listBudgetCar } from "@/api/oa/budget/budgetCar";
133
+import { listBudgetDevice } from "@/api/oa/budget/budgetDevice";
134
+import { listBudgetSettle } from "@/api/oa/budget/budgetSettle";
135
+import { listBudgetStaff } from "@/api/oa/budget/budgetStaff";
136 136
 import { listBudget } from "@/api/oa/budget/budget";
137 137
 import { getProject, updateProject } from "@/api/oa/project/project";
138 138
 import { getCar } from "@/api/oa/car/car";
@@ -207,10 +207,10 @@ export default {
207 207
           this.form.exitTime = res.data.exitTime;
208 208
         }
209 209
       });
210
-      getProjectProgress(this.taskForm.formId).then(res => {
211
-        this.oldProgressList = res.data
212
-        if (res.data.length != 0) {
213
-          this.progressList = res.data;
210
+      listProjectProgress({projectId: this.taskForm.formId}).then(res => {
211
+        this.oldProgressList = res.rows
212
+        if (res.rows.length != 0) {
213
+          this.progressList = res.rows;
214 214
         }
215 215
       });
216 216
     },
@@ -222,21 +222,21 @@ export default {
222 222
         } else {
223 223
           this.noBudget = false;
224 224
           this.budgetId = res.rows[0].budgetId;
225
-          getBudgetCar(this.budgetId).then(res => {
225
+          listBudgetCar({budgetId: this.budgetId}).then(res => {
226 226
             let carArr = [];
227 227
             let carDriverList = [];
228
-            for (let i of res.data) {
228
+            for (let i of res.rows) {
229 229
               carArr.push(i.car.licensePlate);
230 230
               getCar(i.carId).then(res => {
231
-                carDriverList.push(res.data.driverUser.nickName);
231
+                carDriverList.push(res.rows.driverUser.nickName);
232 232
                 // this.form.driver = carDriverList.join("、");
233 233
               });
234 234
             }
235 235
             this.form.licensePlate = carArr.join("、");
236 236
           });
237
-          getBudgetStaff(this.budgetId).then(res => {
237
+          listBudgetStaff({budgetId: this.budgetId}).then(res => {
238 238
             let userArr = [];
239
-            for (let u of res.data) {
239
+            for (let u of res.rows) {
240 240
               userArr.push(u.user.nickName);
241 241
             }
242 242
             this.form.staff = userArr.join("、");

+ 8
- 8
oa-ui/src/views/flowable/form/projectProcess/manageReview.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-08 13:56:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-18 11:02:05
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:14:29
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container">
@@ -29,7 +29,7 @@
29 29
 import { mapGetters } from 'vuex';
30 30
 import { parseTime } from "@/utils/ruoyi";
31 31
 import { complete, rejectTask, returnList, returnTask, getNextFlowNode, delegate, flowTaskForm } from "@/api/flowable/todo";
32
-import { getProjectComment, addProjectComment, updateProjectComment } from "@/api/oa/project/projectComment"
32
+import { listProjectComment, addProjectComment, updateProjectComment } from "@/api/oa/project/projectComment"
33 33
 import { getUsersDeptLeaderByDept } from '@/api/system/post'
34 34
 export default {
35 35
   computed: {
@@ -79,16 +79,16 @@ export default {
79 79
   },
80 80
   methods: {
81 81
     initForm() {
82
-      getProjectComment(this.taskForm.formId).then(res => {
83
-        if (res.data) {
84
-          this.form = res.data
82
+      listProjectComment({projectId: this.taskForm.formId}).then(res => {
83
+        if (res.rows) {
84
+          this.form = res.rows
85 85
           if (this.taskName == '分管审核') {
86 86
             this.form.manageApprover = this.$store.state.user.userId;
87 87
             this.form.manageApproverName = this.$store.state.user.name;
88 88
             this.form.manageApprovalTime = parseTime(new Date(), '{y}-{m}-{d}')
89 89
           } else {
90
-            if (res.data.managerUser)
91
-              this.form.manageApproverName = res.data.managerUser.nickName
90
+            if (res.rows.managerUser)
91
+              this.form.manageApproverName = res.rows.managerUser.nickName
92 92
           }
93 93
         } else {
94 94
           if (this.taskName == '分管审核') {

+ 8
- 8
oa-ui/src/views/flowable/form/projectProcess/scConfirm.vue 파일 보기

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-08 13:56:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-04-25 09:13:47
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-04-29 14:15:16
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container">
@@ -30,7 +30,7 @@
30 30
 import { mapGetters } from 'vuex';
31 31
 import { parseTime } from "@/utils/ruoyi";
32 32
 import { complete, rejectTask, returnList, returnTask, getNextFlowNode, delegate, flowTaskForm } from "@/api/flowable/todo";
33
-import { getProjectComment, addProjectComment, updateProjectComment } from "@/api/oa/project/projectComment"
33
+import { listProjectComment, addProjectComment, updateProjectComment } from "@/api/oa/project/projectComment"
34 34
 import { getUsersDeptLeaderByDept } from '@/api/system/post'
35 35
 import { getProject } from '@/api/oa/project/project'
36 36
 export default {
@@ -81,12 +81,12 @@ export default {
81 81
   },
82 82
   methods: {
83 83
     initForm() {
84
-      getProjectComment(this.taskForm.formId).then(res => {
85
-        if (res.data) {
86
-          this.form = res.data
84
+    listProjectComment({projectId: this.taskForm.formId}).then(res => {
85
+        if (res.rows) {
86
+          this.form = res.rows
87 87
           this.form.scApprover = '';
88
-          if (res.data.scApproverName) {
89
-            this.form.scApproverName = res.data.scApproverName
88
+          if (res.rows.scApproverName) {
89
+            this.form.scApproverName = res.rows.scApproverName
90 90
           }
91 91
         } else {
92 92
           this.form.scApprover = '';

+ 0
- 0
oa-ui/src/views/flowable/form/settleForm.vue 파일 보기


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.

Loading…
취소
저장