浏览代码

项目流转流程更新、流程实例排序

lamphua 11 个月前
父节点
当前提交
5a25e9f743
共有 21 个文件被更改,包括 28 次插入11 次删除
  1. 2
    2
      oa-back/ruoyi-flowable/src/main/java/com/ruoyi/flowable/oa/CallPlanActivityExecutionListener.java
  2. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcArchiveMapper.xml
  3. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBorrowMapper.xml
  4. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandMapper.xml
  5. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBudgetMapper.xml
  6. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcCarApprovalMapper.xml
  7. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDepositMapper.xml
  8. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDeviceApprovalMapper.xml
  9. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDeviceExpenseMapper.xml
  10. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDeviceHandoverMapper.xml
  11. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcDeviceScrapMapper.xml
  12. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectChangeMapper.xml
  13. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSafeMapper.xml
  14. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSafeReportMapper.xml
  15. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml
  16. 1
    1
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleSummaryMapper.xml
  17. 1
    1
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleWorkMapper.xml
  18. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalMapper.xml
  19. 1
    1
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTechnicalPlanMapper.xml
  20. 1
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTenderMapper.xml
  21. 7
    6
      oa-back/sql/sql.sql

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

@@ -12,7 +12,7 @@ public class CallPlanActivityExecutionListener implements ExecutionListener {
12 12
     @Override
13 13
     public void notify(DelegateExecution delegateExecution) {
14 14
         SysUserPostMapper userPostMapper = SpringUtils.getBean(SysUserPostMapper.class);
15
-        Authentication.setAuthenticatedUserId(userPostMapper.selectDeptLeaderByDeptId("110").getUserId().toString());
16
-        delegateExecution.setVariable("approval", userPostMapper.selectDeptLeaderByDeptId("110").getUserId().toString());
15
+        Authentication.setAuthenticatedUserId(userPostMapper.selectDeptLeaderByDeptId("109").getUserId().toString());
16
+        delegateExecution.setVariable("approval", userPostMapper.selectDeptLeaderByDeptId("109").getUserId().toString());
17 17
     }
18 18
 }

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

@@ -96,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
96 96
             <if test="deptComment != null  and deptComment != ''"> and a.dept_comment = #{deptComment}</if>
97 97
             <if test="archiveComment != null  and archiveComment != ''"> and a.archive_comment = #{archiveComment}</if>
98 98
         </where>
99
+        order by a.submit_time desc
99 100
     </select>
100 101
     
101 102
     <select id="selectCmcArchiveByArchiveId" parameterType="String" resultMap="CmcArchiveResult">

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

@@ -139,6 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
139 139
             <if test="lendTime != null "> and b.lend_time = #{lendTime}</if>
140 140
             <if test="unionTime != null "> and b.union_time = #{unionTime}</if>
141 141
         </where>
142
+        order by b.apply_date desc
142 143
     </select>
143 144
     
144 145
     <select id="selectCmcBorrowByBorrowId" parameterType="String" resultMap="CmcBorrowResult">

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

@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
44 44
             <if test="cwTime != null "> and b.cw_time = #{cwTime}</if>
45 45
             <if test="cwUserId != null "> and b.cw_user_id = #{cwUserId}</if>
46 46
         </where>
47
+        order by b.apply_time desc
47 48
     </select>
48 49
     
49 50
     <select id="selectCmcBrandByBrandId" parameterType="String" resultMap="CmcBrandResult">

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

@@ -75,6 +75,7 @@
75 75
             <if test="compiler != null "> and b.compiler = #{compiler}</if>
76 76
             <if test="auditor != null "> and b.auditor = #{auditor}</if>
77 77
         </where>
78
+        order by b.create_time desc
78 79
     </select>
79 80
 
80 81
     <select id="selectCmcBudgetByBudgetId" parameterType="String" resultMap="CmcBudgetResult">

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

@@ -127,6 +127,7 @@
127 127
             <if test="dispatchComment != null  and dispatchComment != ''"> and ca.dispatch_comment = #{dispatchComment}</if>
128 128
             <if test="estimateCost != null "> and ca.estimate_cost = #{estimateCost}</if>
129 129
         </where>
130
+        order by ca.apply_date asc
130 131
     </select>
131 132
 
132 133
     <select id="selectCmcCarApprovalByCarApplyId" parameterType="String" resultMap="CmcCarApprovalResult">

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

@@ -93,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
93 93
             <if test="cwComment != null  and cwComment != ''"> and d.cw_comment = #{cwComment}</if>
94 94
             <if test="cwUserId != null "> and d.cw_user_id = #{cwUserId}</if>
95 95
         </where>
96
+        order by d.apply_time desc
96 97
     </select>
97 98
     
98 99
     <select id="selectCmcDepositByDepositId" parameterType="String" resultMap="CmcDepositResult">

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

@@ -93,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
93 93
             <if test="managerTime != null "> and da.manager_time = #{managerTime}</if>
94 94
             <if test="dispatchTime != null "> and da.dispatch_time = #{dispatchTime}</if>
95 95
         </where>
96
+        order by da.apply_date desc
96 97
     </select>
97 98
     
98 99
     <select id="selectCmcDeviceApprovalByDeviceApplyId" parameterType="String" resultMap="CmcDeviceApprovalResult">

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

@@ -56,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
56 56
             <if test="occurDate != null "> and de.occur_date = #{occurDate}</if>
57 57
             <if test="document != null  and document != ''"> and de.document = #{document}</if>
