package org.jeecg.modules.workOrder.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.regular.entity.Regular;
import org.jeecg.modules.workOrder.entity.WorkOrderModel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 工单模板
 * @Author: jeecg-boot
 * @Date:   2025-02-08
 * @Version: V1.0
 */
public interface IWorkOrderModelService extends IService<WorkOrderModel> {

    IPage<WorkOrderModel> queryPageList(Page<WorkOrderModel> page, QueryWrapper<WorkOrderModel> queryWrapper);

    List<Map<String,String>> queryModelMap();

    WorkOrderModel queryOne(Regular regular);
}
