12.1bug修复
This commit is contained in:
+19
@@ -39,6 +39,17 @@
|
||||
</if>
|
||||
</update>
|
||||
|
||||
<update id="updateByProjectIdBath">
|
||||
update sar_stand_project_library
|
||||
<if test="id != null">
|
||||
set detailed_list_version = #{version} where id in
|
||||
<foreach collection="ids" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
|
||||
</if>
|
||||
</update>
|
||||
|
||||
<select id="selectCount" resultType="java.lang.Integer">
|
||||
SELECT
|
||||
count(
|
||||
@@ -349,4 +360,12 @@
|
||||
<select id="getAllStand" resultType="java.lang.String">
|
||||
SELECT DISTINCT ID FROM sar_standards_info where VALID_FLAG=0
|
||||
</select>
|
||||
<select id="selectListByids" resultType="java.lang.String">
|
||||
select distinct sar_stand_project_relation.project_id as projectId
|
||||
from sar_stand_project_relation
|
||||
where sar_stand_project_relation.stand_id in
|
||||
<foreach collection="ids" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user