bug修复
This commit is contained in:
@@ -65,7 +65,16 @@
|
||||
<delete id="deleteCaseAttachByCasedIdAndType">
|
||||
delete from ms_case_attach
|
||||
where case_appli_id = #{caseAppliId}
|
||||
<if test="annexType != null ">
|
||||
and annex_type = #{annexType}
|
||||
</if>
|
||||
</delete>
|
||||
<delete id="batchDelete">
|
||||
delete from ms_case_attach
|
||||
where case_appli_id in
|
||||
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="queryCaseAttachList" resultMap="CaseAttachResult">
|
||||
|
||||
+4
@@ -150,4 +150,8 @@
|
||||
select m.* ,f.* from ms_template_manage m join ms_template_manage_file f on m.id=f.template_manage_id
|
||||
where m.id=#{id}
|
||||
</select>
|
||||
<select id="selectByCreditCode" resultType="java.lang.Long">
|
||||
select m.id from ms_dept_identify i join ms_template_manage m on m.identify_id=i.id
|
||||
where i.credit_code=#{creditCode} and i.del_flag=0 and i.identify_status=1 limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user