|
@@ -3,11 +3,9 @@ package com.steerinfo.dil.controller;
|
|
|
import com.steerinfo.dil.service.impl.TmstruckSelfMachineService;
|
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -53,4 +51,28 @@ public class TmstruckSelfMachineController extends BaseRESTfulController {
|
|
|
Map<String,Object>map=tmstruckSelfMachineService.getDeliveryOrder(orderNumber);
|
|
|
return map;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @author:zyf
|
|
|
+ * @version:1.0
|
|
|
+ * @Date:2022-09-04
|
|
|
+ * @Description:
|
|
|
+ */
|
|
|
+ @PostMapping("/queryNumber")
|
|
|
+ public Map<String,Object> queryNumber(@RequestParam String orderNumber){
|
|
|
+ Map<String,Object> bigDecimal = tmstruckSelfMachineService.queryNumber(orderNumber);
|
|
|
+ return bigDecimal;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @author:zyf
|
|
|
+ * @version:1.0
|
|
|
+ * @Date:2022-09-04
|
|
|
+ * @Description:
|
|
|
+ */
|
|
|
+ @PostMapping("/changeNumber")
|
|
|
+ public void changeNumber(@RequestParam String orderNumber){
|
|
|
+ tmstruckSelfMachineService.changeNumber(orderNumber);
|
|
|
+
|
|
|
+ }
|
|
|
}
|