package com.steerinfo.server;

import com.steerinfo.baseinfo.combaseinfo.model.ComBaseInfo;
import com.steerinfo.framework.controller.RESTfulResult;
import com.steerinfo.meterwork.metertolimsold.model.MeterToLimsOld;
import com.steerinfo.meterwork.meterworkstockonline.model.MeterWorkStockOnline;
import com.steerinfo.meterwork.meterworkstorageactual.model.MeterWorkStorageActual;
import com.steerinfo.util.CommonPage;


import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import java.util.List;

@WebService(targetNamespace = "http://server.subject.steerinfo.com")
public interface WebServer {
    //========eason add 2021-04-21==================
    /**
     * @MethodName: access数据
     * @Description meter_to_lims_old
     * @Author eason
     * @Date 2021/04/21 14:39
     **/
    @WebMethod
    @WebResult(name = "result")
    List<MeterToLimsOld> ExportAccess(@WebParam(name = "list") CommonPage<MeterToLimsOld> list);

    /**
     * @MethodName: access数据
     * @Description MeterWorkStorageActual
     * @Author eason
     * @Date 2021/06/08
     **/
    @WebMethod
    @WebResult(name = "result")
    List<MeterWorkStorageActual> doQueryTimeWf(@WebParam(name = "list") CommonPage<MeterWorkStorageActual> list);
    //==============================================

    @WebMethod
    @WebResult(name = "result")
    List<ComBaseInfo> doQueryComBaseInfoWf(@WebParam(name = "list") ComBaseInfo cbi);

    @WebMethod
    @WebResult(name = "result")
    List<MeterWorkStockOnline> doQueryStockOnlineWf(@WebParam(name = "list") MeterWorkStockOnline cbi);

    @WebMethod
    @WebResult(name = "result")
    RESTfulResult doAccessCuImpl(@WebParam(name = "list") List<MeterWorkStorageActual> cbi);

    @WebMethod
    @WebResult(name = "result")
    RESTfulResult doUpdateProAct(@WebParam(name = "list") List<MeterWorkStorageActual> cbi);

    @WebMethod
    @WebResult(name = "result")
    List<MeterWorkStorageActual> doQueryProAct(@WebParam(name = "list") CommonPage<MeterWorkStorageActual> cbi);
}
