package org.jeecg.modules.apiService;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.apiBean.PageBean;
import org.jeecg.modules.apiBean.QueryTemplateBean;
import org.jeecg.modules.workorderGeneralStepfour.entity.WorkorderGeneralStepfour;
import org.jeecg.modules.workorderGeneralStepone.entity.WorkorderGeneralStepone;
import org.jeecg.modules.workorderGeneralStepthree.entity.WorkorderGeneralStepthree;
import org.jeecg.modules.workorderGeneralSteptwo.entity.WorkorderGeneralSteptwo;
import org.jeecg.modules.workorderParamStepfour.entity.WorkorderParamStepfour;
import org.jeecg.modules.workorderParamStepone.entity.WorkorderParamStepone;
import org.jeecg.modules.workorderParamStepthree.entity.WorkorderParamStepthree;
import org.jeecg.modules.workorderParamSteptwo.entity.WorkorderParamSteptwo;
import org.jeecg.modules.workorderTemplate.entity.WorkorderTemplate;

import java.util.List;

public interface TemplateService {

    /**
     * 工单信息-查询工单列表
     * @param templateBean
     * @param pageBean
     * @return
     */
    public Result<?> queryTemplateList(QueryTemplateBean templateBean, PageBean pageBean);


    /**
     * 工单信息-查询工单详情
     * @param templateId
     * @return
     */
    public Result<?> queryTemplateById(String templateId);

    /**
     * 工单信息-修改工单
     * @param workorderTemplate
     * @return
     */
    public Result<?> updateTemplate(WorkorderTemplate workorderTemplate);

    /**
     * 工单信息-工序卡1(选配)详情
     * @param templateId
     * @return
     */
    public Result<?> queryStepOne(String templateId);

    /**
     * 工单信息-工序卡2详情
     * @param templateId
     * @return
     */
    public Result<?> queryStepTwo(String templateId);

    /**
     * 工单信息-工序卡3详情
     * @param templateId
     * @return
     */
    public Result<?> queryStepThree(String templateId);

    /**
     * 工单信息-工序卡4(总成)详情
     * @param templateId
     * @return
     */
    public Result<?> queryStepFour(String templateId);

    /**
     * 工单信息-修改常规参数-工序卡1
     * @param generalStepone
     * @return
     */
    public Result<?> updateGeneralStepOne(WorkorderGeneralStepone generalStepone);

    /**
     * 工单信息-修改常规参数-工序卡2
     * @param generalSteptwo
     * @return
     */
    public Result<?> updateGeneralStepTwo(WorkorderGeneralSteptwo generalSteptwo);

    /**
     * 工单信息-修改常规参数-工序卡3
     * @param generalStepthree
     * @return
     */
    public Result<?> updateGeneralStepThree(WorkorderGeneralStepthree generalStepthree);

    /**
     * 工单信息-修改常规参数-工序卡4
     * @param generalStepfour
     * @return
     */
    public Result<?> updateGeneralStepFour(WorkorderGeneralStepfour generalStepfour);

    /**
     * 工单信息-修改工序参数-工序卡1
     * @param paramStepone
     * @return
     */
    public Result<?> updateParamStepOne(WorkorderParamStepone paramStepone);

    /**
     * 工单信息-修改工序参数-工序卡2
     * @param paramSteptwo
     * @return
     */
    public Result<?> updateParamStepTwo(WorkorderParamSteptwo paramSteptwo);

    /**
     * 工单信息-修改工序参数-工序卡3
     * @param paramStepthree
     * @return
     */
    public Result<?> updateParamStepThree(WorkorderParamStepthree paramStepthree);

    /**
     * 工单信息-修改工序参数-工序卡4
     * @param paramStepfour
     * @return
     */
    public Result<?> updateParamStepFour(WorkorderParamStepfour paramStepfour);

}
