Sfoglia il codice sorgente

修改直接判断为c的情况

nahida 1 anno fa
parent
commit
b7de2783bf

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

@@ -1017,16 +1017,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         SELECT DISTINCT e.*
         SELECT DISTINCT e.*
         FROM crm_high_tech_zone_enterprises e
         FROM crm_high_tech_zone_enterprises e
         WHERE e.unified_social_credit_code IN (
         WHERE e.unified_social_credit_code IN (
-        SELECT unified_social_credit_code FROM crm_emergency_other_penalty WHERE (penalty_reason LIKE '%非正常户%' OR  penalty_reason LIKE '%未办理税务登记%')
+        SELECT unified_social_credit_code FROM crm_business_abnormality WHERE (penalty_authority LIKE '%税务局%')
         UNION
         UNION
-        SELECT unified_social_credit_code FROM crm_business_abnormality  WHERE (listing_reason LIKE '%瞒报%' OR listing_reason LIKE '%谎报%' OR listing_reason LIKE '%漏报%'OR listing_reason LIKE '%挂牌督办%')
+        SELECT unified_social_credit_code FROM crm_major_work_safety_accidents  WHERE (notification_reason LIKE '%瞒报%' OR notification_reason LIKE '%谎报%' OR notification_reason LIKE '%漏报%'OR notification_reason LIKE '%挂牌督办%')
         UNION
         UNION
-        SELECT unified_social_credit_code FROM crm_market_regulation WHERE (punishment_reason LIKE '%暂扣许可证%'
-        OR punishment_reason LIKE '%吊销许可证%'
-        OR punishment_reason LIKE '%降低资质等级%'
-        OR punishment_reason LIKE '%责令停产停业%'
-        OR punishment_reason LIKE '%责令关闭%'
-        OR punishment_reason LIKE '%限制开展生产经营活动%')
+        SELECT unified_social_credit_code FROM crm_administrative_penalty WHERE (illegal_facts LIKE '%暂扣许可证%'
+        OR illegal_facts LIKE '%吊销许可证%'
+        OR illegal_facts LIKE '%降低资质等级%'
+        OR illegal_facts LIKE '%责令停产停业%'
+        OR illegal_facts LIKE '%责令关闭%'
+        OR illegal_facts LIKE '%限制开展生产经营活动%')
         UNION
         UNION
         SELECT unified_social_credit_code FROM crm_criminal_litigation_information WHERE (judgment_content LIKE '%生产销售伪劣产品%' OR judgment_content LIKE '%非法吸收公众存款%' OR judgment_content LIKE '%集资诈骗%' OR judgment_content LIKE '%非法经营%')
         SELECT unified_social_credit_code FROM crm_criminal_litigation_information WHERE (judgment_content LIKE '%生产销售伪劣产品%' OR judgment_content LIKE '%非法吸收公众存款%' OR judgment_content LIKE '%集资诈骗%' OR judgment_content LIKE '%非法经营%')
         )
         )