|
@@ -457,7 +457,46 @@ public class ProjectAuditServiceImpl extends ServiceImpl<ProjectAuditMapper, Pro
|
|
|
admitted = ProjectScoringModel.NOT_ADMITTED;
|
|
|
errors.add("注册(登记)地址不准入!");
|
|
|
}else {
|
|
|
- registeredAddressScore = ProjectScoringModel.REGISTERED_ADDRESS_RATIO.multiply(ProjectScoringModel.REGISTERED_ADDRESS_TANDARD);
|
|
|
+ if (address.contains("广东") || address.contains("江苏")) {
|
|
|
+ if (address.contains("深圳") || address.contains("广州") || address.contains("佛山") || address.contains("东莞")
|
|
|
+ || address.contains("东莞") || address.contains("东莞") || address.contains("东莞")
|
|
|
+ || address.contains("东莞") || address.contains("东莞") || address.contains("东莞")) {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_ONE);
|
|
|
+ } else {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_TWO);
|
|
|
+ }
|
|
|
+ } else if (address.contains("山东") || address.contains("浙江")) {
|
|
|
+ if (address.contains("青岛") || address.contains("济南") || address.contains("烟台")
|
|
|
+ || address.contains("杭州") || address.contains("宁波") || address.contains("温州")) {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_TWO);
|
|
|
+ } else {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_THREE);
|
|
|
+ }
|
|
|
+ } else if (address.contains("河南") || address.contains("四川") || address.contains("湖北") || address.contains("福建")
|
|
|
+ || address.contains("湖南") || address.contains("安徽") || address.contains("上海") || address.contains("河北") || address.contains("北京")) {
|
|
|
+ if(address.contains("郑州") || address.contains("成都") || address.contains("武汉")
|
|
|
+ || address.contains("福州") || address.contains("泉州") || address.contains("合肥")
|
|
|
+ || address.contains("唐山") || address.contains("长沙") || address.contains("北京") || address.contains("上海")){
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_THREE);
|
|
|
+ }else {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FORE);
|
|
|
+ }
|
|
|
+ }else if(address.contains("陕西") || address.contains("江西") || address.contains("重庆") ||address.contains("云南")
|
|
|
+ || address.contains("广西") || address.contains("山西") || address.contains("内蒙") || address.contains("贵州")){
|
|
|
+ if(address.contains("西安") || address.contains("重庆")){
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FORE);
|
|
|
+ }else {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FIVE);
|
|
|
+ }
|
|
|
+ }else if(address.contains("新疆") || address.contains("天津") || address.contains("甘肃") ){
|
|
|
+ if(address.contains("甘肃")){
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FIVE);
|
|
|
+ }else {
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_SIX);
|
|
|
+ }
|
|
|
+ }else if(address.contains("海南") || address.contains("宁夏") || address.contains("青海") ||address.contains("西藏")){
|
|
|
+ registeredAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_SEVEN);
|
|
|
+ }
|
|
|
}
|
|
|
projectOwnerScore.setRegisteredAddressScore(registeredAddressScore);
|
|
|
//经营地址得分
|
|
@@ -467,7 +506,46 @@ public class ProjectAuditServiceImpl extends ServiceImpl<ProjectAuditMapper, Pro
|
|
|
admitted = ProjectScoringModel.NOT_ADMITTED;
|
|
|
errors.add("经营地址不准入!");
|
|
|
}else {
|
|
|
- businessAddressScore = ProjectScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectScoringModel.BUSINESS_ADDRESS_TANDARD);
|
|
|
+ if (businessAddress.contains("广东") || businessAddress.contains("江苏")) {
|
|
|
+ if (businessAddress.contains("深圳") || businessAddress.contains("广州") || businessAddress.contains("佛山") || businessAddress.contains("东莞")
|
|
|
+ || businessAddress.contains("东莞") || businessAddress.contains("东莞") || businessAddress.contains("东莞")
|
|
|
+ || businessAddress.contains("东莞") || businessAddress.contains("东莞") || businessAddress.contains("东莞")) {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_ONE);
|
|
|
+ } else {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_TWO);
|
|
|
+ }
|
|
|
+ } else if (businessAddress.contains("山东") || businessAddress.contains("浙江")) {
|
|
|
+ if (businessAddress.contains("青岛") || businessAddress.contains("济南") || businessAddress.contains("烟台")
|
|
|
+ || businessAddress.contains("杭州") || businessAddress.contains("宁波") || businessAddress.contains("温州")) {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_TWO);
|
|
|
+ } else {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_THREE);
|
|
|
+ }
|
|
|
+ } else if (businessAddress.contains("河南") || businessAddress.contains("四川") || businessAddress.contains("湖北") || businessAddress.contains("福建")
|
|
|
+ || businessAddress.contains("湖南") || businessAddress.contains("安徽") || businessAddress.contains("上海") || businessAddress.contains("河北") || businessAddress.contains("北京")) {
|
|
|
+ if(businessAddress.contains("郑州") || businessAddress.contains("成都") || businessAddress.contains("武汉")
|
|
|
+ || businessAddress.contains("福州") || businessAddress.contains("泉州") || businessAddress.contains("合肥")
|
|
|
+ || businessAddress.contains("唐山") || businessAddress.contains("长沙") || businessAddress.contains("北京") || businessAddress.contains("上海")){
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_THREE);
|
|
|
+ }else {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FORE);
|
|
|
+ }
|
|
|
+ }else if(businessAddress.contains("陕西") || businessAddress.contains("江西") || businessAddress.contains("重庆") ||businessAddress.contains("云南")
|
|
|
+ || businessAddress.contains("广西") || businessAddress.contains("山西") || businessAddress.contains("内蒙") || businessAddress.contains("贵州")){
|
|
|
+ if(businessAddress.contains("西安") || businessAddress.contains("重庆")){
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FORE);
|
|
|
+ }else {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FIVE);
|
|
|
+ }
|
|
|
+ }else if(businessAddress.contains("新疆") || businessAddress.contains("天津") || businessAddress.contains("甘肃") ){
|
|
|
+ if(businessAddress.contains("甘肃")){
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_FIVE);
|
|
|
+ }else {
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_SIX);
|
|
|
+ }
|
|
|
+ }else if(businessAddress.contains("海南") || businessAddress.contains("宁夏") || businessAddress.contains("青海") ||businessAddress.contains("西藏")){
|
|
|
+ businessAddressScore = ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_RATIO.multiply(ProjectCoreEnterpriseScoringModel.BUSINESS_ADDRESS_TANDARD_SEVEN);
|
|
|
+ }
|
|
|
}
|
|
|
projectOwnerScore.setBusinessAddressScore(businessAddressScore);
|
|
|
//注册资本得分
|
|
@@ -511,20 +589,19 @@ public class ProjectAuditServiceImpl extends ServiceImpl<ProjectAuditMapper, Pro
|
|
|
projectOwnerScore.setEnterpriseNatureScore(enterpriseNatureScore);
|
|
|
//控股比例得分
|
|
|
BigDecimal holdingRatioScore = BigDecimal.ZERO;
|
|
|
- if (projectAuditInfo.getEnterpriseNature().equals(EnterpriseNatureDict.ChildEnum.ONE.getCode())) {
|
|
|
- holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_FIVE);
|
|
|
- }else if (projectAuditInfo.getEnterpriseNatureDetail() != null && (projectAuditInfo.getEnterpriseNatureDetail().equals("enterpriseNature_9_A") || projectAuditInfo.getEnterpriseNatureDetail().equals("enterpriseNature_9_B"))) {
|
|
|
-
|
|
|
+ if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.ONE.getCode())) {
|
|
|
+ admitted = ProjectScoringModel.NOT_ADMITTED;
|
|
|
+ errors.add("控股比例不准入!");
|
|
|
+ } else if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.TWO.getCode())) {
|
|
|
+ holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_TWO);
|
|
|
+ }else if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.THREE.getCode())){
|
|
|
+ holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_THREE);
|
|
|
+ }else if(projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.FORE.getCode())){
|
|
|
holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_FORE);
|
|
|
- }else {
|
|
|
- if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.ONE.getCode())) {
|
|
|
- admitted = ProjectScoringModel.NOT_ADMITTED;
|
|
|
- errors.add("控股比例不准入!");
|
|
|
- } else if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.TWO.getCode())) {
|
|
|
- holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_TWO);
|
|
|
- }else if (projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.THREE.getCode())){
|
|
|
- holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_THREE);
|
|
|
- }
|
|
|
+ }else if(projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.FIVE.getCode())){
|
|
|
+ holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_FIVE);
|
|
|
+ }else if(projectAuditInfo.getHoldingRatio().equals(HoldingRatioDict.ChildEnum.SIX.getCode())){
|
|
|
+ holdingRatioScore = ProjectScoringModel.HOLDING_RATIO.multiply(ProjectScoringModel.HOLDING_RATIO_STANDARD_SIX);
|
|
|
}
|
|
|
projectOwnerScore.setHoldingRatioScore(holdingRatioScore);
|
|
|
//股权层级得分
|