package org.jeecg.modules.mdc.service;
|
|
|
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.modules.mdc.entity.MdcEquipmentOvertime;
|
import org.springframework.web.servlet.ModelAndView;
|
|
import javax.servlet.http.HttpServletRequest;
|
import java.math.BigDecimal;
|
|
/**
|
* @Description: 设备加班管理
|
* @Author: Lius
|
* @Date: 2023-08-25
|
* @Version: V1.0
|
*/
|
public interface IMdcEquipmentOvertimeService extends IService<MdcEquipmentOvertime> {
|
|
/**
|
* 分页列表查询
|
*
|
* @param userId
|
* @param page
|
* @param mdcEquipmentOvertime
|
* @param req
|
* @return
|
*/
|
IPage<MdcEquipmentOvertime> pageList(String userId, Page<MdcEquipmentOvertime> page, MdcEquipmentOvertime mdcEquipmentOvertime, HttpServletRequest req);
|
|
/**
|
* 导出
|
*
|
* @param userId
|
* @param mdcEquipmentOvertime
|
* @return
|
*/
|
ModelAndView exportXls(String userId, MdcEquipmentOvertime mdcEquipmentOvertime);
|
|
/**
|
* 计算加班时间
|
*
|
* @param equipmentId
|
* @param validDate
|
* @return
|
*/
|
BigDecimal computeOvertime(String equipmentId, String validDate);
|
|
/**
|
* 添加
|
* @param mdcEquipmentOvertime
|
* @return
|
*/
|
boolean addOvertime(MdcEquipmentOvertime mdcEquipmentOvertime);
|
|
}
|