劳务协议服务接口
/**
- 解除劳务协议
- @param agreeId
- @param agree
- @throws SerException */ void remove(String agreeId, AgreeStatus agree) throws SerException;
/**
- 根据id查询劳务协议
- @param id
- @return class LabourContractBO
- @throws SerException */ LabourContractBO findByID(String id) throws SerException;
/**
- 汇总
- @param labourContractDTO
- @return class LabourContractBO
- @throws SerException
*/
List
collect(LabourContractDTO labourContractDTO) throws SerException;
/**
- 查询记录总数
- @param labourContractDTO
- @return class LabourContractBO
- @throws SerException */ Long count(LabourContractDTO labourContractDTO) throws SerException;
/**
- 导入
- @param labourContracts
- @return class LabourContractBO
- @throws SerException
*/
void leadExcel(List
labourContracts) throws SerException;
/**
- 导出
- @param dto
- @return
- @throws SerException */ byte[] exportExcel(LabourContractDTO dto) throws SerException;
/**
- 上传附件
- @param id
- @param name
- @throws SerException */ void upload(String id, String name, byte[] bytes) throws SerException;
/**
- 根据id查询附件
- @param id
- @return
- @throws SerException
*/
List
listFile(String id) throws SerException;
/**
- 根据id查询附件
- @param id
- @return
- @throws SerException */ byte[] download(String id) throws SerException;
/**
- 根据id查询附件名
- @param id
- @return
- @throws SerException */ String findName(String id) throws SerException;
/**
- 根据id删除附件
- @param id
- @throws SerException */ void delete(String id) throws SerException;
}
原文地址: https://www.cveoy.top/t/topic/lfDZ 著作权归作者所有。请勿转载和采集!