应付配置的附加费配置完善
This commit is contained in:
+6
-6
@@ -107,20 +107,20 @@ public class PayProductController extends BaseController
|
||||
payProductService.writeSource(productId, response.getOutputStream());
|
||||
}
|
||||
|
||||
/** 当前版本的附加费计费条件。同一版本只有一份。 */
|
||||
/** 产品上的附加费计费条件。不按价格版本拆开。 */
|
||||
@PreAuthorize("@ss.hasAnyPermi('price:pay:query,price:pay:edit')")
|
||||
@GetMapping("/surchargeRule")
|
||||
public AjaxResult surchargeRule(@RequestParam Long productId, @RequestParam Long termId)
|
||||
public AjaxResult surchargeRule(@RequestParam Long productId, @RequestParam(required = false) Long termId)
|
||||
{
|
||||
return success(paySurchargeRuleService.list(productId, termId));
|
||||
}
|
||||
|
||||
/** 上一版条件,复制到当前页后再保存。 */
|
||||
/** 这个产品上的附加费配置操作记录。 */
|
||||
@PreAuthorize("@ss.hasAnyPermi('price:pay:query,price:pay:edit')")
|
||||
@GetMapping("/surchargeRule/previous")
|
||||
public AjaxResult previousSurchargeRule(@RequestParam Long productId)
|
||||
@GetMapping("/surchargeRule/log")
|
||||
public AjaxResult surchargeRuleLog(@RequestParam Long productId, @RequestParam(required = false) Long termId)
|
||||
{
|
||||
return success(paySurchargeRuleService.previous(productId));
|
||||
return success(paySurchargeRuleService.logs(productId, termId));
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('price:pay:edit')")
|
||||
|
||||
Reference in New Issue
Block a user