译文原文问题(返回文件有名称重复,代码优化)

This commit is contained in:
gaojiabao
2023-03-14 11:34:20 +08:00
parent f398caa0eb
commit cf570dbe6c
7 changed files with 446 additions and 91 deletions
@@ -241,4 +241,15 @@
</if>
</select>
<update id="updateByIdInfo" >
update SAR_STAND_ATTR_INFO set FBGBJBD = #{fbgbjbd}, TRANSLATION = #{translation}
where stand_id = #{standId}
</update>
<select id="selectInfoStandId" resultType="java.lang.String" parameterType="java.lang.String">
SELECT id
FROM SAR_STAND_ATTR_INFO
WHERE stand_id = #{standId} and valid_flag=0
</select>
</mapper>
@@ -167,5 +167,15 @@
where id = #{id}
</update>
<update id="updateByIdInfo">
update SAR_BUSS_STAND_ATTR_INFO set FBGBUSS = #{fbgbuss}, TRANSLATION = #{translation}
where ID = #{id}
</update>
<!-- 查询字段及对应数据-->
<select id="selectInfoStandId" resultType="java.lang.String" parameterType="java.lang.String">
SELECT id
FROM SAR_BUSS_STAND_ATTR_INFO
WHERE valid_flag=0 and stand_id = #{standId}
</select>
</mapper>
@@ -1898,6 +1898,9 @@
left JOIN sar_stand_attr_info att on std.id = att.STAND_ID
where std.BUILD_ID is not null
and att.FBGBJBD is not null
<if test="type != null">
and std.STAND_TYPE = #{type}
</if>
</select>
<select id="OldSystemFile" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">