Commit 6c37dadb authored by 麻笑宇's avatar 麻笑宇

25085 大屏-检验检测-右屏-检验检测机构公示-下钻-充装单位-区域陕西省数据显示后有两个// bug修改

parent d198fbf2
......@@ -88,7 +88,11 @@
resultType="com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto">
SELECT
*,
CONCAT(province,'/',city,'/',district) AS region,
TRIM(TRAILING '/' FROM CONCAT(
CASE WHEN COALESCE(province, '') <> '' THEN CONCAT(province, '/') ELSE '' END,
CASE WHEN COALESCE(city, '') <> '' THEN CONCAT(city, '/') ELSE '' END,
CASE WHEN COALESCE(district, '') <> '' THEN CONCAT(district, '/') ELSE '' END
)) AS region,
<if test=" tzBaseEnterpriseInfoDto.unitType.indexOf('使用单位')!=-1">
(SELECT cdd.name from amos_tzs_biz.cb_data_dictionary cdd WHERE cdd.code = industry_supervisor and cdd.type = 'HYZGBM') AS industrySupervisorName,
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment