fix: 体系搜索,国内海外标准将标准状态换成文本状态

This commit is contained in:
wxyclub
2023-11-28 10:52:22 +08:00
parent 727734e9fc
commit c53476bc57
3 changed files with 16 additions and 8 deletions
@@ -177,9 +177,11 @@
<select id="getStandInfoSystemData" resultType="com.adc.da.slrs.sarMenuStandard.entity.StandSystemDTO">
SELECT
gb.ID AS standId,
CONCAT(gb.STAND_SORT, ' ', gb.STAND_NUMBER) AS standNo,
CONCAT(gb.STAND_SORT, ' ', ifnull(gb.STAND_NUMBER,''),
case when gb.STAND_YEAR is not null and gb.STAND_YEAR!= '' then concat('-',gb.STAND_YEAR) else '' end) AS standNo,
gb.STAND_NAME AS standName,
gb.STAND_STATE AS standState,
gb.TEXT_STATUS AS textStatus,
CASE
WHEN gb.ISSUE_TIME = '' THEN NULL
ELSE gb.ISSUE_TIME