update 占桩订单优化

This commit is contained in:
Guoqs
2024-07-25 17:22:12 +08:00
parent 64f9797f82
commit ed7c0f5e5c
5 changed files with 69 additions and 2 deletions

View File

@@ -111,4 +111,14 @@ public class OrderPileOccupyController extends BaseController {
// {
// return toAjax(orderPileOccupyService.deleteByPrimaryKey(ids));
// }
/**
* 重新计算占桩金额
* retryCalculateOccupyPileOrderAmount
*/
@PreAuthorize("@ss.hasPermi('pile:occupy:edit')")
@PostMapping("/retryCalculateOccupyPileOrderAmount")
public AjaxResult retryCalculateOccupyPileOrderAmount(@RequestBody MakeOrderFreeDTO dto) {
return toAjax(orderPileOccupyService.retryCalculateOccupyPileOrderAmount(dto.getOccupyCode()));
}
}