| 123456789101112131415161718192021222324252627282930313233343536 |
- package com.ruoyi.wisdomarbitrate.mapper;
-
- import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
- import com.ruoyi.wisdomarbitrate.domain.CaseAttach;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
-
- import java.util.List;
-
- @Mapper
- public interface CaseAttachMapper {
- int save(CaseAttach caseAttach);
- int batchSave(@Param("list") List<CaseAttach> caseAttach);
-
- List<CaseAttach> queryAnnexPathByCaseId(Long id);
-
- List<CaseAttach> queryCaseAttachList(CaseApplication caseApplication);
-
-
- int updateCaseAttach(CaseAttach caseAttach);
-
- int updateCaseAttachBycaseid(CaseAttach caseAttach);
-
- int deleteByFileIds(@Param("ids") List<Integer> fileIds);
-
- List<CaseAttach> getCaseAttachByCaseIdAndType(CaseAttach caseAttach);
-
- CaseAttach queryAnnexById(Integer annexId);
-
- /**
- * 根据案件id和附件类型删除和上传类型
- * @param caseAppliId
- * @param annexType
- */
- void deleteByCasedIdAndType(@Param("caseAppliId")Long caseAppliId,@Param("annexType") int annexType,@Param("isBatchUpload") int isBatchUpload);
- }
|