智能仲裁后端服务

CaseAttachMapper.java 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. package com.ruoyi.wisdomarbitrate.mapper;
  2. import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
  3. import com.ruoyi.wisdomarbitrate.domain.CaseAttach;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. @Mapper
  8. public interface CaseAttachMapper {
  9. int save(CaseAttach caseAttach);
  10. int batchSave(@Param("list") List<CaseAttach> caseAttach);
  11. List<CaseAttach> queryAnnexPathByCaseId(Long id);
  12. List<CaseAttach> queryCaseAttachList(CaseApplication caseApplication);
  13. int updateCaseAttach(CaseAttach caseAttach);
  14. int updateCaseAttachBycaseid(CaseAttach caseAttach);
  15. int deleteByFileIds(@Param("ids") List<Integer> fileIds);
  16. List<CaseAttach> getCaseAttachByCaseIdAndType(CaseAttach caseAttach);
  17. CaseAttach queryAnnexById(Integer annexId);
  18. /**
  19. * 根据案件id和附件类型删除和上传类型
  20. * @param caseAppliId
  21. * @param annexType
  22. */
  23. void deleteByCasedIdAndType(@Param("caseAppliId")Long caseAppliId,@Param("annexType") int annexType,@Param("isBatchUpload") int isBatchUpload);
  24. }