429bug修复

This commit is contained in:
18792927508
2024-04-30 14:16:26 +08:00
parent 2299906c55
commit 8b490936aa
8 changed files with 132 additions and 78 deletions
@@ -61,6 +61,21 @@
</if>
</where>
</select>
<select id="listCaseAttachByCaseIdAndTypes" resultType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" resultMap="CaseAttachResult">
select *
from ms_case_attach
<where>
<if test="caseAppliId != null ">
AND case_appli_id = #{caseAppliId}
</if>
<if test="annexTypes != null and annexTypes.size()>0 ">
AND annex_type in
<foreach collection="annexTypes" item="annex_type" open="(" separator="," close=")">
#{annex_type}
</foreach>
</if>
</where>
</select>
<delete id="deleteCaseAttachByCasedIdAndType">
delete from ms_case_attach