|
@@ -3,8 +3,10 @@ package org.jeecg.modules.openApi.controller;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.lang.StringUtils;
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
+import org.jeecg.common.aspect.annotation.AutoLog;
|
|
import org.jeecg.common.system.base.controller.JeecgController;
|
|
import org.jeecg.common.system.base.controller.JeecgController;
|
|
import org.jeecg.modules.openApi.entity.PurchaseWarehousing;
|
|
import org.jeecg.modules.openApi.entity.PurchaseWarehousing;
|
|
import org.jeecg.modules.openApi.entity.ResHttpStatus;
|
|
import org.jeecg.modules.openApi.entity.ResHttpStatus;
|
|
@@ -39,6 +41,7 @@ public class SubcontractingOrderController extends JeecgController<Subcontractin
|
|
/**
|
|
/**
|
|
* 根据订单号审核入库单(pda功能) 0000000003
|
|
* 根据订单号审核入库单(pda功能) 0000000003
|
|
*/
|
|
*/
|
|
|
|
+ @AutoLog(value = "根据二维码审核入库单 (pda功能)")
|
|
@RequestMapping(value = "/toExamine",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/toExamine",method = RequestMethod.POST)
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public ResponseEntity<ResHttpStatus> toExamine(@RequestBody JSONObject json) {
|
|
public ResponseEntity<ResHttpStatus> toExamine(@RequestBody JSONObject json) {
|
|
@@ -76,6 +79,7 @@ public class SubcontractingOrderController extends JeecgController<Subcontractin
|
|
/**
|
|
/**
|
|
* 根据订单号获取入库单详情 (pda功能) 0000000003
|
|
* 根据订单号获取入库单详情 (pda功能) 0000000003
|
|
*/
|
|
*/
|
|
|
|
+ @AutoLog(value = "根据二维码获取入库单详情 (pda功能)")
|
|
@RequestMapping(value = "/selectRdAllByBar",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/selectRdAllByBar",method = RequestMethod.POST)
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public ResponseEntity<ResHttpStatus> selectRdAllByBar(@RequestBody JSONObject json) {
|
|
public ResponseEntity<ResHttpStatus> selectRdAllByBar(@RequestBody JSONObject json) {
|
|
@@ -104,6 +108,7 @@ public class SubcontractingOrderController extends JeecgController<Subcontractin
|
|
/**
|
|
/**
|
|
* 根据订单号获取委外订单详情
|
|
* 根据订单号获取委外订单详情
|
|
*/
|
|
*/
|
|
|
|
+ @AutoLog(value = "根据订单号获取委外订单详情")
|
|
@RequestMapping(value = "/getSubcontractingOrderByCode",method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getSubcontractingOrderByCode",method = RequestMethod.GET)
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public ResponseEntity<ResHttpStatus> getSubcontractingOrderByCode(String code,String MoDetailsID, String key) {
|
|
public ResponseEntity<ResHttpStatus> getSubcontractingOrderByCode(String code,String MoDetailsID, String key) {
|
|
@@ -141,6 +146,7 @@ public class SubcontractingOrderController extends JeecgController<Subcontractin
|
|
/**
|
|
/**
|
|
* 合格入库单-验布机
|
|
* 合格入库单-验布机
|
|
*/
|
|
*/
|
|
|
|
+ @AutoLog(value = "插入合格入库单-验布机")
|
|
@RequestMapping(value = "/saveWarehousing",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/saveWarehousing",method = RequestMethod.POST)
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public ResponseEntity<ResHttpStatus> saveWarehousing(@RequestBody JSONArray json) {
|
|
public ResponseEntity<ResHttpStatus> saveWarehousing(@RequestBody JSONArray json) {
|