diff --git a/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java b/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java index e919e8e1..361ec2ae 100644 --- a/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java +++ b/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java @@ -11,6 +11,12 @@ import springfox.documentation.spi.DocumentationType; import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.swagger2.annotations.EnableSwagger2; +/** + * @Author: gongsj. + * @Description: swagger2配置类 + * @Date:Created in 2020/09/09 14:33. + * @Modified By: + */ @Configuration @EnableSwagger2 //@Profile({"dev","test"}) diff --git a/dq-financial-api/src/main/java/com/daqing/financial/crms/CustomerControllerApi.java b/dq-financial-api/src/main/java/com/daqing/financial/crms/CustomerControllerApi.java index b788fc73..997e3d9b 100644 --- a/dq-financial-api/src/main/java/com/daqing/financial/crms/CustomerControllerApi.java +++ b/dq-financial-api/src/main/java/com/daqing/financial/crms/CustomerControllerApi.java @@ -6,13 +6,19 @@ import io.swagger.annotations.ApiOperation; import java.util.Map; -@Api(value = "客户相关操作", tags = "提供用户测评信息增删改查等相关方法") +/** + * @Author: gongsj. + * @Description: 客户资源管理controllerApi定义 + * @Date:Created in 2020/09/09 14:33. + * @Modified By: + */ +@Api(value = "客户资源管理", tags = "提供客户信息增删改查等相关方法") public interface CustomerControllerApi { /** * 列表展示 */ - @ApiOperation(value = "列表展示", notes = "列表展示") + @ApiOperation(value = "客户信息列表展示", notes = "客户信息列表展示") ResponseResult list(Map params); } diff --git a/dq-financial-api/src/main/java/com/daqing/financial/hrms/DeptControllerApi.java b/dq-financial-api/src/main/java/com/daqing/financial/hrms/DeptControllerApi.java index fb15c153..7de96c2e 100644 --- a/dq-financial-api/src/main/java/com/daqing/financial/hrms/DeptControllerApi.java +++ b/dq-financial-api/src/main/java/com/daqing/financial/hrms/DeptControllerApi.java @@ -1,4 +1,23 @@ package com.daqing.financial.hrms; +import com.daqing.framework.model.response.ResponseResult; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; + +import java.util.Map; + +/** + * @Author: gongsj. + * @Description: 部门管理controllerApi定义 + * @Date:Created in 2020/09/07 11:33. + * @Modified By: + */ +@Api(value = "部门管理相关操作", tags = "提供部门信息增删改查等相关方法") public interface DeptControllerApi { + + /** + * 新增一条部门信息 + */ + @ApiOperation(value = "新增一条部门信息", notes = "新增一条部门信息") + ResponseResult save(); } diff --git a/dq-financial-crms-auth/src/main/resources/logback-spring.xml b/dq-financial-crms-auth/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..9d44c6c1 --- /dev/null +++ b/dq-financial-crms-auth/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/crms_auth.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-financial-crms/src/main/resources/logback-spring.xml b/dq-financial-crms/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..665124da --- /dev/null +++ b/dq-financial-crms/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/crms.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-financial-guarantee/src/main/resources/logback-spring.xml b/dq-financial-guarantee/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..a7d9bdd4 --- /dev/null +++ b/dq-financial-guarantee/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/guarantee.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-financial-hrms-auth/src/main/resources/logback-spring.xml b/dq-financial-hrms-auth/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..7b7fb229 --- /dev/null +++ b/dq-financial-hrms-auth/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/hrms_auth.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-financial-hrms/src/main/resources/logback-spring.xml b/dq-financial-hrms/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..6ea905d3 --- /dev/null +++ b/dq-financial-hrms/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/hrms.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-financial-workflow/src/main/resources/logback-spring.xml b/dq-financial-workflow/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..067d56bd --- /dev/null +++ b/dq-financial-workflow/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + utf8 + + + + + + + + ${LOG_HOME}/workflow.%d{yyyy-MM-dd}.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + 0 + + 512 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dq-framework-common/src/main/java/com/daqing/framework/config/MybatisPlusConfig.java b/dq-framework-common/src/main/java/com/daqing/framework/config/MybatisPlusConfig.java index b4637eb0..5cd15d76 100644 --- a/dq-framework-common/src/main/java/com/daqing/framework/config/MybatisPlusConfig.java +++ b/dq-framework-common/src/main/java/com/daqing/framework/config/MybatisPlusConfig.java @@ -4,15 +4,16 @@ import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +/** + * @Author: gongsj. + * @Description: 分页拦截器注入到spring中 + * @Date:Created in 2020/09/09 11:33. + * @Modified By: + */ @Configuration public class MybatisPlusConfig { - /** - * mybatis-plus分页插件 - */ @Bean - public PaginationInterceptor paginationInterceptor() { - PaginationInterceptor page = new PaginationInterceptor(); - page.setDialectType("mysql"); - return page; + public PaginationInterceptor paginationInterceptor(){ + return new PaginationInterceptor(); } } \ No newline at end of file diff --git a/dq-framework-common/src/main/java/com/daqing/framework/model/Constant.java b/dq-framework-common/src/main/java/com/daqing/framework/model/Constant.java index aa2b5b4c..4c1e1d90 100644 --- a/dq-framework-common/src/main/java/com/daqing/framework/model/Constant.java +++ b/dq-framework-common/src/main/java/com/daqing/framework/model/Constant.java @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2016-2019 人人开源 All rights reserved. - * - * https://www.renren.io - * - * 版权所有,侵权必究! - */ - package com.daqing.framework.model; /** @@ -15,8 +7,6 @@ package com.daqing.framework.model; * @Modified By: */ public class Constant { - /** 超级管理员ID */ - public static final int SUPER_ADMIN = 1; /** * 当前页码 */ @@ -124,5 +114,4 @@ public class Constant { return value; } } - }