|
@@ -213,4 +213,20 @@ public class PdaInMaterialController extends BaseApiController {
|
|
|
}
|
|
|
return success(pdaInMaterialService.saveBarAcceptCodeByParse(barcode, lotno, datecode, datas));
|
|
|
}
|
|
|
+
|
|
|
+ @RequestMapping(value = "/agvuplocation.action", method = RequestMethod.POST)
|
|
|
+ public ModelMap agvuplocation(String barcode,String location){
|
|
|
+ if (barcode == null||location==null) {
|
|
|
+ throw new APIErrorException(APIErrorCode.ILLEGAL_ARGUMENTS, "请勿传空数据");
|
|
|
+ }
|
|
|
+ return success(pdaInMaterialService.agvuplocation(barcode,location));
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(value = "/agvreturn.action", method = RequestMethod.POST)
|
|
|
+ public ModelMap agvreturn(String barcode,String agvlocation){
|
|
|
+ if (barcode == null||agvlocation==null) {
|
|
|
+ throw new APIErrorException(APIErrorCode.ILLEGAL_ARGUMENTS, "请勿传空数据");
|
|
|
+ }
|
|
|
+ return success(pdaInMaterialService.agvreturn(barcode,agvlocation));
|
|
|
+ }
|
|
|
}
|