2023-09-13 19:08:38 +08:00
|
|
|
package com.ruoyi.wisdomarbitrate.mapper;
|
|
|
|
|
|
2023-09-26 14:52:17 +08:00
|
|
|
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
2023-09-13 19:08:38 +08:00
|
|
|
import com.ruoyi.wisdomarbitrate.domain.CaseAttach;
|
2023-10-31 19:15:46 +08:00
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
2023-10-19 14:05:15 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
2023-09-13 19:08:38 +08:00
|
|
|
|
2023-09-14 18:42:55 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
2023-10-31 19:15:46 +08:00
|
|
|
@Mapper
|
2023-09-13 19:08:38 +08:00
|
|
|
public interface CaseAttachMapper {
|
|
|
|
|
int save(CaseAttach caseAttach);
|
2023-09-14 18:42:55 +08:00
|
|
|
|
2023-10-31 19:15:46 +08:00
|
|
|
List<CaseAttach> queryAnnexPathByCaseId(Long id);
|
2023-09-26 14:52:17 +08:00
|
|
|
|
|
|
|
|
List<CaseAttach> queryCaseAttachList(CaseApplication caseApplication);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int updateCaseAttach(CaseAttach caseAttach);
|
2023-10-15 10:16:48 +08:00
|
|
|
|
|
|
|
|
int updateCaseAttachBycaseid(CaseAttach caseAttach);
|
|
|
|
|
|
2023-10-19 14:05:15 +08:00
|
|
|
int deleteByFileIds(@Param("ids") List<Integer> fileIds);
|
2023-10-31 19:15:46 +08:00
|
|
|
|
|
|
|
|
List<CaseAttach> getCaseAttachByCaseIdAndType(CaseAttach caseAttach);
|
2023-11-10 18:08:30 +08:00
|
|
|
|
|
|
|
|
CaseAttach queryAnnexById(Integer annexId);
|
2023-09-13 19:08:38 +08:00
|
|
|
}
|