前后端联调
This commit is contained in:
+9
-2
@@ -49,7 +49,7 @@
|
||||
where case_appli_id =#{id}
|
||||
</select>
|
||||
|
||||
<select id="getCaseAttachByCaseIdAndType" resultType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" resultMap="CaseAttachResult">
|
||||
<select id="listCaseAttachByCaseIdAndType" resultType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" resultMap="CaseAttachResult">
|
||||
select annex_id,case_appli_id,annex_name,annex_path,annex_type,note,use_id,use_account
|
||||
from ms_case_attach
|
||||
<where>
|
||||
@@ -102,7 +102,15 @@
|
||||
case_appli_id= #{caseAppliId}
|
||||
where annex_id = #{annexId}
|
||||
</update>
|
||||
<update id="batchUpdate">
|
||||
<foreach collection="list" item="item" >
|
||||
update ms_case_attach
|
||||
set
|
||||
case_appli_id= #{item.caseAppliId}
|
||||
|
||||
where annex_id = #{item.annexId};
|
||||
</foreach>
|
||||
</update>
|
||||
<update id="updateCaseAttachBycaseid" parameterType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" >
|
||||
update ms_case_attach
|
||||
<set>
|
||||
@@ -120,5 +128,4 @@
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user