//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.tohi.app.rest;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.*;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.Provider;

import org.apache.cxf.jaxrs.ext.multipart.Attachment;
import org.apache.cxf.jaxrs.ext.multipart.Multipart;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestBody;

@Provider
@Path("/pitask")
public interface pitaskSerice {
    @GET
    @Path("/GetPhoneManage")
    @Produces({"application/json"})
    Response GetPhoneManage(@QueryParam("PHONEID") String var1, @QueryParam("RoleID") String var2, @QueryParam("CompanyID") String var3);

    @GET
    @Path("/GetPhoneAPP")
    @Produces({"application/json"})
    Response GetPhoneAPP(@QueryParam("BB_ID") String var1, @QueryParam("CompanyID") String var2);

    @GET
    @Path("/downloadPA_ROLE")
    @Produces({"application/json"})
    Response downloadPA_ROLE(@QueryParam("CompanyID") String var1,@Context HttpServletResponse response);

    @GET
    @Path("/downloadPA_User")
    @Produces({"application/json"})
    Response downloadPA_User(@QueryParam("CompanyID") String var1, @QueryParam("RoleID") String var2,
                             @Context HttpServletResponse response);

    @GET
    @Path("/GetNotice/{postId}")
    @Produces({"application/json"})
    Response GetNotice(@PathParam("postId") String var1,@Context HttpServletResponse response);

    @GET
    @Path("/GetPItask")
    @Produces({"application/json"})
    String GetPItask(@QueryParam("POST_ID") String var1);

    @GET
    @Path("/DateTimeNow")
    @Produces({"application/json"})
    String DateTimeNow();

    @GET
    @Path("/downloadPA_ROUTINE_GROUP")
    @Produces({"application/json"})
    Response downloadPA_ROUTINE_GROUP(@QueryParam("US_CODE") String var1, @QueryParam("COMPANY_ID") String var2,
                                      @QueryParam("IfRole") String var3);

    @GET
    @Path("/downloadPA_ROUTINE")
    @Produces({"application/json"})
    Response downloadPA_ROUTINE(@QueryParam("US_CODE") String var1, @QueryParam("COMPANY_ID") String var2,
                                @QueryParam("IfRole") String var3);

    @POST
    @Path("/UploadingPA_DATA/{strContent}")
    @Produces({"application/json"})
    Response UploadingPA(@PathParam("strContent") String var1);

    @POST
    @Path("/UploadingPA_LSXJ")
    @Produces({"application/json"})
    Response UploadingPALS(@ModelAttribute("strContent") String var1);

    @GET
    @Path("/queryPiTask/{US_CODE}/{COMPANY_ID}")
    @Produces({"application/json"})
    Response queryPiTask(@PathParam("US_CODE") String var1, @PathParam("COMPANY_ID") String var2);

    @GET
    @Path("/checkUser/{loginid}/{password}")
    @Produces({"application/json"})
    Response checkUser(@PathParam("loginid") String var1, @PathParam("password") String var2,
                       @Context HttpServletResponse response);

    @GET
    @Path("/executeUpdate")
    @Produces({"application/json"})
    Response executeUpdate();

    @GET
    @Path("/downloadPA_ITEM_STATU/{US_CODE}")
    @Produces({"application/json"})
    Response queryPi_Item_Status(@PathParam("US_CODE") String var1);

    @POST
    @Path("/login")
    @Produces({"application/json"})
    @Consumes(MediaType.APPLICATION_JSON)
    Response Login(@RequestBody Map<String,String> userMap,@Context HttpServletResponse response);

    @GET
    @Path("/executeUpdate/{Listsql}")
    @Produces({"application/json"})
    Response executeUpdate(@PathParam("Listsql") List<String> var1);

    @GET
    @Path("/getNFCList/{areaName}")
    @Produces({"application/json"})
    Response getNFCList(@PathParam("areaName") String areaName,@Context HttpServletResponse response);

    @GET
    @Path("/getNFCDetail/{areaNum}")
    @Produces({"application/json"})
    Response getNFCDetail(@PathParam("areaNum") String areaNum,@Context HttpServletResponse response);

    @GET
    @Path("/getNFCList/")
    @Produces({"application/json"})
    Response getNFCList(@Context HttpServletResponse response);

    @POST
    @Path("/bindNFC")
    @Produces({"application/json"})
    @Consumes(MediaType.APPLICATION_JSON)
    Response bindNFC(@RequestBody Map<String,String> nfcMap,@Context HttpServletResponse response);

    @POST
    @Path("/springUpload")
    @Consumes({"multipart/form-data"})
    Response uploadFileList(List<Attachment> var1, @Context HttpServletRequest var2);

    @GET
    @Path("/downloadPA_Createpitask")
    @Produces({"application/json"})
    Response downloadPA_Createpitask(@QueryParam("US_CODE") String var1, @QueryParam("CompanyID") String var2,
                                     @QueryParam("personid") String var3);

    @POST
    @Path("/UploadHD")
    @Consumes({"multipart/form-data"})
    Response CreaUdbug(List<Attachment> var1, @Context HttpServletRequest var2);

    @GET
    @Path("/getTaskByPostId/{postId}/{status}")
    @Produces({"application/json"})
    Response getTaskByPostId(@PathParam("postId") String postId,@PathParam("status") String status,
                             @Context HttpServletResponse response);

