Merge branch 'dev2'
commit
549b8935df
|
@ -59,7 +59,7 @@ public class OrdersController {
|
|||
* @param ordersUpdReq
|
||||
* @return
|
||||
*/
|
||||
@PutMapping("/updateOrders")
|
||||
@PostMapping("/updateOrders")
|
||||
@Operation(summary = "修改订单", description = "根据ordersid查找订单进行修改")
|
||||
Result updateOrders(@Validated @RequestBody OrdersUpdReq ordersUpdReq){
|
||||
Result result = orderShowService.updateOrders(ordersUpdReq);
|
||||
|
@ -73,7 +73,7 @@ public class OrdersController {
|
|||
* @param ordersId
|
||||
* @return
|
||||
*/
|
||||
@PutMapping("/updateByeExist/{ordersId}")
|
||||
@PostMapping("/updateByeExist/{ordersId}")
|
||||
@Operation(summary = "逻辑删除订单", description = "根据orderid修改exist字段 1->0/(类似回收站)")
|
||||
Result updateByeExist (@Validated @PathVariable("ordersId") Integer ordersId){
|
||||
return orderShowService.updateByeExist(ordersId);
|
||||
|
@ -85,7 +85,7 @@ public class OrdersController {
|
|||
* @param ordersId
|
||||
* @return
|
||||
*/
|
||||
@PutMapping("/updateByExist/{ordersId}")
|
||||
@PostMapping("/updateByExist/{ordersId}")
|
||||
@Operation(summary = "逻辑复原订单", description = "根据orderid修改exist字段 0->1")
|
||||
Result updateByExist(@Validated @PathVariable("ordersId") Integer ordersId){
|
||||
return orderShowService.updateByExist(ordersId);
|
||||
|
@ -95,7 +95,7 @@ public class OrdersController {
|
|||
* 彻底删除(根据orderid删除数据库字段)
|
||||
* @return
|
||||
*/
|
||||
@DeleteMapping("/delByOrderId/{ordersId}")
|
||||
@PostMapping("/delByOrderId/{ordersId}")
|
||||
@Operation(summary = "彻底删除订单", description = "根据根据orderid删除数据库字段")
|
||||
Result delByOrderId(@Validated @PathVariable("ordersId") Integer ordersId){
|
||||
return orderShowService.delByOrderId(ordersId);
|
||||
|
|
|
@ -4,4 +4,5 @@ import com.muyu.cloud.market.domin.Orders;
|
|||
|
||||
public interface PayInfoService {
|
||||
Orders selectByordersNum(String ordersNum);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue