package com.jcdm.main.bs.orderScheduling.mapper;
|
|
import com.jcdm.main.bs.orderScheduling.Query.PrepareOnlineQuery;
|
import com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling;
|
import com.jcdm.main.da.passingStationCollection.domain.ProductNumVO;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.time.LocalDate;
|
import java.util.List;
|
|
/**
|
* 订单排产Mapper接口
|
*
|
* @author jiang
|
* @date 2024-01-13
|
*/
|
public interface BsOrderSchedulingMapper
|
{
|
/**
|
* 查询订单排产
|
*
|
* @param id 订单排产主键
|
* @return 订单排产
|
*/
|
public BsOrderScheduling selectBsOrderSchedulingById(Long id);
|
|
/**
|
* 查询订单排产
|
*
|
* @param sncode 订单排产发动机号
|
* @return 订单排产
|
*/
|
public BsOrderScheduling selectBsOrderSchedulingSNCode(String sncode);
|
|
/**
|
* 查询订单排产列表
|
*
|
* @param bsOrderScheduling 订单排产
|
* @return 订单排产集合
|
*/
|
public List<BsOrderScheduling> selectBsOrderSchedulingList(BsOrderScheduling bsOrderScheduling);
|
public List<BsOrderScheduling> selectBsOrderSchedulingListForNum(@Param("queryDate") String queryDate,@Param("addQueryDate") String addQueryDate);
|
|
public List<BsOrderScheduling> selectBsOrderSchedulingPage(BsOrderScheduling bsOrderScheduling);
|
|
|
public Integer getProduceNumToday(BsOrderScheduling bsOrderScheduling);
|
|
/**
|
* 查询合箱上线列表
|
*
|
* @param prepareOnlineQuery 订单排产
|
* @return 合箱上线列表
|
*/
|
public List<BsOrderScheduling> getPrepareOnlineList(PrepareOnlineQuery prepareOnlineQuery);
|
|
/**
|
* 新增订单排产
|
*
|
* @param bsOrderScheduling 订单排产
|
* @return 结果
|
*/
|
public int insertBsOrderScheduling(BsOrderScheduling bsOrderScheduling);
|
|
/**
|
* 修改订单排产
|
*
|
* @param bsOrderScheduling 订单排产
|
* @return 结果
|
*/
|
public int updateBsOrderScheduling(BsOrderScheduling bsOrderScheduling);
|
|
/**
|
* 删除订单排产
|
*
|
* @param id 订单排产主键
|
* @return 结果
|
*/
|
public int deleteBsOrderSchedulingById(Long id);
|
|
/**
|
* 批量删除订单排产
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteBsOrderSchedulingByIds(Long[] ids);
|
|
public List<ProductNumVO> getProductNum(@Param("queryDate") String queryDate,@Param("addQueryDate") String addQueryDate);
|
}
|