204 changed files with 259243 additions and 674 deletions
@ -0,0 +1,280 @@ |
|||
########################################################### |
|||
# excluded auto configuration |
|||
########################################################### |
|||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.websocket.WebSocketAutoConfiguration,\ |
|||
org.flowable.spring.boot.SecurityAutoConfiguration,\ |
|||
org.flowable.spring.boot.RestApiAutoConfiguration,\ |
|||
org.flowable.spring.boot.EndpointAutoConfiguration |
|||
|
|||
|
|||
|
|||
########################################################### |
|||
# \u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u5bc6\u7801\u52a0\u5bc6\u5668(\u76d0\u503c) |
|||
########################################################### |
|||
jasypt.encryptor.password=salt |
|||
|
|||
|
|||
########################################################### |
|||
# embedded web server configuration |
|||
########################################################### |
|||
#server.address=172.16.54.10 |
|||
server.port =8080 |
|||
server.servlet.context-path= |
|||
|
|||
server.error.include-exception=true |
|||
server.error.include-stacktrace=always |
|||
server.error.path=/error |
|||
server.error.whitelabel.enabled=true |
|||
|
|||
server.servlet.session.timeout=1800 |
|||
server.servlet.session.tracking-modes=cookie |
|||
|
|||
########################################################### |
|||
# framework extension configuration |
|||
########################################################### |
|||
#application.indexUrl=/ok |
|||
application.isInstallerNeeded=true |
|||
application.enable-db-schema-update-check=true |
|||
application.enable-audit-log=false |
|||
application.enable-multi-corporation=false |
|||
application.enable-change-language=true |
|||
application.enable-change-role=true |
|||
application.security.user.default-password=password |
|||
|
|||
|
|||
########################################################### |
|||
# framework security configuration |
|||
########################################################### |
|||
security.user.name= |
|||
security.user.password= |
|||
security.user.role= |
|||
security.require-ssl=false |
|||
security.enable-csrf=false |
|||
security.basic.enabled=true |
|||
security.basic.realm=Wsp Framework |
|||
security.basic.path= |
|||
security.basic.authorize-mode= |
|||
security.filter-order=0 |
|||
security.headers.xss=false |
|||
security.headers.cache=false |
|||
security.headers.frame=false |
|||
security.headers.content-type=false |
|||
security.headers.hsts=all |
|||
security.sessions=always |
|||
security.ignored= |
|||
|
|||
security.http.formLogin.loginPage=/login |
|||
security.http.formLogin.failureUrl=/login-error |
|||
security.http.logout.logoutSuccessUrl=/ |
|||
|
|||
########################################################### |
|||
# neo4j configuration |
|||
########################################################### |
|||
spring.data.neo4j.repositories.enabled=true |
|||
spring.data.neo4j.uri =http://localhost:7474 |
|||
spring.data.neo4j.username=neo4j |
|||
spring.data.neo4j.password=gbicc.net |
|||
|
|||
#spring.data.neo4j.embedded.enabled=true |
|||
#spring.data.neo4j.uri=file://${dir.work.db.neo4j} |
|||
|
|||
|
|||
########################################################### |
|||
# liquibase configuration |
|||
########################################################### |
|||
spring.liquibase.enabled=false |
|||
|
|||
########################################################### |
|||
# H2 web console |
|||
########################################################### |
|||
spring.h2.console.enabled=true |
|||
spring.h2.console.settings.web-allow-others=false |
|||
spring.h2.console.path=/dbConsole |
|||
|
|||
########################################################### |
|||
# jpa configuration |
|||
########################################################### |
|||
spring.jpa.show-sql=false |
|||
spring.jpa.generate-ddl=false |
|||
spring.jpa.hibernate.ddl-auto=none |
|||
spring.jpa.hibernate.jdbc.batch_size=25 |
|||
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true |
|||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect |
|||
|
|||
########################################################### |
|||
# dataSource configuration |
|||
########################################################### |
|||
# primary datasource |
|||
spring.datasource.items[primary].driver-class-name = com.p6spy.engine.spy.P6SpyDriver |
|||
spring.datasource.items[primary].url = jdbc:p6spy:h2:mem:DB_PLATFORM;DB_CLOSE_DELAY=-1 |
|||
spring.datasource.items[primary].username = framework |
|||
spring.datasource.items[primary].password = ENC(BXJ/qxTg8hN4O2Ej3fyfgWDAjKBByNJg) |
|||
|
|||
########################################################### |
|||
# HikariCP dataSource configuration |
|||
########################################################### |
|||
#spring.datasource.items[primary].hikari.autoCommit=true |
|||
#spring.datasource.items[primary].hikari.connectionTimeout=10000 |
|||
#spring.datasource.items[primary].hikari.idleTimeout=600000 |
|||
#spring.datasource.items[primary].hikari.maxLifetime=1800000 |
|||
#spring.datasource.items[primary].hikari.connectionTestQuery=${validationQuerySql} |
|||
#spring.datasource.items[primary].hikari.minimumIdle=10 |
|||
#spring.datasource.items[primary].hikari.maximumPoolSize=10 |
|||
#spring.datasource.items[primary].hikari.metricRegistry |
|||
#spring.datasource.items[primary].hikari.healthCheckRegistry |
|||
#spring.datasource.items[primary].hikari.poolName |
|||
|
|||
#spring.datasource.items[primary].hikari.initializationFailTimeout=1 |
|||
#spring.datasource.items[primary].hikari.isolateInternalQueries=false |
|||
#spring.datasource.items[primary].hikari.allowPoolSuspension=false |
|||
#spring.datasource.items[primary].hikari.readOnly=false |
|||
#spring.datasource.items[primary].hikari.registerMbeans=false |
|||
#spring.datasource.items[primary].hikari.catalog= |
|||
#spring.datasource.items[primary].hikari.connectionInitSql= |
|||
#spring.datasource.items[primary].hikari.driverClassName= |
|||
#spring.datasource.items[primary].hikari.transactionIsolation= |
|||
#spring.datasource.items[primary].hikari.validationTimeout=5000 |
|||
#spring.datasource.items[primary].hikari.leakDetectionThreshold=0 |
|||
#spring.datasource.items[primary].hikari.dataSource= |
|||
#spring.datasource.items[primary].hikari.schema= |
|||
#spring.datasource.items[primary].hikari.threadFactory= |
|||
#spring.datasource.items[primary].hikari.scheduledExecutor= |
|||
|
|||
########################################################### |
|||
# SPRING MVC |
|||
########################################################### |
|||
#spring.mvc.static-path-pattern=/static/** |
|||
|
|||
########################################################### |
|||
# SPRING RESOURCES HANDLING (ResourceProperties) |
|||
########################################################### |
|||
spring.resources.add-mappings=true |
|||
spring.resources.cache.cachecontrol.must-revalidate=true |
|||
spring.resources.cache.cachecontrol.cache-public=true |
|||
spring.resources.chain.cache=true |
|||
spring.resources.chain.gzipped=true |
|||
|
|||
|
|||
########################################################### |
|||
# # management http server configuration |
|||
########################################################### |
|||
management.endpoints.enabled-by-default=true |
|||
management.endpoints.web.exposure.include=* |
|||
management.context-path=/actuator |
|||
management.security.enabled=false |
|||
#management.security.role=ADMIN |
|||
|
|||
########################################################### |
|||
# thymeleaf configuration |
|||
########################################################### |
|||
spring.thymeleaf.enabled=true |
|||
spring.thymeleaf.cache=true |
|||
spring.thymeleaf.encoding=UTF-8 |
|||
spring.thymeleaf.mode=HTML |
|||
spring.thymeleaf.prefix=classpath:/ui/ |
|||
spring.thymeleaf.check-template=false |
|||
spring.thymeleaf.check-template-location=false |
|||
spring.thymeleaf.servlet.content-type=text/html |
|||
|
|||
|
|||
########################################################### |
|||
# jackson configuration |
|||
########################################################### |
|||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss |
|||
spring.jackson.time-zone=Asia/Shanghai |
|||
spring.jackson.serialization.fail_on_empty_beans=false |
|||
spring.jackson.serialization.indent_output=true |
|||
|
|||
########################################################### |
|||
# i18n message source configuration |
|||
########################################################### |
|||
spring.messages.basename= |
|||
spring.messages.encoding=UTF-8 |
|||
spring.messages.fallback-to-system-locale=false |
|||
spring.messages.always-use-message-format=false |
|||
spring.messages.cache-duration=-1 |
|||
spring.messages.use-code-as-default-message=true |
|||
|
|||
########################################################### |
|||
# multipart configuration |
|||
########################################################### |
|||
spring.servlet.multipart.enabled=true |
|||
spring.servlet.multipart.file-size-threshold=0 |
|||
spring.servlet.multipart.location=D:/work/workspace/20240320_irbs/app.irbs/work/web/upload |
|||
spring.servlet.multipart.max-file-size=-1 |
|||
spring.servlet.multipart.max-request-size=-1 |
|||
spring.servlet.multipart.resolve-lazily=false |
|||
|
|||
########################################################### |
|||
# cxf configuration |
|||
########################################################### |
|||
cxf.path=/webservices |
|||
|
|||
########################################################### |
|||
# \u6269\u5c55 spring batch configuration |
|||
########################################################### |
|||
# \u91c7\u7528\u5f02\u6b65 job \u6267\u884c\u6a21\u5f0f |
|||
spring.batch.job.laucher.async=false |
|||
# \u662f\u5426\u5e94\u7528\u542f\u52a8\u540e\u81ea\u52a8\u8c03\u5ea6 job,\u5fc5\u987b\u8bbe\u7f6e\u4e3a false\uff0c |
|||
# \u8be5\u64cd\u4f5c\u7531\u7cfb\u7edf\u6839\u636e\u8ba1\u5212\u4efb\u52a1\u7684\u662f\u5426\u81ea\u52a8\u8c03\u5ea6\u5c5e\u6027\u51b3\u5b9a |
|||
spring.batch.job.laucher.auto=false |
|||
|
|||
|
|||
########################################################### |
|||
# Email configuration |
|||
########################################################### |
|||
#spring.mail.jndi-name= |
|||
|
|||
spring.mail.host=mail.gbicc.net |
|||
spring.mail.port=25 |
|||
spring.mail.username=wangshaoping |
|||
spring.mail.password=wspsc123456 |
|||
spring.mail.protocol=smtp |
|||
spring.mail.test-connection=false |
|||
spring.mail.properties.mail.smtp.auth=true |
|||
spring.mail.default-encoding=UTF-8 |
|||
|
|||
|
|||
########################################################### |
|||
# spring cache configuration |
|||
########################################################### |
|||
spring.cache.jcache.config=file:D:/work/workspace/20240320_irbs/app.irbs/config/ehcache.xml |
|||
|
|||
########################################################### |
|||
# flowable configuration |
|||
########################################################### |
|||
# Core |
|||
flowable.asyncExecutorActivate =false |
|||
flowable.asyncHistoryExecutorActivate = false |
|||
flowable.check-process-definitions=false |
|||
flowable.custom-mybatis-mappers= |
|||
flowable.custom-mybatis-x-m-l-mappers= |
|||
flowable.database-schema= |
|||
flowable.database-schema-update=true |
|||
flowable.db-history-used=true |
|||
flowable.deployment-name=SpringBootAutoDeployment |
|||
flowable.history-level= |
|||
flowable.process-definition-location-prefix=classpath*:/processes/ |
|||
flowable.process-definition-location-suffixes=**.bpmn20.xml,**.bpmn |
|||
|
|||
# Process |
|||
flowable.process.definition-cache-limit=-1 |
|||
flowable.process.enable-safe-xml=true |
|||
flowable.process.servlet.load-on-startup=-1 |
|||
flowable.process.servlet.name=Flowable BPMN Rest API |
|||
flowable.process.servlet.path=/process-api |
|||
|
|||
# CMMN |
|||
flowable.cmmn.enabled=false |
|||
|
|||
# Content |
|||
flowable.content.enabled=false |
|||
|
|||
# DMN |
|||
flowable.dmn.enabled=false |
|||
|
|||
# Form |
|||
flowable.form.enabled=false |
|||
|
|||
# IDM |
|||
flowable.idm.enabled=false |
@ -0,0 +1,62 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!-- 自动扫描本文件,如果发生变化,则重新初始化日志系统,并设置每个5秒钟扫描一次 --> |
|||
<configuration debug="false" scan="true" scanPeriod="5 seconds"> |
|||
<!-- |
|||
以下为 logback 的 spring 扩展支持的功能,即支持从 application.properties 文件中获取属性,并在此文件中采用 ${} 方式使用。 |
|||
要使用此功能,必须使用 logback-ext-spring 扩展 jar 包,以 gradle 构建系统,则需要加入以下依赖 |
|||
dependencies { |
|||
compile( |
|||
"org.logback-extensions:logback-ext-spring:0.1.2" |
|||
) |
|||
} |
|||
--> |
|||
<!-- <springProperty name="homedir" source="dir.home"/> --> |
|||
<property name="homedir" value="D:/work/workspace/20240320_irbs"/> |
|||
<property name="pattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36} - %msg%n"/> |
|||
|
|||
<!-- 在控制台中输出日志 --> |
|||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
|||
<encoder><pattern>${pattern}</pattern></encoder> |
|||
</appender> |
|||
|
|||
<!-- 在磁盘文件中输出日志 --> |
|||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<encoder><pattern>${pattern}</pattern></encoder> |
|||
<file>${homedir}/logs/log.log</file> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|||
<fileNamePattern>${homedir}/logs/log.%d.log</fileNamePattern> |
|||
<maxHistory>30</maxHistory> |
|||
</rollingPolicy> |
|||
</appender> |
|||
|
|||
<root level="info"> |
|||
<appender-ref ref="STDOUT" /> |
|||
<appender-ref ref="FILE" /> |
|||
</root> |
|||
|
|||
<logger name="org.wsp.engine.model.core.code" level="info" additivity="false"/> |
|||
|
|||
<logger name="org.wsp.engine.rule.core.code" level="debug" additivity="false"> |
|||
<appender-ref ref="STDOUT" /> |
|||
<appender-ref ref="FILE" /> |
|||
</logger> |
|||
|
|||
|
|||
<!-- 可对不同的日志写入不同的文件示例 --> |
|||
<!-- |
|||
<appender name="RULE_ENGINE_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<encoder><pattern>${pattern}</pattern></encoder> |
|||
<file>${homedir}/logs/rule-engine.log</file> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|||
<fileNamePattern>${homedir}/logs/rule-engine.%d.log</fileNamePattern> |
|||
<maxHistory>30</maxHistory> |
|||
</rollingPolicy> |
|||
</appender> |
|||
|
|||
<logger name="org.wsp.engine.rule.core.code" level="debug" additivity="false"> |
|||
<appender-ref ref="STDOUT" /> |
|||
<appender-ref ref="FILE" /> |
|||
<appender-ref ref="RULE_ENGINE_FILE" /> |
|||
</logger> |
|||
--> |
|||
</configuration> |
@ -1,5 +1,9 @@ |
|||
dependencies { |
|||
api( |
|||
"io.sc:io.sc.platform.mvc:${platform_version}", |
|||
"org.wsp:org.wsp.engine.rule.client:${rule_engine_version}", |
|||
"io.sc:io.sc.platform.flowable:${platform_version}", |
|||
|
|||
project(":irbs.defaultManager"), |
|||
) |
|||
} |
|||
|
@ -0,0 +1,45 @@ |
|||
package irbs.cust.rating.constant; |
|||
|
|||
/** |
|||
* 流程常量 |
|||
* @author dhb |
|||
* |
|||
*/ |
|||
public interface ProcessConstant { |
|||
|
|||
/** |
|||
* 公司客户评级流程分类 |
|||
*/ |
|||
String COMPANY_RATING_FLOW = "COMPANY_CUSTOMER_RATING"; |
|||
|
|||
/** |
|||
* 风险暴露流程分类 |
|||
*/ |
|||
String RISK_EXPOSURE_FLOW = "RISK_EXPOSURE_FLOW"; |
|||
|
|||
/** |
|||
* 总行风险暴露流程分类 |
|||
*/ |
|||
String Z_RISK_EXPOSURE_FLOW = "Z_RISK_EXPOSURE_FLOW"; |
|||
|
|||
/** |
|||
* 分支行违约认定流程 |
|||
*/ |
|||
String DEFAULT_CUSTOMER_F = "DEFAULT_CUSTOMER_F"; |
|||
|
|||
/** |
|||
* 总行违约认定流程 |
|||
*/ |
|||
String DEFAULT_CUSTOMER_Z = "DEFAULT_CUSTOMER_Z"; |
|||
|
|||
/** |
|||
* 分支行违约重生流程 |
|||
*/ |
|||
String REBIRTH_CUSTOMER_F = "REBIRTH_CUSTOMER_F"; |
|||
|
|||
/** |
|||
* 总行违约重生流程 |
|||
*/ |
|||
String REBIRTH_CUSTOMER_Z = "REBIRTH_CUSTOMER_Z"; |
|||
|
|||
} |
@ -0,0 +1,29 @@ |
|||
package irbs.cust.rating.constant; |
|||
|
|||
public class RatingConstant { |
|||
|
|||
/** |
|||
* 客户类型--------一般公司客户(1) |
|||
*/ |
|||
public static final String CUSTOMER_TYPE_COMPANY="1"; |
|||
|
|||
/** |
|||
* 客户类型--------金融机构及发债企业客户(2) |
|||
*/ |
|||
public static final String CUSTOMER_TYPE_FINANCIAL="2"; |
|||
|
|||
/** |
|||
* 模型层级:二级分类 |
|||
*/ |
|||
public static final String MODEL_LEVEL_TWO = "2"; |
|||
|
|||
/** |
|||
* 模型层级:三级分类 |
|||
*/ |
|||
public static final String MODEL_LEVEL_THREE = "3"; |
|||
|
|||
/** |
|||
* 模型层级:四级分类 |
|||
*/ |
|||
public static final String MODEL_LEVEL_FOUR = "4"; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import io.sc.platform.orm.service.support.QueryParameter; |
|||
import irbs.cust.rating.jpa.entity.CompanyCustomer; |
|||
import irbs.cust.rating.jpa.repository.CompanyCustomerRepository; |
|||
import irbs.cust.rating.jpa.vo.CompanyCustomerVo; |
|||
import irbs.cust.rating.service.CompanyCustomerService; |
|||
import org.springframework.data.domain.Page; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/companyCustomer") |
|||
public class CompanyCustomerController extends RestCrudController<CompanyCustomerVo, CompanyCustomer, String, CompanyCustomerRepository, CompanyCustomerService> { |
|||
|
|||
@GetMapping("query") |
|||
@ResponseBody |
|||
public Page<CompanyCustomerVo> pageQuery(QueryParameter queryParameter) throws Exception { |
|||
return service.pageQuery(queryParameter); |
|||
} |
|||
} |
@ -1,15 +1,136 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import io.sc.platform.orm.service.support.QueryParameter; |
|||
import irbs.cust.rating.jpa.entity.CompanyRating; |
|||
import irbs.cust.rating.jpa.entity.RatingIndex; |
|||
import irbs.cust.rating.jpa.entity.RatingOverturn; |
|||
import irbs.cust.rating.jpa.repository.CompanyRatingRepository; |
|||
import irbs.cust.rating.jpa.vo.CompanyRatingVo; |
|||
import irbs.cust.rating.service.CompanyRatingService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import org.springframework.data.domain.Page; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/companyRating") |
|||
public class CompanyRatingController extends RestCrudController<CompanyRatingVo, CompanyRating, String, CompanyRatingRepository, CompanyRatingService> { |
|||
|
|||
/** |
|||
* 分页查询客户评级 |
|||
* @param queryParameter |
|||
* @return |
|||
* @throws Exception |
|||
*/ |
|||
@GetMapping("query") |
|||
@ResponseBody |
|||
public Page<CompanyRatingVo> pageQuery(QueryParameter queryParameter) throws Exception { |
|||
return service.pageQuery(queryParameter); |
|||
} |
|||
|
|||
/** |
|||
* 生成评级数据 |
|||
* @param custNo |
|||
* @throws Exception |
|||
*/ |
|||
@RequestMapping(value="generateRating/{custNo}",method= RequestMethod.POST) |
|||
@ResponseBody |
|||
public CompanyRating generateRating(@PathVariable(name="custNo") String custNo) throws Exception { |
|||
return service.generateRating(custNo); |
|||
} |
|||
|
|||
/** |
|||
* 发起评级申请 |
|||
* @param ratingId 评级id |
|||
*/ |
|||
@RequestMapping(value="startRating/{ratingId}",method= RequestMethod.POST) |
|||
@ResponseBody |
|||
public CompanyRating startRating(@PathVariable(name="ratingId") String ratingId) throws Exception { |
|||
return service.startRating(ratingId); |
|||
} |
|||
|
|||
/** |
|||
* 获取定量分析得分或者进行定量得分计算 |
|||
* @param ratingId |
|||
* @param page |
|||
* @return |
|||
* @throws Exception |
|||
*/ |
|||
@GetMapping("stepQuan") |
|||
@ResponseBody |
|||
public CompanyRating stepQuan(String ratingId, String page) throws Exception { |
|||
return service.stepQuan(ratingId, page); |
|||
} |
|||
|
|||
/** |
|||
* 打开定性页面,获得指标列表 |
|||
* @param ratingId 评级ID |
|||
*/ |
|||
@GetMapping("stepQual") |
|||
public CompanyRating stepQual(String ratingId, String page) throws Exception { |
|||
return service.stepQual(ratingId, page); |
|||
} |
|||
|
|||
/** |
|||
* 定性保存指标 |
|||
* @param indices 指标列表 |
|||
*/ |
|||
@PostMapping("qualSaveIndices") |
|||
public String qualSaveIndices(@RequestBody List<RatingIndex> indices) throws Exception { |
|||
return service.qualSaveIndices(indices); |
|||
} |
|||
|
|||
/** |
|||
* 打开初评结果 |
|||
* @param ratingId 评级ID |
|||
*/ |
|||
@GetMapping("stepInitRating") |
|||
public CompanyRating stepInitRating(String ratingId, String page) throws Exception { |
|||
return service.stepInitRating(ratingId, page); |
|||
} |
|||
|
|||
/** |
|||
* 打开调整项页面,获得指标列表 |
|||
* @param ratingId 评级ID |
|||
*/ |
|||
@GetMapping("stepAdj") |
|||
public CompanyRating stepAdj(String ratingId, String page) throws Exception { |
|||
return service.stepAdj(ratingId, page); |
|||
} |
|||
|
|||
/** |
|||
* 保存调整项 |
|||
* @param indices 指标列表 |
|||
*/ |
|||
@PostMapping("saveIndices") |
|||
public void saveIndices(@RequestBody List<RatingIndex> indices) throws Exception { |
|||
service.saveIndices(indices); |
|||
} |
|||
|
|||
/** |
|||
* 打开签署意见页面 |
|||
* @param ratingId 评级ID |
|||
*/ |
|||
@GetMapping("stepRatingOverturn") |
|||
public CompanyRating stepRatingOverturn(String ratingId, String page) throws Exception { |
|||
return service.stepRatingOverturn(ratingId, page); |
|||
} |
|||
|
|||
/** |
|||
* 保存签署意见 |
|||
*/ |
|||
@PostMapping("saveRatingOverturn") |
|||
public RatingOverturn saveRatingOverturn(RatingOverturn overturn) throws Exception { |
|||
return service.saveRatingOverturn(overturn); |
|||
} |
|||
|
|||
/** |
|||
* 打开评级报告 |
|||
* @param ratingId 步骤主键 |
|||
*/ |
|||
@GetMapping("stepRatingReport") |
|||
public CompanyRating stepRatingReport(String ratingId) throws Exception { |
|||
return service.stepRatingReport(ratingId); |
|||
} |
|||
} |
|||
|
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.CreditReport; |
|||
import irbs.cust.rating.jpa.repository.CreditReportRepository; |
|||
import irbs.cust.rating.jpa.vo.CreditReportVo; |
|||
import irbs.cust.rating.service.CreditReportService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/creditReport") |
|||
public class CreditReportController extends RestCrudController<CreditReportVo, CreditReport, String, CreditReportRepository, CreditReportService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.DebtGrade; |
|||
import irbs.cust.rating.jpa.repository.DebtGradeRepository; |
|||
import irbs.cust.rating.jpa.vo.DebtGradeVo; |
|||
import irbs.cust.rating.service.DebtGradeService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/debtGrade") |
|||
public class DebtGradeController extends RestCrudController<DebtGradeVo, DebtGrade, String, DebtGradeRepository, DebtGradeService> { |
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.FinanceReport; |
|||
import irbs.cust.rating.jpa.repository.FinanceReportRepository; |
|||
import irbs.cust.rating.jpa.vo.FinanceReportVo; |
|||
import irbs.cust.rating.service.FinanceReportService; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import java.util.List; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/financeReport") |
|||
public class FinanceReportController extends RestCrudController<FinanceReportVo, FinanceReport, String, FinanceReportRepository, FinanceReportService> { |
|||
|
|||
/** |
|||
* 获取财报基本信息 |
|||
* @param custId |
|||
* @param sort |
|||
* @return |
|||
* @throws Exception |
|||
*/ |
|||
@GetMapping("getReport") |
|||
@ResponseBody |
|||
public List<FinanceReportVo> getReport(String custId, String sort) throws Exception { |
|||
return service.getReport(custId, sort); |
|||
} |
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.FinanceReportDetail; |
|||
import irbs.cust.rating.jpa.repository.FinanceReportDetailRepository; |
|||
import irbs.cust.rating.jpa.vo.FinanceReportDetailVo; |
|||
import irbs.cust.rating.service.FinanceReportDetailService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/financeReportDetail") |
|||
public class FinanceReportDetailController extends RestCrudController<FinanceReportDetailVo, FinanceReportDetail, String, FinanceReportDetailRepository, FinanceReportDetailService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.Industry; |
|||
import irbs.cust.rating.jpa.repository.IndustryRepository; |
|||
import irbs.cust.rating.jpa.vo.IndustryVo; |
|||
import irbs.cust.rating.service.IndustryService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/industry") |
|||
public class IndustryController extends RestCrudController<IndustryVo, Industry, String, IndustryRepository, IndustryService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.RatingCompanyCustomer; |
|||
import irbs.cust.rating.jpa.repository.RatingCompanyCustomerRepository; |
|||
import irbs.cust.rating.jpa.vo.RatingCompanyCustomerVo; |
|||
import irbs.cust.rating.service.RatingCompanyCustomerService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/ratingCompanyCustomer") |
|||
public class RatingCompanyCustomerController extends RestCrudController<RatingCompanyCustomerVo, RatingCompanyCustomer, String, RatingCompanyCustomerRepository, RatingCompanyCustomerService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.RatingIndex; |
|||
import irbs.cust.rating.jpa.repository.RatingIndexRepository; |
|||
import irbs.cust.rating.jpa.vo.RatingIndexVo; |
|||
import irbs.cust.rating.service.RatingIndexService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/ratingIndex") |
|||
public class RatingIndexController extends RestCrudController<RatingIndexVo, RatingIndex, String, RatingIndexRepository, RatingIndexService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.RatingOverturn; |
|||
import irbs.cust.rating.jpa.repository.RatingOverturnRepository; |
|||
import irbs.cust.rating.jpa.vo.RatingOverturnVo; |
|||
import irbs.cust.rating.service.RatingOverturnService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/ratingOverturn") |
|||
public class RatingOverturnController extends RestCrudController<RatingOverturnVo, RatingOverturn, String, RatingOverturnRepository, RatingOverturnService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.RatingStepConfig; |
|||
import irbs.cust.rating.jpa.repository.RatingStepConfigRepository; |
|||
import irbs.cust.rating.jpa.vo.RatingStepConfigVo; |
|||
import irbs.cust.rating.service.RatingStepConfigService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/ratingStepConfig") |
|||
public class RatingStepConfigController extends RestCrudController<RatingStepConfigVo, RatingStepConfig, String, RatingStepConfigRepository, RatingStepConfigService> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package irbs.cust.rating.controller; |
|||
|
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import irbs.cust.rating.jpa.entity.RatingStep; |
|||
import irbs.cust.rating.jpa.repository.RatingStepRepository; |
|||
import irbs.cust.rating.jpa.vo.RatingStepVo; |
|||
import irbs.cust.rating.service.RatingStepService; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/api/irbs/ratingStep") |
|||
public class RatingStepController extends RestCrudController<RatingStepVo, RatingStep, String, RatingStepRepository, RatingStepService> { |
|||
|
|||
} |
@ -0,0 +1,21 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
/** |
|||
* 财报年份 |
|||
* @author dhb |
|||
*/ |
|||
public enum FinanceReportYear { |
|||
//本年
|
|||
THIS_YEAR("0"), |
|||
//上一年
|
|||
LAST_YEAR("1"), |
|||
//上两年
|
|||
LAST_TWO_YEAR("2"); |
|||
private final String code; |
|||
FinanceReportYear(String code) { |
|||
this.code = code; |
|||
} |
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
/** |
|||
* 模型参数key |
|||
*/ |
|||
public enum ModelParamCode { |
|||
|
|||
DX("DX"), |
|||
DL("DL"); |
|||
|
|||
private String code; |
|||
private ModelParamCode(String code) { |
|||
this.code = code; |
|||
} |
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
} |
@ -0,0 +1,24 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
/** |
|||
* 模型返回key |
|||
*/ |
|||
public enum ModelReturnCode { |
|||
|
|||
DX_SCORE("DX_SCORE"), |
|||
DL_SCORE("DL_SCORE"), |
|||
SCORE("SCORE"), |
|||
GRADE("GRADE"), |
|||
ACCESS_LEVEL("ACCESS_LEVEL"); |
|||
|
|||
private String code; |
|||
private ModelReturnCode(String code) { |
|||
this.code = code; |
|||
} |
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
} |
@ -0,0 +1,62 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
public enum RatingLevelEnum { |
|||
|
|||
AAA("AAA", 1), |
|||
AA("AA", 2), |
|||
A("A", 3), |
|||
BBB("BBB", 4), |
|||
BB("BB", 5), |
|||
B("B", 6), |
|||
CCC("CCC", 7), |
|||
CC("CC", 8), |
|||
C("C", 9), |
|||
D("D",10), |
|||
; |
|||
private String name; |
|||
private Integer level; |
|||
private RatingLevelEnum(String name, Integer level) { |
|||
this.name = name; |
|||
this.level = level; |
|||
} |
|||
public String getName() { |
|||
return name; |
|||
} |
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
public Integer getLevel() { |
|||
return level; |
|||
} |
|||
public void setLevel(Integer level) { |
|||
this.level = level; |
|||
} |
|||
public static String getName(Integer level) { |
|||
if(level != null) { |
|||
for(RatingLevelEnum r : RatingLevelEnum.values()) { |
|||
if(r.getLevel() == level) { |
|||
return r.getName(); |
|||
} |
|||
} |
|||
//如果超过最大等级,返回最大等级
|
|||
if(level > 13) { |
|||
return "AAA"; |
|||
} |
|||
//如果超过最小等级,返回最小等级
|
|||
if(level < 1) { |
|||
return "C"; |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
public static Integer getLevel(String name) { |
|||
if(name != null) { |
|||
for(RatingLevelEnum r : RatingLevelEnum.values()) { |
|||
if(r.getName().equals(name)) { |
|||
return r.getLevel(); |
|||
} |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
/** |
|||
* 评级步骤页面类型 |
|||
* @author dhb |
|||
* |
|||
*/ |
|||
public enum RatingPageType { |
|||
APPLY("apply","评级"), |
|||
AUDIT("audit","审核"), |
|||
DETAIL("detail","详情"), |
|||
; |
|||
private String code; |
|||
private String name; |
|||
private RatingPageType(String code, String name) { |
|||
this.code = code; |
|||
this.name = name; |
|||
} |
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
public String getName() { |
|||
return name; |
|||
} |
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
public enum RatingProcessStatus { |
|||
AWAIT_RATING, // 待评级
|
|||
AWAIT_SUBMIT, // 待提交
|
|||
BACK, // 退回
|
|||
APPROVALING, // 审批中
|
|||
PASS, // 通过
|
|||
NEGATIVED, // 否决
|
|||
END // 评级更新任务已结束
|
|||
; |
|||
} |
@ -0,0 +1,31 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
/** |
|||
* 评级来源 |
|||
* @author dhb |
|||
* |
|||
*/ |
|||
public enum RatingSourceType { |
|||
INDEPENDENT("INDEPENDENT","独立"), |
|||
UPDATE("UPDATE","更新"), |
|||
CREDIT("CREDIT","信贷"), |
|||
; |
|||
private String code; |
|||
private String name; |
|||
private RatingSourceType(String code, String name) { |
|||
this.code = code; |
|||
this.name = name; |
|||
} |
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
public String getName() { |
|||
return name; |
|||
} |
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,43 @@ |
|||
package irbs.cust.rating.enums; |
|||
|
|||
public enum RatingStepType { |
|||
WAIT_INIT("WAIT_INIT",0), //等待初始化
|
|||
IN_CHECK("IN_CHECK",1), //业务检查中
|
|||
CHECK_FINISH("CHECK_FINISH",1), //业务检查完成
|
|||
NEED_COMPREHENSIVE_GROUP("NEED_COMPREHENSIVE_GROUP",2), //需判定是否综合性集团
|
|||
COMPREHENSIVE_FINISH("COMPREHENSIVE_FINISH",2), //综合性集团判定完成
|
|||
IN_INIT("IN_INIT",3), //初始化中
|
|||
INIT_FINISH("INIT_FINISH",4), //初始化完成
|
|||
QUANTITATIVE("QUANTITATIVE",5), //定量指标
|
|||
QUALITATIVE_EDIT("QUALITATIVE_EDIT",6), //定性指标
|
|||
QUALITATIVE_SHOW("QUALITATIVE_SHOW",7), //初评展示
|
|||
ADJUST_ITEM("ADJUST_ITEM",8), //调整项
|
|||
OTHER("OTHER",9), //评级推翻
|
|||
REPORT_INFO("REPORT_INFO",10); //评级报告展示
|
|||
private final String text; |
|||
private final int order; |
|||
public String getText() { |
|||
return text; |
|||
} |
|||
public int getOrder() { |
|||
return order; |
|||
} |
|||
public static Integer getOrder(String text) { |
|||
if(text != null) { |
|||
for(RatingStepType r : RatingStepType.values()) { |
|||
if(r.getText().equals(text)) { |
|||
return r.getOrder(); |
|||
} |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
RatingStepType(String text, int order) { |
|||
this.text = text; |
|||
this.order = order; |
|||
} |
|||
@Override |
|||
public String toString() { |
|||
return this.text; |
|||
} |
|||
} |
@ -0,0 +1,394 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.CompanyCustomerVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 对公客户基本信息 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="IRBS_CUST_CP_INFO") |
|||
public class CompanyCustomer extends CorporationAuditorEntity<CompanyCustomerVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
@Column(name="CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 客户中文名 |
|||
*/ |
|||
@Column(name="CUST_CNA") |
|||
private String custName; |
|||
|
|||
/** |
|||
* 管户人编号 |
|||
*/ |
|||
@Column(name="MGER_NO") |
|||
private String mgerNo; |
|||
|
|||
/** |
|||
* 管户人 |
|||
*/ |
|||
@Column(name="MGER_CNA") |
|||
private String mgerCna; |
|||
|
|||
/** |
|||
* 管户机构编号 |
|||
*/ |
|||
@Column(name="MGER_ORG_NO") |
|||
private String mgerOrgNo; |
|||
|
|||
/** |
|||
* 管户机构名称 |
|||
*/ |
|||
@Column(name="MGER_ORG_NM") |
|||
private String mgerOrgNm; |
|||
|
|||
/** |
|||
* 组织机构代码证 |
|||
*/ |
|||
@Column(name="ORGN_CD") |
|||
private String orgnCd; |
|||
|
|||
/** |
|||
* 统一社会信用代码 |
|||
*/ |
|||
@Column(name="ORG_CRDT_CD") |
|||
private String orgCrdtCd; |
|||
|
|||
/** |
|||
* 国标行业 |
|||
*/ |
|||
@Column(name="INDU_SORT_CD") |
|||
private String induSortCd; |
|||
|
|||
/** |
|||
* 客户类型 |
|||
*/ |
|||
@Column(name="CUST_TYPE_CD") |
|||
private String custTypeCd; |
|||
|
|||
/** |
|||
* 客户分类 |
|||
*/ |
|||
@Column(name="CUST_SORT_CD") |
|||
private String custSortCd; |
|||
|
|||
/** |
|||
* 创建日期 |
|||
*/ |
|||
@Column(name="BUILD_DT") |
|||
private String buildDt; |
|||
|
|||
/** |
|||
* 企业规模 |
|||
*/ |
|||
@Column(name="CORP_SIZE_CD") |
|||
private String corpSizeCd; |
|||
|
|||
/** |
|||
* 注册地址 |
|||
*/ |
|||
@Column(name="RGST_GROUND") |
|||
private String rgstGround; |
|||
|
|||
/** |
|||
* 3年内借据逾期超过30天标志 |
|||
*/ |
|||
@Column(name="YEARS3_OVDUE_30_DAY_FLAG") |
|||
private String years3Ovdue30DayFlag; |
|||
|
|||
/** |
|||
* 3年内垫款超过30天标志 |
|||
*/ |
|||
@Column(name="YEARS3_ADV_MONEY_30_DAY_FLAG") |
|||
private String years3AdvMoney30DayFlag; |
|||
|
|||
/** |
|||
* 3年内贷款展期次数2次及以上标志 |
|||
*/ |
|||
@Column(name="YEARS3_EXPAND_2_CNT_FLAG") |
|||
private String years3Expand2CntFlag; |
|||
|
|||
/** |
|||
* 3年内借新还旧次数2次及以上标志 |
|||
*/ |
|||
@Column(name="YEARS3_BOR_REPAY_2_CNT_FLAG") |
|||
private String years3BorRepay2CntFlag; |
|||
|
|||
/** |
|||
* 3年内结息方式变更后是否出现逾期2次及以上标志 |
|||
*/ |
|||
@Column(name="YEARS3_MODE_MODIF_OVERDUE_2_CNT_FLAG") |
|||
private String years3ModeModifOverdue2CntFlag; |
|||
|
|||
/** |
|||
* 3年内合同的本金还款计划是否变更2次及以上标志 |
|||
*/ |
|||
@Column(name="YEARS3_PRIN_REPAY_PLAN_MODIF_2_CNT_FLAG") |
|||
private String years3PrinRepayPlanModif2CntFlag; |
|||
|
|||
/** |
|||
* 3年内重组2次及以上标志 |
|||
*/ |
|||
@Column(name="YEARS3_REGROUP_2_CNT_FLAG") |
|||
private String years3Regroup2CntFlag; |
|||
|
|||
/** |
|||
* 银行业协会惩戒人名单 |
|||
*/ |
|||
@Column(name="CHASTEN_CUST_FLAG") |
|||
private String chastenCustFlag; |
|||
|
|||
/** |
|||
* 国标行业名称 |
|||
*/ |
|||
@Transient |
|||
private String induSortName; |
|||
|
|||
public CompanyCustomer() { |
|||
} |
|||
|
|||
public CompanyCustomer(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public CompanyCustomerVo toVo() { |
|||
CompanyCustomerVo vo = new CompanyCustomerVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setCustName(this.getCustName()); |
|||
vo.setMgerNo(this.getMgerNo()); |
|||
vo.setMgerCna(this.getMgerCna()); |
|||
vo.setMgerOrgNo(this.getMgerOrgNo()); |
|||
vo.setMgerOrgNm(this.getMgerOrgNm()); |
|||
vo.setOrgnCd(this.getOrgnCd()); |
|||
vo.setOrgCrdtCd(this.getOrgCrdtCd()); |
|||
vo.setInduSortCd(this.getInduSortCd()); |
|||
vo.setCustTypeCd(this.getCustTypeCd()); |
|||
vo.setCustSortCd(this.getCustSortCd()); |
|||
vo.setBuildDt(this.getBuildDt()); |
|||
vo.setCorpSizeCd(this.getCorpSizeCd()); |
|||
vo.setRgstGround(this.getRgstGround()); |
|||
vo.setYears3Ovdue30DayFlag(this.getYears3Ovdue30DayFlag()); |
|||
vo.setYears3AdvMoney30DayFlag(this.getYears3AdvMoney30DayFlag()); |
|||
vo.setYears3Expand2CntFlag(this.getYears3Expand2CntFlag()); |
|||
vo.setYears3BorRepay2CntFlag(this.getYears3BorRepay2CntFlag()); |
|||
vo.setYears3ModeModifOverdue2CntFlag(this.getYears3ModeModifOverdue2CntFlag()); |
|||
vo.setYears3PrinRepayPlanModif2CntFlag(this.getYears3PrinRepayPlanModif2CntFlag()); |
|||
vo.setYears3Regroup2CntFlag(this.getYears3Regroup2CntFlag()); |
|||
vo.setChastenCustFlag(this.getChastenCustFlag()); |
|||
vo.setInduSortName(this.getInduSortName()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getMgerNo() { |
|||
return mgerNo; |
|||
} |
|||
|
|||
public void setMgerNo(String mgerNo) { |
|||
this.mgerNo = mgerNo; |
|||
} |
|||
|
|||
public String getMgerCna() { |
|||
return mgerCna; |
|||
} |
|||
|
|||
public void setMgerCna(String mgerCna) { |
|||
this.mgerCna = mgerCna; |
|||
} |
|||
|
|||
public String getMgerOrgNo() { |
|||
return mgerOrgNo; |
|||
} |
|||
|
|||
public void setMgerOrgNo(String mgerOrgNo) { |
|||
this.mgerOrgNo = mgerOrgNo; |
|||
} |
|||
|
|||
public String getMgerOrgNm() { |
|||
return mgerOrgNm; |
|||
} |
|||
|
|||
public void setMgerOrgNm(String mgerOrgNm) { |
|||
this.mgerOrgNm = mgerOrgNm; |
|||
} |
|||
|
|||
public String getOrgnCd() { |
|||
return orgnCd; |
|||
} |
|||
|
|||
public void setOrgnCd(String orgnCd) { |
|||
this.orgnCd = orgnCd; |
|||
} |
|||
|
|||
public String getOrgCrdtCd() { |
|||
return orgCrdtCd; |
|||
} |
|||
|
|||
public void setOrgCrdtCd(String orgCrdtCd) { |
|||
this.orgCrdtCd = orgCrdtCd; |
|||
} |
|||
|
|||
public String getInduSortCd() { |
|||
return induSortCd; |
|||
} |
|||
|
|||
public void setInduSortCd(String induSortCd) { |
|||
this.induSortCd = induSortCd; |
|||
} |
|||
|
|||
public String getCustTypeCd() { |
|||
return custTypeCd; |
|||
} |
|||
|
|||
public void setCustTypeCd(String custTypeCd) { |
|||
this.custTypeCd = custTypeCd; |
|||
} |
|||
|
|||
public String getCustSortCd() { |
|||
return custSortCd; |
|||
} |
|||
|
|||
public void setCustSortCd(String custSortCd) { |
|||
this.custSortCd = custSortCd; |
|||
} |
|||
|
|||
public String getBuildDt() { |
|||
return buildDt; |
|||
} |
|||
|
|||
public void setBuildDt(String buildDt) { |
|||
this.buildDt = buildDt; |
|||
} |
|||
|
|||
public String getCorpSizeCd() { |
|||
return corpSizeCd; |
|||
} |
|||
|
|||
public void setCorpSizeCd(String corpSizeCd) { |
|||
this.corpSizeCd = corpSizeCd; |
|||
} |
|||
|
|||
public String getRgstGround() { |
|||
return rgstGround; |
|||
} |
|||
|
|||
public void setRgstGround(String rgstGround) { |
|||
this.rgstGround = rgstGround; |
|||
} |
|||
|
|||
public String getYears3Ovdue30DayFlag() { |
|||
return years3Ovdue30DayFlag; |
|||
} |
|||
|
|||
public void setYears3Ovdue30DayFlag(String years3Ovdue30DayFlag) { |
|||
this.years3Ovdue30DayFlag = years3Ovdue30DayFlag; |
|||
} |
|||
|
|||
public String getYears3AdvMoney30DayFlag() { |
|||
return years3AdvMoney30DayFlag; |
|||
} |
|||
|
|||
public void setYears3AdvMoney30DayFlag(String years3AdvMoney30DayFlag) { |
|||
this.years3AdvMoney30DayFlag = years3AdvMoney30DayFlag; |
|||
} |
|||
|
|||
public String getYears3Expand2CntFlag() { |
|||
return years3Expand2CntFlag; |
|||
} |
|||
|
|||
public void setYears3Expand2CntFlag(String years3Expand2CntFlag) { |
|||
this.years3Expand2CntFlag = years3Expand2CntFlag; |
|||
} |
|||
|
|||
public String getYears3BorRepay2CntFlag() { |
|||
return years3BorRepay2CntFlag; |
|||
} |
|||
|
|||
public void setYears3BorRepay2CntFlag(String years3BorRepay2CntFlag) { |
|||
this.years3BorRepay2CntFlag = years3BorRepay2CntFlag; |
|||
} |
|||
|
|||
public String getYears3ModeModifOverdue2CntFlag() { |
|||
return years3ModeModifOverdue2CntFlag; |
|||
} |
|||
|
|||
public void setYears3ModeModifOverdue2CntFlag(String years3ModeModifOverdue2CntFlag) { |
|||
this.years3ModeModifOverdue2CntFlag = years3ModeModifOverdue2CntFlag; |
|||
} |
|||
|
|||
public String getYears3PrinRepayPlanModif2CntFlag() { |
|||
return years3PrinRepayPlanModif2CntFlag; |
|||
} |
|||
|
|||
public void setYears3PrinRepayPlanModif2CntFlag(String years3PrinRepayPlanModif2CntFlag) { |
|||
this.years3PrinRepayPlanModif2CntFlag = years3PrinRepayPlanModif2CntFlag; |
|||
} |
|||
|
|||
public String getYears3Regroup2CntFlag() { |
|||
return years3Regroup2CntFlag; |
|||
} |
|||
|
|||
public void setYears3Regroup2CntFlag(String years3Regroup2CntFlag) { |
|||
this.years3Regroup2CntFlag = years3Regroup2CntFlag; |
|||
} |
|||
|
|||
public String getChastenCustFlag() { |
|||
return chastenCustFlag; |
|||
} |
|||
|
|||
public void setChastenCustFlag(String chastenCustFlag) { |
|||
this.chastenCustFlag = chastenCustFlag; |
|||
} |
|||
|
|||
public String getInduSortName() { |
|||
return induSortName; |
|||
} |
|||
|
|||
public void setInduSortName(String induSortName) { |
|||
this.induSortName = induSortName; |
|||
} |
|||
} |
@ -0,0 +1,94 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.support.CreditFinanceResultId; |
|||
import irbs.cust.rating.jpa.vo.CreditFinanceResultVo; |
|||
|
|||
import javax.persistence.*; |
|||
|
|||
/** |
|||
* 征信财报组合指库结果表 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_CREDIT_FINANCE_INDEX") |
|||
@IdClass(CreditFinanceResultId.class) |
|||
public class CreditFinanceResult extends BaseEntity<CreditFinanceResultVo> { |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@Id |
|||
@Column(name="CUST_ID") |
|||
private String custId; |
|||
|
|||
/** |
|||
* 指标代码 |
|||
*/ |
|||
@Id |
|||
@Column(name= "INDEX_CODE") |
|||
private String indexCode; |
|||
|
|||
/** |
|||
* 指标名称 |
|||
*/ |
|||
@Column(name= "INDEX_NAME") |
|||
private String indexName; |
|||
|
|||
/** |
|||
* 指标值 |
|||
*/ |
|||
@Column(name= "INDEX_VALUE") |
|||
private String indexValue; |
|||
|
|||
public CreditFinanceResult() { |
|||
} |
|||
|
|||
public CreditFinanceResult(String custId, String indexCode) { |
|||
this.custId = custId; |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
@Override |
|||
public CreditFinanceResultVo toVo() { |
|||
CreditFinanceResultVo vo = new CreditFinanceResultVo(); |
|||
vo.setCustId(this.getCustId()); |
|||
vo.setIndexCode(this.getIndexCode()); |
|||
vo.setIndexName(this.getIndexName()); |
|||
vo.setIndexValue(this.getIndexValue()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,111 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.support.CreditInvestResultId; |
|||
import irbs.cust.rating.jpa.vo.CreditInvestResultVo; |
|||
|
|||
import javax.persistence.*; |
|||
|
|||
/** |
|||
* 评级征信指库结果表 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_ENTERPRISE_CREDIT_INDEX") |
|||
@IdClass(CreditInvestResultId.class) |
|||
public class CreditInvestResult extends BaseEntity<CreditInvestResultVo> { |
|||
|
|||
/** |
|||
* 报告编号 |
|||
*/ |
|||
@Id |
|||
@Column(name="reportId") |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
@Id |
|||
@Column(name="CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 指标代码 |
|||
*/ |
|||
@Id |
|||
@Column(name= "INDEX_CODE") |
|||
private String indexCode; |
|||
|
|||
/** |
|||
* 指标名称 |
|||
*/ |
|||
@Column(name= "INDEX_NAME") |
|||
private String indexName; |
|||
|
|||
/** |
|||
* 指标值 |
|||
*/ |
|||
@Column(name= "INDEX_VALUE") |
|||
private String indexValue; |
|||
|
|||
public CreditInvestResult() { |
|||
} |
|||
|
|||
public CreditInvestResult(String custNo, String indexCode, String reportId) { |
|||
this.custNo = custNo; |
|||
this.indexCode = indexCode; |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
@Override |
|||
public CreditInvestResultVo toVo() { |
|||
CreditInvestResultVo vo = new CreditInvestResultVo(); |
|||
vo.setReportId(this.getReportId()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setIndexCode(this.getIndexCode()); |
|||
vo.setIndexName(this.getIndexName()); |
|||
vo.setIndexValue(this.getIndexValue()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,152 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.CreditReportVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 企业征信基本信息 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_CREDIT_BASE_INFO") |
|||
public class CreditReport extends BaseEntity<CreditReportVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="REPORT_ID") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 报告时间 |
|||
*/ |
|||
@Column(name= "REPORT_DATE") |
|||
private String reportDate; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
@Column(name= "CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 企业名称 |
|||
*/ |
|||
@Column(name= "ENT_NAME") |
|||
private String entName; |
|||
|
|||
/** |
|||
* 组织机构代码 |
|||
*/ |
|||
@Column(name= "ORGANIZATION_CODE") |
|||
private String organizationCode; |
|||
|
|||
/** |
|||
* 统一社会信用代码 |
|||
*/ |
|||
@Column(name= "SOCIETY_UNIFY_CODE") |
|||
private String societyUnifyCode; |
|||
|
|||
/** |
|||
* 征信有效期 |
|||
*/ |
|||
@Column(name= "EXPIRY_DATE") |
|||
private String expiryDate; |
|||
|
|||
/** |
|||
* 是否征信白户 |
|||
*/ |
|||
@Column(name= "BLANK_IND") |
|||
private String blankInd; |
|||
|
|||
public CreditReport() { |
|||
} |
|||
|
|||
public CreditReport(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public CreditReportVo toVo() { |
|||
CreditReportVo vo = new CreditReportVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setReportDate(this.getReportDate()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setEntName(this.getEntName()); |
|||
vo.setOrganizationCode(this.getOrganizationCode()); |
|||
vo.setSocietyUnifyCode(this.getSocietyUnifyCode()); |
|||
vo.setExpiryDate(this.getExpiryDate()); |
|||
vo.setBlankInd(this.getBlankInd()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getReportDate() { |
|||
return reportDate; |
|||
} |
|||
|
|||
public void setReportDate(String reportDate) { |
|||
this.reportDate = reportDate; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getEntName() { |
|||
return entName; |
|||
} |
|||
|
|||
public void setEntName(String entName) { |
|||
this.entName = entName; |
|||
} |
|||
|
|||
public String getOrganizationCode() { |
|||
return organizationCode; |
|||
} |
|||
|
|||
public void setOrganizationCode(String organizationCode) { |
|||
this.organizationCode = organizationCode; |
|||
} |
|||
|
|||
public String getSocietyUnifyCode() { |
|||
return societyUnifyCode; |
|||
} |
|||
|
|||
public void setSocietyUnifyCode(String societyUnifyCode) { |
|||
this.societyUnifyCode = societyUnifyCode; |
|||
} |
|||
|
|||
public String getExpiryDate() { |
|||
return expiryDate; |
|||
} |
|||
|
|||
public void setExpiryDate(String expiryDate) { |
|||
this.expiryDate = expiryDate; |
|||
} |
|||
|
|||
public String getBlankInd() { |
|||
return blankInd; |
|||
} |
|||
|
|||
public void setBlankInd(String blankInd) { |
|||
this.blankInd = blankInd; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,561 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.support.DebtGradeId; |
|||
import irbs.cust.rating.jpa.vo.DebtGradeVo; |
|||
|
|||
import javax.persistence.*; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 债项评级结果 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="P_IRS_CONTR_RAITNG_RESULT") |
|||
@IdClass(DebtGradeId.class) |
|||
public class DebtGrade extends BaseEntity<DebtGradeVo> { |
|||
|
|||
/** |
|||
* 数据日期 |
|||
*/ |
|||
@Id |
|||
@Column(name= "DATA_DT") |
|||
private String dataDt; |
|||
|
|||
/** |
|||
* 合同编号 |
|||
*/ |
|||
@Id |
|||
@Column(name= "CONT_NO") |
|||
private String contNo; |
|||
|
|||
/** |
|||
*客户编号 |
|||
*/ |
|||
@Id |
|||
@Column(name= "CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 额度编号 |
|||
*/ |
|||
@Column(name= "LMT_NO") |
|||
private String lmtNo; |
|||
|
|||
/** |
|||
* 客户名称 |
|||
*/ |
|||
@Column(name= "CUST_NAME") |
|||
private String custName; |
|||
|
|||
/** |
|||
* 币种代码 |
|||
*/ |
|||
@Column(name= "CCY_CD") |
|||
private String ccyCd; |
|||
|
|||
/** |
|||
* 业务品种 |
|||
*/ |
|||
@Column(name= "LMT_PROD_CD") |
|||
private String prodCd; |
|||
|
|||
/** |
|||
* 合同金额 |
|||
*/ |
|||
@Column(name= "CONTR_AMT") |
|||
private BigDecimal contrAmt; |
|||
|
|||
/** |
|||
* 合同余额 |
|||
*/ |
|||
@Column(name= "CONTR_BAL") |
|||
private BigDecimal ContrBal; |
|||
|
|||
/** |
|||
* 欠息余额 |
|||
*/ |
|||
@Column(name= "OWEINT_BAL") |
|||
private BigDecimal oweintBal; |
|||
|
|||
/** |
|||
* 费用余额 |
|||
*/ |
|||
@Column(name= "FEE_BAL") |
|||
private BigDecimal feeBal; |
|||
|
|||
/** |
|||
* 合同签订日期 |
|||
*/ |
|||
@Column(name= "CONT_SIGN_DT") |
|||
private String contSingDt; |
|||
|
|||
/** |
|||
* 起始日期 |
|||
*/ |
|||
@Column(name= "CONT_START_DT") |
|||
private String contStartDt; |
|||
|
|||
/** |
|||
* 到期日期 |
|||
*/ |
|||
@Column(name= "CONT_END_DT") |
|||
private String contEndtDt; |
|||
|
|||
/** |
|||
* 合同期限类型代码 |
|||
*/ |
|||
@Column(name= "CONTR_TERM_CD") |
|||
private String contrTermCd; |
|||
|
|||
/** |
|||
* 冻结标志 |
|||
*/ |
|||
@Column(name= "BLOCK_IND") |
|||
private String blockInd; |
|||
|
|||
/** |
|||
* 合同类别代码 |
|||
*/ |
|||
@Column(name= "CONT_TYPE_CD") |
|||
private String contTypeCd; |
|||
|
|||
/** |
|||
* 合同状态代码 |
|||
*/ |
|||
@Column(name= "CONT_STATUS_CD") |
|||
private String contStatusCd; |
|||
|
|||
/** |
|||
* 担保方式 |
|||
*/ |
|||
@Column(name= "GUAR_WAY_CD") |
|||
private String guarWayCd; |
|||
|
|||
/** |
|||
* 五级分类代码 |
|||
*/ |
|||
@Column(name= "TEN_CLASS_CD") |
|||
private String tenClassCd; |
|||
|
|||
/** |
|||
* 贷款行业投向 |
|||
*/ |
|||
@Column(name= "LOAN_DIRECTION_CD") |
|||
private String directionCd; |
|||
|
|||
/** |
|||
* 循环标志 |
|||
*/ |
|||
@Column(name= "CYCLE_FLAG") |
|||
private String cycleFlag; |
|||
|
|||
/** |
|||
* 费用名称 |
|||
*/ |
|||
@Column(name= "EXPENSE_NAME") |
|||
private String expenseName; |
|||
|
|||
/** |
|||
* 实际费率 |
|||
*/ |
|||
@Column(name= "EXPENSE_RATE") |
|||
private BigDecimal expenseRate; |
|||
|
|||
/** |
|||
* 月利率 |
|||
*/ |
|||
@Column(name= "MONTH_RATE") |
|||
private BigDecimal monthRate; |
|||
|
|||
/** |
|||
* 合同逾期天数 |
|||
*/ |
|||
@Column(name= "CONTR_OVDUE_DAYS") |
|||
private Integer contrOvdueDays; |
|||
|
|||
/** |
|||
* 合同欠息天数 |
|||
*/ |
|||
@Column(name= "CONTR_OWEINT_DAYS") |
|||
private Integer contrOweintDays; |
|||
|
|||
/** |
|||
* 折现后还款金额(违约后) |
|||
*/ |
|||
@Column(name= "OVDUE_POST_REPAY_AMT") |
|||
private BigDecimal postRepayAmt; |
|||
|
|||
/** |
|||
* 管户机构编号 |
|||
*/ |
|||
@Column(name= "OPERATE_ORG_NO") |
|||
private String operateOrgNo; |
|||
|
|||
/** |
|||
* 管户人编号 |
|||
*/ |
|||
@Column(name= "OPERATOR_NO") |
|||
private String operatorNo; |
|||
|
|||
/** |
|||
* 违约损失率 |
|||
*/ |
|||
@Column(name= "IRS_LGD") |
|||
private BigDecimal irsLgd; |
|||
/** |
|||
* 违约损失率 |
|||
*/ |
|||
@Column(name= "IRS_LGD_LEVEL") |
|||
private String irsLgdLevel; |
|||
|
|||
/** |
|||
* 风险暴露 |
|||
*/ |
|||
@Column(name= "IRS_EAD") |
|||
private BigDecimal irsEad; |
|||
|
|||
/** |
|||
* 是否违约认定 |
|||
*/ |
|||
@Column(name= "IRS_OVDUE") |
|||
private String irsOvdue; |
|||
|
|||
/** |
|||
* 合同层实际LGD |
|||
*/ |
|||
@Column(name= "CONT_EXPENSE_FEE_LGD") |
|||
private BigDecimal expenseFeeLgd; |
|||
|
|||
public DebtGrade() { |
|||
} |
|||
|
|||
public DebtGrade(String dataDt, String contNo, String custNo) { |
|||
this.dataDt = dataDt; |
|||
this.contNo = contNo; |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
@Override |
|||
public DebtGradeVo toVo() { |
|||
DebtGradeVo vo = new DebtGradeVo(); |
|||
vo.setDataDt(this.getDataDt()); |
|||
vo.setContNo(this.getContNo()); |
|||
vo.setLmtNo(this.getLmtNo()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setCustName(this.getCustName()); |
|||
vo.setCcyCd(this.getCcyCd()); |
|||
vo.setProdCd(this.getProdCd()); |
|||
vo.setContrAmt(this.getContrAmt()); |
|||
vo.setContrBal(this.getContrBal()); |
|||
vo.setOweintBal(this.getOweintBal()); |
|||
vo.setFeeBal(this.getFeeBal()); |
|||
vo.setContSingDt(this.getContSingDt()); |
|||
vo.setContStartDt(this.getContStartDt()); |
|||
vo.setContEndtDt(this.getContEndtDt()); |
|||
vo.setContrTermCd(this.getContrTermCd()); |
|||
vo.setBlockInd(this.getBlockInd()); |
|||
vo.setContTypeCd(this.getContTypeCd()); |
|||
vo.setContStatusCd(this.getContStatusCd()); |
|||
vo.setGuarWayCd(this.getGuarWayCd()); |
|||
vo.setTenClassCd(this.getTenClassCd()); |
|||
vo.setDirectionCd(this.getDirectionCd()); |
|||
vo.setCycleFlag(this.getCycleFlag()); |
|||
vo.setExpenseName(this.getExpenseName()); |
|||
vo.setExpenseRate(this.getExpenseRate()); |
|||
vo.setMonthRate(this.getMonthRate()); |
|||
vo.setContrOvdueDays(this.getContrOvdueDays()); |
|||
vo.setContrOweintDays(this.getContrOweintDays()); |
|||
vo.setPostRepayAmt(this.getPostRepayAmt()); |
|||
vo.setOperateOrgNo(this.getOperateOrgNo()); |
|||
vo.setOperatorNo(this.getOperatorNo()); |
|||
vo.setIrsLgd(this.getIrsLgd()); |
|||
vo.setIrsEad(this.getIrsEad()); |
|||
vo.setIrsOvdue(this.getIrsOvdue()); |
|||
vo.setExpenseFeeLgd(this.getExpenseFeeLgd()); |
|||
vo.setIrsLgdLevel(this.getIrsLgdLevel()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getDataDt() { |
|||
return dataDt; |
|||
} |
|||
|
|||
public void setDataDt(String dataDt) { |
|||
this.dataDt = dataDt; |
|||
} |
|||
|
|||
public String getContNo() { |
|||
return contNo; |
|||
} |
|||
|
|||
public void setContNo(String contNo) { |
|||
this.contNo = contNo; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getLmtNo() { |
|||
return lmtNo; |
|||
} |
|||
|
|||
public void setLmtNo(String lmtNo) { |
|||
this.lmtNo = lmtNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getCcyCd() { |
|||
return ccyCd; |
|||
} |
|||
|
|||
public void setCcyCd(String ccyCd) { |
|||
this.ccyCd = ccyCd; |
|||
} |
|||
|
|||
public String getProdCd() { |
|||
return prodCd; |
|||
} |
|||
|
|||
public void setProdCd(String prodCd) { |
|||
this.prodCd = prodCd; |
|||
} |
|||
|
|||
public BigDecimal getContrAmt() { |
|||
return contrAmt; |
|||
} |
|||
|
|||
public void setContrAmt(BigDecimal contrAmt) { |
|||
this.contrAmt = contrAmt; |
|||
} |
|||
|
|||
public BigDecimal getContrBal() { |
|||
return ContrBal; |
|||
} |
|||
|
|||
public void setContrBal(BigDecimal contrBal) { |
|||
ContrBal = contrBal; |
|||
} |
|||
|
|||
public BigDecimal getOweintBal() { |
|||
return oweintBal; |
|||
} |
|||
|
|||
public void setOweintBal(BigDecimal oweintBal) { |
|||
this.oweintBal = oweintBal; |
|||
} |
|||
|
|||
public BigDecimal getFeeBal() { |
|||
return feeBal; |
|||
} |
|||
|
|||
public void setFeeBal(BigDecimal feeBal) { |
|||
this.feeBal = feeBal; |
|||
} |
|||
|
|||
public String getContSingDt() { |
|||
return contSingDt; |
|||
} |
|||
|
|||
public void setContSingDt(String contSingDt) { |
|||
this.contSingDt = contSingDt; |
|||
} |
|||
|
|||
public String getContStartDt() { |
|||
return contStartDt; |
|||
} |
|||
|
|||
public void setContStartDt(String contStartDt) { |
|||
this.contStartDt = contStartDt; |
|||
} |
|||
|
|||
public String getContEndtDt() { |
|||
return contEndtDt; |
|||
} |
|||
|
|||
public void setContEndtDt(String contEndtDt) { |
|||
this.contEndtDt = contEndtDt; |
|||
} |
|||
|
|||
public String getContrTermCd() { |
|||
return contrTermCd; |
|||
} |
|||
|
|||
public void setContrTermCd(String contrTermCd) { |
|||
this.contrTermCd = contrTermCd; |
|||
} |
|||
|
|||
public String getBlockInd() { |
|||
return blockInd; |
|||
} |
|||
|
|||
public void setBlockInd(String blockInd) { |
|||
this.blockInd = blockInd; |
|||
} |
|||
|
|||
public String getContTypeCd() { |
|||
return contTypeCd; |
|||
} |
|||
|
|||
public void setContTypeCd(String contTypeCd) { |
|||
this.contTypeCd = contTypeCd; |
|||
} |
|||
|
|||
public String getContStatusCd() { |
|||
return contStatusCd; |
|||
} |
|||
|
|||
public void setContStatusCd(String contStatusCd) { |
|||
this.contStatusCd = contStatusCd; |
|||
} |
|||
|
|||
public String getGuarWayCd() { |
|||
return guarWayCd; |
|||
} |
|||
|
|||
public void setGuarWayCd(String guarWayCd) { |
|||
this.guarWayCd = guarWayCd; |
|||
} |
|||
|
|||
public String getTenClassCd() { |
|||
return tenClassCd; |
|||
} |
|||
|
|||
public void setTenClassCd(String tenClassCd) { |
|||
this.tenClassCd = tenClassCd; |
|||
} |
|||
|
|||
public String getDirectionCd() { |
|||
return directionCd; |
|||
} |
|||
|
|||
public void setDirectionCd(String directionCd) { |
|||
this.directionCd = directionCd; |
|||
} |
|||
|
|||
public String getCycleFlag() { |
|||
return cycleFlag; |
|||
} |
|||
|
|||
public void setCycleFlag(String cycleFlag) { |
|||
this.cycleFlag = cycleFlag; |
|||
} |
|||
|
|||
public String getExpenseName() { |
|||
return expenseName; |
|||
} |
|||
|
|||
public void setExpenseName(String expenseName) { |
|||
this.expenseName = expenseName; |
|||
} |
|||
|
|||
public BigDecimal getExpenseRate() { |
|||
return expenseRate; |
|||
} |
|||
|
|||
public void setExpenseRate(BigDecimal expenseRate) { |
|||
this.expenseRate = expenseRate; |
|||
} |
|||
|
|||
public BigDecimal getMonthRate() { |
|||
return monthRate; |
|||
} |
|||
|
|||
public void setMonthRate(BigDecimal monthRate) { |
|||
this.monthRate = monthRate; |
|||
} |
|||
|
|||
public Integer getContrOvdueDays() { |
|||
return contrOvdueDays; |
|||
} |
|||
|
|||
public void setContrOvdueDays(Integer contrOvdueDays) { |
|||
this.contrOvdueDays = contrOvdueDays; |
|||
} |
|||
|
|||
public Integer getContrOweintDays() { |
|||
return contrOweintDays; |
|||
} |
|||
|
|||
public void setContrOweintDays(Integer contrOweintDays) { |
|||
this.contrOweintDays = contrOweintDays; |
|||
} |
|||
|
|||
public BigDecimal getPostRepayAmt() { |
|||
return postRepayAmt; |
|||
} |
|||
|
|||
public void setPostRepayAmt(BigDecimal postRepayAmt) { |
|||
this.postRepayAmt = postRepayAmt; |
|||
} |
|||
|
|||
public String getOperateOrgNo() { |
|||
return operateOrgNo; |
|||
} |
|||
|
|||
public void setOperateOrgNo(String operateOrgNo) { |
|||
this.operateOrgNo = operateOrgNo; |
|||
} |
|||
|
|||
public String getOperatorNo() { |
|||
return operatorNo; |
|||
} |
|||
|
|||
public void setOperatorNo(String operatorNo) { |
|||
this.operatorNo = operatorNo; |
|||
} |
|||
|
|||
public BigDecimal getIrsLgd() { |
|||
return irsLgd; |
|||
} |
|||
|
|||
public void setIrsLgd(BigDecimal irsLgd) { |
|||
this.irsLgd = irsLgd; |
|||
} |
|||
|
|||
public String getIrsLgdLevel() { |
|||
return irsLgdLevel; |
|||
} |
|||
|
|||
public void setIrsLgdLevel(String irsLgdLevel) { |
|||
this.irsLgdLevel = irsLgdLevel; |
|||
} |
|||
|
|||
public BigDecimal getIrsEad() { |
|||
return irsEad; |
|||
} |
|||
|
|||
public void setIrsEad(BigDecimal irsEad) { |
|||
this.irsEad = irsEad; |
|||
} |
|||
|
|||
public String getIrsOvdue() { |
|||
return irsOvdue; |
|||
} |
|||
|
|||
public void setIrsOvdue(String irsOvdue) { |
|||
this.irsOvdue = irsOvdue; |
|||
} |
|||
|
|||
public BigDecimal getExpenseFeeLgd() { |
|||
return expenseFeeLgd; |
|||
} |
|||
|
|||
public void setExpenseFeeLgd(BigDecimal expenseFeeLgd) { |
|||
this.expenseFeeLgd = expenseFeeLgd; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,225 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.FinanceReportVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 财报基本信息 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="ESB_RATING_FIN_REPORT") |
|||
public class FinanceReport extends BaseEntity<FinanceReportVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
@Column(name= "CUST_ID") |
|||
private String custId; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
@Column(name= "CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 财报年度区分 |
|||
*/ |
|||
@Column(name= "FINANCE_REPORT_YEAR") |
|||
private String financeReportYear; |
|||
|
|||
/** |
|||
* 财报截至日期 |
|||
*/ |
|||
@Column(name= "END_DATE") |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 报表类型 |
|||
*/ |
|||
@Column(name= "TYPE") |
|||
private String Type; |
|||
|
|||
/** |
|||
* 报表类别 |
|||
*/ |
|||
@Column(name= "SORT") |
|||
private String sort; |
|||
|
|||
/** |
|||
* 报表口径 |
|||
*/ |
|||
@Column(name= "CALIBER") |
|||
private String caliber; |
|||
|
|||
/** |
|||
* 报表币种 |
|||
*/ |
|||
@Column(name= "CURRENCY") |
|||
private String currency; |
|||
|
|||
/** |
|||
* 录入人员 |
|||
*/ |
|||
@Column(name= "USER_NO") |
|||
private String userNo; |
|||
|
|||
/** |
|||
* 是否经过审计 |
|||
*/ |
|||
@Column(name= "AUDITED_IND") |
|||
private String auditedInd; |
|||
|
|||
/** |
|||
* 是否通过正式确认 |
|||
*/ |
|||
@Column(name= "VALID_IND") |
|||
private String validInd; |
|||
|
|||
@Transient |
|||
private String remarks; |
|||
|
|||
public FinanceReport() { |
|||
} |
|||
|
|||
public FinanceReport(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public FinanceReportVo toVo() { |
|||
FinanceReportVo vo = new FinanceReportVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setCustId(this.getCustId()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setFinanceReportYear(this.getFinanceReportYear()); |
|||
vo.setEndDate(this.getEndDate()); |
|||
vo.setType(this.getType()); |
|||
vo.setSort(this.getSort()); |
|||
vo.setCaliber(this.getCaliber()); |
|||
vo.setCurrency(this.getCurrency()); |
|||
vo.setUserNo(this.getUserNo()); |
|||
vo.setAuditedInd(this.getAuditedInd()); |
|||
vo.setValidInd(this.getValidInd()); |
|||
vo.setRemarks(this.getRemarks()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getFinanceReportYear() { |
|||
return financeReportYear; |
|||
} |
|||
|
|||
public void setFinanceReportYear(String financeReportYear) { |
|||
this.financeReportYear = financeReportYear; |
|||
} |
|||
|
|||
public Date getEndDate() { |
|||
return endDate; |
|||
} |
|||
|
|||
public void setEndDate(Date endDate) { |
|||
this.endDate = endDate; |
|||
} |
|||
|
|||
public String getType() { |
|||
return Type; |
|||
} |
|||
|
|||
public void setType(String type) { |
|||
Type = type; |
|||
} |
|||
|
|||
public String getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(String sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getCaliber() { |
|||
return caliber; |
|||
} |
|||
|
|||
public void setCaliber(String caliber) { |
|||
this.caliber = caliber; |
|||
} |
|||
|
|||
public String getCurrency() { |
|||
return currency; |
|||
} |
|||
|
|||
public void setCurrency(String currency) { |
|||
this.currency = currency; |
|||
} |
|||
|
|||
public String getUserNo() { |
|||
return userNo; |
|||
} |
|||
|
|||
public void setUserNo(String userNo) { |
|||
this.userNo = userNo; |
|||
} |
|||
|
|||
public String getAuditedInd() { |
|||
return auditedInd; |
|||
} |
|||
|
|||
public void setAuditedInd(String auditedInd) { |
|||
this.auditedInd = auditedInd; |
|||
} |
|||
|
|||
public String getValidInd() { |
|||
return validInd; |
|||
} |
|||
|
|||
public void setValidInd(String validInd) { |
|||
this.validInd = validInd; |
|||
} |
|||
|
|||
public String getRemarks() { |
|||
return remarks; |
|||
} |
|||
|
|||
public void setRemarks(String remarks) { |
|||
this.remarks = remarks; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,149 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.FinanceReportDetailVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 财报详细信息 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="ESB_RATING_FIN_DETAIL") |
|||
public class FinanceReportDetail extends BaseEntity<FinanceReportDetailVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
@Column(name="CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 财报主键 |
|||
*/ |
|||
@Column(name="REPORT_ID") |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 项目类型 |
|||
*/ |
|||
@Column(name="PROJECT_TYPE") |
|||
private String projectType; |
|||
|
|||
/** |
|||
* 项目代码 |
|||
*/ |
|||
@Column(name="PROJECT_CODE") |
|||
private String projectCode; |
|||
|
|||
/** |
|||
* 项目名称 |
|||
*/ |
|||
@Column(name="PROJECT_NAME") |
|||
private String projectName; |
|||
|
|||
/** |
|||
* 项目值 |
|||
*/ |
|||
@Column(name="PROJECT_VALUE") |
|||
private BigDecimal projectValue; |
|||
|
|||
@Transient |
|||
private String ratingId; |
|||
|
|||
public FinanceReportDetail() { |
|||
} |
|||
|
|||
public FinanceReportDetail(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public FinanceReportDetailVo toVo() { |
|||
FinanceReportDetailVo vo = new FinanceReportDetailVo(); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setProjectType(this.getProjectType()); |
|||
vo.setProjectCode(this.getProjectCode()); |
|||
vo.setProjectName(this.getProjectName()); |
|||
vo.setProjectValue(this.getProjectValue()); |
|||
vo.setReportId(this.getReportId()); |
|||
vo.setRatingId(this.getRatingId()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(String projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public String getProjectCode() { |
|||
return projectCode; |
|||
} |
|||
|
|||
public void setProjectCode(String projectCode) { |
|||
this.projectCode = projectCode; |
|||
} |
|||
|
|||
public String getProjectName() { |
|||
return projectName; |
|||
} |
|||
|
|||
public void setProjectName(String projectName) { |
|||
this.projectName = projectName; |
|||
} |
|||
|
|||
public BigDecimal getProjectValue() { |
|||
return projectValue; |
|||
} |
|||
|
|||
public void setProjectValue(BigDecimal projectValue) { |
|||
this.projectValue = projectValue; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,138 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.FinanceReportResultVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 财报指标结果信息 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="ESB_FIN_PARAMETER_RESULT") |
|||
public class FinanceReportResult extends BaseEntity<FinanceReportResultVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
@Column(name= "CUST_ID") |
|||
private String custId; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
@Column(name= "CUST_NO") |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 项目类型 |
|||
*/ |
|||
@Column(name= "PROJECT_TYPE") |
|||
private String projectType; |
|||
|
|||
/** |
|||
* 项目代码 |
|||
*/ |
|||
@Column(name= "PROJECT_CODE") |
|||
private String projectCode; |
|||
|
|||
/** |
|||
* 项目名称 |
|||
*/ |
|||
@Column(name= "PROJECT_NAME") |
|||
private String projectName; |
|||
|
|||
/** |
|||
* 项目值 |
|||
*/ |
|||
@Column(name="PROJECT_VALUE") |
|||
private BigDecimal projectValue; |
|||
|
|||
public FinanceReportResult() { |
|||
} |
|||
|
|||
public FinanceReportResult(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public FinanceReportResultVo toVo() { |
|||
FinanceReportResultVo vo = new FinanceReportResultVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setCustId(this.getCustId()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setProjectCode(this.getProjectCode()); |
|||
vo.setProjectType(this.getProjectType()); |
|||
vo.setProjectName(this.getProjectName()); |
|||
vo.setProjectValue(this.getProjectValue()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(String projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public String getProjectCode() { |
|||
return projectCode; |
|||
} |
|||
|
|||
public void setProjectCode(String projectCode) { |
|||
this.projectCode = projectCode; |
|||
} |
|||
|
|||
public String getProjectName() { |
|||
return projectName; |
|||
} |
|||
|
|||
public void setProjectName(String projectName) { |
|||
this.projectName = projectName; |
|||
} |
|||
|
|||
public BigDecimal getProjectValue() { |
|||
return projectValue; |
|||
} |
|||
|
|||
public void setProjectValue(BigDecimal projectValue) { |
|||
this.projectValue = projectValue; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,77 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.IndustryVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 公司客户评级主表 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="T_INDUSTRY") |
|||
public class Industry extends CorporationAuditorEntity<IndustryVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 行业编码
|
|||
@Column(name="CODE_") |
|||
@Size(max=50) |
|||
protected String code; |
|||
|
|||
// 行业名称
|
|||
@Column(name="NAME_") |
|||
@Size(max=200) |
|||
protected String name; |
|||
|
|||
public Industry() { |
|||
} |
|||
|
|||
public Industry(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public IndustryVo toVo() { |
|||
IndustryVo vo = new IndustryVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setCode(this.getCode()); |
|||
vo.setName(this.getName()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,78 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingAdjItemVo; |
|||
import irbs.cust.rating.jpa.vo.RatingSelectValuesConfigVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 评级配置_候选值定义 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_R_CFG_ADJ_ITEM") |
|||
public class RatingAdjItem extends BaseEntity<RatingAdjItemVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 模型编号 |
|||
*/ |
|||
@Column(name= "MODEL_CODE") |
|||
private String modelCode; |
|||
|
|||
/** |
|||
* 调整项定义编号 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_CODE") |
|||
private String adjItemCode; |
|||
|
|||
public RatingAdjItem() { |
|||
} |
|||
|
|||
public RatingAdjItem(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingAdjItemVo toVo() { |
|||
RatingAdjItemVo vo = new RatingAdjItemVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setModelCode(this.getModelCode()); |
|||
vo.setAdjItemCode(this.getAdjItemCode()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getModelCode() { |
|||
return modelCode; |
|||
} |
|||
|
|||
public void setModelCode(String modelCode) { |
|||
this.modelCode = modelCode; |
|||
} |
|||
|
|||
public String getAdjItemCode() { |
|||
return adjItemCode; |
|||
} |
|||
|
|||
public void setAdjItemCode(String adjItemCode) { |
|||
this.adjItemCode = adjItemCode; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,143 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingAdjItemDefVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
import org.springframework.jdbc.core.RowMapper; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.sql.ResultSet; |
|||
import java.sql.SQLException; |
|||
|
|||
/** |
|||
* 评级配置_调整项定义详情 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_R_CFG_ADJ_ITEM_DEF") |
|||
public class RatingAdjItemDef extends BaseEntity<RatingAdjItemDefVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 调整项类型 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_TYPE") |
|||
private String adjItemType; |
|||
|
|||
/** |
|||
* 调整项编号 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_CODE") |
|||
private String adjItemCode; |
|||
|
|||
/** |
|||
* 调整项名称 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_NAME") |
|||
private String adjItemName; |
|||
|
|||
/** |
|||
* 调整项描述 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_DES") |
|||
private String adjItemDes; |
|||
|
|||
/** |
|||
* 调整项值 |
|||
*/ |
|||
@Column(name= "ADJ_ITEM_VALUE") |
|||
private String adjItemValue; |
|||
|
|||
public RatingAdjItemDef() { |
|||
} |
|||
|
|||
public RatingAdjItemDef(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public static RowMapper<RatingAdjItemDef> getRowMapper() { |
|||
return new RatingAdjItemDefMapper(); |
|||
} |
|||
|
|||
private static class RatingAdjItemDefMapper implements RowMapper<RatingAdjItemDef> { |
|||
@Override |
|||
public RatingAdjItemDef mapRow(ResultSet rs, int rowNum) throws SQLException { |
|||
RatingAdjItemDef def = new RatingAdjItemDef(); |
|||
def.setId(rs.getString("ID")); |
|||
def.setAdjItemType(rs.getString("ADJ_ITEM_TYPE")); |
|||
def.setAdjItemCode(rs.getString("ADJ_ITEM_CODE")); |
|||
def.setAdjItemName(rs.getString("ADJ_ITEM_NAME")); |
|||
def.setAdjItemDes(rs.getString("ADJ_ITEM_DES")); |
|||
def.setAdjItemValue(rs.getString("ADJ_ITEM_VALUE")); |
|||
return def; |
|||
} |
|||
} |
|||
|
|||
@Override |
|||
public RatingAdjItemDefVo toVo() { |
|||
RatingAdjItemDefVo vo = new RatingAdjItemDefVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setAdjItemCode(this.getAdjItemCode()); |
|||
vo.setAdjItemType(this.getAdjItemType()); |
|||
vo.setAdjItemName(this.getAdjItemName()); |
|||
vo.setAdjItemDes(this.getAdjItemDes()); |
|||
vo.setAdjItemValue(this.getAdjItemValue()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getAdjItemType() { |
|||
return adjItemType; |
|||
} |
|||
|
|||
public void setAdjItemType(String adjItemType) { |
|||
this.adjItemType = adjItemType; |
|||
} |
|||
|
|||
public String getAdjItemCode() { |
|||
return adjItemCode; |
|||
} |
|||
|
|||
public void setAdjItemCode(String adjItemCode) { |
|||
this.adjItemCode = adjItemCode; |
|||
} |
|||
|
|||
public String getAdjItemName() { |
|||
return adjItemName; |
|||
} |
|||
|
|||
public void setAdjItemName(String adjItemName) { |
|||
this.adjItemName = adjItemName; |
|||
} |
|||
|
|||
public String getAdjItemDes() { |
|||
return adjItemDes; |
|||
} |
|||
|
|||
public void setAdjItemDes(String adjItemDes) { |
|||
this.adjItemDes = adjItemDes; |
|||
} |
|||
|
|||
public String getAdjItemValue() { |
|||
return adjItemValue; |
|||
} |
|||
|
|||
public void setAdjItemValue(String adjItemValue) { |
|||
this.adjItemValue = adjItemValue; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,435 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingCompanyCustomerVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* ESB客户基本信息表 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="ESB_RATING_CUSTOMER") |
|||
public class RatingCompanyCustomer extends CorporationAuditorEntity<RatingCompanyCustomerVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 客户编号
|
|||
@Column(name="CUST_NO") |
|||
@Size(max=10) |
|||
protected String custNo; |
|||
|
|||
// 客户名称
|
|||
@Column(name="CUST_NAME") |
|||
@Size(max=200) |
|||
protected String custName; |
|||
|
|||
// 证件类型
|
|||
@Column(name="CERTIFICATE_TYPE") |
|||
@Size(max=5) |
|||
protected String certificateType; |
|||
|
|||
// 证件号码
|
|||
@Column(name="CERTIFICATE_NUM") |
|||
@Size(max=100) |
|||
protected String certificateNum; |
|||
|
|||
// 对公客户类型
|
|||
@Column(name="CUSTOMER_TYPE") |
|||
@Size(max=1) |
|||
protected String customerType; |
|||
|
|||
// 企业规模
|
|||
@Column(name="CUSTOMER_SIZE") |
|||
@Size(max=2) |
|||
protected String customerSize; |
|||
|
|||
// 企业类型
|
|||
@Column(name="REGISTERED_TYPE") |
|||
@Size(max=5) |
|||
protected String registeredType; |
|||
|
|||
/** |
|||
* 融资平台标志 |
|||
*/ |
|||
@Column(name= "GOVER_FINANCE_SIGN") |
|||
@Size(max=1) |
|||
protected String goverFinanceSign; |
|||
|
|||
/** |
|||
* 融资平台类型 |
|||
*/ |
|||
@Column(name= "GOVER_FINANCE_TYPE") |
|||
@Size(max=1) |
|||
protected String goverFinanceType; |
|||
|
|||
/** |
|||
* 所在行政区域 |
|||
*/ |
|||
@Column(name= "REGISTRATION") |
|||
@Size(max=2) |
|||
protected String registration; |
|||
|
|||
/** |
|||
* 所在国家地区 |
|||
*/ |
|||
@Column(name= "NATION") |
|||
@Size(max=5) |
|||
protected String nation; |
|||
|
|||
/** |
|||
* 成员类别 |
|||
*/ |
|||
@Column(name= "MEMBER_TYPE") |
|||
@Size(max=2) |
|||
protected String memberType; |
|||
|
|||
/** |
|||
* 是否集团客户 |
|||
*/ |
|||
@Column(name= "GROUP_CUST_IND") |
|||
@Size(max=1) |
|||
protected String groupCustInd; |
|||
|
|||
/** |
|||
* 是否上市企业 |
|||
*/ |
|||
@Column(name= "MARKET_ENTERPRISES_IND") |
|||
@Size(max=1) |
|||
protected String marketEnterprisesInd; |
|||
|
|||
/** |
|||
* 国标行业分类 |
|||
*/ |
|||
@Column(name= "INDUSTRY_TYPE") |
|||
@Size(max=6) |
|||
protected String industryType; |
|||
|
|||
/** |
|||
* 成立日期 |
|||
*/ |
|||
@Column(name= "BUILD_DATE") |
|||
@Size(max=24) |
|||
protected String buildDate; |
|||
|
|||
/** |
|||
* 经办人编号 |
|||
*/ |
|||
@Column(name= "CUSTOMER_MANAGER_NO") |
|||
@Size(max=100) |
|||
protected String customerManagerNo; |
|||
|
|||
/** |
|||
* 经办人名称 |
|||
*/ |
|||
@Column(name= "CUSTOMER_MANAGER_NAME") |
|||
@Size(max=100) |
|||
protected String customerManagerName; |
|||
|
|||
/** |
|||
* 当前流程编码 |
|||
*/ |
|||
@Column(name= "CURRENT_PROCESSOR_CODE") |
|||
@Size(max=36) |
|||
protected String currentProcessorCode; |
|||
|
|||
/** |
|||
* 当前流程名称 |
|||
*/ |
|||
@Column(name= "CURRENT_PROCESSOR_NAME") |
|||
@Size(max=100) |
|||
protected String currentProcessorName; |
|||
|
|||
/** |
|||
* 经办机构 |
|||
*/ |
|||
@Column(name= "HANDLE_ORG_ID") |
|||
@Size(max=36) |
|||
protected String handleOrgId; |
|||
|
|||
// 经办时间
|
|||
@Column(name="HANDLE_TIME") |
|||
@Temporal(TemporalType.DATE) |
|||
protected Date handleTime; |
|||
|
|||
/** |
|||
* 主营业务占比不超过40% |
|||
*/ |
|||
@Column(name= "MAIN_BUSI_UNDER_FORTY") |
|||
@Size(max=1) |
|||
protected String mainBusiUnderForty; |
|||
|
|||
/** |
|||
* 征信报告主键 |
|||
*/ |
|||
@Column(name= "REPORT_ID") |
|||
@Size(max=50) |
|||
protected String reportId; |
|||
|
|||
/** |
|||
* 外部数据文件传输码 |
|||
*/ |
|||
@Column(name= "EXTERNAL_FILE_CODE") |
|||
@Size(max=50) |
|||
protected String externalFileCode; |
|||
|
|||
public RatingCompanyCustomer() { |
|||
} |
|||
|
|||
public RatingCompanyCustomer(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingCompanyCustomerVo toVo() { |
|||
RatingCompanyCustomerVo vo = new RatingCompanyCustomerVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setId(this.getId()); |
|||
vo.setCustNo(this.getCustNo()); |
|||
vo.setCustName(this.getCustName()); |
|||
vo.setCertificateType(this.getCertificateType()); |
|||
vo.setCertificateNum(this.getCertificateNum()); |
|||
vo.setCustomerType(this.getCustomerType()); |
|||
vo.setCustomerSize(this.getCustomerSize()); |
|||
vo.setRegisteredType(this.getRegisteredType()); |
|||
vo.setGoverFinanceSign(this.getGoverFinanceSign()); |
|||
vo.setGoverFinanceType(this.getGoverFinanceType()); |
|||
vo.setRegistration(this.getRegistration()); |
|||
vo.setNation(this.getNation()); |
|||
vo.setMemberType(this.getMemberType()); |
|||
vo.setGroupCustInd(this.getGroupCustInd()); |
|||
vo.setMarketEnterprisesInd(this.getMarketEnterprisesInd()); |
|||
vo.setIndustryType(this.getIndustryType()); |
|||
vo.setBuildDate(this.getBuildDate()); |
|||
vo.setCustomerManagerNo(this.getCustomerManagerNo()); |
|||
vo.setCustomerManagerName(this.getCustomerManagerName()); |
|||
vo.setCurrentProcessorCode(this.getCurrentProcessorCode()); |
|||
vo.setCurrentProcessorName(this.getCurrentProcessorName()); |
|||
vo.setHandleOrgId(this.getHandleOrgId()); |
|||
vo.setHandleTime(this.getHandleTime()); |
|||
vo.setMainBusiUnderForty(this.getMainBusiUnderForty()); |
|||
vo.setReportId(this.getReportId()); |
|||
vo.setExternalFileCode(this.getExternalFileCode()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getCertificateType() { |
|||
return certificateType; |
|||
} |
|||
|
|||
public void setCertificateType(String certificateType) { |
|||
this.certificateType = certificateType; |
|||
} |
|||
|
|||
public String getCertificateNum() { |
|||
return certificateNum; |
|||
} |
|||
|
|||
public void setCertificateNum(String certificateNum) { |
|||
this.certificateNum = certificateNum; |
|||
} |
|||
|
|||
public String getCustomerType() { |
|||
return customerType; |
|||
} |
|||
|
|||
public void setCustomerType(String customerType) { |
|||
this.customerType = customerType; |
|||
} |
|||
|
|||
public String getCustomerSize() { |
|||
return customerSize; |
|||
} |
|||
|
|||
public void setCustomerSize(String customerSize) { |
|||
this.customerSize = customerSize; |
|||
} |
|||
|
|||
public String getRegisteredType() { |
|||
return registeredType; |
|||
} |
|||
|
|||
public void setRegisteredType(String registeredType) { |
|||
this.registeredType = registeredType; |
|||
} |
|||
|
|||
public String getGoverFinanceSign() { |
|||
return goverFinanceSign; |
|||
} |
|||
|
|||
public void setGoverFinanceSign(String goverFinanceSign) { |
|||
this.goverFinanceSign = goverFinanceSign; |
|||
} |
|||
|
|||
public String getGoverFinanceType() { |
|||
return goverFinanceType; |
|||
} |
|||
|
|||
public void setGoverFinanceType(String goverFinanceType) { |
|||
this.goverFinanceType = goverFinanceType; |
|||
} |
|||
|
|||
public String getRegistration() { |
|||
return registration; |
|||
} |
|||
|
|||
public void setRegistration(String registration) { |
|||
this.registration = registration; |
|||
} |
|||
|
|||
public String getNation() { |
|||
return nation; |
|||
} |
|||
|
|||
public void setNation(String nation) { |
|||
this.nation = nation; |
|||
} |
|||
|
|||
public String getMemberType() { |
|||
return memberType; |
|||
} |
|||
|
|||
public void setMemberType(String memberType) { |
|||
this.memberType = memberType; |
|||
} |
|||
|
|||
public String getGroupCustInd() { |
|||
return groupCustInd; |
|||
} |
|||
|
|||
public void setGroupCustInd(String groupCustInd) { |
|||
this.groupCustInd = groupCustInd; |
|||
} |
|||
|
|||
public String getMarketEnterprisesInd() { |
|||
return marketEnterprisesInd; |
|||
} |
|||
|
|||
public void setMarketEnterprisesInd(String marketEnterprisesInd) { |
|||
this.marketEnterprisesInd = marketEnterprisesInd; |
|||
} |
|||
|
|||
public String getIndustryType() { |
|||
return industryType; |
|||
} |
|||
|
|||
public void setIndustryType(String industryType) { |
|||
this.industryType = industryType; |
|||
} |
|||
|
|||
public String getBuildDate() { |
|||
return buildDate; |
|||
} |
|||
|
|||
public void setBuildDate(String buildDate) { |
|||
this.buildDate = buildDate; |
|||
} |
|||
|
|||
public String getCustomerManagerNo() { |
|||
return customerManagerNo; |
|||
} |
|||
|
|||
public void setCustomerManagerNo(String customerManagerNo) { |
|||
this.customerManagerNo = customerManagerNo; |
|||
} |
|||
|
|||
public String getCustomerManagerName() { |
|||
return customerManagerName; |
|||
} |
|||
|
|||
public void setCustomerManagerName(String customerManagerName) { |
|||
this.customerManagerName = customerManagerName; |
|||
} |
|||
|
|||
public String getCurrentProcessorCode() { |
|||
return currentProcessorCode; |
|||
} |
|||
|
|||
public void setCurrentProcessorCode(String currentProcessorCode) { |
|||
this.currentProcessorCode = currentProcessorCode; |
|||
} |
|||
|
|||
public String getCurrentProcessorName() { |
|||
return currentProcessorName; |
|||
} |
|||
|
|||
public void setCurrentProcessorName(String currentProcessorName) { |
|||
this.currentProcessorName = currentProcessorName; |
|||
} |
|||
|
|||
public String getHandleOrgId() { |
|||
return handleOrgId; |
|||
} |
|||
|
|||
public void setHandleOrgId(String handleOrgId) { |
|||
this.handleOrgId = handleOrgId; |
|||
} |
|||
|
|||
public Date getHandleTime() { |
|||
return handleTime; |
|||
} |
|||
|
|||
public void setHandleTime(Date handleTime) { |
|||
this.handleTime = handleTime; |
|||
} |
|||
|
|||
public String getMainBusiUnderForty() { |
|||
return mainBusiUnderForty; |
|||
} |
|||
|
|||
public void setMainBusiUnderForty(String mainBusiUnderForty) { |
|||
this.mainBusiUnderForty = mainBusiUnderForty; |
|||
} |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getExternalFileCode() { |
|||
return externalFileCode; |
|||
} |
|||
|
|||
public void setExternalFileCode(String externalFileCode) { |
|||
this.externalFileCode = externalFileCode; |
|||
} |
|||
} |
@ -0,0 +1,275 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingIndexVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
import org.springframework.jdbc.core.RowMapper; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.math.BigDecimal; |
|||
import java.sql.ResultSet; |
|||
import java.sql.SQLException; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 公司客户评级主表 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_RATING_INDEXES") |
|||
public class RatingIndex extends CorporationAuditorEntity<RatingIndexVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 评级步骤ID
|
|||
@Column(name="STEP_ID") |
|||
protected String stepId; |
|||
|
|||
// 指标类型
|
|||
@Column(name="INDEX_TYPE") |
|||
protected String indexType; |
|||
|
|||
// 指标分类
|
|||
@Column(name="INDEX_CATEGORY") |
|||
protected String indexCategory; |
|||
|
|||
// 指标名称
|
|||
@Column(name="INDEX_NAME") |
|||
protected String indexName; |
|||
|
|||
// 配置ID
|
|||
@Column(name="CONFIG_ID") |
|||
protected String configId; |
|||
|
|||
// 指标ID
|
|||
@Column(name="INDEX_ID") |
|||
protected String indexId; |
|||
|
|||
// 指标编号
|
|||
@Column(name="INDEX_CODE") |
|||
protected String indexCode; |
|||
|
|||
// 指标值
|
|||
@Column(name="INDEX_VALUE") |
|||
protected String indexValue; |
|||
|
|||
// 权重
|
|||
@Column(name="WEIGHT") |
|||
protected BigDecimal weight; |
|||
|
|||
// 模型层级
|
|||
@Column(name="MODEL_LEVEL") |
|||
protected String modelLevel; |
|||
|
|||
// 父ID
|
|||
@Column(name="PARENT_ID") |
|||
protected String parentId; |
|||
|
|||
// 定性内容
|
|||
@Column(name="QUALITATIVE_CONTENT") |
|||
protected String qualitativeContent; |
|||
|
|||
// 定性选项
|
|||
@Column(name="QUALITATIVE_OPTIONS") |
|||
protected String qualitativeOptions; |
|||
|
|||
// 指标得分
|
|||
@Column(name="INDEX_SCORE") |
|||
protected BigDecimal indexScore; |
|||
|
|||
@Transient |
|||
protected List<RatingSelectValuesConfig> options; |
|||
|
|||
public RatingIndex() { |
|||
} |
|||
|
|||
public RatingIndex(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public static RowMapper<RatingIndex> getRowMapper() { |
|||
return new RatingIndexMapper(); |
|||
} |
|||
|
|||
private static class RatingIndexMapper implements RowMapper<RatingIndex> { |
|||
@Override |
|||
public RatingIndex mapRow(ResultSet rs, int rowNum) throws SQLException { |
|||
RatingIndex index = new RatingIndex(); |
|||
index.setId(rs.getString("ID_")); |
|||
index.setStepId(rs.getString("STEP_ID")); |
|||
index.setIndexType(rs.getString("INDEX_TYPE")); |
|||
index.setIndexCategory(rs.getString("INDEX_CATEGORY")); |
|||
index.setIndexName(rs.getString("INDEX_NAME")); |
|||
index.setConfigId(rs.getString("CONFIG_ID")); |
|||
index.setIndexId(rs.getString("INDEX_ID")); |
|||
index.setIndexCode(rs.getString("INDEX_CODE")); |
|||
index.setIndexValue(rs.getString("INDEX_VALUE")); |
|||
index.setWeight(rs.getBigDecimal("WEIGHT")); |
|||
index.setModelLevel(rs.getString("MODEL_LEVEL")); |
|||
index.setParentId(rs.getString("PARENT_ID")); |
|||
index.setQualitativeContent(rs.getString("QUALITATIVE_CONTENT")); |
|||
index.setQualitativeOptions(rs.getString("QUALITATIVE_OPTIONS")); |
|||
index.setIndexScore(rs.getBigDecimal("INDEX_SCORE")); |
|||
return index; |
|||
} |
|||
} |
|||
|
|||
@Override |
|||
public RatingIndexVo toVo() { |
|||
RatingIndexVo vo = new RatingIndexVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setStepId(this.getStepId()); |
|||
vo.setIndexType(this.getIndexType()); |
|||
vo.setIndexCategory(this.getIndexCategory()); |
|||
vo.setIndexName(this.getIndexName()); |
|||
vo.setConfigId(this.getConfigId()); |
|||
vo.setIndexId(this.getIndexId()); |
|||
vo.setIndexCode(this.getIndexCode()); |
|||
vo.setIndexValue(this.getIndexValue()); |
|||
vo.setWeight(this.getWeight()); |
|||
vo.setModelLevel(this.getModelLevel()); |
|||
vo.setParentId(this.getParentId()); |
|||
vo.setQualitativeContent(this.getQualitativeContent()); |
|||
vo.setQualitativeOptions(this.getQualitativeOptions()); |
|||
vo.setIndexScore(this.getIndexScore()); |
|||
vo.setOptions(this.getOptions()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getStepId() { |
|||
return stepId; |
|||
} |
|||
|
|||
public void setStepId(String stepId) { |
|||
this.stepId = stepId; |
|||
} |
|||
|
|||
public String getIndexType() { |
|||
return indexType; |
|||
} |
|||
|
|||
public void setIndexType(String indexType) { |
|||
this.indexType = indexType; |
|||
} |
|||
|
|||
public String getIndexCategory() { |
|||
return indexCategory; |
|||
} |
|||
|
|||
public void setIndexCategory(String indexCategory) { |
|||
this.indexCategory = indexCategory; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getConfigId() { |
|||
return configId; |
|||
} |
|||
|
|||
public void setConfigId(String configId) { |
|||
this.configId = configId; |
|||
} |
|||
|
|||
public String getIndexId() { |
|||
return indexId; |
|||
} |
|||
|
|||
public void setIndexId(String indexId) { |
|||
this.indexId = indexId; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
|
|||
public BigDecimal getWeight() { |
|||
return weight; |
|||
} |
|||
|
|||
public void setWeight(BigDecimal weight) { |
|||
this.weight = weight; |
|||
} |
|||
|
|||
public String getModelLevel() { |
|||
return modelLevel; |
|||
} |
|||
|
|||
public void setModelLevel(String modelLevel) { |
|||
this.modelLevel = modelLevel; |
|||
} |
|||
|
|||
public String getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(String parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getQualitativeContent() { |
|||
return qualitativeContent; |
|||
} |
|||
|
|||
public void setQualitativeContent(String qualitativeContent) { |
|||
this.qualitativeContent = qualitativeContent; |
|||
} |
|||
|
|||
public String getQualitativeOptions() { |
|||
return qualitativeOptions; |
|||
} |
|||
|
|||
public void setQualitativeOptions(String qualitativeOptions) { |
|||
this.qualitativeOptions = qualitativeOptions; |
|||
} |
|||
|
|||
public BigDecimal getIndexScore() { |
|||
return indexScore; |
|||
} |
|||
|
|||
public void setIndexScore(BigDecimal indexScore) { |
|||
this.indexScore = indexScore; |
|||
} |
|||
|
|||
public List<RatingSelectValuesConfig> getOptions() { |
|||
return options; |
|||
} |
|||
|
|||
public void setOptions(List<RatingSelectValuesConfig> options) { |
|||
this.options = options; |
|||
} |
|||
} |
@ -0,0 +1,220 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.converter.NumericBooleanConverter; |
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingOverturnVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 对公客户评级推翻记录 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_RATING_OVERTURN") |
|||
public class RatingOverturn extends CorporationAuditorEntity<RatingOverturnVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 评级ID
|
|||
@Column(name="RATING_ID") |
|||
protected String ratingId; |
|||
|
|||
// 建议级别
|
|||
@Column(name="SUGGEST_LEVEL") |
|||
protected String suggestLevel; |
|||
|
|||
// 调整原因
|
|||
@Column(name="ADJ_REASON") |
|||
protected String adjReason; |
|||
|
|||
// 附件数量
|
|||
@Column(name="FILE_COUNT") |
|||
protected Integer fileCount; |
|||
|
|||
// 机构
|
|||
@Column(name="ORG_ID") |
|||
protected String orgId; |
|||
|
|||
// 用户编号
|
|||
@Column(name="USER_CODE") |
|||
protected String userCode; |
|||
|
|||
// 用户名称
|
|||
@Column(name="USER_NAME") |
|||
protected String userName; |
|||
|
|||
// 角色名称
|
|||
@Column(name="ROLE_NAME") |
|||
protected String roleName; |
|||
|
|||
// 角色编号
|
|||
@Column(name="ROLE_CODE") |
|||
protected String roleCode; |
|||
|
|||
// 意见位置
|
|||
@Column(name="OVER_NUM") |
|||
protected Integer overNum; |
|||
|
|||
// 机构名称
|
|||
@Column(name="ORG_NAME") |
|||
protected String orgName; |
|||
|
|||
// 操作意见
|
|||
@Column(name="OPERATION_OPINION") |
|||
protected String operationOpinion; |
|||
|
|||
// 是否推翻
|
|||
@Column(name="IS_OVERTURN") |
|||
@Convert(converter= NumericBooleanConverter.class) |
|||
protected Integer isOverturn; |
|||
|
|||
public RatingOverturn() { |
|||
} |
|||
|
|||
public RatingOverturn(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingOverturnVo toVo() { |
|||
RatingOverturnVo vo = new RatingOverturnVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setRatingId(this.getRatingId()); |
|||
vo.setSuggestLevel(this.getSuggestLevel()); |
|||
vo.setAdjReason(this.getAdjReason()); |
|||
vo.setFileCount(this.getFileCount()); |
|||
vo.setOrgId(this.getOrgId()); |
|||
vo.setUserCode(this.getUserCode()); |
|||
vo.setUserName(this.getUserName()); |
|||
vo.setRoleCode(this.getRoleCode()); |
|||
vo.setRoleName(this.getRoleName()); |
|||
vo.setOverNum(this.getOverNum()); |
|||
vo.setOrgName(this.getOrgName()); |
|||
vo.setOperationOpinion(this.getOperationOpinion()); |
|||
vo.setIsOverturn(this.getIsOverturn()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public String getSuggestLevel() { |
|||
return suggestLevel; |
|||
} |
|||
|
|||
public void setSuggestLevel(String suggestLevel) { |
|||
this.suggestLevel = suggestLevel; |
|||
} |
|||
|
|||
public String getAdjReason() { |
|||
return adjReason; |
|||
} |
|||
|
|||
public void setAdjReason(String adjReason) { |
|||
this.adjReason = adjReason; |
|||
} |
|||
|
|||
public Integer getFileCount() { |
|||
return fileCount; |
|||
} |
|||
|
|||
public void setFileCount(Integer fileCount) { |
|||
this.fileCount = fileCount; |
|||
} |
|||
|
|||
public String getOrgId() { |
|||
return orgId; |
|||
} |
|||
|
|||
public void setOrgId(String orgId) { |
|||
this.orgId = orgId; |
|||
} |
|||
|
|||
public String getUserCode() { |
|||
return userCode; |
|||
} |
|||
|
|||
public void setUserCode(String userCode) { |
|||
this.userCode = userCode; |
|||
} |
|||
|
|||
public String getUserName() { |
|||
return userName; |
|||
} |
|||
|
|||
public void setUserName(String userName) { |
|||
this.userName = userName; |
|||
} |
|||
|
|||
public String getRoleName() { |
|||
return roleName; |
|||
} |
|||
|
|||
public void setRoleName(String roleName) { |
|||
this.roleName = roleName; |
|||
} |
|||
|
|||
public String getRoleCode() { |
|||
return roleCode; |
|||
} |
|||
|
|||
public void setRoleCode(String roleCode) { |
|||
this.roleCode = roleCode; |
|||
} |
|||
|
|||
public Integer getOverNum() { |
|||
return overNum; |
|||
} |
|||
|
|||
public void setOverNum(Integer overNum) { |
|||
this.overNum = overNum; |
|||
} |
|||
|
|||
public String getOrgName() { |
|||
return orgName; |
|||
} |
|||
|
|||
public void setOrgName(String orgName) { |
|||
this.orgName = orgName; |
|||
} |
|||
|
|||
public String getOperationOpinion() { |
|||
return operationOpinion; |
|||
} |
|||
|
|||
public void setOperationOpinion(String operationOpinion) { |
|||
this.operationOpinion = operationOpinion; |
|||
} |
|||
|
|||
public Integer getIsOverturn() { |
|||
return isOverturn; |
|||
} |
|||
|
|||
public void setIsOverturn(Integer isOverturn) { |
|||
this.isOverturn = isOverturn; |
|||
} |
|||
} |
@ -0,0 +1,167 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingSelectValuesConfigVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 评级配置_候选值定义 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_R_CFG_VALUES") |
|||
public class RatingSelectValuesConfig extends BaseEntity<RatingSelectValuesConfigVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 问题定义ID |
|||
*/ |
|||
@Column(name= "DEF_ID") |
|||
private String defId; |
|||
|
|||
/** |
|||
* 问题定义编号 |
|||
*/ |
|||
@Column(name= "DEF_CODE") |
|||
private String defCode; |
|||
|
|||
/** |
|||
* 问题名称 |
|||
*/ |
|||
@Column(name= "DEF_NAME") |
|||
private String defName; |
|||
|
|||
/** |
|||
* 选项序号 |
|||
*/ |
|||
@Column(name= "ORDER_NUM") |
|||
private Integer orderNum; |
|||
|
|||
/** |
|||
* 文本内容 |
|||
*/ |
|||
@Column(name= "TEXT") |
|||
private String text; |
|||
|
|||
/** |
|||
* 显示值 |
|||
*/ |
|||
@Column(name= "DIS_VAL") |
|||
private String disVal; |
|||
|
|||
/** |
|||
* 使用值 |
|||
*/ |
|||
@Column(name= "VAL") |
|||
private String val; |
|||
|
|||
/** |
|||
* 权重 |
|||
*/ |
|||
@Column(name= "WEIGHT") |
|||
private String weight; |
|||
|
|||
public RatingSelectValuesConfig() { |
|||
} |
|||
|
|||
public RatingSelectValuesConfig(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingSelectValuesConfigVo toVo() { |
|||
RatingSelectValuesConfigVo vo = new RatingSelectValuesConfigVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setDefId(this.getDefId()); |
|||
vo.setDefCode(this.getDefCode()); |
|||
vo.setDefName(this.getDefName()); |
|||
vo.setOrderNum(this.getOrderNum()); |
|||
vo.setText(this.getText()); |
|||
vo.setDisVal(this.getDisVal()); |
|||
vo.setVal(this.getVal()); |
|||
vo.setWeight(this.getWeight()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getDefId() { |
|||
return defId; |
|||
} |
|||
|
|||
public void setDefId(String defId) { |
|||
this.defId = defId; |
|||
} |
|||
|
|||
public String getDefCode() { |
|||
return defCode; |
|||
} |
|||
|
|||
public void setDefCode(String defCode) { |
|||
this.defCode = defCode; |
|||
} |
|||
|
|||
public String getDefName() { |
|||
return defName; |
|||
} |
|||
|
|||
public void setDefName(String defName) { |
|||
this.defName = defName; |
|||
} |
|||
|
|||
public Integer getOrderNum() { |
|||
return orderNum; |
|||
} |
|||
|
|||
public void setOrderNum(Integer orderNum) { |
|||
this.orderNum = orderNum; |
|||
} |
|||
|
|||
public String getText() { |
|||
return text; |
|||
} |
|||
|
|||
public void setText(String text) { |
|||
this.text = text; |
|||
} |
|||
|
|||
public String getDisVal() { |
|||
return disVal; |
|||
} |
|||
|
|||
public void setDisVal(String disVal) { |
|||
this.disVal = disVal; |
|||
} |
|||
|
|||
public String getVal() { |
|||
return val; |
|||
} |
|||
|
|||
public void setVal(String val) { |
|||
this.val = val; |
|||
} |
|||
|
|||
public String getWeight() { |
|||
return weight; |
|||
} |
|||
|
|||
public void setWeight(String weight) { |
|||
this.weight = weight; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,101 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingStepVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 对公客户评级步骤 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_RATING_STEP") |
|||
public class RatingStep extends CorporationAuditorEntity<RatingStepVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 评级对象
|
|||
@Column(name="RATING_ID") |
|||
protected String ratingId; |
|||
|
|||
// 步骤序号
|
|||
@Column(name="STEP_NO") |
|||
protected Integer stepNo; |
|||
|
|||
// 步骤名称
|
|||
@Column(name="STEP_NAME") |
|||
protected String stepName; |
|||
|
|||
// 步骤类型
|
|||
@Column(name="STEP_TYPE") |
|||
protected String stepType; |
|||
|
|||
public RatingStep() { |
|||
} |
|||
|
|||
public RatingStep(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingStepVo toVo() { |
|||
RatingStepVo vo = new RatingStepVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setRatingId(this.getRatingId()); |
|||
vo.setStepNo(this.getStepNo()); |
|||
vo.setStepName(this.getStepName()); |
|||
vo.setStepType(this.getStepType()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public Integer getStepNo() { |
|||
return stepNo; |
|||
} |
|||
|
|||
public void setStepNo(Integer stepNo) { |
|||
this.stepNo = stepNo; |
|||
} |
|||
|
|||
public String getStepName() { |
|||
return stepName; |
|||
} |
|||
|
|||
public void setStepName(String stepName) { |
|||
this.stepName = stepName; |
|||
} |
|||
|
|||
public String getStepType() { |
|||
return stepType; |
|||
} |
|||
|
|||
public void setStepType(String stepType) { |
|||
this.stepType = stepType; |
|||
} |
|||
} |
@ -0,0 +1,127 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.CorporationAuditorEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingStepConfigVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
/** |
|||
* 评级配置_评级步骤定义 |
|||
* @author likunming |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="NS_R_CFG_STEPS") |
|||
public class RatingStepConfig extends CorporationAuditorEntity<RatingStepConfigVo> { |
|||
|
|||
//主键
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID_") |
|||
@Size(max=50) |
|||
protected String id; |
|||
|
|||
// 评级配置主表ID
|
|||
@Column(name="RATING_CFG_ID") |
|||
protected String ratingConfigId; |
|||
|
|||
// 步骤编号
|
|||
@Column(name="STEP_CODE") |
|||
protected String stepCode; |
|||
|
|||
// 步骤名称
|
|||
@Column(name="STEP_NAME") |
|||
protected String stepName; |
|||
|
|||
// 步骤序号
|
|||
@Column(name="STEP_NUM") |
|||
protected Integer stepNum; |
|||
|
|||
// 步骤类型
|
|||
@Column(name="STEP_TYPE") |
|||
protected String stepType; |
|||
|
|||
// 步骤资源路径
|
|||
@Column(name="STEP_SOURCE_PATH") |
|||
protected String stepSourcePath; |
|||
|
|||
public RatingStepConfig() { |
|||
} |
|||
|
|||
public RatingStepConfig(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingStepConfigVo toVo() { |
|||
RatingStepConfigVo vo = new RatingStepConfigVo(); |
|||
super.toVo(vo); |
|||
|
|||
vo.setRatingConfigId(this.getRatingConfigId()); |
|||
vo.setStepCode(this.getStepCode()); |
|||
vo.setStepName(this.getStepName()); |
|||
vo.setStepNum(this.getStepNum()); |
|||
vo.setStepType(this.getStepType()); |
|||
vo.setStepSourcePath(this.getStepSourcePath()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingConfigId() { |
|||
return ratingConfigId; |
|||
} |
|||
|
|||
public void setRatingConfigId(String ratingConfigId) { |
|||
this.ratingConfigId = ratingConfigId; |
|||
} |
|||
|
|||
public String getStepCode() { |
|||
return stepCode; |
|||
} |
|||
|
|||
public void setStepCode(String stepCode) { |
|||
this.stepCode = stepCode; |
|||
} |
|||
|
|||
public String getStepName() { |
|||
return stepName; |
|||
} |
|||
|
|||
public void setStepName(String stepName) { |
|||
this.stepName = stepName; |
|||
} |
|||
|
|||
public Integer getStepNum() { |
|||
return stepNum; |
|||
} |
|||
|
|||
public void setStepNum(Integer stepNum) { |
|||
this.stepNum = stepNum; |
|||
} |
|||
|
|||
public String getStepType() { |
|||
return stepType; |
|||
} |
|||
|
|||
public void setStepType(String stepType) { |
|||
this.stepType = stepType; |
|||
} |
|||
|
|||
public String getStepSourcePath() { |
|||
return stepSourcePath; |
|||
} |
|||
|
|||
public void setStepSourcePath(String stepSourcePath) { |
|||
this.stepSourcePath = stepSourcePath; |
|||
} |
|||
} |
@ -0,0 +1,123 @@ |
|||
package irbs.cust.rating.jpa.entity; |
|||
|
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
import irbs.cust.rating.jpa.vo.RatingTestCalcVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.*; |
|||
import javax.validation.constraints.Size; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 客户评级试算记录 |
|||
* @author likunming |
|||
*/ |
|||
@Entity |
|||
@Table(name="T_CUST_RATING_TEST_CALC") |
|||
public class RatingTestCalc extends BaseEntity<RatingTestCalcVo> { |
|||
|
|||
@Id |
|||
@GeneratedValue(generator = "system-uuid") |
|||
@GenericGenerator(name = "system-uuid", strategy = "uuid2") |
|||
@Column(name="ID") |
|||
@Size(max=50) |
|||
private String id; |
|||
|
|||
/** |
|||
* 评级ID |
|||
*/ |
|||
@Column(name= "RATING_ID") |
|||
private String ratingId; |
|||
|
|||
/** |
|||
* 试算步骤 |
|||
*/ |
|||
@Column(name= "TEST_STEP") |
|||
private String testStep; |
|||
|
|||
/** |
|||
* 评级时系统配置的最大试算次数 |
|||
*/ |
|||
@Column(name= "TEST_MAX_NUM") |
|||
private Integer testMaxNum; |
|||
|
|||
/** |
|||
* 当前试算次数 |
|||
*/ |
|||
@Column(name= "CURR_NUM") |
|||
private Integer currNum; |
|||
|
|||
/** |
|||
* 当前试算得分 |
|||
*/ |
|||
@Column(name= "CURR_SCORE") |
|||
private BigDecimal currScore; |
|||
|
|||
public RatingTestCalc() { |
|||
} |
|||
|
|||
public RatingTestCalc(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
@Override |
|||
public RatingTestCalcVo toVo() { |
|||
RatingTestCalcVo vo = new RatingTestCalcVo(); |
|||
vo.setId(this.getId()); |
|||
vo.setRatingId(this.getRatingId()); |
|||
vo.setTestStep(this.getTestStep()); |
|||
vo.setTestMaxNum(this.getTestMaxNum()); |
|||
vo.setCurrNum(this.getCurrNum()); |
|||
vo.setCurrScore(this.getCurrScore()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public String getTestStep() { |
|||
return testStep; |
|||
} |
|||
|
|||
public void setTestStep(String testStep) { |
|||
this.testStep = testStep; |
|||
} |
|||
|
|||
public Integer getTestMaxNum() { |
|||
return testMaxNum; |
|||
} |
|||
|
|||
public void setTestMaxNum(Integer testMaxNum) { |
|||
this.testMaxNum = testMaxNum; |
|||
} |
|||
|
|||
public Integer getCurrNum() { |
|||
return currNum; |
|||
} |
|||
|
|||
public void setCurrNum(Integer currNum) { |
|||
this.currNum = currNum; |
|||
} |
|||
|
|||
public BigDecimal getCurrScore() { |
|||
return currScore; |
|||
} |
|||
|
|||
public void setCurrScore(BigDecimal currScore) { |
|||
this.currScore = currScore; |
|||
} |
|||
} |
|||
|
@ -0,0 +1,8 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.CompanyCustomer; |
|||
|
|||
public interface CompanyCustomerRepository extends DaoRepository<CompanyCustomer, String> { |
|||
CompanyCustomer findByCustNo(String custNo) throws Exception; |
|||
} |
@ -0,0 +1,8 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.CreditFinanceResult; |
|||
|
|||
public interface CreditFinanceResultRepository extends DaoRepository<CreditFinanceResult, String> { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.CreditInvestResult; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface CreditInvestResultRepository extends DaoRepository<CreditInvestResult, String> { |
|||
|
|||
List<CreditInvestResult> findByReportIdAndCustNo(String reportId, String custNo); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.CreditReport; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface CreditReportRepository extends DaoRepository<CreditReport, String> { |
|||
|
|||
List<CreditReport> findByCustNo(String custNo); |
|||
} |
@ -0,0 +1,8 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.DebtGrade; |
|||
|
|||
public interface DebtGradeRepository extends DaoRepository<DebtGrade, String> { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.FinanceReportDetail; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface FinanceReportDetailRepository extends DaoRepository<FinanceReportDetail, String> { |
|||
|
|||
List<FinanceReportDetail> findByReportId(String reportId); |
|||
} |
@ -0,0 +1,13 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.FinanceReport; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface FinanceReportRepository extends DaoRepository<FinanceReport, String> { |
|||
|
|||
List<FinanceReport> findByCustId(String custId); |
|||
|
|||
FinanceReport findByCustIdAndFinanceReportYear(String custId, String financeReportYear); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.FinanceReportResult; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface FinanceReportResultRepository extends DaoRepository<FinanceReportResult, String> { |
|||
|
|||
List<FinanceReportResult> findByCustId(String custId); |
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.Industry; |
|||
|
|||
public interface IndustryRepository extends DaoRepository<Industry, String> { |
|||
|
|||
Industry findByCode(String code); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingAdjItemDef; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingAdjItemDefRepository extends DaoRepository<RatingAdjItemDef, String> { |
|||
|
|||
List<RatingAdjItemDef> findByAdjItemCode(String adjItemCode); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingAdjItem; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingAdjItemRepository extends DaoRepository<RatingAdjItem, String> { |
|||
|
|||
List<RatingAdjItem> findByModelCode(String modelCode); |
|||
} |
@ -0,0 +1,10 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingCompanyCustomer; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingCompanyCustomerRepository extends DaoRepository<RatingCompanyCustomer, String> { |
|||
List<RatingCompanyCustomer> findByCustNo(String custNo) throws Exception; |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingIndex; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingIndexRepository extends DaoRepository<RatingIndex, String> { |
|||
|
|||
List<RatingIndex> findByStepIdOrderByIndexCodeAsc(String stepId); |
|||
} |
@ -0,0 +1,8 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingOverturn; |
|||
|
|||
public interface RatingOverturnRepository extends DaoRepository<RatingOverturn, String> { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingSelectValuesConfig; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingSelectValuesConfigRepository extends DaoRepository<RatingSelectValuesConfig, String> { |
|||
|
|||
List<RatingSelectValuesConfig> findByDefIdOrderByOrderNumAsc(String defId); |
|||
} |
@ -0,0 +1,8 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingStepConfig; |
|||
|
|||
public interface RatingStepConfigRepository extends DaoRepository<RatingStepConfig, String> { |
|||
|
|||
} |
@ -0,0 +1,12 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingStep; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingStepRepository extends DaoRepository<RatingStep, String> { |
|||
|
|||
List<RatingStep> findByRatingIdOrderByStepNoAsc(String stepId); |
|||
RatingStep findByRatingIdAndStepType(String ratingId, String stepType); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package irbs.cust.rating.jpa.repository; |
|||
|
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
import irbs.cust.rating.jpa.entity.RatingTestCalc; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface RatingTestCalcRepository extends DaoRepository<RatingTestCalc, String> { |
|||
|
|||
List<RatingTestCalc> findByRatingIdAndTestStep(String ratingId, String testStep); |
|||
} |
@ -0,0 +1,35 @@ |
|||
package irbs.cust.rating.jpa.support; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
public class CreditFinanceResultId implements Serializable { |
|||
|
|||
private String custId; |
|||
private String indexCode; |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
@Override |
|||
public int hashCode() { |
|||
return super.hashCode(); |
|||
} |
|||
|
|||
@Override |
|||
public boolean equals(Object o) { |
|||
return super.equals(o); |
|||
} |
|||
} |
@ -0,0 +1,44 @@ |
|||
package irbs.cust.rating.jpa.support; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
public class CreditInvestResultId implements Serializable { |
|||
|
|||
private String reportId; |
|||
private String custNo; |
|||
private String indexCode; |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
@Override |
|||
public int hashCode() { |
|||
return super.hashCode(); |
|||
} |
|||
|
|||
@Override |
|||
public boolean equals(Object o) { |
|||
return super.equals(o); |
|||
} |
|||
} |
@ -0,0 +1,44 @@ |
|||
package irbs.cust.rating.jpa.support; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
public class DebtGradeId implements Serializable { |
|||
|
|||
private String dataDt; |
|||
private String contNo; |
|||
private String custNo; |
|||
|
|||
@Override |
|||
public int hashCode() { |
|||
return super.hashCode(); |
|||
} |
|||
|
|||
@Override |
|||
public boolean equals(Object o) { |
|||
return super.equals(o); |
|||
} |
|||
|
|||
public String getDataDt() { |
|||
return dataDt; |
|||
} |
|||
|
|||
public void setDataDt(String dataDt) { |
|||
this.dataDt = dataDt; |
|||
} |
|||
|
|||
public String getContNo() { |
|||
return contNo; |
|||
} |
|||
|
|||
public void setContNo(String contNo) { |
|||
this.contNo = contNo; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
} |
@ -0,0 +1,316 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
public class CompanyCustomerVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
protected String id; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 客户中文名 |
|||
*/ |
|||
private String custName; |
|||
|
|||
/** |
|||
* 管户人编号 |
|||
*/ |
|||
private String mgerNo; |
|||
|
|||
/** |
|||
* 管户人 |
|||
*/ |
|||
private String mgerCna; |
|||
|
|||
/** |
|||
* 管户机构编号 |
|||
*/ |
|||
private String mgerOrgNo; |
|||
|
|||
/** |
|||
* 管户机构名称 |
|||
*/ |
|||
private String mgerOrgNm; |
|||
|
|||
/** |
|||
* 组织机构代码证 |
|||
*/ |
|||
private String orgnCd; |
|||
|
|||
/** |
|||
* 统一社会信用代码 |
|||
*/ |
|||
private String orgCrdtCd; |
|||
|
|||
/** |
|||
* 国标行业 |
|||
*/ |
|||
private String induSortCd; |
|||
|
|||
/** |
|||
* 客户类型 |
|||
*/ |
|||
private String custTypeCd; |
|||
|
|||
/** |
|||
* 客户分类 |
|||
*/ |
|||
private String custSortCd; |
|||
|
|||
/** |
|||
* 创建日期 |
|||
*/ |
|||
private String buildDt; |
|||
|
|||
/** |
|||
* 企业规模 |
|||
*/ |
|||
private String corpSizeCd; |
|||
|
|||
/** |
|||
* 注册地址 |
|||
*/ |
|||
private String rgstGround; |
|||
|
|||
/** |
|||
* 3年内借据逾期超过30天标志 |
|||
*/ |
|||
private String years3Ovdue30DayFlag; |
|||
|
|||
/** |
|||
* 3年内垫款超过30天标志 |
|||
*/ |
|||
private String years3AdvMoney30DayFlag; |
|||
|
|||
/** |
|||
* 3年内贷款展期次数2次及以上标志 |
|||
*/ |
|||
private String years3Expand2CntFlag; |
|||
|
|||
/** |
|||
* 3年内借新还旧次数2次及以上标志 |
|||
*/ |
|||
private String years3BorRepay2CntFlag; |
|||
|
|||
/** |
|||
* 3年内结息方式变更后是否出现逾期2次及以上标志 |
|||
*/ |
|||
private String years3ModeModifOverdue2CntFlag; |
|||
|
|||
/** |
|||
* 3年内合同的本金还款计划是否变更2次及以上标志 |
|||
*/ |
|||
private String years3PrinRepayPlanModif2CntFlag; |
|||
|
|||
/** |
|||
* 3年内重组2次及以上标志 |
|||
*/ |
|||
private String years3Regroup2CntFlag; |
|||
|
|||
/** |
|||
* 银行业协会惩戒人名单 |
|||
*/ |
|||
private String chastenCustFlag; |
|||
|
|||
/** |
|||
* 国标行业名称 |
|||
*/ |
|||
private String induSortName; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getMgerNo() { |
|||
return mgerNo; |
|||
} |
|||
|
|||
public void setMgerNo(String mgerNo) { |
|||
this.mgerNo = mgerNo; |
|||
} |
|||
|
|||
public String getMgerCna() { |
|||
return mgerCna; |
|||
} |
|||
|
|||
public void setMgerCna(String mgerCna) { |
|||
this.mgerCna = mgerCna; |
|||
} |
|||
|
|||
public String getMgerOrgNo() { |
|||
return mgerOrgNo; |
|||
} |
|||
|
|||
public void setMgerOrgNo(String mgerOrgNo) { |
|||
this.mgerOrgNo = mgerOrgNo; |
|||
} |
|||
|
|||
public String getMgerOrgNm() { |
|||
return mgerOrgNm; |
|||
} |
|||
|
|||
public void setMgerOrgNm(String mgerOrgNm) { |
|||
this.mgerOrgNm = mgerOrgNm; |
|||
} |
|||
|
|||
public String getOrgnCd() { |
|||
return orgnCd; |
|||
} |
|||
|
|||
public void setOrgnCd(String orgnCd) { |
|||
this.orgnCd = orgnCd; |
|||
} |
|||
|
|||
public String getOrgCrdtCd() { |
|||
return orgCrdtCd; |
|||
} |
|||
|
|||
public void setOrgCrdtCd(String orgCrdtCd) { |
|||
this.orgCrdtCd = orgCrdtCd; |
|||
} |
|||
|
|||
public String getInduSortCd() { |
|||
return induSortCd; |
|||
} |
|||
|
|||
public void setInduSortCd(String induSortCd) { |
|||
this.induSortCd = induSortCd; |
|||
} |
|||
|
|||
public String getCustTypeCd() { |
|||
return custTypeCd; |
|||
} |
|||
|
|||
public void setCustTypeCd(String custTypeCd) { |
|||
this.custTypeCd = custTypeCd; |
|||
} |
|||
|
|||
public String getCustSortCd() { |
|||
return custSortCd; |
|||
} |
|||
|
|||
public void setCustSortCd(String custSortCd) { |
|||
this.custSortCd = custSortCd; |
|||
} |
|||
|
|||
public String getBuildDt() { |
|||
return buildDt; |
|||
} |
|||
|
|||
public void setBuildDt(String buildDt) { |
|||
this.buildDt = buildDt; |
|||
} |
|||
|
|||
public String getCorpSizeCd() { |
|||
return corpSizeCd; |
|||
} |
|||
|
|||
public void setCorpSizeCd(String corpSizeCd) { |
|||
this.corpSizeCd = corpSizeCd; |
|||
} |
|||
|
|||
public String getRgstGround() { |
|||
return rgstGround; |
|||
} |
|||
|
|||
public void setRgstGround(String rgstGround) { |
|||
this.rgstGround = rgstGround; |
|||
} |
|||
|
|||
public String getYears3Ovdue30DayFlag() { |
|||
return years3Ovdue30DayFlag; |
|||
} |
|||
|
|||
public void setYears3Ovdue30DayFlag(String years3Ovdue30DayFlag) { |
|||
this.years3Ovdue30DayFlag = years3Ovdue30DayFlag; |
|||
} |
|||
|
|||
public String getYears3AdvMoney30DayFlag() { |
|||
return years3AdvMoney30DayFlag; |
|||
} |
|||
|
|||
public void setYears3AdvMoney30DayFlag(String years3AdvMoney30DayFlag) { |
|||
this.years3AdvMoney30DayFlag = years3AdvMoney30DayFlag; |
|||
} |
|||
|
|||
public String getYears3Expand2CntFlag() { |
|||
return years3Expand2CntFlag; |
|||
} |
|||
|
|||
public void setYears3Expand2CntFlag(String years3Expand2CntFlag) { |
|||
this.years3Expand2CntFlag = years3Expand2CntFlag; |
|||
} |
|||
|
|||
public String getYears3BorRepay2CntFlag() { |
|||
return years3BorRepay2CntFlag; |
|||
} |
|||
|
|||
public void setYears3BorRepay2CntFlag(String years3BorRepay2CntFlag) { |
|||
this.years3BorRepay2CntFlag = years3BorRepay2CntFlag; |
|||
} |
|||
|
|||
public String getYears3ModeModifOverdue2CntFlag() { |
|||
return years3ModeModifOverdue2CntFlag; |
|||
} |
|||
|
|||
public void setYears3ModeModifOverdue2CntFlag(String years3ModeModifOverdue2CntFlag) { |
|||
this.years3ModeModifOverdue2CntFlag = years3ModeModifOverdue2CntFlag; |
|||
} |
|||
|
|||
public String getYears3PrinRepayPlanModif2CntFlag() { |
|||
return years3PrinRepayPlanModif2CntFlag; |
|||
} |
|||
|
|||
public void setYears3PrinRepayPlanModif2CntFlag(String years3PrinRepayPlanModif2CntFlag) { |
|||
this.years3PrinRepayPlanModif2CntFlag = years3PrinRepayPlanModif2CntFlag; |
|||
} |
|||
|
|||
public String getYears3Regroup2CntFlag() { |
|||
return years3Regroup2CntFlag; |
|||
} |
|||
|
|||
public void setYears3Regroup2CntFlag(String years3Regroup2CntFlag) { |
|||
this.years3Regroup2CntFlag = years3Regroup2CntFlag; |
|||
} |
|||
|
|||
public String getChastenCustFlag() { |
|||
return chastenCustFlag; |
|||
} |
|||
|
|||
public void setChastenCustFlag(String chastenCustFlag) { |
|||
this.chastenCustFlag = chastenCustFlag; |
|||
} |
|||
|
|||
public String getInduSortName() { |
|||
return induSortName; |
|||
} |
|||
|
|||
public void setInduSortName(String induSortName) { |
|||
this.induSortName = induSortName; |
|||
} |
|||
} |
@ -0,0 +1,58 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
public class CreditFinanceResultVo extends BaseVo { |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String custId; |
|||
|
|||
/** |
|||
* 指标代码 |
|||
*/ |
|||
private String indexCode; |
|||
|
|||
/** |
|||
* 指标名称 |
|||
*/ |
|||
private String indexName; |
|||
|
|||
/** |
|||
* 指标值 |
|||
*/ |
|||
private String indexValue; |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
public class CreditInvestResultVo extends BaseVo { |
|||
|
|||
/** |
|||
* 报告编号 |
|||
*/ |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 指标代码 |
|||
*/ |
|||
private String indexCode; |
|||
|
|||
/** |
|||
* 指标名称 |
|||
*/ |
|||
private String indexName; |
|||
|
|||
/** |
|||
* 指标值 |
|||
*/ |
|||
private String indexValue; |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
} |
@ -0,0 +1,114 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
import org.hibernate.annotations.GenericGenerator; |
|||
|
|||
import javax.persistence.Column; |
|||
import javax.persistence.GeneratedValue; |
|||
import javax.persistence.Id; |
|||
import javax.validation.constraints.Size; |
|||
import java.util.Date; |
|||
|
|||
public class CreditReportVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 报告时间 |
|||
*/ |
|||
private String reportDate; |
|||
|
|||
/** |
|||
* 客户号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 企业名称 |
|||
*/ |
|||
private String entName; |
|||
|
|||
/** |
|||
* 组织机构代码 |
|||
*/ |
|||
private String organizationCode; |
|||
|
|||
/** |
|||
* 统一社会信用代码 |
|||
*/ |
|||
private String societyUnifyCode; |
|||
|
|||
/** |
|||
* 征信有效期 |
|||
*/ |
|||
private String expiryDate; |
|||
|
|||
/** |
|||
* 是否征信白户 |
|||
*/ |
|||
private String blankInd; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getReportDate() { |
|||
return reportDate; |
|||
} |
|||
|
|||
public void setReportDate(String reportDate) { |
|||
this.reportDate = reportDate; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getEntName() { |
|||
return entName; |
|||
} |
|||
|
|||
public void setEntName(String entName) { |
|||
this.entName = entName; |
|||
} |
|||
|
|||
public String getOrganizationCode() { |
|||
return organizationCode; |
|||
} |
|||
|
|||
public void setOrganizationCode(String organizationCode) { |
|||
this.organizationCode = organizationCode; |
|||
} |
|||
|
|||
public String getSocietyUnifyCode() { |
|||
return societyUnifyCode; |
|||
} |
|||
|
|||
public void setSocietyUnifyCode(String societyUnifyCode) { |
|||
this.societyUnifyCode = societyUnifyCode; |
|||
} |
|||
|
|||
public String getExpiryDate() { |
|||
return expiryDate; |
|||
} |
|||
|
|||
public void setExpiryDate(String expiryDate) { |
|||
this.expiryDate = expiryDate; |
|||
} |
|||
|
|||
public String getBlankInd() { |
|||
return blankInd; |
|||
} |
|||
|
|||
public void setBlankInd(String blankInd) { |
|||
this.blankInd = blankInd; |
|||
} |
|||
} |
@ -0,0 +1,462 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
public class DebtGradeVo extends BaseVo { |
|||
|
|||
/** |
|||
* 数据日期 |
|||
*/ |
|||
private String dataDt; |
|||
|
|||
/** |
|||
* 合同编号 |
|||
*/ |
|||
private String contNo; |
|||
|
|||
/** |
|||
*客户编号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 额度编号 |
|||
*/ |
|||
private String lmtNo; |
|||
|
|||
/** |
|||
* 客户名称 |
|||
*/ |
|||
private String custName; |
|||
|
|||
/** |
|||
* 币种代码 |
|||
*/ |
|||
private String ccyCd; |
|||
|
|||
/** |
|||
* 业务品种 |
|||
*/ |
|||
private String prodCd; |
|||
|
|||
/** |
|||
* 合同金额 |
|||
*/ |
|||
private BigDecimal contrAmt; |
|||
|
|||
/** |
|||
* 合同余额 |
|||
*/ |
|||
private BigDecimal ContrBal; |
|||
|
|||
/** |
|||
* 欠息余额 |
|||
*/ |
|||
private BigDecimal oweintBal; |
|||
|
|||
/** |
|||
* 费用余额 |
|||
*/ |
|||
private BigDecimal feeBal; |
|||
|
|||
/** |
|||
* 合同签订日期 |
|||
*/ |
|||
private String contSingDt; |
|||
|
|||
/** |
|||
* 起始日期 |
|||
*/ |
|||
private String contStartDt; |
|||
|
|||
/** |
|||
* 到期日期 |
|||
*/ |
|||
private String contEndtDt; |
|||
|
|||
/** |
|||
* 合同期限类型代码 |
|||
*/ |
|||
private String contrTermCd; |
|||
|
|||
/** |
|||
* 冻结标志 |
|||
*/ |
|||
private String blockInd; |
|||
|
|||
/** |
|||
* 合同类别代码 |
|||
*/ |
|||
private String contTypeCd; |
|||
|
|||
/** |
|||
* 合同状态代码 |
|||
*/ |
|||
private String contStatusCd; |
|||
|
|||
/** |
|||
* 担保方式 |
|||
*/ |
|||
private String guarWayCd; |
|||
|
|||
/** |
|||
* 五级分类代码 |
|||
*/ |
|||
private String tenClassCd; |
|||
|
|||
/** |
|||
* 贷款行业投向 |
|||
*/ |
|||
private String directionCd; |
|||
|
|||
/** |
|||
* 循环标志 |
|||
*/ |
|||
private String cycleFlag; |
|||
|
|||
/** |
|||
* 费用名称 |
|||
*/ |
|||
private String expenseName; |
|||
|
|||
/** |
|||
* 实际费率 |
|||
*/ |
|||
private BigDecimal expenseRate; |
|||
|
|||
/** |
|||
* 月利率 |
|||
*/ |
|||
private BigDecimal monthRate; |
|||
|
|||
/** |
|||
* 合同逾期天数 |
|||
*/ |
|||
private Integer contrOvdueDays; |
|||
|
|||
/** |
|||
* 合同欠息天数 |
|||
*/ |
|||
private Integer contrOweintDays; |
|||
|
|||
/** |
|||
* 折现后还款金额(违约后) |
|||
*/ |
|||
private BigDecimal postRepayAmt; |
|||
|
|||
/** |
|||
* 管户机构编号 |
|||
*/ |
|||
private String operateOrgNo; |
|||
|
|||
/** |
|||
* 管户人编号 |
|||
*/ |
|||
private String operatorNo; |
|||
|
|||
/** |
|||
* 违约损失率 |
|||
*/ |
|||
private BigDecimal irsLgd; |
|||
/** |
|||
* 违约损失率 |
|||
*/ |
|||
private String irsLgdLevel; |
|||
|
|||
/** |
|||
* 风险暴露 |
|||
*/ |
|||
private BigDecimal irsEad; |
|||
|
|||
/** |
|||
* 是否违约认定 |
|||
*/ |
|||
private String irsOvdue; |
|||
|
|||
/** |
|||
* 合同层实际LGD |
|||
*/ |
|||
private BigDecimal expenseFeeLgd; |
|||
|
|||
public String getDataDt() { |
|||
return dataDt; |
|||
} |
|||
|
|||
public void setDataDt(String dataDt) { |
|||
this.dataDt = dataDt; |
|||
} |
|||
|
|||
public String getContNo() { |
|||
return contNo; |
|||
} |
|||
|
|||
public void setContNo(String contNo) { |
|||
this.contNo = contNo; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getLmtNo() { |
|||
return lmtNo; |
|||
} |
|||
|
|||
public void setLmtNo(String lmtNo) { |
|||
this.lmtNo = lmtNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getCcyCd() { |
|||
return ccyCd; |
|||
} |
|||
|
|||
public void setCcyCd(String ccyCd) { |
|||
this.ccyCd = ccyCd; |
|||
} |
|||
|
|||
public String getProdCd() { |
|||
return prodCd; |
|||
} |
|||
|
|||
public void setProdCd(String prodCd) { |
|||
this.prodCd = prodCd; |
|||
} |
|||
|
|||
public BigDecimal getContrAmt() { |
|||
return contrAmt; |
|||
} |
|||
|
|||
public void setContrAmt(BigDecimal contrAmt) { |
|||
this.contrAmt = contrAmt; |
|||
} |
|||
|
|||
public BigDecimal getContrBal() { |
|||
return ContrBal; |
|||
} |
|||
|
|||
public void setContrBal(BigDecimal contrBal) { |
|||
ContrBal = contrBal; |
|||
} |
|||
|
|||
public BigDecimal getOweintBal() { |
|||
return oweintBal; |
|||
} |
|||
|
|||
public void setOweintBal(BigDecimal oweintBal) { |
|||
this.oweintBal = oweintBal; |
|||
} |
|||
|
|||
public BigDecimal getFeeBal() { |
|||
return feeBal; |
|||
} |
|||
|
|||
public void setFeeBal(BigDecimal feeBal) { |
|||
this.feeBal = feeBal; |
|||
} |
|||
|
|||
public String getContSingDt() { |
|||
return contSingDt; |
|||
} |
|||
|
|||
public void setContSingDt(String contSingDt) { |
|||
this.contSingDt = contSingDt; |
|||
} |
|||
|
|||
public String getContStartDt() { |
|||
return contStartDt; |
|||
} |
|||
|
|||
public void setContStartDt(String contStartDt) { |
|||
this.contStartDt = contStartDt; |
|||
} |
|||
|
|||
public String getContEndtDt() { |
|||
return contEndtDt; |
|||
} |
|||
|
|||
public void setContEndtDt(String contEndtDt) { |
|||
this.contEndtDt = contEndtDt; |
|||
} |
|||
|
|||
public String getContrTermCd() { |
|||
return contrTermCd; |
|||
} |
|||
|
|||
public void setContrTermCd(String contrTermCd) { |
|||
this.contrTermCd = contrTermCd; |
|||
} |
|||
|
|||
public String getBlockInd() { |
|||
return blockInd; |
|||
} |
|||
|
|||
public void setBlockInd(String blockInd) { |
|||
this.blockInd = blockInd; |
|||
} |
|||
|
|||
public String getContTypeCd() { |
|||
return contTypeCd; |
|||
} |
|||
|
|||
public void setContTypeCd(String contTypeCd) { |
|||
this.contTypeCd = contTypeCd; |
|||
} |
|||
|
|||
public String getContStatusCd() { |
|||
return contStatusCd; |
|||
} |
|||
|
|||
public void setContStatusCd(String contStatusCd) { |
|||
this.contStatusCd = contStatusCd; |
|||
} |
|||
|
|||
public String getGuarWayCd() { |
|||
return guarWayCd; |
|||
} |
|||
|
|||
public void setGuarWayCd(String guarWayCd) { |
|||
this.guarWayCd = guarWayCd; |
|||
} |
|||
|
|||
public String getTenClassCd() { |
|||
return tenClassCd; |
|||
} |
|||
|
|||
public void setTenClassCd(String tenClassCd) { |
|||
this.tenClassCd = tenClassCd; |
|||
} |
|||
|
|||
public String getDirectionCd() { |
|||
return directionCd; |
|||
} |
|||
|
|||
public void setDirectionCd(String directionCd) { |
|||
this.directionCd = directionCd; |
|||
} |
|||
|
|||
public String getCycleFlag() { |
|||
return cycleFlag; |
|||
} |
|||
|
|||
public void setCycleFlag(String cycleFlag) { |
|||
this.cycleFlag = cycleFlag; |
|||
} |
|||
|
|||
public String getExpenseName() { |
|||
return expenseName; |
|||
} |
|||
|
|||
public void setExpenseName(String expenseName) { |
|||
this.expenseName = expenseName; |
|||
} |
|||
|
|||
public BigDecimal getExpenseRate() { |
|||
return expenseRate; |
|||
} |
|||
|
|||
public void setExpenseRate(BigDecimal expenseRate) { |
|||
this.expenseRate = expenseRate; |
|||
} |
|||
|
|||
public BigDecimal getMonthRate() { |
|||
return monthRate; |
|||
} |
|||
|
|||
public void setMonthRate(BigDecimal monthRate) { |
|||
this.monthRate = monthRate; |
|||
} |
|||
|
|||
public Integer getContrOvdueDays() { |
|||
return contrOvdueDays; |
|||
} |
|||
|
|||
public void setContrOvdueDays(Integer contrOvdueDays) { |
|||
this.contrOvdueDays = contrOvdueDays; |
|||
} |
|||
|
|||
public Integer getContrOweintDays() { |
|||
return contrOweintDays; |
|||
} |
|||
|
|||
public void setContrOweintDays(Integer contrOweintDays) { |
|||
this.contrOweintDays = contrOweintDays; |
|||
} |
|||
|
|||
public BigDecimal getPostRepayAmt() { |
|||
return postRepayAmt; |
|||
} |
|||
|
|||
public void setPostRepayAmt(BigDecimal postRepayAmt) { |
|||
this.postRepayAmt = postRepayAmt; |
|||
} |
|||
|
|||
public String getOperateOrgNo() { |
|||
return operateOrgNo; |
|||
} |
|||
|
|||
public void setOperateOrgNo(String operateOrgNo) { |
|||
this.operateOrgNo = operateOrgNo; |
|||
} |
|||
|
|||
public String getOperatorNo() { |
|||
return operatorNo; |
|||
} |
|||
|
|||
public void setOperatorNo(String operatorNo) { |
|||
this.operatorNo = operatorNo; |
|||
} |
|||
|
|||
public BigDecimal getIrsLgd() { |
|||
return irsLgd; |
|||
} |
|||
|
|||
public void setIrsLgd(BigDecimal irsLgd) { |
|||
this.irsLgd = irsLgd; |
|||
} |
|||
|
|||
public String getIrsLgdLevel() { |
|||
return irsLgdLevel; |
|||
} |
|||
|
|||
public void setIrsLgdLevel(String irsLgdLevel) { |
|||
this.irsLgdLevel = irsLgdLevel; |
|||
} |
|||
|
|||
public BigDecimal getIrsEad() { |
|||
return irsEad; |
|||
} |
|||
|
|||
public void setIrsEad(BigDecimal irsEad) { |
|||
this.irsEad = irsEad; |
|||
} |
|||
|
|||
public String getIrsOvdue() { |
|||
return irsOvdue; |
|||
} |
|||
|
|||
public void setIrsOvdue(String irsOvdue) { |
|||
this.irsOvdue = irsOvdue; |
|||
} |
|||
|
|||
public BigDecimal getExpenseFeeLgd() { |
|||
return expenseFeeLgd; |
|||
} |
|||
|
|||
public void setExpenseFeeLgd(BigDecimal expenseFeeLgd) { |
|||
this.expenseFeeLgd = expenseFeeLgd; |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
public class FinanceReportDetailVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 财报主键 |
|||
*/ |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 项目类型 |
|||
*/ |
|||
private String projectType; |
|||
|
|||
/** |
|||
* 项目代码 |
|||
*/ |
|||
private String projectCode; |
|||
|
|||
/** |
|||
* 项目名称 |
|||
*/ |
|||
private String projectName; |
|||
|
|||
/** |
|||
* 项目值 |
|||
*/ |
|||
private BigDecimal projectValue; |
|||
|
|||
private String ratingId; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(String projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public String getProjectCode() { |
|||
return projectCode; |
|||
} |
|||
|
|||
public void setProjectCode(String projectCode) { |
|||
this.projectCode = projectCode; |
|||
} |
|||
|
|||
public String getProjectName() { |
|||
return projectName; |
|||
} |
|||
|
|||
public void setProjectName(String projectName) { |
|||
this.projectName = projectName; |
|||
} |
|||
|
|||
public BigDecimal getProjectValue() { |
|||
return projectValue; |
|||
} |
|||
|
|||
public void setProjectValue(BigDecimal projectValue) { |
|||
this.projectValue = projectValue; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
} |
@ -0,0 +1,96 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
public class FinanceReportResultVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String custId; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 项目类型 |
|||
*/ |
|||
private String projectType; |
|||
|
|||
/** |
|||
* 项目代码 |
|||
*/ |
|||
private String projectCode; |
|||
|
|||
/** |
|||
* 项目名称 |
|||
*/ |
|||
private String projectName; |
|||
|
|||
/** |
|||
* 项目值 |
|||
*/ |
|||
private BigDecimal projectValue; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(String projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public String getProjectCode() { |
|||
return projectCode; |
|||
} |
|||
|
|||
public void setProjectCode(String projectCode) { |
|||
this.projectCode = projectCode; |
|||
} |
|||
|
|||
public String getProjectName() { |
|||
return projectName; |
|||
} |
|||
|
|||
public void setProjectName(String projectName) { |
|||
this.projectName = projectName; |
|||
} |
|||
|
|||
public BigDecimal getProjectValue() { |
|||
return projectValue; |
|||
} |
|||
|
|||
public void setProjectValue(BigDecimal projectValue) { |
|||
this.projectValue = projectValue; |
|||
} |
|||
} |
@ -0,0 +1,171 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
import java.util.Date; |
|||
|
|||
public class FinanceReportVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String custId; |
|||
|
|||
/** |
|||
* 客户编号 |
|||
*/ |
|||
private String custNo; |
|||
|
|||
/** |
|||
* 财报年度区分 |
|||
*/ |
|||
private String financeReportYear; |
|||
|
|||
/** |
|||
* 财报截至日期 |
|||
*/ |
|||
private Date endDate; |
|||
|
|||
/** |
|||
* 报表类型 |
|||
*/ |
|||
private String Type; |
|||
|
|||
/** |
|||
* 报表类别 |
|||
*/ |
|||
private String sort; |
|||
|
|||
/** |
|||
* 报表口径 |
|||
*/ |
|||
private String caliber; |
|||
|
|||
/** |
|||
* 报表币种 |
|||
*/ |
|||
private String currency; |
|||
|
|||
/** |
|||
* 录入人员 |
|||
*/ |
|||
private String userNo; |
|||
|
|||
/** |
|||
* 是否经过审计 |
|||
*/ |
|||
private String auditedInd; |
|||
|
|||
/** |
|||
* 是否通过正式确认 |
|||
*/ |
|||
private String validInd; |
|||
|
|||
private String remarks; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustId() { |
|||
return custId; |
|||
} |
|||
|
|||
public void setCustId(String custId) { |
|||
this.custId = custId; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getFinanceReportYear() { |
|||
return financeReportYear; |
|||
} |
|||
|
|||
public void setFinanceReportYear(String financeReportYear) { |
|||
this.financeReportYear = financeReportYear; |
|||
} |
|||
|
|||
public Date getEndDate() { |
|||
return endDate; |
|||
} |
|||
|
|||
public void setEndDate(Date endDate) { |
|||
this.endDate = endDate; |
|||
} |
|||
|
|||
public String getType() { |
|||
return Type; |
|||
} |
|||
|
|||
public void setType(String type) { |
|||
Type = type; |
|||
} |
|||
|
|||
public String getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(String sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getCaliber() { |
|||
return caliber; |
|||
} |
|||
|
|||
public void setCaliber(String caliber) { |
|||
this.caliber = caliber; |
|||
} |
|||
|
|||
public String getCurrency() { |
|||
return currency; |
|||
} |
|||
|
|||
public void setCurrency(String currency) { |
|||
this.currency = currency; |
|||
} |
|||
|
|||
public String getUserNo() { |
|||
return userNo; |
|||
} |
|||
|
|||
public void setUserNo(String userNo) { |
|||
this.userNo = userNo; |
|||
} |
|||
|
|||
public String getAuditedInd() { |
|||
return auditedInd; |
|||
} |
|||
|
|||
public void setAuditedInd(String auditedInd) { |
|||
this.auditedInd = auditedInd; |
|||
} |
|||
|
|||
public String getValidInd() { |
|||
return validInd; |
|||
} |
|||
|
|||
public void setValidInd(String validInd) { |
|||
this.validInd = validInd; |
|||
} |
|||
|
|||
public String getRemarks() { |
|||
return remarks; |
|||
} |
|||
|
|||
public void setRemarks(String remarks) { |
|||
this.remarks = remarks; |
|||
} |
|||
} |
@ -0,0 +1,28 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class IndustryVo extends CorporationAuditorVo { |
|||
|
|||
private String code; |
|||
private String name; |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,81 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
public class RatingAdjItemDefVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 调整项类型 |
|||
*/ |
|||
private String adjItemType; |
|||
|
|||
/** |
|||
* 调整项编号 |
|||
*/ |
|||
private String adjItemCode; |
|||
|
|||
/** |
|||
* 调整项名称 |
|||
*/ |
|||
private String adjItemName; |
|||
|
|||
/** |
|||
* 调整项描述 |
|||
*/ |
|||
private String adjItemDes; |
|||
|
|||
/** |
|||
* 调整项值 |
|||
*/ |
|||
private String adjItemValue; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getAdjItemType() { |
|||
return adjItemType; |
|||
} |
|||
|
|||
public void setAdjItemType(String adjItemType) { |
|||
this.adjItemType = adjItemType; |
|||
} |
|||
|
|||
public String getAdjItemCode() { |
|||
return adjItemCode; |
|||
} |
|||
|
|||
public void setAdjItemCode(String adjItemCode) { |
|||
this.adjItemCode = adjItemCode; |
|||
} |
|||
|
|||
public String getAdjItemName() { |
|||
return adjItemName; |
|||
} |
|||
|
|||
public void setAdjItemName(String adjItemName) { |
|||
this.adjItemName = adjItemName; |
|||
} |
|||
|
|||
public String getAdjItemDes() { |
|||
return adjItemDes; |
|||
} |
|||
|
|||
public void setAdjItemDes(String adjItemDes) { |
|||
this.adjItemDes = adjItemDes; |
|||
} |
|||
|
|||
public String getAdjItemValue() { |
|||
return adjItemValue; |
|||
} |
|||
|
|||
public void setAdjItemValue(String adjItemValue) { |
|||
this.adjItemValue = adjItemValue; |
|||
} |
|||
} |
@ -0,0 +1,42 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
public class RatingAdjItemVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 模型编号 |
|||
*/ |
|||
private String modelCode; |
|||
|
|||
/** |
|||
* 调整项定义编号 |
|||
*/ |
|||
private String adjItemCode; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getModelCode() { |
|||
return modelCode; |
|||
} |
|||
|
|||
public void setModelCode(String modelCode) { |
|||
this.modelCode = modelCode; |
|||
} |
|||
|
|||
public String getAdjItemCode() { |
|||
return adjItemCode; |
|||
} |
|||
|
|||
public void setAdjItemCode(String adjItemCode) { |
|||
this.adjItemCode = adjItemCode; |
|||
} |
|||
} |
@ -0,0 +1,328 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
import java.util.Date; |
|||
|
|||
public class RatingCompanyCustomerVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
private String id; |
|||
|
|||
// 客户编号
|
|||
private String custNo; |
|||
|
|||
// 客户名称
|
|||
private String custName; |
|||
|
|||
// 证件类型
|
|||
private String certificateType; |
|||
|
|||
// 证件号码
|
|||
private String certificateNum; |
|||
|
|||
// 对公客户类型
|
|||
private String customerType; |
|||
|
|||
// 企业规模
|
|||
private String customerSize; |
|||
|
|||
// 企业类型
|
|||
private String registeredType; |
|||
|
|||
/** |
|||
* 融资平台标志 |
|||
*/ |
|||
private String goverFinanceSign; |
|||
|
|||
/** |
|||
* 融资平台类型 |
|||
*/ |
|||
private String goverFinanceType; |
|||
|
|||
/** |
|||
* 所在行政区域 |
|||
*/ |
|||
private String registration; |
|||
|
|||
/** |
|||
* 所在国家地区 |
|||
*/ |
|||
private String nation; |
|||
|
|||
/** |
|||
* 成员类别 |
|||
*/ |
|||
private String memberType; |
|||
|
|||
/** |
|||
* 是否集团客户 |
|||
*/ |
|||
private String groupCustInd; |
|||
|
|||
/** |
|||
* 是否上市企业 |
|||
*/ |
|||
private String marketEnterprisesInd; |
|||
|
|||
/** |
|||
* 国标行业分类 |
|||
*/ |
|||
private String industryType; |
|||
|
|||
/** |
|||
* 成立日期 |
|||
*/ |
|||
private String buildDate; |
|||
|
|||
/** |
|||
* 经办人编号 |
|||
*/ |
|||
private String customerManagerNo; |
|||
|
|||
/** |
|||
* 经办人名称 |
|||
*/ |
|||
private String customerManagerName; |
|||
|
|||
/** |
|||
* 当前流程编码 |
|||
*/ |
|||
private String currentProcessorCode; |
|||
|
|||
/** |
|||
* 当前流程名称 |
|||
*/ |
|||
private String currentProcessorName; |
|||
|
|||
/** |
|||
* 经办机构 |
|||
*/ |
|||
private String handleOrgId; |
|||
|
|||
// 经办时间
|
|||
private Date handleTime; |
|||
|
|||
/** |
|||
* 主营业务占比不超过40% |
|||
*/ |
|||
private String mainBusiUnderForty; |
|||
|
|||
/** |
|||
* 征信报告主键 |
|||
*/ |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 外部数据文件传输码 |
|||
*/ |
|||
private String externalFileCode; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getCustNo() { |
|||
return custNo; |
|||
} |
|||
|
|||
public void setCustNo(String custNo) { |
|||
this.custNo = custNo; |
|||
} |
|||
|
|||
public String getCustName() { |
|||
return custName; |
|||
} |
|||
|
|||
public void setCustName(String custName) { |
|||
this.custName = custName; |
|||
} |
|||
|
|||
public String getCertificateType() { |
|||
return certificateType; |
|||
} |
|||
|
|||
public void setCertificateType(String certificateType) { |
|||
this.certificateType = certificateType; |
|||
} |
|||
|
|||
public String getCertificateNum() { |
|||
return certificateNum; |
|||
} |
|||
|
|||
public void setCertificateNum(String certificateNum) { |
|||
this.certificateNum = certificateNum; |
|||
} |
|||
|
|||
public String getCustomerType() { |
|||
return customerType; |
|||
} |
|||
|
|||
public void setCustomerType(String customerType) { |
|||
this.customerType = customerType; |
|||
} |
|||
|
|||
public String getCustomerSize() { |
|||
return customerSize; |
|||
} |
|||
|
|||
public void setCustomerSize(String customerSize) { |
|||
this.customerSize = customerSize; |
|||
} |
|||
|
|||
public String getRegisteredType() { |
|||
return registeredType; |
|||
} |
|||
|
|||
public void setRegisteredType(String registeredType) { |
|||
this.registeredType = registeredType; |
|||
} |
|||
|
|||
public String getGoverFinanceSign() { |
|||
return goverFinanceSign; |
|||
} |
|||
|
|||
public void setGoverFinanceSign(String goverFinanceSign) { |
|||
this.goverFinanceSign = goverFinanceSign; |
|||
} |
|||
|
|||
public String getGoverFinanceType() { |
|||
return goverFinanceType; |
|||
} |
|||
|
|||
public void setGoverFinanceType(String goverFinanceType) { |
|||
this.goverFinanceType = goverFinanceType; |
|||
} |
|||
|
|||
public String getRegistration() { |
|||
return registration; |
|||
} |
|||
|
|||
public void setRegistration(String registration) { |
|||
this.registration = registration; |
|||
} |
|||
|
|||
public String getNation() { |
|||
return nation; |
|||
} |
|||
|
|||
public void setNation(String nation) { |
|||
this.nation = nation; |
|||
} |
|||
|
|||
public String getMemberType() { |
|||
return memberType; |
|||
} |
|||
|
|||
public void setMemberType(String memberType) { |
|||
this.memberType = memberType; |
|||
} |
|||
|
|||
public String getGroupCustInd() { |
|||
return groupCustInd; |
|||
} |
|||
|
|||
public void setGroupCustInd(String groupCustInd) { |
|||
this.groupCustInd = groupCustInd; |
|||
} |
|||
|
|||
public String getMarketEnterprisesInd() { |
|||
return marketEnterprisesInd; |
|||
} |
|||
|
|||
public void setMarketEnterprisesInd(String marketEnterprisesInd) { |
|||
this.marketEnterprisesInd = marketEnterprisesInd; |
|||
} |
|||
|
|||
public String getIndustryType() { |
|||
return industryType; |
|||
} |
|||
|
|||
public void setIndustryType(String industryType) { |
|||
this.industryType = industryType; |
|||
} |
|||
|
|||
public String getBuildDate() { |
|||
return buildDate; |
|||
} |
|||
|
|||
public void setBuildDate(String buildDate) { |
|||
this.buildDate = buildDate; |
|||
} |
|||
|
|||
public String getCustomerManagerNo() { |
|||
return customerManagerNo; |
|||
} |
|||
|
|||
public void setCustomerManagerNo(String customerManagerNo) { |
|||
this.customerManagerNo = customerManagerNo; |
|||
} |
|||
|
|||
public String getCustomerManagerName() { |
|||
return customerManagerName; |
|||
} |
|||
|
|||
public void setCustomerManagerName(String customerManagerName) { |
|||
this.customerManagerName = customerManagerName; |
|||
} |
|||
|
|||
public String getCurrentProcessorCode() { |
|||
return currentProcessorCode; |
|||
} |
|||
|
|||
public void setCurrentProcessorCode(String currentProcessorCode) { |
|||
this.currentProcessorCode = currentProcessorCode; |
|||
} |
|||
|
|||
public String getCurrentProcessorName() { |
|||
return currentProcessorName; |
|||
} |
|||
|
|||
public void setCurrentProcessorName(String currentProcessorName) { |
|||
this.currentProcessorName = currentProcessorName; |
|||
} |
|||
|
|||
public String getHandleOrgId() { |
|||
return handleOrgId; |
|||
} |
|||
|
|||
public void setHandleOrgId(String handleOrgId) { |
|||
this.handleOrgId = handleOrgId; |
|||
} |
|||
|
|||
public Date getHandleTime() { |
|||
return handleTime; |
|||
} |
|||
|
|||
public void setHandleTime(Date handleTime) { |
|||
this.handleTime = handleTime; |
|||
} |
|||
|
|||
public String getMainBusiUnderForty() { |
|||
return mainBusiUnderForty; |
|||
} |
|||
|
|||
public void setMainBusiUnderForty(String mainBusiUnderForty) { |
|||
this.mainBusiUnderForty = mainBusiUnderForty; |
|||
} |
|||
|
|||
public String getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(String reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getExternalFileCode() { |
|||
return externalFileCode; |
|||
} |
|||
|
|||
public void setExternalFileCode(String externalFileCode) { |
|||
this.externalFileCode = externalFileCode; |
|||
} |
|||
} |
@ -0,0 +1,185 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
import irbs.cust.rating.jpa.entity.RatingSelectValuesConfig; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.List; |
|||
|
|||
public class RatingIndexVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
private String id; |
|||
|
|||
// 评级步骤ID
|
|||
private String stepId; |
|||
|
|||
// 指标类型
|
|||
private String indexType; |
|||
|
|||
// 指标分类
|
|||
private String indexCategory; |
|||
|
|||
// 指标名称
|
|||
private String indexName; |
|||
|
|||
// 配置ID
|
|||
private String configId; |
|||
|
|||
// 指标ID
|
|||
private String indexId; |
|||
|
|||
// 指标编号
|
|||
private String indexCode; |
|||
|
|||
// 指标值
|
|||
private String indexValue; |
|||
|
|||
// 权重
|
|||
private BigDecimal weight; |
|||
|
|||
// 模型层级
|
|||
private String modelLevel; |
|||
|
|||
// 父ID
|
|||
private String parentId; |
|||
|
|||
// 定性内容
|
|||
private String qualitativeContent; |
|||
|
|||
// 定性选项
|
|||
private String qualitativeOptions; |
|||
|
|||
// 指标得分
|
|||
private BigDecimal indexScore; |
|||
|
|||
private List<RatingSelectValuesConfig> options; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getStepId() { |
|||
return stepId; |
|||
} |
|||
|
|||
public void setStepId(String stepId) { |
|||
this.stepId = stepId; |
|||
} |
|||
|
|||
public String getIndexType() { |
|||
return indexType; |
|||
} |
|||
|
|||
public void setIndexType(String indexType) { |
|||
this.indexType = indexType; |
|||
} |
|||
|
|||
public String getIndexCategory() { |
|||
return indexCategory; |
|||
} |
|||
|
|||
public void setIndexCategory(String indexCategory) { |
|||
this.indexCategory = indexCategory; |
|||
} |
|||
|
|||
public String getIndexName() { |
|||
return indexName; |
|||
} |
|||
|
|||
public void setIndexName(String indexName) { |
|||
this.indexName = indexName; |
|||
} |
|||
|
|||
public String getConfigId() { |
|||
return configId; |
|||
} |
|||
|
|||
public void setConfigId(String configId) { |
|||
this.configId = configId; |
|||
} |
|||
|
|||
public String getIndexId() { |
|||
return indexId; |
|||
} |
|||
|
|||
public void setIndexId(String indexId) { |
|||
this.indexId = indexId; |
|||
} |
|||
|
|||
public String getIndexCode() { |
|||
return indexCode; |
|||
} |
|||
|
|||
public void setIndexCode(String indexCode) { |
|||
this.indexCode = indexCode; |
|||
} |
|||
|
|||
public String getIndexValue() { |
|||
return indexValue; |
|||
} |
|||
|
|||
public void setIndexValue(String indexValue) { |
|||
this.indexValue = indexValue; |
|||
} |
|||
|
|||
public BigDecimal getWeight() { |
|||
return weight; |
|||
} |
|||
|
|||
public void setWeight(BigDecimal weight) { |
|||
this.weight = weight; |
|||
} |
|||
|
|||
public String getModelLevel() { |
|||
return modelLevel; |
|||
} |
|||
|
|||
public void setModelLevel(String modelLevel) { |
|||
this.modelLevel = modelLevel; |
|||
} |
|||
|
|||
public String getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(String parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getQualitativeContent() { |
|||
return qualitativeContent; |
|||
} |
|||
|
|||
public void setQualitativeContent(String qualitativeContent) { |
|||
this.qualitativeContent = qualitativeContent; |
|||
} |
|||
|
|||
public String getQualitativeOptions() { |
|||
return qualitativeOptions; |
|||
} |
|||
|
|||
public void setQualitativeOptions(String qualitativeOptions) { |
|||
this.qualitativeOptions = qualitativeOptions; |
|||
} |
|||
|
|||
public BigDecimal getIndexScore() { |
|||
return indexScore; |
|||
} |
|||
|
|||
public void setIndexScore(BigDecimal indexScore) { |
|||
this.indexScore = indexScore; |
|||
} |
|||
|
|||
public List<RatingSelectValuesConfig> getOptions() { |
|||
return options; |
|||
} |
|||
|
|||
public void setOptions(List<RatingSelectValuesConfig> options) { |
|||
this.options = options; |
|||
} |
|||
} |
@ -0,0 +1,160 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
public class RatingOverturnVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
private String id; |
|||
|
|||
// 评级ID
|
|||
private String ratingId; |
|||
|
|||
// 建议级别
|
|||
private String suggestLevel; |
|||
|
|||
// 调整原因
|
|||
private String adjReason; |
|||
|
|||
// 附件数量
|
|||
private Integer fileCount; |
|||
|
|||
// 机构
|
|||
private String orgId; |
|||
|
|||
// 用户编号
|
|||
private String userCode; |
|||
|
|||
// 用户名称
|
|||
private String userName; |
|||
|
|||
// 角色名称
|
|||
private String roleName; |
|||
|
|||
// 角色编号
|
|||
private String roleCode; |
|||
|
|||
// 意见位置
|
|||
private Integer overNum; |
|||
|
|||
// 机构名称
|
|||
private String orgName; |
|||
|
|||
// 操作意见
|
|||
private String operationOpinion; |
|||
|
|||
// 是否推翻
|
|||
private Integer isOverturn; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public String getSuggestLevel() { |
|||
return suggestLevel; |
|||
} |
|||
|
|||
public void setSuggestLevel(String suggestLevel) { |
|||
this.suggestLevel = suggestLevel; |
|||
} |
|||
|
|||
public String getAdjReason() { |
|||
return adjReason; |
|||
} |
|||
|
|||
public void setAdjReason(String adjReason) { |
|||
this.adjReason = adjReason; |
|||
} |
|||
|
|||
public Integer getFileCount() { |
|||
return fileCount; |
|||
} |
|||
|
|||
public void setFileCount(Integer fileCount) { |
|||
this.fileCount = fileCount; |
|||
} |
|||
|
|||
public String getOrgId() { |
|||
return orgId; |
|||
} |
|||
|
|||
public void setOrgId(String orgId) { |
|||
this.orgId = orgId; |
|||
} |
|||
|
|||
public String getUserCode() { |
|||
return userCode; |
|||
} |
|||
|
|||
public void setUserCode(String userCode) { |
|||
this.userCode = userCode; |
|||
} |
|||
|
|||
public String getUserName() { |
|||
return userName; |
|||
} |
|||
|
|||
public void setUserName(String userName) { |
|||
this.userName = userName; |
|||
} |
|||
|
|||
public String getRoleName() { |
|||
return roleName; |
|||
} |
|||
|
|||
public void setRoleName(String roleName) { |
|||
this.roleName = roleName; |
|||
} |
|||
|
|||
public String getRoleCode() { |
|||
return roleCode; |
|||
} |
|||
|
|||
public void setRoleCode(String roleCode) { |
|||
this.roleCode = roleCode; |
|||
} |
|||
|
|||
public Integer getOverNum() { |
|||
return overNum; |
|||
} |
|||
|
|||
public void setOverNum(Integer overNum) { |
|||
this.overNum = overNum; |
|||
} |
|||
|
|||
public String getOrgName() { |
|||
return orgName; |
|||
} |
|||
|
|||
public void setOrgName(String orgName) { |
|||
this.orgName = orgName; |
|||
} |
|||
|
|||
public String getOperationOpinion() { |
|||
return operationOpinion; |
|||
} |
|||
|
|||
public void setOperationOpinion(String operationOpinion) { |
|||
this.operationOpinion = operationOpinion; |
|||
} |
|||
|
|||
public Integer getIsOverturn() { |
|||
return isOverturn; |
|||
} |
|||
|
|||
public void setIsOverturn(Integer isOverturn) { |
|||
this.isOverturn = isOverturn; |
|||
} |
|||
} |
@ -0,0 +1,120 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
public class RatingSelectValuesConfigVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 问题定义ID |
|||
*/ |
|||
private String defId; |
|||
|
|||
/** |
|||
* 问题定义编号 |
|||
*/ |
|||
private String defCode; |
|||
|
|||
/** |
|||
* 问题名称 |
|||
*/ |
|||
private String defName; |
|||
|
|||
/** |
|||
* 选项序号 |
|||
*/ |
|||
private Integer orderNum; |
|||
|
|||
/** |
|||
* 文本内容 |
|||
*/ |
|||
private String text; |
|||
|
|||
/** |
|||
* 显示值 |
|||
*/ |
|||
private String disVal; |
|||
|
|||
/** |
|||
* 使用值 |
|||
*/ |
|||
private String val; |
|||
|
|||
/** |
|||
* 权重 |
|||
*/ |
|||
private String weight; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getDefId() { |
|||
return defId; |
|||
} |
|||
|
|||
public void setDefId(String defId) { |
|||
this.defId = defId; |
|||
} |
|||
|
|||
public String getDefCode() { |
|||
return defCode; |
|||
} |
|||
|
|||
public void setDefCode(String defCode) { |
|||
this.defCode = defCode; |
|||
} |
|||
|
|||
public String getDefName() { |
|||
return defName; |
|||
} |
|||
|
|||
public void setDefName(String defName) { |
|||
this.defName = defName; |
|||
} |
|||
|
|||
public Integer getOrderNum() { |
|||
return orderNum; |
|||
} |
|||
|
|||
public void setOrderNum(Integer orderNum) { |
|||
this.orderNum = orderNum; |
|||
} |
|||
|
|||
public String getText() { |
|||
return text; |
|||
} |
|||
|
|||
public void setText(String text) { |
|||
this.text = text; |
|||
} |
|||
|
|||
public String getDisVal() { |
|||
return disVal; |
|||
} |
|||
|
|||
public void setDisVal(String disVal) { |
|||
this.disVal = disVal; |
|||
} |
|||
|
|||
public String getVal() { |
|||
return val; |
|||
} |
|||
|
|||
public void setVal(String val) { |
|||
this.val = val; |
|||
} |
|||
|
|||
public String getWeight() { |
|||
return weight; |
|||
} |
|||
|
|||
public void setWeight(String weight) { |
|||
this.weight = weight; |
|||
} |
|||
} |
@ -0,0 +1,83 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
public class RatingStepConfigVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
private String id; |
|||
|
|||
// 评级配置主表ID
|
|||
private String ratingConfigId; |
|||
|
|||
// 步骤编号
|
|||
private String stepCode; |
|||
|
|||
// 步骤名称
|
|||
private String stepName; |
|||
|
|||
// 步骤序号
|
|||
private Integer stepNum; |
|||
|
|||
// 步骤类型
|
|||
private String stepType; |
|||
|
|||
// 步骤资源路径
|
|||
private String stepSourcePath; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingConfigId() { |
|||
return ratingConfigId; |
|||
} |
|||
|
|||
public void setRatingConfigId(String ratingConfigId) { |
|||
this.ratingConfigId = ratingConfigId; |
|||
} |
|||
|
|||
public String getStepCode() { |
|||
return stepCode; |
|||
} |
|||
|
|||
public void setStepCode(String stepCode) { |
|||
this.stepCode = stepCode; |
|||
} |
|||
|
|||
public String getStepName() { |
|||
return stepName; |
|||
} |
|||
|
|||
public void setStepName(String stepName) { |
|||
this.stepName = stepName; |
|||
} |
|||
|
|||
public Integer getStepNum() { |
|||
return stepNum; |
|||
} |
|||
|
|||
public void setStepNum(Integer stepNum) { |
|||
this.stepNum = stepNum; |
|||
} |
|||
|
|||
public String getStepType() { |
|||
return stepType; |
|||
} |
|||
|
|||
public void setStepType(String stepType) { |
|||
this.stepType = stepType; |
|||
} |
|||
|
|||
public String getStepSourcePath() { |
|||
return stepSourcePath; |
|||
} |
|||
|
|||
public void setStepSourcePath(String stepSourcePath) { |
|||
this.stepSourcePath = stepSourcePath; |
|||
} |
|||
} |
@ -0,0 +1,61 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.CorporationAuditorVo; |
|||
|
|||
public class RatingStepVo extends CorporationAuditorVo { |
|||
|
|||
//主键
|
|||
private String id; |
|||
|
|||
// 评级对象
|
|||
private String ratingId; |
|||
|
|||
// 步骤序号
|
|||
private Integer stepNo; |
|||
|
|||
// 步骤名称
|
|||
private String stepName; |
|||
|
|||
// 步骤类型
|
|||
private String stepType; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public Integer getStepNo() { |
|||
return stepNo; |
|||
} |
|||
|
|||
public void setStepNo(Integer stepNo) { |
|||
this.stepNo = stepNo; |
|||
} |
|||
|
|||
public String getStepName() { |
|||
return stepName; |
|||
} |
|||
|
|||
public void setStepName(String stepName) { |
|||
this.stepName = stepName; |
|||
} |
|||
|
|||
public String getStepType() { |
|||
return stepType; |
|||
} |
|||
|
|||
public void setStepType(String stepType) { |
|||
this.stepType = stepType; |
|||
} |
|||
} |
@ -0,0 +1,83 @@ |
|||
package irbs.cust.rating.jpa.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.BaseVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
public class RatingTestCalcVo extends BaseVo { |
|||
|
|||
private String id; |
|||
|
|||
/** |
|||
* 评级ID |
|||
*/ |
|||
private String ratingId; |
|||
|
|||
/** |
|||
* 试算步骤 |
|||
*/ |
|||
private String testStep; |
|||
|
|||
/** |
|||
* 评级时系统配置的最大试算次数 |
|||
*/ |
|||
private Integer testMaxNum; |
|||
|
|||
/** |
|||
* 当前试算次数 |
|||
*/ |
|||
private Integer currNum; |
|||
|
|||
/** |
|||
* 当前试算得分 |
|||
*/ |
|||
private BigDecimal currScore; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getRatingId() { |
|||
return ratingId; |
|||
} |
|||
|
|||
public void setRatingId(String ratingId) { |
|||
this.ratingId = ratingId; |
|||
} |
|||
|
|||
public String getTestStep() { |
|||
return testStep; |
|||
} |
|||
|
|||
public void setTestStep(String testStep) { |
|||
this.testStep = testStep; |
|||
} |
|||
|
|||
public Integer getTestMaxNum() { |
|||
return testMaxNum; |
|||
} |
|||
|
|||
public void setTestMaxNum(Integer testMaxNum) { |
|||
this.testMaxNum = testMaxNum; |
|||
} |
|||
|
|||
public Integer getCurrNum() { |
|||
return currNum; |
|||
} |
|||
|
|||
public void setCurrNum(Integer currNum) { |
|||
this.currNum = currNum; |
|||
} |
|||
|
|||
public BigDecimal getCurrScore() { |
|||
return currScore; |
|||
} |
|||
|
|||
public void setCurrScore(BigDecimal currScore) { |
|||
this.currScore = currScore; |
|||
} |
|||
} |
@ -0,0 +1,78 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import org.flowable.engine.runtime.ProcessInstance; |
|||
|
|||
/** |
|||
* 流程服务处理 |
|||
* @author dhb |
|||
*/ |
|||
public interface BusiProcessService { |
|||
/** |
|||
* 评级启动审批处理流程 |
|||
* @param category 流程类型 |
|||
* @param assignee 处理人 |
|||
* @param businessKey 业务主键 |
|||
* @param desc 描述 |
|||
*/ |
|||
<T> ProcessInstance startProcess(String category,String assignee,String businessKey, String fronted, String desc,Class<T> clazz) throws Exception; |
|||
|
|||
// /**
|
|||
// * 根据业务主键,获得带条件判断的按钮
|
|||
// * @param businessKey 业务主键
|
|||
// */
|
|||
// List<Goback> findGoBacksByBusinessKey(String businessKey) throws Exception;
|
|||
//
|
|||
// /**
|
|||
// * 根据临时数据获得按钮
|
|||
// * @param param
|
|||
// * @return
|
|||
// * @throws Exception
|
|||
// */
|
|||
// List<Goback> transientFindGoBacks(Map<String, Object> param) throws Exception;
|
|||
|
|||
// /**
|
|||
// * 根据业务主键,获取其所在流程下一任务可选处理人列表
|
|||
// * @param businessKey 业务主键
|
|||
// */
|
|||
// Map<String,Object> findNextTaskCandidates(String businessKey) throws Exception;
|
|||
//
|
|||
// /**
|
|||
// * 根据流程值操作
|
|||
// * @param businessKey 业务主键
|
|||
// * @param opaVal 流程值
|
|||
// * @param assignees 指定人
|
|||
// * @param opinionId 意见主键
|
|||
// */
|
|||
// void goBackOperate(String businessKey, Integer opaVal, List<String> assignees, String opinionId) throws Exception;
|
|||
//
|
|||
// /**
|
|||
// * 根据业务主键撤销流程
|
|||
// * @param businessKey
|
|||
// */
|
|||
// void cancelProcess(String businessKey);
|
|||
//
|
|||
// /**
|
|||
// * 检查是否存在进行中流程
|
|||
// * @param businessKey
|
|||
// * @return
|
|||
// */
|
|||
// boolean isExistProcess(String businessKey);
|
|||
//
|
|||
// /**
|
|||
// * 业务主键获取当前任务角色名
|
|||
// * @param businessKey
|
|||
// * @return
|
|||
// */
|
|||
// String findCurrentTaskName(String businessKey);
|
|||
// String findCurrentAssignee(String procInstId);
|
|||
// String findCurrentAssigneeName(String procInstId);
|
|||
//
|
|||
// /**
|
|||
// * 获取该用户处理过的某类业务主键
|
|||
// * @param userNo
|
|||
// * @return
|
|||
// */
|
|||
// List<String> findRelatedBusiness(String category, String userNo);
|
|||
//
|
|||
// Map<String,Object> transientFindNextTaskCandidates(Map<String, Object> param) throws Exception;
|
|||
} |
@ -0,0 +1,13 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import io.sc.platform.orm.service.support.QueryParameter; |
|||
import irbs.cust.rating.jpa.entity.CompanyCustomer; |
|||
import irbs.cust.rating.jpa.repository.CompanyCustomerRepository; |
|||
import irbs.cust.rating.jpa.vo.CompanyCustomerVo; |
|||
import org.springframework.data.domain.Page; |
|||
|
|||
public interface CompanyCustomerService extends DaoService<CompanyCustomer, String, CompanyCustomerRepository> { |
|||
|
|||
public Page<CompanyCustomerVo> pageQuery(QueryParameter queryParameter) throws Exception; |
|||
} |
@ -1,9 +1,45 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import io.sc.platform.orm.service.support.QueryParameter; |
|||
import irbs.cust.rating.jpa.entity.CompanyRating; |
|||
import irbs.cust.rating.jpa.entity.RatingIndex; |
|||
import irbs.cust.rating.jpa.entity.RatingOverturn; |
|||
import irbs.cust.rating.jpa.repository.CompanyRatingRepository; |
|||
import irbs.cust.rating.jpa.vo.CompanyRatingVo; |
|||
import org.springframework.data.domain.Page; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface CompanyRatingService extends DaoService<CompanyRating, String, CompanyRatingRepository> { |
|||
|
|||
public Page<CompanyRatingVo> pageQuery(QueryParameter queryParameter) throws Exception; |
|||
|
|||
public CompanyRating generateRating(String custNo) throws Exception; |
|||
|
|||
public CompanyRating startRating(String ratingId) throws Exception; |
|||
|
|||
void sendRatingStatus(CompanyRating companyRating) throws Exception; |
|||
|
|||
void updRatingStep(CompanyRating rating, String step) throws Exception; |
|||
|
|||
public CompanyRating stepQuan(String ratingId,String page) throws Exception; |
|||
|
|||
public CompanyRating stepQual(String ratingId, String page) throws Exception; |
|||
|
|||
public String qualSaveIndices(List<RatingIndex> indices) throws Exception; |
|||
|
|||
public CompanyRating stepInitRating(String ratingId, String page) throws Exception; |
|||
|
|||
public CompanyRating stepAdj(String ratingId, String page) throws Exception; |
|||
|
|||
public void saveIndices(List<RatingIndex> indices) throws Exception; |
|||
|
|||
public CompanyRating stepRatingOverturn(String ratingId, String page) throws Exception; |
|||
|
|||
public RatingOverturn saveRatingOverturn(RatingOverturn overturn) throws Exception; |
|||
|
|||
public CompanyRating stepRatingReport(String ratingId) throws Exception; |
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.CreditFinanceResult; |
|||
import irbs.cust.rating.jpa.entity.Industry; |
|||
import irbs.cust.rating.jpa.repository.CreditFinanceResultRepository; |
|||
import irbs.cust.rating.jpa.repository.IndustryRepository; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface CreditFinanceResultService extends DaoService<CreditFinanceResult, String, CreditFinanceResultRepository> { |
|||
|
|||
List<CreditFinanceResult> creditFinanceResultCalculate(String custId, String reportId, String custNo); |
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.CreditInvestResult; |
|||
import irbs.cust.rating.jpa.repository.CreditInvestResultRepository; |
|||
|
|||
public interface CreditInvestResultService extends DaoService<CreditInvestResult, String, CreditInvestResultRepository> { |
|||
|
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.CreditReport; |
|||
import irbs.cust.rating.jpa.repository.CreditReportRepository; |
|||
|
|||
public interface CreditReportService extends DaoService<CreditReport, String, CreditReportRepository> { |
|||
|
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.DebtGrade; |
|||
import irbs.cust.rating.jpa.repository.DebtGradeRepository; |
|||
|
|||
public interface DebtGradeService extends DaoService<DebtGrade, String, DebtGradeRepository> { |
|||
|
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.FinanceReportDetail; |
|||
import irbs.cust.rating.jpa.repository.FinanceReportDetailRepository; |
|||
|
|||
public interface FinanceReportDetailService extends DaoService<FinanceReportDetail, String, FinanceReportDetailRepository> { |
|||
|
|||
} |
@ -0,0 +1,7 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import irbs.cust.rating.jpa.entity.RatingCompanyCustomer; |
|||
|
|||
public interface FinanceReportIndexService { |
|||
void calculateFinanceIndex(RatingCompanyCustomer customer) throws Exception; |
|||
} |
@ -0,0 +1,9 @@ |
|||
package irbs.cust.rating.service; |
|||
|
|||
import io.sc.platform.orm.service.DaoService; |
|||
import irbs.cust.rating.jpa.entity.FinanceReportResult; |
|||
import irbs.cust.rating.jpa.repository.FinanceReportResultRepository; |
|||
|
|||
public interface FinanceReportResultService extends DaoService<FinanceReportResult, String, FinanceReportResultRepository> { |
|||
|
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue