You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
1.9 KiB
99 lines
1.9 KiB
package com.epmet.service;
|
|
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
import com.epmet.commons.tools.page.PageData;
|
|
import com.epmet.dto.IcNoticeDTO;
|
|
import com.epmet.dto.form.IcNoticeFormDTO;
|
|
import com.epmet.dto.form.SendNoticeFormDTO;
|
|
import com.epmet.entity.IcNoticeEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 防疫通知
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-03-28
|
|
*/
|
|
public interface IcNoticeService extends BaseService<IcNoticeEntity> {
|
|
|
|
/**
|
|
* 默认分页
|
|
*
|
|
* @param dto
|
|
* @return PageData<IcNoticeDTO>
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
PageData<IcNoticeDTO> page(IcNoticeFormDTO formDTO);
|
|
|
|
/**
|
|
* 默认查询
|
|
*
|
|
* @param params
|
|
* @return java.util.List<IcNoticeDTO>
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
List<IcNoticeDTO> list(Map<String, Object> params);
|
|
|
|
/**
|
|
* 单条查询
|
|
*
|
|
* @param id
|
|
* @return IcNoticeDTO
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
IcNoticeDTO get(String id);
|
|
|
|
/**
|
|
* 默认保存
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
void save(IcNoticeDTO dto);
|
|
|
|
/**
|
|
* 默认更新
|
|
*
|
|
* @param dto
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
void update(IcNoticeDTO dto);
|
|
|
|
/**
|
|
* 批量删除
|
|
*
|
|
* @param ids
|
|
* @return void
|
|
* @author generator
|
|
* @date 2022-03-28
|
|
*/
|
|
void delete(String[] ids);
|
|
|
|
/**
|
|
* 发送通知
|
|
*
|
|
* @Param formDTO
|
|
* @Return
|
|
* @Author zhaoqifeng
|
|
* @Date 2022/3/28 14:19
|
|
*/
|
|
void sendNotice(SendNoticeFormDTO formDTO);
|
|
|
|
/**
|
|
* 获取人员最新一条通知
|
|
* @Param idCard
|
|
* @Return {@link IcNoticeDTO}
|
|
* @Author zhaoqifeng
|
|
* @Date 2022/3/28 15:43
|
|
*/
|
|
IcNoticeDTO getNotice(String customerId, String idCard);
|
|
}
|