| | |
| | | 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.MdcStandardProcessDuration; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @Description: 标准加工时间表 |
| | | * @Description: 标准加工时间 |
| | | * @Author: Lius |
| | | * @Date: 2023-07-17 |
| | | * @Date: 2024-07-08 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IMdcStandardProcessDurationService extends IService<MdcStandardProcessDuration> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * 根据设备id计算标准加工时间 |
| | | * |
| | | * @param userId |
| | | * @param page |
| | | * @param mdcStandardProcessDuration |
| | | * @param req |
| | | * @param equipmentId |
| | | * @param validDate |
| | | * @return |
| | | */ |
| | | IPage<MdcStandardProcessDuration> pageList(String userId, Page<MdcStandardProcessDuration> page, MdcStandardProcessDuration mdcStandardProcessDuration, HttpServletRequest req); |
| | | |
| | | /** |
| | | * 导出 |
| | | * |
| | | * @param userId |
| | | * @param mdcStandardProcessDuration |
| | | * @return |
| | | */ |
| | | ModelAndView exportXls(String userId, MdcStandardProcessDuration mdcStandardProcessDuration); |
| | | |
| | | /** |
| | | * 添加 |
| | | * |
| | | * @param mdcStandardProcessDuration |
| | | * @return |
| | | */ |
| | | boolean addData(MdcStandardProcessDuration mdcStandardProcessDuration); |
| | | |
| | | BigDecimal findByEquipmentId(String equipmentId, String validDate); |
| | | } |