From 09841493bf38e0817bc1e4bd3046316785b348b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= Date: Fri, 8 Dec 2023 11:57:35 +0800 Subject: [PATCH] fix:79150 --- .../home/mapper/xml/LawsHomeSearchMapper.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/home/mapper/xml/LawsHomeSearchMapper.xml b/laws-modules/src/main/java/com/jero/modules/laws/home/mapper/xml/LawsHomeSearchMapper.xml index 7356af12..b8f6b40e 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/home/mapper/xml/LawsHomeSearchMapper.xml +++ b/laws-modules/src/main/java/com/jero/modules/laws/home/mapper/xml/LawsHomeSearchMapper.xml @@ -15,9 +15,9 @@ case when standard_state = 5 then 2 when standard_state = 6 then 1 when standard_state = 7 then 3 - else '' + else null end as standard_state_order, - standard_class,dynamic_type,applicable_vehicle,standard_property,standard_state,'' as standard_code,'' as grade_classification, + standard_class,dynamic_type,applicable_vehicle,standard_property,standard_state,null as standard_code,null as grade_classification, implementation_date from laws_domestic_standard where del_flag = 0 union all @@ -25,23 +25,23 @@ case when standard_state = 5 then 2 when standard_state = 6 then 1 when standard_state = 7 then 3 - else '' + else null end as standard_state_order, - standard_class,'',applicable_vehicle,'',standard_state,'','',implementation_date + standard_class,null,applicable_vehicle,null,standard_state,null,null,implementation_date from laws_overseas_standard where del_flag = 0 union all select id,'3' as resource_type,CONCAT_WS(' ',standard_number,standard_name) AS standard_name,create_time,6 as standard_type_order, case when standard_state = 5 then 2 when standard_state = 6 then 1 when standard_state = 7 then 3 - else '' + else null end as standard_state_order, - '','','','',standard_state,standard_code,grade_classification,implementation_date + null,null,null,null,standard_state,standard_code,grade_classification,implementation_date from laws_enterprise_standard where del_flag = 0 union all select id,'4' as resource_type,dynamic_heading as standard_name,create_time,9 as standard_type_order, - '' AS standard_state_order, - '','','','','','','','' + null AS standard_state_order, + null,null,null,null,null,null,null,null from laws_news_feed where del_flag = 0 ) as all_data