中扬CRM客户关系管理系统
Junjie
2023-09-07 8cbd2425dc7e21e9dfb56f3f68f13ec82142655b
src/main/java/com/zy/crm/manager/controller/PlanTypeController.java
@@ -88,7 +88,7 @@
    }
    @RequestMapping(value = "/planType/add/auth")
    @ManagerAuth
    @ManagerAuth(memo = "添加规划单类型")
    public R add(PlanType planType) {
        planType.setHostId(getHostId());
        planType.setCreateBy(getUserId());
@@ -101,7 +101,7 @@
    }
   @RequestMapping(value = "/planType/update/auth")
   @ManagerAuth
   @ManagerAuth(memo = "更新规划单类型")
    public R update(PlanType planType){
        if (Cools.isEmpty(planType) || null==planType.getId()){
            return R.error();
@@ -113,7 +113,7 @@
    }
    @RequestMapping(value = "/planType/delete/auth")
    @ManagerAuth
    @ManagerAuth(memo = "删除规划单类型")
    public R delete(@RequestParam(value="ids[]") Long[] ids){
         for (Long id : ids){
            planTypeService.deleteById(id);