package com.yuanchu.mom.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
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;
|
import java.util.Map;
|
|
/**
|
* 生产订单表(ManufactureOrder)表服务接口
|
*
|
* @author zss
|
* @since 2023-08-17 14:16:25
|
*/
|
public interface ManufactureOrderService extends IService<ManufactureOrder> {
|
|
/**
|
* 查询生产订单列表
|
* @param page
|
* @param downTime
|
* @param delTime
|
* @param customerCode
|
* @param type
|
* @return
|
*/
|
IPage<Map<String, Object>> selectAllManord(Page<Object> page, String downTime, String delTime, String customerCode, Integer type);
|
|
/**
|
* 查看排产详情
|
* @param manOrdId
|
* @return
|
*/
|
ManufactureOrderDto sePros(Integer manOrdId);
|
|
/**
|
* 下达
|
* @param manOrdId
|
*/
|
void down(Integer manOrdId);
|
|
/**
|
* 批量删除
|
* @param manOrdId
|
*/
|
@Transactional(rollbackFor = Exception.class)
|
void deleteManufacture(List<String> manOrdId);
|
|
/**
|
* 生产计划二级树
|
* @return
|
*/
|
List<Map<String, Object>> towTree();
|
}
|