修复了车型项目库标准删除不是关联标准id和项目id删除而是直接按照标准id删除标准的bug
This commit is contained in:
+4
-4
@@ -19,10 +19,10 @@
|
||||
</select>
|
||||
|
||||
<delete id="deleteByIds">
|
||||
delete from sar_stand_project_relation where stand_id in (
|
||||
<foreach collection="ids" item="list" separator=",">
|
||||
#{list}
|
||||
delete from sar_stand_project_relation where
|
||||
<foreach collection="ids" item="list" separator="or">
|
||||
( project_id= #{list.projectId} and stand_id = #{list.standId} )
|
||||
</foreach>
|
||||
)
|
||||
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user