|
@@ -4,6 +4,7 @@ import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.mdm.model.pojo.mst.StaffRight;
|
|
import com.dk.mdm.model.pojo.mst.StaffRight;
|
|
|
import com.dk.common.controller.BaseController;
|
|
import com.dk.common.controller.BaseController;
|
|
|
import com.dk.common.service.BaseService;
|
|
import com.dk.common.service.BaseService;
|
|
|
|
|
+import com.dk.mdm.model.vo.mst.StaffRightVO;
|
|
|
import com.dk.mdm.model.vo.mst.StaffVO;
|
|
import com.dk.mdm.model.vo.mst.StaffVO;
|
|
|
import com.dk.mdm.service.mst.StaffService;
|
|
import com.dk.mdm.service.mst.StaffService;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -62,4 +63,19 @@ public class StaffRightController{
|
|
|
return staffService.saveStaffRight(staffVO);
|
|
return staffService.saveStaffRight(staffVO);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : WEB获取员工权限
|
|
|
|
|
+ * @author : 常皓宁
|
|
|
|
|
+ * @date : 2024/3/6 13:15
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(
|
|
|
|
|
+ value = "WEB获取员工权限",
|
|
|
|
|
+ notes = "WEB获取员工权限"
|
|
|
|
|
+ )
|
|
|
|
|
+ @PostMapping("get_staff_right_web")
|
|
|
|
|
+ public ResponseResultVO<Map<String, Object>> getStaffRightWeb(@RequestBody Map<String, Object> param) {
|
|
|
|
|
+ return staffRightService.getStaffRightWeb(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|