package cn.stylefeng.guns.modular.zsx.pm.salesOrder.service; import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo; import cn.stylefeng.guns.modular.zsx.pm.salesOrder.entity.SalesOrder; import cn.stylefeng.guns.modular.zsx.pm.salesOrder.model.params.SalesOrderParam; import cn.stylefeng.guns.modular.zsx.pm.salesOrder.model.result.SalesOrderResult; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** *

* 生产订单 服务类 *

* * @author ruimin * @since 2023-08-26 */ public interface SalesOrderService extends IService { /** * 新增 * * @author ruimin * @Date 2023-08-26 */ void add(SalesOrderParam param); /** * 删除 * * @author ruimin * @Date 2023-08-26 */ void delete(SalesOrderParam param); /** * 更新 * * @author ruimin * @Date 2023-08-26 */ void update(SalesOrderParam param); /** * 查询单条数据,Specification模式 * * @author ruimin * @Date 2023-08-26 */ SalesOrderResult findBySpec(SalesOrderParam param); /** * 查询列表,Specification模式 * * @author ruimin * @Date 2023-08-26 */ List findListBySpec(SalesOrderParam param); /** * 查询分页数据,Specification模式 * * @author ruimin * @Date 2023-08-26 */ LayuiPageInfo findPageBySpec(SalesOrderParam param); LayuiPageInfo breakDownOrders(SalesOrderParam param); void DistributeSalesOrder(SalesOrderParam salesOrderParam); }