package com.mandi.webservice.service;
|
|
import javax.servlet.http.HttpServletRequest;
|
import javax.ws.rs.Consumes;
|
import javax.ws.rs.POST;
|
import javax.ws.rs.Path;
|
import javax.ws.rs.Produces;
|
import javax.ws.rs.core.Context;
|
import javax.ws.rs.core.MediaType;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
/**
|
* NC出库单对接分单系统
|
* 生产系统装车操作对接分单系统
|
*
|
*/
|
public interface IInvoiceService {
|
|
/**
|
* NC出库单
|
*/
|
@POST
|
@Consumes(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/action")
|
public String action(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
|
/**
|
* 生产系统装车提交明细
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/zcadd")
|
public String addLoading(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
|
/**
|
* 生产系统装车完成
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/zcfinish")
|
public String zcFinish(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
|
/**
|
* 生产系统装车删除明细
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/zcdel")
|
public String delLoading(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
|
|
/**
|
* 扫卡获得车辆信息
|
* @param r
|
* @return
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/getClInfo")
|
public String getVInfo(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
|
/**
|
* 扫卡获得车辆信息
|
* @param r
|
* @return
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/getxstdInfo")
|
public String getxstdInfo(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
/**
|
* 装车完成二次上磅
|
* @param r
|
* @return
|
*/
|
@POST
|
@Produces(MediaType.APPLICATION_JSON)
|
@Path("/savewdcontrol")
|
public String savewdControl(@Context HttpServletRequest r,@RequestBody String jsonParam);
|
}
|