| | |
| | | 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: 设备加班管理 |
| | |
| | | * @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); |
| | | |
| | | } |