58 58
         </where>
59
+        order by de.occur_date desc
59 60
     </select>
60 61
     
61 62
     <select id="selectCmcDeviceExpenseByDeviceExpenseId" parameterType="Integer" resultMap="CmcDeviceExpenseResult">

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

@@ -73,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
73 73
             <if test="description != null  and description != ''"> and dh.description = #{description}</if>
74 74
             <if test="reason != null  and reason != ''"> and dh.reason = #{reason}</if>
75 75
         </where>
76
+        order by dh.handover_date desc
76 77
     </select>
77 78
     
78 79
     <select id="selectCmcDeviceHandoverByDeviceHandoverId" parameterType="Integer" resultMap="CmcDeviceHandoverResult">

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

@@ -49,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
49 49
             <if test="deal != null  and deal != ''"> and ds.deal = #{deal}</if>
50 50
             <if test="document != null  and document != ''"> and ds.document = #{document}</if>
51 51
         </where>
52
+        order by ds.scrap_date desc
52 53
     </select>
53 54
     
54 55
     <select id="selectCmcDeviceScrapByDeviceScrapId" parameterType="Integer" resultMap="CmcDeviceScrapResult">

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

@@ -50,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
50 50
             <if test="registerTime != null "> and pc.register_time = #{registerTime}</if>
51 51
             <if test="undertakingDept != null "> and p.undertaking_dept like concat("%", #{undertakingDept} ,"%")</if>
52 52
         </where>
53
+        order by pc.register_time desc
53 54
     </select>
54 55
     
55 56
     <select id="selectCmcProjectChangeByChangeId" parameterType="Long" resultMap="CmcProjectChangeResult">

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

@@ -58,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
58 58
             <if test="disclosureTime != null "> and s.disclosure_time = #{disclosureTime}</if>
59 59
             <if test="acceptTime != null "> and s.accept_time = #{acceptTime}</if>
60 60
         </where>
61
+        order by s.discloure_time desc
61 62
     </select>
62 63
     
63 64
     <select id="selectCmcSafeBySafeId" parameterType="String" resultMap="CmcSafeResult">

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

@@ -43,6 +43,7 @@
43 43
             <if test="content != null  and content != ''"> and sr.content = #{content}</if>
44 44
             <if test="reporter != null "> and sr.reporter = #{reporter}</if>
45 45
         </where>
46
+        order by sr.report_date desc
46 47
     </select>
47 48
 
48 49
     <select id="selectCmcSafeReportBySafeReportId" parameterType="Integer" resultMap="CmcSafeReportResult">

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

@@ -131,6 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
131 131
             <if test="gmTime != null "> and s.gm_time = #{gmTime}</if>
132 132
             <if test="gmComment != null  and gmComment != ''"> and s.gm_comment = #{gmComment}</if>
133 133
         </where>
134
+        order by s.report_time desc
134 135
     </select>
135 136
     
136 137
     <select id="selectCmcSettleBySettleId" parameterType="String" resultMap="CmcSettleResult">

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

@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
25 25
             <if test="amount != null "> and amount = #{amount}</if>
26 26
             <if test="tableNumber != null  and tableNumber != ''"> and table_number = #{tableNumber}</if>
27 27
         </where>
28
-        order by #{summaryId} asc
28
+        order by settle_id asc
29 29
     </select>
30 30
     
31 31
     <select id="selectCmcSettleSummaryBySettleId" parameterType="String" resultMap="CmcSettleSummaryResult">

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

@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
31 31
             <if test="groundType != null  and groundType != ''"> and ground_type = #{groundType}</if>
32 32
             <if test="settle != null "> and settle = #{settle}</if>
33 33
         </where>
34
-        order by  #{workId} asc
34
+        order by work_id asc
35 35
     </select>
36 36
     
37 37
     <select id="selectCmcSettleWorkBySettleId" parameterType="String" resultMap="CmcSettleWorkResult">

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

@@ -57,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
57 57
             <if test="disclosureTime != null "> and t.disclosure_time = #{disclosureTime}</if>
58 58
             <if test="acceptTime != null "> and t.accept_time = #{acceptTime}</if>
59 59
         </where>
60
+        order by t.disclosure_time desc
60 61
     </select>
61 62
     
62 63
     <select id="selectCmcTechnicalByTechnicalId" parameterType="String" resultMap="CmcTechnicalResult">

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

@@ -85,7 +85,7 @@
85 85
             <if test="techApprovalTime != null "> and t.tech_approval_time = #{techApprovalTime}</if>
86 86
             <if test="manageApprovalTime != null "> and t.manage_approval_time = #{manageApprovalTime}</if>
87 87
         </where>
88
-        order by technical_time desc
88
+        order by t.technical_time desc
89 89
     </select>
90 90
 
91 91
     <select id="selectCmcTechnicalPlanByTechnicalPlanId" parameterType="String" resultMap="CmcTechnicalPlanResult">

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

@@ -128,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
128 128
             <if test="tenderPrinter != null "> and t.tender_printer = #{tenderPrinter}</if>
129 129
             <if test="tenderDocument != null  and tenderDocument != ''"> and t.tender_document = #{tenderDocument}</if>
130 130
         </where>
131
+        order by t.tender_id desc
131 132
     </select>
132 133
     
133 134
     <select id="selectCmcTenderByTenderId" parameterType="String" resultMap="CmcTenderResult">

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


正在加载...
取消
保存