parent
6ae5e756a5
commit
bacc013196
15 changed files with 276 additions and 69 deletions
@ -0,0 +1,13 @@ |
|||||||
|
package com.daqing.financial.guarantee.config; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; |
||||||
|
import org.springframework.context.annotation.Bean; |
||||||
|
import org.springframework.context.annotation.Configuration; |
||||||
|
|
||||||
|
@Configuration |
||||||
|
public class IPageConfig { |
||||||
|
@Bean |
||||||
|
public PaginationInterceptor paginationInterceptor() { |
||||||
|
return new PaginationInterceptor(); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,67 @@ |
|||||||
|
package com.daqing.financial.guarantee.model.response; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType; |
||||||
|
import com.baomidou.mybatisplus.annotation.TableId; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.ToString; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
import java.math.BigDecimal; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
@Data |
||||||
|
@ToString |
||||||
|
public class BusinessApplicationListResponse implements Serializable { |
||||||
|
|
||||||
|
/** |
||||||
|
* 主键id |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "id") |
||||||
|
@TableId(value = "id", type = IdType.AUTO) |
||||||
|
private Integer id; |
||||||
|
|
||||||
|
/** |
||||||
|
* 企业id |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "企业id") |
||||||
|
private Integer companyId; |
||||||
|
|
||||||
|
/** |
||||||
|
* 提单人id |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "提单人id") |
||||||
|
private Integer presenterId; |
||||||
|
|
||||||
|
/** |
||||||
|
* 申请额度 |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "申请额度") |
||||||
|
private BigDecimal applyAmount; |
||||||
|
|
||||||
|
/** |
||||||
|
* 申请期限 |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "申请期限") |
||||||
|
private String applyTime; |
||||||
|
|
||||||
|
/** |
||||||
|
* 申请时间 |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "申请时间") |
||||||
|
private Date createTime; |
||||||
|
|
||||||
|
/** |
||||||
|
* 业务类型 |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "业务类型") |
||||||
|
private String businessType; |
||||||
|
|
||||||
|
/** |
||||||
|
* 业务编号 |
||||||
|
*/ |
||||||
|
@ApiModelProperty(value = "业务编号") |
||||||
|
private String businessCode; |
||||||
|
|
||||||
|
|
||||||
|
} |
@ -1,61 +1,61 @@ |
|||||||
#服务名称 |
#服务名称 |
||||||
#spring.application.name=dq-financial-hrms |
|
||||||
##配置中心地址 |
|
||||||
#spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
|
||||||
#spring.cloud.nacos.config.namespace=4c56c2f9-b6a3-4e7b-88b8-b1001e86dfd6 |
|
||||||
##spring.cloud.nacos.config.group=prod |
|
||||||
# |
|
||||||
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
|
||||||
#spring.cloud.nacos.config.ext-config[0].group=dev |
|
||||||
#spring.cloud.nacos.config.ext-config[0].refresh=true |
|
||||||
# |
|
||||||
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
|
||||||
#spring.cloud.nacos.config.ext-config[1].group=dev |
|
||||||
#spring.cloud.nacos.config.ext-config[1].refresh=true |
|
||||||
# |
|
||||||
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
|
||||||
#spring.cloud.nacos.config.ext-config[2].group=dev |
|
||||||
#spring.cloud.nacos.config.ext-config[2].refresh=true |
|
||||||
# |
|
||||||
#spring.redis.host=127.0.0.1 |
|
||||||
#spring.redis.port=6379 |
|
||||||
#spring.redis.password=123456 |
|
||||||
#spring.redis.database=0 |
|
||||||
#spring.redis.timeout=30000 |
|
||||||
#spring.redis.jedis.pool.max-active=8 |
|
||||||
#spring.redis.jedis.pool.max-wait=-1 |
|
||||||
#spring.redis.jedis.pool.max-idle=8 |
|
||||||
#spring.redis.jedis.pool.min-idle=0 |
|
||||||
# |
|
||||||
#spring.servlet.multipart.max-file-size=10MB |
|
||||||
#spring.servlet.multipart.max-request-size=10MB |
|
||||||
|
|
||||||
# 正式环境(prod) |
|
||||||
#服务名称 |
|
||||||
spring.application.name=dq-financial-hrms |
spring.application.name=dq-financial-hrms |
||||||
#配置中心地址 |
#配置中心地址 |
||||||
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||||
spring.cloud.nacos.config.namespace=69614b55-1521-421c-ac58-dbe4a5b01b43 |
spring.cloud.nacos.config.namespace=4c56c2f9-b6a3-4e7b-88b8-b1001e86dfd6 |
||||||
#spring.cloud.nacos.config.group=prod |
#spring.cloud.nacos.config.group=prod |
||||||
|
|
||||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||||
spring.cloud.nacos.config.ext-config[0].group=prod |
spring.cloud.nacos.config.ext-config[0].group=dev |
||||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||||
|
|
||||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||||
spring.cloud.nacos.config.ext-config[1].group=prod |
spring.cloud.nacos.config.ext-config[1].group=dev |
||||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||||
|
|
||||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||||
spring.cloud.nacos.config.ext-config[2].group=prod |
spring.cloud.nacos.config.ext-config[2].group=dev |
||||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||||
|
|
||||||
spring.redis.host=127.0.0.1 |
spring.redis.host=127.0.0.1 |
||||||
spring.redis.port=6379 |
spring.redis.port=6379 |
||||||
spring.redis.password=dq123456 |
spring.redis.password=123456 |
||||||
spring.redis.database=0 |
spring.redis.database=0 |
||||||
spring.redis.timeout=30000 |
spring.redis.timeout=30000 |
||||||
spring.redis.jedis.pool.max-active=8 |
spring.redis.jedis.pool.max-active=8 |
||||||
spring.redis.jedis.pool.max-wait=-1 |
spring.redis.jedis.pool.max-wait=-1 |
||||||
spring.redis.jedis.pool.max-idle=8 |
spring.redis.jedis.pool.max-idle=8 |
||||||
spring.redis.jedis.pool.min-idle=0 |
spring.redis.jedis.pool.min-idle=0 |
||||||
|
|
||||||
|
spring.servlet.multipart.max-file-size=10MB |
||||||
|
spring.servlet.multipart.max-request-size=10MB |
||||||
|
|
||||||
|
# 正式环境(prod) |
||||||
|
#服务名称 |
||||||
|
#spring.application.name=dq-financial-hrms |
||||||
|
##配置中心地址 |
||||||
|
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||||
|
#spring.cloud.nacos.config.namespace=69614b55-1521-421c-ac58-dbe4a5b01b43 |
||||||
|
##spring.cloud.nacos.config.group=prod |
||||||
|
# |
||||||
|
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||||
|
#spring.cloud.nacos.config.ext-config[0].group=prod |
||||||
|
#spring.cloud.nacos.config.ext-config[0].refresh=true |
||||||
|
# |
||||||
|
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||||
|
#spring.cloud.nacos.config.ext-config[1].group=prod |
||||||
|
#spring.cloud.nacos.config.ext-config[1].refresh=true |
||||||
|
# |
||||||
|
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||||
|
#spring.cloud.nacos.config.ext-config[2].group=prod |
||||||
|
#spring.cloud.nacos.config.ext-config[2].refresh=true |
||||||
|
# |
||||||
|
#spring.redis.host=127.0.0.1 |
||||||
|
#spring.redis.port=6379 |
||||||
|
#spring.redis.password=dq123456 |
||||||
|
#spring.redis.database=0 |
||||||
|
#spring.redis.timeout=30000 |
||||||
|
#spring.redis.jedis.pool.max-active=8 |
||||||
|
#spring.redis.jedis.pool.max-wait=-1 |
||||||
|
#spring.redis.jedis.pool.max-idle=8 |
||||||
|
#spring.redis.jedis.pool.min-idle=0 |
Loading…
Reference in new issue