修改采购ui
This commit is contained in:
@@ -91,7 +91,7 @@ public class ErpPurchaseOrderController extends BaseController {
|
||||
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/{orderId}/confirm")
|
||||
public R<Void> confirm(@NotNull(message = "主键不能为空")
|
||||
@PathVariable Long orderId) {
|
||||
@PathVariable("orderId") Long orderId) {
|
||||
return toAjax(iErpPurchaseOrderService.confirmOrder(orderId, getUsername()));
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ public class ErpPurchaseOrderController extends BaseController {
|
||||
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/{orderId}/partial")
|
||||
public R<Void> partial(@NotNull(message = "主键不能为空")
|
||||
@PathVariable Long orderId) {
|
||||
@PathVariable("orderId") Long orderId) {
|
||||
return toAjax(iErpPurchaseOrderService.markPartialArrival(orderId));
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ public class ErpPurchaseOrderController extends BaseController {
|
||||
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/{orderId}/complete")
|
||||
public R<Void> complete(@NotNull(message = "主键不能为空")
|
||||
@PathVariable Long orderId) {
|
||||
@PathVariable("orderId") Long orderId) {
|
||||
return toAjax(iErpPurchaseOrderService.completeOrder(orderId));
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ public class ErpPurchaseOrderController extends BaseController {
|
||||
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/{orderId}/cancel")
|
||||
public R<Void> cancel(@NotNull(message = "主键不能为空")
|
||||
@PathVariable Long orderId) {
|
||||
@PathVariable("orderId") Long orderId) {
|
||||
return toAjax(iErpPurchaseOrderService.cancelOrder(orderId));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user