Commit 1b27d10d authored by wdy's avatar wdy

Merge branch 'wangdingyi' into 'dev'

查询标准下检验项添加value值

See merge request !328
parents 8dd2736a 6f9e16e9
......@@ -6,4 +6,6 @@ import lombok.Data;
public class DictDataVO {
private Long dictCode;
private String dictValue;
}
......@@ -10,7 +10,8 @@
<result property="dictCode" column="dict_code" jdbcType="BIGINT"/>
</resultMap>
<select id="getListByStandardId" resultType="com.ruoyi.domain.vo.DictDataVO">
SELECT dict_code FROM t_standard_inspection_item_relation
SELECT sir.dict_code, dict_value as dictValue FROM t_standard_inspection_item_relation sir
LEFT JOIN sys_dict_data sdt on sdt.dict_code = sir.dict_code
WHERE standard_id = #{standardId}
</select>
<select id="getListByStandard" resultType="com.ruoyi.domain.StandardInspectionItemRelation">
......
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