parent
0332ca6efb
commit
8b5a81f30a
|
|
@ -97,6 +97,11 @@
|
||||||
<artifactId>chushang-common-security</artifactId>
|
<artifactId>chushang-common-security</artifactId>
|
||||||
<version>${common.version}</version>
|
<version>${common.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.chushang</groupId>
|
||||||
|
<artifactId>chushang-common-web</artifactId>
|
||||||
|
<version>${common.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package com.chushang.common.core.web.advice;
|
package com.chushang.common.web.advice;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
package com.chushang.common.core.web.advice;
|
|
||||||
|
|
||||||
import cn.hutool.core.lang.Assert;
|
import cn.hutool.core.lang.Assert;
|
||||||
import cn.hutool.core.util.StrUtil;
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
|
@ -6,8 +5,8 @@ import cn.hutool.extra.servlet.ServletUtil;
|
||||||
import com.alibaba.fastjson2.JSON;
|
import com.alibaba.fastjson2.JSON;
|
||||||
import com.chushang.common.core.exception.utils.AssertUtil;
|
import com.chushang.common.core.exception.utils.AssertUtil;
|
||||||
import com.chushang.common.core.util.IPUtils;
|
import com.chushang.common.core.util.IPUtils;
|
||||||
import com.chushang.common.core.util.StringUtils;
|
import com.chushang.common.web.advice.CacheLRUMap;
|
||||||
import com.chushang.common.core.web.annotation.AutoIdempotent;
|
import com.chushang.common.web.annotation.AutoIdempotent;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.core.MethodParameter;
|
import org.springframework.core.MethodParameter;
|
||||||
import org.springframework.http.HttpInputMessage;
|
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.bind.annotation.RestControllerAdvice;
|
||||||
import org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter;
|
import org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.time.Duration;
|
|
||||||
import java.util.LinkedHashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
@RestControllerAdvice
|
@RestControllerAdvice
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
|
|
@ -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.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
org.springframework.boot.autoconfigure.EnableAutoConfiguration=
|
||||||
|
|
@ -31,5 +31,6 @@
|
||||||
<module>chushang-common-mybatis-plugin</module>
|
<module>chushang-common-mybatis-plugin</module>
|
||||||
<module>chushang-common-redis</module>
|
<module>chushang-common-redis</module>
|
||||||
<module>chushang-common-security</module>
|
<module>chushang-common-security</module>
|
||||||
|
<module>chushang-common-web</module>
|
||||||
</modules>
|
</modules>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
<groupId>com.chushang</groupId>
|
<groupId>com.chushang</groupId>
|
||||||
<artifactId>oss-feign</artifactId>
|
<artifactId>oss-feign</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.chushang</groupId>
|
||||||
|
<artifactId>chushang-common-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,6 @@ import java.util.List;
|
||||||
public class WrkProjectService extends ServiceImpl<WrkProjectMapper, WrkProject> implements IService<WrkProject> {
|
public class WrkProjectService extends ServiceImpl<WrkProjectMapper, WrkProject> implements IService<WrkProject> {
|
||||||
@Resource
|
@Resource
|
||||||
WrkProjectContractService contractService;
|
WrkProjectContractService contractService;
|
||||||
@Resource
|
|
||||||
WrkAuditService auditService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DataScope
|
@DataScope
|
||||||
public PageResult pageList(WrkProject project, CommonParam commonParam) {
|
public PageResult pageList(WrkProject project, CommonParam commonParam) {
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ package com.chushang.inspection.work.controller;
|
||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import cn.hutool.core.lang.Assert;
|
import cn.hutool.core.lang.Assert;
|
||||||
import com.chushang.common.core.web.AjaxResult;
|
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.annotation.SysLog;
|
||||||
import com.chushang.common.log.enums.BusinessType;
|
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.BankDispatchQuery;
|
||||||
import com.chushang.inspection.work.dto.WrkIcbcJsReceive;
|
import com.chushang.inspection.work.dto.WrkIcbcJsReceive;
|
||||||
import com.chushang.inspection.work.po.WrkIcbcJs;
|
import com.chushang.inspection.work.po.WrkIcbcJs;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue