package cn.stylefeng.guns.modular.zsx.pm.workOrder.service;
|
|
import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
|
import cn.stylefeng.guns.modular.zsx.pm.workOrder.entity.WorkOrder;
|
import cn.stylefeng.guns.modular.zsx.pm.workOrder.model.params.WorkOrderParam;
|
import cn.stylefeng.guns.modular.zsx.pm.workOrder.model.result.WorkOrderResult;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 生产工单 服务类
|
* </p>
|
*
|
* @author ruimin
|
* @since 2023-08-26
|
*/
|
public interface WorkOrderService extends IService<WorkOrder> {
|
|
/**
|
* 新增
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
void add(WorkOrderParam param);
|
|
/**
|
* 删除
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
void delete(WorkOrderParam param);
|
|
/**
|
* 更新
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
void update(WorkOrderParam param);
|
|
/**
|
* 查询单条数据,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
WorkOrderResult findBySpec(WorkOrderParam param);
|
|
/**
|
* 查询列表,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
List<WorkOrderResult> findListBySpec(WorkOrderParam param);
|
|
/**
|
* 查询分页数据,Specification模式
|
*
|
* @author ruimin
|
* @Date 2023-08-26
|
*/
|
LayuiPageInfo findPageBySpec(WorkOrderParam param);
|
|
String getOrderCode();
|
}
|