add 标准预警-来源-字典翻译

This commit is contained in:
liao
2023-11-01 09:34:03 +08:00
parent 6072570ebe
commit 9a375fe6cb
2 changed files with 3 additions and 2 deletions
@@ -31,6 +31,7 @@ public class StandardEarlyWarning {
/**来源(国内/海外)*/ /**来源(国内/海外)*/
@Excel(name = "来源(国内/海外)", width = 15) @Excel(name = "来源(国内/海外)", width = 15)
@ApiModelProperty(value = "来源(国内/海外)") @ApiModelProperty(value = "来源(国内/海外)")
@Dict(dicCode = "standard_source")
private java.lang.String source; private java.lang.String source;
/**标准号/标准名称*/ /**标准号/标准名称*/
@@ -14,7 +14,7 @@
FROM FROM
( (
SELECT SELECT
'国内' AS source, '1' AS source,
lds.id, lds.id,
lds.standard_number, lds.standard_number,
lds.standard_name, lds.standard_name,
@@ -27,7 +27,7 @@
WHERE WHERE
lds.del_flag = 0 UNION lds.del_flag = 0 UNION
SELECT SELECT
'海外' AS source, '2' AS source,
los.id, los.id,
los.standard_number, los.standard_number,
los.standard_name, los.standard_name,