邵洋 1 rok temu
rodzic
commit
db3d4d9776

+ 2 - 2
zksy-admin/src/main/resources/application-druid.yml

@@ -31,9 +31,9 @@ spring:
     druid:
       # 主库数据源
       master:
-        url: jdbc:mysql://localhost:3306/credit_rating_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        url: jdbc:mysql://192.168.110.30:3307/credit_rating_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: root
-        password: 123456
+        password: 123
       # 从库数据源
       slave:
         # 从数据源开关/默认关闭

+ 4 - 4
zksy-system/src/main/resources/mapper/basicData/CrmHighTechZoneEnterprisesMapper.xml

@@ -975,14 +975,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         SELECT
         e.unified_social_credit_code AS unifiedSocialCreditCode,
         e.enterprise_name AS enterpriseName,-- 计算诉讼扣分
-        - LEAST( COUNT( cli.unified_social_credit_code ), 2 ) * 5 AS 检察案件刑事诉讼扣分,-- 存在诉讼记录每条扣5分,最多扣10分
+        - LEAST( COUNT( cli.unified_social_credit_code ), 2 ) * 5 AS criminalCaseLitigationDeduction,-- 存在诉讼记录每条扣5分,最多扣10分
         CASE
 
         WHEN COUNT( cde.unified_social_credit_code ) > 3 THEN
         -10 ELSE - LEAST( COUNT( cde.unified_social_credit_code ), 3 ) * 3
-        END AS 司法涉诉被执行人扣分,
-        - LEAST( COUNT( ja.unified_social_credit_code ), 5 ) * 1 AS 拍卖公告司法拍卖扣分,-- 合并扣分并限制最大扣分不超过10分
-        - LEAST( COUNT( cppsa.unified_social_credit_code ), 2 ) * 1 AS 公安公告行政处罚扣分,
+        END AS judicialExecutionDeduction,
+        - LEAST( COUNT( ja.unified_social_credit_code ), 5 ) * 1 AS auctionNoticeAuctionDeduction,-- 合并扣分并限制最大扣分不超过10分
+        - LEAST( COUNT( cppsa.unified_social_credit_code ), 2 ) * 1 AS policeNoticePenaltyDeduction,
         - LEAST( COUNT( cla.unified_social_credit_code ), 2 ) * 1 AS arbitrationInfoLaborArbitrationDeduction, -- 劳动仲裁使用裁决表
 
         10 - (