package com.yeejoin.amos.boot.module.jg.api.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeejoin.amos.boot.biz.common.bo.CompanyBo;
import com.yeejoin.amos.boot.biz.common.bo.ReginParams;
import com.yeejoin.amos.boot.module.jg.api.dto.JgTransferNoticeDto;
import com.yeejoin.amos.boot.module.jg.api.entity.JgTransferNotice;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 移装造告知接口类
 *
 * @author system_generator
 * @date 2023-12-19
 */
public interface IJgTransferNoticeService extends IService<JgTransferNotice> {

    Map<String, Map<String, Object>> queryBySequenceNbr(Long sequenceNbr, CompanyBo companyBo);

    JgTransferNoticeDto updateTransferNotice(String submitType, JgTransferNoticeDto noticeDto, String op);

    Page<Map<String,Object>> queryForJgTransferNoticePage(Page<JgTransferNotice> page,String sort, JgTransferNoticeDto model, String type, ReginParams reginParams,String client);

    Boolean deleteForBatch(Long[] sequenceNbrs);

    List<JgTransferNotice> saveNotice(String submitType, Map<String, Object> model, ReginParams reginParams);

    void generateTransferNoticeReport(Long sequenceNbr, HttpServletResponse response);

}
