feat: 国内外标准 反向标准显示逻辑

This commit is contained in:
super_liu
2021-07-30 00:48:48 +08:00
parent 474fe6fd45
commit d7f3fc9f95
7 changed files with 101 additions and 12 deletions
@@ -197,6 +197,17 @@
WHERE valid_flag=0 and stand_id = #{standId, jdbcType=VARCHAR}
</select>
<!-- 查询字段及对应数据 List<Map>-->
<select id="selectStandFieldAndDataListMap" resultType="Map">
SELECT ${fieldInfo},ID
FROM SAR_STAND_ATTR_INFO
WHERE valid_flag=0
and stand_id in
<foreach collection="ids" index="index" item="item" open="(" separator="," close=")">
#{item, jdbcType=VARCHAR}
</foreach>
</select>
<insert id="insertStandAttr" parameterType="java.lang.String" >
insert into SAR_STAND_ATTR_INFO(${fieldInfo})
values (${fieldValue})
@@ -395,7 +395,7 @@
<if test="country != null and country != ''">
and country = #{country}
</if>
<!-- 标准编号 -->
<!-- 标准编号111 -->
<if test="standNumber != null and standNumber != ''">
and (
(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER,'-',