    @GET
    @Path("/getRouteTaskByPostId/{postId}/{status}")
    @Produces({"application/json"})
    Response getRouteTaskByPostId(@PathParam("postId") String postId,@PathParam("status") String status,
                             @Context HttpServletResponse response);

    @POST
    @Path("/getTaskByRouteNum")
    @Produces({"application/json"})
    @Consumes(MediaType.APPLICATION_JSON)
    Response getTaskByRouteNum(@RequestBody Map<String,String> routeMap,@Context HttpServletResponse response);

    @GET
    @Path("/getAreaByTaskNum/{taskNum}/{status}/{page}")
    @Produces({"application/json"})
    Response getAreaByTaskNum(@PathParam("taskNum") String taskNum,@PathParam(value = "status") String status,
                              @PathParam(value = "page") String page,@Context HttpServletResponse response);

    @GET
    @Path("/getAreaByTaskNum/{taskNum}/{page}")
    @Produces({"application/json"})
    Response getAreaByTaskNum(@PathParam("taskNum") String taskNum,@PathParam(value = "page") String page,@Context HttpServletResponse response);

    @GET
    @Path("/getDeviceByAreaNum/{taskNum}/{areaNum}/{page}")
    @Produces({"application/json"})
    Response getDeviceByAreaNum(@PathParam("taskNum") String taskNum,@PathParam("areaNum") String areaNum,
                                @PathParam(value = "page") String page,@Context HttpServletResponse response);

    @GET
    @Path("/selectItemDetail/{taskNum}/{itemNum}")
    @Produces({"application/json"})
    Response selectItemDetail(@PathParam("taskNum") String taskNum,@PathParam("itemNum") String itemNum,
                              @Context HttpServletResponse response);

    @GET
    @Path("/getItemByDeviceNum/{taskNum}/{areaNum}/{deviceNum}/{page}")
    @Produces({"application/json"})
    Response getItemByDeviceNum(@PathParam("taskNum") String taskNum,@PathParam("areaNum") String areaNum,
                                @PathParam("deviceNum") String deviceNum,@PathParam(value = "page") String page,@Context HttpServletResponse response);

    @POST
    @Path("/punchCard")
    @Consumes(MediaType.APPLICATION_JSON)
    Response punchCard(@RequestBody Map<String,String> itemMap,@Context HttpServletResponse response);

    @GET
    @Path("/saveRecord/{taskNum}")
    @Produces({"application/json"})
    Response saveRecord(@PathParam("taskNum") String taskNum,@Context HttpServletResponse response);


    @GET
    @Path("/exemptFromInspection/{taskNum}/{areaNum}/{deviceNum}")
    @Produces({"application/json"})
    Response exemptFromInspection(@PathParam("taskNum") String taskNum,@PathParam("areaNum") String areaNum,
                                  @PathParam("deviceNum") String deviceNum,@Context HttpServletResponse response);

    @GET
    @Path("/getExemptFromInspectionItem/{taskNum}")
    @Produces({"application/json"})
    Response getExemptFromInspection(@PathParam("taskNum") String taskNum,
                                     @Context HttpServletResponse response);

    @GET
    @Path("/getConfig")
    @Produces({"application/json"})
    Response getConfig(@Context HttpServletResponse response);

    @GET
    @Path("/selectItemPicture/{taskNum}/{itemNum}")
    @Produces({"application/json"})
    Response selectItemPicture(@PathParam("taskNum") String taskNum,@PathParam("itemNum") String itemNum,
                              @Context HttpServletResponse response);

    @GET
    @Path("/selectNotFinishItemList/{taskNum}")
    @Produces({"application/json"})
    Response selectNotFinishItemList(@PathParam("taskNum") String taskNum,@Context HttpServletResponse response);

    @GET
    @Path("/selectExpItemList/{taskNum}")
    @Produces({"application/json"})
    Response selectExpItemList(@PathParam("taskNum") String taskNum,@Context HttpServletResponse response);

    @POST
    @Path("/updateItem")
    @Consumes(MediaType.APPLICATION_JSON)
    Response updateItem(@RequestBody Map<String,String> itemMap,@Context HttpServletResponse response);

    @POST
    @Path("/uploadPunchCardImg")
    @Consumes({"multipart/form-data"})
    Response uploadPunchCardImg(@FormParam("useCode") String useCode,@FormParam("taskNum") String taskNum,@FormParam("cardId") String cardId,
                                @FormParam("IsiOS") String IsiOS,@Multipart(value = "files") Attachment files,@Context HttpServletResponse response);

    @POST
    @Path("/uploadItemImg")
    @Consumes({"multipart/form-data"})
    Response uploadItemImg(@FormParam("useCode") String useCode,@FormParam("taskNum") String taskNum,@FormParam("itemNum") String itemNum,
                           @Multipart(value = "files") Attachment files,@Context HttpServletResponse response);


    @GET
    @Path("/previewImg/{imgUrl}")
    Response previewImg(@PathParam("imgUrl") String imgUrl,@Context HttpServletResponse response) throws IOException;

    @POST
    @Path("/getToken")
    @Produces({"application/json"})
    @Consumes(MediaType.APPLICATION_JSON)
    Response getToken(@RequestBody Map<String,String> userMap,@Context HttpServletResponse response);


        }



