1. 去除循环依赖bug

2. 修改接口幂等性注解
This commit is contained in:
ant 2024-07-11 17:17:48 +08:00
parent 0332ca6efb
commit 8b5a81f30a
10 changed files with 57 additions and 14 deletions

View File

@ -97,6 +97,11 @@
<artifactId>chushang-common-security</artifactId>
<version>${common.version}</version>
</dependency>
<dependency>
<groupId>com.chushang</groupId>
<artifactId>chushang-common-web</artifactId>
<version>${common.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>chushang-common</artifactId>
<groupId>com.chushang</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>chushang-common-web</artifactId>
<dependencies>
<dependency>
<groupId>com.chushang</groupId>
<artifactId>chushang-common-core</artifactId>
</dependency>
<dependency>
<groupId>com.chushang</groupId>
<artifactId>chushang-common-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
</build>
</project>

View File

@ -1,4 +1,4 @@
package com.chushang.common.core.web.advice;
package com.chushang.common.web.advice;
import java.io.Serial;
import java.util.LinkedHashMap;

View File

@ -1,4 +1,3 @@
package com.chushang.common.core.web.advice;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.StrUtil;
@ -6,8 +5,8 @@ import cn.hutool.extra.servlet.ServletUtil;
import com.alibaba.fastjson2.JSON;
import com.chushang.common.core.exception.utils.AssertUtil;
import com.chushang.common.core.util.IPUtils;
import com.chushang.common.core.util.StringUtils;
import com.chushang.common.core.web.annotation.AutoIdempotent;
import com.chushang.common.web.advice.CacheLRUMap;
import com.chushang.common.web.annotation.AutoIdempotent;
import lombok.RequiredArgsConstructor;
import org.springframework.core.MethodParameter;
import org.springframework.http.HttpInputMessage;
@ -15,12 +14,8 @@ import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Type;
import java.time.Duration;
import java.util.LinkedHashMap;
import java.util.Map;
@RestControllerAdvice
@SuppressWarnings("all")

View File

@ -1,4 +1,4 @@
package com.chushang.common.core.web.annotation;
package com.chushang.common.web.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View File

@ -0,0 +1 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=

View File

@ -31,5 +31,6 @@
<module>chushang-common-mybatis-plugin</module>
<module>chushang-common-redis</module>
<module>chushang-common-security</module>
<module>chushang-common-web</module>
</modules>
</project>

View File

@ -21,6 +21,10 @@
<groupId>com.chushang</groupId>
<artifactId>oss-feign</artifactId>
</dependency>
<dependency>
<groupId>com.chushang</groupId>
<artifactId>chushang-common-web</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -35,10 +35,6 @@ import java.util.List;
public class WrkProjectService extends ServiceImpl<WrkProjectMapper, WrkProject> implements IService<WrkProject> {
@Resource
WrkProjectContractService contractService;
@Resource
WrkAuditService auditService;
@DataScope
public PageResult pageList(WrkProject project, CommonParam commonParam) {

View File

@ -2,9 +2,9 @@ package com.chushang.inspection.work.controller;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.lang.Assert;
import com.chushang.common.core.web.AjaxResult;
import com.chushang.common.core.web.annotation.AutoIdempotent;
import com.chushang.common.log.annotation.SysLog;
import com.chushang.common.log.enums.BusinessType;
import com.chushang.common.web.annotation.AutoIdempotent;
import com.chushang.inspection.work.dto.BankDispatchQuery;
import com.chushang.inspection.work.dto.WrkIcbcJsReceive;
import com.chushang.inspection.work.po.WrkIcbcJs;