XiaoRuby
2023-09-01 8e39c9bbf8a8bb4707f2a766295b40497ae96706
production-server/src/main/java/com/yuanchu/mom/service/ManufactureOrderService.java
@@ -4,7 +4,6 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.ManufactureOrder;
import com.yuanchu.mom.pojo.dto.ManufactureOrderDto;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@@ -31,16 +30,17 @@
    /**
     * 查看排产详情
     * @param manOrdId
     * @param schedulingId
     * @return
     */
    ManufactureOrderDto sePros(Integer manOrdId);
    Map<String, Object> sePros(Integer schedulingId);
    /**
     * 下达
     * @param manOrdId
     * @param manufactureOrderId 订单Id
     * @param schedulingId 排产Id
     */
    void down(Integer manOrdId);
    void down(Integer manufactureOrderId, Integer schedulingId);
    /**
     * 批量删除
@@ -54,5 +54,12 @@
     * @return
     */
    List<Map<String, Object>> towTree();
    /**
     * 判断输入数量是否超出
     * @param manOrdId 订单Id
     * @param schedulingNumber 用户输入数量
     */
    Integer checkScheduled(Integer manOrdId, Integer schedulingNumber);
}