فهرست منبع

APS二开服务业务数据转换模型数据

fangpy 1 سال پیش
والد
کامیت
594a1e3917

+ 3 - 8
cx-aps/cx-aps-server/src/main/java/com/rongwei/bsserver/controller/ApsBlankOrderController.java

@@ -6,10 +6,7 @@ import com.rongwei.bsentity.vo.ApsPlanVo;
 import com.rongwei.bsentity.vo.OrderLockVo;
 import com.rongwei.rwcommon.base.R;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 /**
  * <p>
@@ -40,12 +37,10 @@ public class ApsBlankOrderController {
 
     /**
      * 重新排程
-     *
-     * @param apsPlanVo
      * @return
      */
-    @PostMapping("/apsReScheduling")
-    public R apsReScheduling(@RequestBody ApsPlanVo apsPlanVo) throws Exception {
+    @GetMapping("/apsReScheduling")
+    public R apsReScheduling() throws Exception {
         apsBlankOrderService.apsReScheduling();
         return R.ok();
     }