package org.jeecg.modules.mdc.service;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.mdc.entity.MdcShift;
|
import org.jeecg.modules.mdc.entity.MdcShiftSub;
|
|
import javax.servlet.http.HttpServletRequest;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @Description: 班制表(主表)
|
* @Author: Sake
|
* @Date: 2023-04-03 11:54
|
*/
|
|
public interface IMdcShiftService extends IService<MdcShift> {
|
|
/**
|
* 分页查询
|
* @param page
|
* @param mdcShift
|
* @return
|
*/
|
IPage<MdcShift> queryPageList(Page page, MdcShift mdcShift);
|
|
/**
|
* 新增班制
|
* @param mdcShift
|
* @return
|
*/
|
Boolean addShift(MdcShift mdcShift);
|
|
/**
|
* 新增时查询是否有重复数据
|
* @param mdcShift
|
* @return
|
*/
|
List<MdcShift> listMdcName(MdcShift mdcShift);
|
|
/**
|
* 修改
|
* @param mdcShift
|
* @return
|
*/
|
Boolean editShift(MdcShift mdcShift);
|
|
/**
|
* 根据id修改状态
|
* @param jsonObject
|
* @return
|
*/
|
Boolean changeStatus(JSONObject jsonObject);
|
|
/**
|
* 删除
|
* @param id
|
* @return
|
*/
|
Result<MdcShift> deleteShift(String id);
|
|
/**
|
* 加载班制下拉选项
|
* @return
|
*/
|
List<Map<String, String>> initShiftList();
|
|
}
|