修改时新增案件日志 #348

Merged
bgy merged 2 commits from bgy into dev 2024-04-30 06:52:06 +00:00
3 changed files with 7 additions and 2 deletions
+3 -2
View File
@@ -9,7 +9,8 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging> <packaging>jar</packaging>
<artifactId>ruoyi-admin</artifactId> <artifactId>SmartArbitrate</artifactId>
<version>1.1.0</version>
<description> <description>
web服务入口 web服务入口
@@ -94,7 +95,7 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}-${project.version}</finalName>
</build> </build>
</project> </project>
@@ -6,6 +6,8 @@ package com.ruoyi.common.constant;
public class CaseApplicationConstants { public class CaseApplicationConstants {
/** 立案申请 */ /** 立案申请 */
public static final int CASE_APPLICATION = 0; public static final int CASE_APPLICATION = 0;
/** 案件修改 */
public static final int CASE_EDIT = -1;
/** 待立案审查 */ /** 待立案审查 */
public static final int CASE_CHECK = 1; public static final int CASE_CHECK = 1;
/** 待缴费 */ /** 待缴费 */
@@ -1419,6 +1419,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
// 异步新增案件日志 // 异步新增案件日志
ThreadPoolUtil.execute(() -> { ThreadPoolUtil.execute(() -> {
try { try {
//新增案件日志记录
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CASE_EDIT, "修改案件信息");
caseApplication.setCaseAppliId(caseApplication.getId()); caseApplication.setCaseAppliId(caseApplication.getId());
caseApplication.setCaseLogId(IdWorkerUtil.getId()); caseApplication.setCaseLogId(IdWorkerUtil.getId());
int insertRow = caseApplicationLogMapper.insert(caseApplication); int insertRow = caseApplicationLogMapper.insert(caseApplication);