|
|
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import com.dk.mdm.service.mst.StaffPurviewService;
|
|
|
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
@@ -69,4 +70,14 @@ public class StaffPurviewController{
|
|
|
return staffService.saveStaffPurview(staffVO);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @desc : 保存范围权限
|
|
|
+ * @author : 常皓宁
|
|
|
+ * @date : 2024/4/3 14:45
|
|
|
+ */
|
|
|
+ @PostMapping("save_purview/{staffId}")
|
|
|
+ public ResponseResultVO savePurview(@RequestBody List<StaffPurview> staffPurviewList, @PathVariable String staffId) {
|
|
|
+ return staffPurviewService.savePurview(staffPurviewList, staffId);
|
|
|
+ }
|
|
|
+
|
|
|
}
|