| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.mes.entity.MesProductionOrder; |
| | | import org.jeecg.modules.sap.dto.ProductionOrderDTO; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: SAP生产订单 |
| | |
| | | */ |
| | | public interface IMesProductionOrderService extends IService<MesProductionOrder> { |
| | | |
| | | /** |
| | | * SAP同步数据保存 |
| | | * @param productionOrderDTOList |
| | | * @return |
| | | */ |
| | | Map<String, MesProductionOrder> saveOrUpdateProductionOrder(List<ProductionOrderDTO> productionOrderDTOList); |
| | | |
| | | /** |
| | | * 根据订单号查询 |
| | | * @param orderCode |
| | | * @return |
| | | */ |
| | | MesProductionOrder getByOrderCode(String orderCode); |
| | | |
| | | /** |
| | | * 获取上次同步创建日期最新的日期 |
| | | * @return |
| | | */ |
| | | String getLastSyncCreateDate(); |
| | | |
| | | /** |
| | | *获取上次同步更新日期最新的日期 |
| | | * @return |
| | | */ |
| | | String getLastSyncUpdateDate(); |
| | | } |