From 648d5df8e77c8f57d45f03e674168d1a5d775dc9 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Thu, 25 Jan 2024 16:37:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=AE=9A=E4=BD=8D=E5=8D=A1?= =?UTF-8?q?=E5=8F=B7=E8=8E=B7=E5=8F=96=E4=BA=BA=E6=98=AF=E5=90=A6=E5=86=8D?= =?UTF-8?q?=E7=94=B5=E5=AD=90=E5=9B=B4=E6=A0=8F=E9=87=8C=EF=BC=8Cshiro?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accident/AccidentController.java | 14 +- .../controller/alarm/DBAlarmController.java | 14 +- .../controller/alarm/DevNoticeController.java | 12 +- .../alarm/DeviceCorpController.java | 14 +- .../controller/app/AppHiddenController.java | 4 +- .../AppSafetyEnvironmentalController.java | 8 +- ...pSafetyEnvironmentalExplainController.java | 10 +- ...afetyEnvironmentalInspectorController.java | 12 +- .../AppSafetyEnvironmentalLogController.java | 14 +- ...afetyEnvironmentalSituationController.java | 14 +- .../archives/ArchivesCapitalController.java | 2 +- .../ArchivesEduManagerController.java | 2 +- .../archives/ArchivesEduPlanController.java | 2 +- .../archives/ArchivesFilesController.java | 8 +- .../archives/ArchivesPostManController.java | 2 +- .../archives/ArchivesTeacherController.java | 2 +- .../controller/bus/HiddenController.java | 48 +- .../check/AppCheckRecordController.java | 6 +- .../check/AppCorpFuncController.java | 10 +- .../check/AppListManagerController.java | 1444 +++++++++-------- .../check/CheckRecordController.java | 14 +- .../check/JobEvaluationController.java | 4 +- .../check/ListManagerController.java | 10 +- .../check/StopListManagerController.java | 12 +- .../AppCommitmentCompanyController.java | 6 +- .../AppCommitmentTeamController.java | 14 +- .../AppCommitmentWorkshopController.java | 8 +- .../CommitmentCompanyController.java | 14 +- .../commitment/CommitmentTeamController.java | 16 +- .../CommitmentWorkshopController.java | 16 +- .../controller/corp/CorpAdviceController.java | 8 +- .../controller/corp/CorpInfoController.java | 10 +- .../corp/CorpPlsInfoController.java | 12 +- .../controller/corp/CorpTypeController.java | 12 +- .../corp/CorpTypeToDeptController.java | 14 +- .../corp/QualificationsController.java | 10 +- .../courseware/AppCoursewareController.java | 10 +- .../courseware/DataCoursewareController.java | 14 +- .../courseware/QuestionController.java | 16 +- .../courseware/VideoCoursewareController.java | 18 +- .../curriculum/AppMyCurriculumController.java | 14 +- .../curriculum/CurriculumController.java | 24 +- .../curriculum/KcmiddlekjController.java | 14 +- .../depository/LabelFactoryController.java | 6 +- .../depository/TextLibraryController.java | 10 +- .../PersonObtainEvidenceController.java | 14 +- .../education/TrainingInfoController.java | 14 +- .../education/TrainingPlanController.java | 14 +- .../EmergencyDrillAttachmentController.java | 16 +- .../EmergencyDrillBasicController.java | 14 +- .../EmergencyDrillContentController.java | 14 +- .../EmergencyDrillOrgController.java | 14 +- .../EmergencyDrillOrgMemberController.java | 14 +- .../EmergencyDrillReportController.java | 16 +- .../EmergencyDrillSceneController.java | 14 +- .../EmergencyEquipmentController.java | 14 +- .../emergency/EmergencyPlanController.java | 14 +- .../emergency/EmergencyTeamController.java | 14 +- .../filemanager/MfolderController.java | 12 +- .../HealthRecordsController.java | 14 +- .../HealthTrainingController.java | 14 +- .../OccupationalHazardController.java | 14 +- .../OccupationalHealthController.java | 14 +- .../controller/hidden/HiddenController.java | 12 +- .../inspection/DictionaryController.java | 2 +- .../SafetyEnvironmentalAssessController.java | 12 +- .../SafetyEnvironmentalController.java | 22 +- .../SafetyEnvironmentalExplainController.java | 14 +- ...afetyEnvironmentalInspectorController.java | 16 +- .../SafetyEnvironmentalLogController.java | 14 +- ...afetyEnvironmentalSituationController.java | 14 +- .../invoice/BillingManageController.java | 14 +- .../invoice/InvoiceManagerController.java | 14 +- .../MajorDangerSourceController.java | 20 +- .../MajorDangerSourceLogController.java | 16 +- .../MajordangersourceDisposalController.java | 6 +- ...ajordangersourceStoragetankController.java | 12 +- ...rdangersourceStoragetankLogController.java | 12 +- .../MonitoringDeviceController.java | 18 +- .../MonitoringDeviceDisableController.java | 14 +- .../MonitoringDeviceSensorController.java | 14 +- .../notice/NoticeCorpController.java | 18 +- .../notice/NoticeManagementController.java | 2 +- .../notice/ServiceNoticeController.java | 16 +- .../offduty/AppOffDutyController.java | 2 +- .../controller/offduty/OffDutyController.java | 16 +- .../offduty/OffDutySetupController.java | 12 +- .../paper/StageexampaperInputController.java | 18 +- .../pe/PerformanceExamineDeptController.java | 10 +- .../pe/PerformanceExamineUserController.java | 10 +- .../PlatformDataCoursewareController.java | 18 +- .../PlatformQuestionController.java | 16 +- .../PlatformVideoCoursewareController.java | 6 +- .../PlatformCurriculumController.java | 2 +- ...PlatformStageexampaperInputController.java | 4 +- .../questionnaire/AppSurveyController.java | 6 +- .../AppSurveyanswerController.java | 2 +- .../AppSurveycorpinfoController.java | 4 +- .../AppSurveyquestionController.java | 2 +- .../relatedparty/OutSourcedController.java | 14 +- .../relatedparty/UnitsController.java | 14 +- .../AppIdentificationPartsController.java | 10 +- .../risk/IdentificationPartsController.java | 14 +- .../controller/risk/RiskPointController.java | 16 +- .../risk/RiskPointTemporaryController.java | 6 +- .../controller/risk/RiskUnitController.java | 18 +- .../riskWarning/RiskWarningController.java | 12 +- .../SafetyInvestmentPlanController.java | 16 +- .../SafetyInvestmentUseController.java | 14 +- .../scheduling/ShiftWorkPeriodController.java | 12 +- .../scheduling/ShiftWorkRulesController.java | 14 +- .../controller/sms/MSMLoginController.java | 14 +- .../controller/sms/SMSLogController.java | 14 +- .../sms/SMSManagementController.java | 14 +- .../controller/sms/SMSOpenLogController.java | 14 +- .../AppSpecialEquipmentAqxjController.java | 8 +- .../SpecialEquipmentAqxjController.java | 16 +- .../SpecialEquipmentChangeController.java | 14 +- .../speEquip/SpecialEquipmentController.java | 14 +- .../PersonnelManagementController.java | 14 +- .../statistics/ListStatisticsController.java | 14 +- .../PeriodStatisticsController.java | 2 +- .../study/AppMfolderStipulateController.java | 14 +- .../study/MfolderStipulateController.java | 14 +- .../study/StudySectionController.java | 14 +- .../controller/study/TempStudyController.java | 2 +- .../controller/study/VideoController.java | 16 +- .../system/AppDictionariesController.java | 4 +- .../system/AppFeedbackController.java | 14 +- .../system/AppImgFilesController.java | 10 +- .../system/AppVersionManagerController.java | 14 +- .../system/ButtonrightsController.java | 4 +- .../system/DepartmentController.java | 20 +- .../system/DictionariesController.java | 4 +- .../system/DictionariesCorpController.java | 8 +- .../controller/system/FHlogController.java | 8 +- .../controller/system/FhbuttonController.java | 12 +- .../controller/system/FhsmsController.java | 2 +- .../controller/system/HeadController.java | 2 +- .../controller/system/ImgFilesController.java | 10 +- .../controller/system/MenuController.java | 16 +- .../controller/system/PostController.java | 14 +- .../controller/system/RoleController.java | 18 +- .../controller/system/RouteController.java | 8 +- .../SupervisionDepartmentController.java | 14 +- .../controller/system/UsersController.java | 26 +- .../task/AppCourseExamController.java | 14 +- .../AppCourseStudentRelationController.java | 16 +- .../task/AppCourseStudyController.java | 16 +- .../AppCourseStudyVideoRecordController.java | 2 +- .../task/AppCoursepapersController.java | 18 +- .../task/AppStageExamController.java | 14 +- .../AppStageStudentRelationController.java | 14 +- .../task/AppStageexampaperController.java | 18 +- .../task/AppStudyTaskController.java | 12 +- .../CourseStudyVideoRecordController.java | 18 +- .../controller/task/StageExamController.java | 18 +- .../task/StageStudentRelationController.java | 6 +- .../task/StageexampaperController.java | 24 +- .../controller/task/StudyTaskController.java | 16 +- .../task/StudytaskSignController.java | 14 +- .../training/TrainingScheduleController.java | 2 +- .../video/AppVideoManagerController.java | 16 +- .../video/VideoManagerController.java | 18 +- .../service/system/impl/UsersServiceImpl.java | 2 +- src/main/java/com/zcloud/util/PLSUtil.java | 26 +- .../datasource/check/ListCheckItemMapper.xml | 2 + .../datasource/check/ListManagerMapper.xml | 2 + 168 files changed, 1758 insertions(+), 1708 deletions(-) diff --git a/src/main/java/com/zcloud/controller/accident/AccidentController.java b/src/main/java/com/zcloud/controller/accident/AccidentController.java index 132eda2..6d443b8 100644 --- a/src/main/java/com/zcloud/controller/accident/AccidentController.java +++ b/src/main/java/com/zcloud/controller/accident/AccidentController.java @@ -38,7 +38,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("accident:add") + // @RequiresPermissions("accident:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("accident:del") + // @RequiresPermissions("accident:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("accident:edit") + // @RequiresPermissions("accident:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("accident:list") + // @RequiresPermissions("accident:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -121,7 +121,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("accident:edit") + // @RequiresPermissions("accident:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -140,7 +140,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("accident:del") + // @RequiresPermissions("accident:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -165,7 +165,7 @@ public class AccidentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "事故管理",instructionsOperate = "事故信息",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/alarm/DBAlarmController.java b/src/main/java/com/zcloud/controller/alarm/DBAlarmController.java index a65d66b..0044bf4 100644 --- a/src/main/java/com/zcloud/controller/alarm/DBAlarmController.java +++ b/src/main/java/com/zcloud/controller/alarm/DBAlarmController.java @@ -37,7 +37,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("dbalarm:add") + // @RequiresPermissions("dbalarm:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -55,7 +55,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("dbalarm:del") + // @RequiresPermissions("dbalarm:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -72,7 +72,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("dbalarm:edit") + // @RequiresPermissions("dbalarm:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -89,7 +89,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("dbalarm:list") + // @RequiresPermissions("dbalarm:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "在线监测",instructionsOperate = "智能预警",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -112,7 +112,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("dbalarm:edit") + // @RequiresPermissions("dbalarm:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "在线监测",instructionsOperate = "智能预警",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -131,7 +131,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("dbalarm:del") + // @RequiresPermissions("dbalarm:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -155,7 +155,7 @@ public class DBAlarmController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/alarm/DevNoticeController.java b/src/main/java/com/zcloud/controller/alarm/DevNoticeController.java index d5b26fe..3c49ae8 100644 --- a/src/main/java/com/zcloud/controller/alarm/DevNoticeController.java +++ b/src/main/java/com/zcloud/controller/alarm/DevNoticeController.java @@ -38,7 +38,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("devnotice:add") + // @RequiresPermissions("devnotice:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -61,7 +61,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("devnotice:del") + // @RequiresPermissions("devnotice:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -129,7 +129,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("devnotice:list") + // @RequiresPermissions("devnotice:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -151,7 +151,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("devnotice:edit") + // @RequiresPermissions("devnotice:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -199,7 +199,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("devnotice:del") + // @RequiresPermissions("devnotice:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -223,7 +223,7 @@ public class DevNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/alarm/DeviceCorpController.java b/src/main/java/com/zcloud/controller/alarm/DeviceCorpController.java index 9e0a3ff..7a065cc 100644 --- a/src/main/java/com/zcloud/controller/alarm/DeviceCorpController.java +++ b/src/main/java/com/zcloud/controller/alarm/DeviceCorpController.java @@ -34,7 +34,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("devicecorp:add") + // @RequiresPermissions("devicecorp:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -57,7 +57,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("devicecorp:del") + // @RequiresPermissions("devicecorp:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -74,7 +74,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("devicecorp:edit") + // @RequiresPermissions("devicecorp:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -91,7 +91,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("devicecorp:list") + // @RequiresPermissions("devicecorp:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -113,7 +113,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("devicecorp:edit") + // @RequiresPermissions("devicecorp:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -131,7 +131,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("devicecorp:del") + // @RequiresPermissions("devicecorp:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -155,7 +155,7 @@ public class DeviceCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/app/AppHiddenController.java b/src/main/java/com/zcloud/controller/app/AppHiddenController.java index b8bbb2c..795e72c 100644 --- a/src/main/java/com/zcloud/controller/app/AppHiddenController.java +++ b/src/main/java/com/zcloud/controller/app/AppHiddenController.java @@ -1794,7 +1794,7 @@ public class AppHiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/repulseHidden") - //@RequiresPermissions("hidden:edit") + //// @RequiresPermissions("hidden:edit") @ResponseBody public Object repulseHidden() throws Exception { Map map = new HashMap(); @@ -1847,7 +1847,7 @@ public class AppHiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/isChek") - //@RequiresPermissions("hidden:edit") + //// @RequiresPermissions("hidden:edit") @ResponseBody public Object isChek() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalController.java b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalController.java index e5f4270..ac83c80 100644 --- a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalController.java +++ b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalController.java @@ -197,7 +197,7 @@ public class AppSafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value="/explain") - //@RequiresPermissions("safetyenvironmental:edit") + //// @RequiresPermissions("safetyenvironmental:edit") @ResponseBody public Object explain(@RequestParam(value="FFILE",required=false) MultipartFile[] files) throws Exception{ Map map = new HashMap(); @@ -233,7 +233,7 @@ public class AppSafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmental:del") + // @RequiresPermissions("safetyenvironmental:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -251,7 +251,7 @@ public class AppSafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmental:del") + // @RequiresPermissions("safetyenvironmental:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -278,7 +278,7 @@ public class AppSafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalExplainController.java b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalExplainController.java index 0d9d1d9..e07aeb8 100644 --- a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalExplainController.java +++ b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalExplainController.java @@ -121,7 +121,7 @@ public class AppSafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("safetyenvironmentalexplain:del") + // @RequiresPermissions("safetyenvironmentalexplain:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -142,7 +142,7 @@ public class AppSafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("safetyenvironmentalexplain:edit") + // @RequiresPermissions("safetyenvironmentalexplain:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -164,7 +164,7 @@ public class AppSafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("safetyenvironmentalexplain:edit") + // @RequiresPermissions("safetyenvironmentalexplain:edit") @ResponseBody public Object goEdit() throws Exception { Map map = new HashMap(); @@ -184,7 +184,7 @@ public class AppSafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("safetyenvironmentalexplain:del") + // @RequiresPermissions("safetyenvironmentalexplain:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); @@ -213,7 +213,7 @@ public class AppSafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalInspectorController.java b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalInspectorController.java index 2ca291d..47226d5 100644 --- a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalInspectorController.java +++ b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalInspectorController.java @@ -105,7 +105,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("safetyenvironmentalinspector:add") + // @RequiresPermissions("safetyenvironmentalinspector:add") @ResponseBody public Object add() throws Exception { Map map = new HashMap(); @@ -132,7 +132,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("safetyenvironmentalinspector:del") + // @RequiresPermissions("safetyenvironmentalinspector:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -153,7 +153,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("safetyenvironmentalinspector:edit") + // @RequiresPermissions("safetyenvironmentalinspector:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -175,7 +175,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("safetyenvironmentalinspector:edit") + // @RequiresPermissions("safetyenvironmentalinspector:edit") @ResponseBody public Object goEdit() throws Exception { Map map = new HashMap(); @@ -195,7 +195,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("safetyenvironmentalinspector:del") + // @RequiresPermissions("safetyenvironmentalinspector:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); @@ -224,7 +224,7 @@ public class AppSafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalLogController.java b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalLogController.java index 4d2875c..5e2f709 100644 --- a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalLogController.java +++ b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalLogController.java @@ -35,7 +35,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentallog:add") + // @RequiresPermissions("safetyenvironmentallog:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -56,7 +56,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentallog:del") + // @RequiresPermissions("safetyenvironmentallog:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentallog:edit") + // @RequiresPermissions("safetyenvironmentallog:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -95,7 +95,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentallog:list") + // @RequiresPermissions("safetyenvironmentallog:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -118,7 +118,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentallog:edit") + // @RequiresPermissions("safetyenvironmentallog:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -136,7 +136,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentallog:del") + // @RequiresPermissions("safetyenvironmentallog:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -163,7 +163,7 @@ public class AppSafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalSituationController.java b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalSituationController.java index 7619ecf..8988322 100644 --- a/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalSituationController.java +++ b/src/main/java/com/zcloud/controller/app/inspection/AppSafetyEnvironmentalSituationController.java @@ -35,7 +35,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentalsituation:add") + // @RequiresPermissions("safetyenvironmentalsituation:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -60,7 +60,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentalsituation:del") + // @RequiresPermissions("safetyenvironmentalsituation:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -79,7 +79,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentalsituation:edit") + // @RequiresPermissions("safetyenvironmentalsituation:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -99,7 +99,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentalsituation:list") + // @RequiresPermissions("safetyenvironmentalsituation:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -122,7 +122,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentalsituation:edit") + // @RequiresPermissions("safetyenvironmentalsituation:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -140,7 +140,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentalsituation:del") + // @RequiresPermissions("safetyenvironmentalsituation:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -167,7 +167,7 @@ public class AppSafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesCapitalController.java b/src/main/java/com/zcloud/controller/archives/ArchivesCapitalController.java index 1329d34..edfc34d 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesCapitalController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesCapitalController.java @@ -158,7 +158,7 @@ public class ArchivesCapitalController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesEduManagerController.java b/src/main/java/com/zcloud/controller/archives/ArchivesEduManagerController.java index 0211496..6951437 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesEduManagerController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesEduManagerController.java @@ -157,7 +157,7 @@ public class ArchivesEduManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesEduPlanController.java b/src/main/java/com/zcloud/controller/archives/ArchivesEduPlanController.java index 75d8169..14c2707 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesEduPlanController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesEduPlanController.java @@ -157,7 +157,7 @@ public class ArchivesEduPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesFilesController.java b/src/main/java/com/zcloud/controller/archives/ArchivesFilesController.java index c182d60..4f081d0 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesFilesController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesFilesController.java @@ -93,7 +93,7 @@ public class ArchivesFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("archivesfiles:edit") + // @RequiresPermissions("archivesfiles:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -129,7 +129,7 @@ public class ArchivesFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("archivesfiles:edit") + // @RequiresPermissions("archivesfiles:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -147,7 +147,7 @@ public class ArchivesFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("archivesfiles:del") + // @RequiresPermissions("archivesfiles:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -171,7 +171,7 @@ public class ArchivesFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesPostManController.java b/src/main/java/com/zcloud/controller/archives/ArchivesPostManController.java index d86a652..c522c83 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesPostManController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesPostManController.java @@ -156,7 +156,7 @@ public class ArchivesPostManController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/archives/ArchivesTeacherController.java b/src/main/java/com/zcloud/controller/archives/ArchivesTeacherController.java index 296fa17..189133d 100644 --- a/src/main/java/com/zcloud/controller/archives/ArchivesTeacherController.java +++ b/src/main/java/com/zcloud/controller/archives/ArchivesTeacherController.java @@ -156,7 +156,7 @@ public class ArchivesTeacherController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/bus/HiddenController.java b/src/main/java/com/zcloud/controller/bus/HiddenController.java index 4e66967..4d00ae2 100644 --- a/src/main/java/com/zcloud/controller/bus/HiddenController.java +++ b/src/main/java/com/zcloud/controller/bus/HiddenController.java @@ -106,7 +106,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/add") -// @RequiresPermissions("hidden:add") +// // @RequiresPermissions("hidden:add") // @ResponseBody // public Object add() throws Exception { // Map map = new HashMap(); @@ -399,7 +399,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/edit") -// @RequiresPermissions("hidden:edit") +// // @RequiresPermissions("hidden:edit") // @ResponseBody // public Object edit() throws Exception { // Map map = new HashMap(); @@ -775,7 +775,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/list") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object list(Page page) throws Exception { // Map map = new HashMap(); @@ -1018,7 +1018,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/goEdit") -// @RequiresPermissions("hidden:edit") +// // @RequiresPermissions("hidden:edit") // @ResponseBody // public Object goEdit() throws Exception { // Map map = new HashMap(); @@ -1211,7 +1211,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/deleteAll") -// @RequiresPermissions("hidden:del") +// // @RequiresPermissions("hidden:del") // @ResponseBody // public Object deleteAll() throws Exception { // Map map = new HashMap(); @@ -1284,7 +1284,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/excel2") -//// @RequiresPermissions("toExcel") +//// // @RequiresPermissions("toExcel") // public ModelAndView exportExcel2() throws Exception { // ModelAndView mv = new ModelAndView(); // PageData pd = new PageData(); @@ -1383,7 +1383,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/excel") -//// @RequiresPermissions("toExcel") +//// // @RequiresPermissions("toExcel") // public ModelAndView exportExcel() throws Exception { // ModelAndView mv = new ModelAndView(); // PageData pd = new PageData(); @@ -2017,7 +2017,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/confirmHidden") -// @RequiresPermissions("hidden:edit") +// // @RequiresPermissions("hidden:edit") // @ResponseBody // public Object confirmHidden() throws Exception { // Map map = new HashMap(); @@ -2110,7 +2110,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/repulseHidden") -// //@RequiresPermissions("hidden:edit") +// //// @RequiresPermissions("hidden:edit") // @ResponseBody // public Object repulseHidden() throws Exception { // Map map = new HashMap(); @@ -2129,7 +2129,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/confirmUpdate") -// @RequiresPermissions("hidden:edit") +// // @RequiresPermissions("hidden:edit") // @ResponseBody // public Object confirmUpdate(@RequestParam(value = "FFILE", required = false) MultipartFile file, // @RequestParam(value = "FFILETwo", required = false) MultipartFile fileTwo @@ -2446,7 +2446,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/majorlist") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object majorlist(Page page) throws Exception { // Map map = new HashMap(); @@ -2491,7 +2491,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/verifylist") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object verifylist(Page page) throws Exception { // Map map = new HashMap(); @@ -2666,7 +2666,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/listGwj") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object listGwj(Page page) throws Exception { // Map map = new HashMap(); @@ -2711,7 +2711,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/ignorelist") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object ignore(Page page) throws Exception { // Map map = new HashMap(); @@ -2783,7 +2783,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/listForSafetyEnvironmental") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object listForSafetyEnvironmental(Page page) throws Exception { // Map map = new HashMap(); @@ -2811,7 +2811,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/assign") -// @RequiresPermissions("hidden:add") +// // @RequiresPermissions("hidden:add") // @ResponseBody // public Object assign() throws Exception { // Map map = new HashMap(); @@ -2950,7 +2950,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/getListForTianzhang") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object getListForTianzhang(Page page) throws Exception { // Map map = new HashMap(); @@ -3003,7 +3003,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/goEmis") -// @RequiresPermissions("hidden:edit") +// // @RequiresPermissions("hidden:edit") // @ResponseBody // public Object goEmis() throws Exception { // Map map = new HashMap(); @@ -3088,7 +3088,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/getListForemis") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object getListForemis(Page page) throws Exception { // Map map = new HashMap(); @@ -3141,7 +3141,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/isChek") -// //@RequiresPermissions("hidden:edit") +// //// @RequiresPermissions("hidden:edit") // @ResponseBody // public Object isChek() throws Exception { // Map map = new HashMap(); @@ -3169,7 +3169,7 @@ // * @return // */ // @RequestMapping(value = "/getHiddenNames") -// //@RequiresPermissions("hidden:edit") +// //// @RequiresPermissions("hidden:edit") // @ResponseBody // public Object getHiddenNames() { // Map map = new HashMap<>(); @@ -3391,7 +3391,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/exportexcel") -// //@RequiresPermissions("hidden:edit") +// //// @RequiresPermissions("hidden:edit") // @ResponseBody // public Object exportexcel() throws Exception { // String errInfo = "success"; @@ -3756,7 +3756,7 @@ // } // // @RequestMapping(value = "/listForAhZp") -// @RequiresPermissions("hidden:list") +// // @RequiresPermissions("hidden:list") // @ResponseBody // public Object listFoAhZp(Page page) throws Exception { // Map map = new HashMap(); @@ -3788,7 +3788,7 @@ // * @throws Exception // */ // @RequestMapping(value = "/addHiddenApi") -// @RequiresPermissions("hidden:add") +// // @RequiresPermissions("hidden:add") // @ResponseBody // public Object addHiddenApi() throws Exception { // Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/check/AppCheckRecordController.java b/src/main/java/com/zcloud/controller/check/AppCheckRecordController.java index 10994d0..3f74e2e 100644 --- a/src/main/java/com/zcloud/controller/check/AppCheckRecordController.java +++ b/src/main/java/com/zcloud/controller/check/AppCheckRecordController.java @@ -283,7 +283,7 @@ public class AppCheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("checkrecord:del") + // @RequiresPermissions("checkrecord:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "删除检查记录") public Object delete() throws Exception { @@ -303,7 +303,7 @@ public class AppCheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("checkrecord:edit") + // @RequiresPermissions("checkrecord:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "修改") public Object edit() throws Exception { @@ -434,7 +434,7 @@ public class AppCheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("checkrecord:del") + // @RequiresPermissions("checkrecord:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "批量删除") public Object deleteAll() throws Exception { diff --git a/src/main/java/com/zcloud/controller/check/AppCorpFuncController.java b/src/main/java/com/zcloud/controller/check/AppCorpFuncController.java index ad8dfbd..6e09c4f 100644 --- a/src/main/java/com/zcloud/controller/check/AppCorpFuncController.java +++ b/src/main/java/com/zcloud/controller/check/AppCorpFuncController.java @@ -38,7 +38,7 @@ public class AppCorpFuncController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("corpfunc:add") + // @RequiresPermissions("corpfunc:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -61,7 +61,7 @@ public class AppCorpFuncController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corpfunc:del") + // @RequiresPermissions("corpfunc:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -78,7 +78,7 @@ public class AppCorpFuncController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("corpfunc:edit") + // @RequiresPermissions("corpfunc:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -156,7 +156,7 @@ public class AppCorpFuncController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("corpfunc:edit") + // @RequiresPermissions("corpfunc:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -192,7 +192,7 @@ public class AppCorpFuncController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corpfunc:del") + // @RequiresPermissions("corpfunc:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/check/AppListManagerController.java b/src/main/java/com/zcloud/controller/check/AppListManagerController.java index 3984ed8..41833b9 100644 --- a/src/main/java/com/zcloud/controller/check/AppListManagerController.java +++ b/src/main/java/com/zcloud/controller/check/AppListManagerController.java @@ -12,6 +12,7 @@ import com.zcloud.service.risk.RiskPointService; import com.zcloud.service.system.DepartmentService; import com.zcloud.service.system.UsersService; import com.zcloud.util.DateUtil; +import com.zcloud.util.ReturnMap; import com.zcloud.util.Tools; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -31,124 +32,127 @@ import java.util.Map; @RequestMapping("/app/listmanager") public class AppListManagerController extends BaseController { - @Autowired - private ListManagerService listmanagerService; - @Autowired - private ListCheckItemService listcheckitemService; - @Autowired - private CheckRecordService checkrecordService; - @Autowired - private RecordItemService recordItemService; - @Autowired - private RiskPointService riskpointService; - @Autowired - private DepartmentService departmentService; - @Autowired - private UsersService usersService; + @Autowired + private ListManagerService listmanagerService; + @Autowired + private ListCheckItemService listcheckitemService; + @Autowired + private CheckRecordService checkrecordService; + @Autowired + private RecordItemService recordItemService; + @Autowired + private RiskPointService riskpointService; + @Autowired + private DepartmentService departmentService; + @Autowired + private UsersService usersService; - /**列表 - * @throws Exception - */ - @RequestMapping(value="/checkList") - @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "列表") - public Object checkList() throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); - String USER_NAME=pd.getString("USER_NAME"); - PageData cpd = new PageData(); - cpd = usersService.findById(pd); - pd.put("ISLEADER",cpd.getString("ISLEADER")); - PageData dept = new PageData(); - dept.put("DEPARTMENT_ID",pd.getString("CHECK_DEPARTMENT_ID")); - dept = departmentService.findById(dept); - if(dept != null && dept.getString("ISSUPERVISE").equals("1")){ - pd.put("SUP_DEPARTMENT_ID", dept.getString("DEPARTMENT_ID")); - pd.put("ISSUPERVISE",dept.getString("ISSUPERVISE")); - }else{ - pd.put("DEPARTMENT_ID", pd.getString("CHECK_DEPARTMENT_ID")); - } - if(cpd.getString("ISLEADER") != null && cpd.getString("ISLEADER").equals("1")){ - String DEPARTMENT_ID = pd.getString("CHECK_DEPARTMENT_ID"); - String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); - ids=pd.getString("CHECK_DEPARTMENT_ID")+","+ids; //把自己部门插入进去 - if(ids!=null && Tools.notEmpty(ids)&& ids.lastIndexOf(",")>-1) { - ids = ids.substring(0,ids.lastIndexOf(",")); - pd.put("DEPARTMENT_IDS", ids.split(",")); - }else { - pd.put("DEPARTMENT_IDS", DEPARTMENT_ID); - } - } - pd.put("orderUserId", pd.get("USER_ID")); - List varList = listmanagerService.listAll(pd);//列出ListManager列表 - for (PageData list : varList) { - String cycle = list.getString("PERIODNAME"); - if(cycle.equals("每日")) { - list.put("START_DATE", DateUtil.getDay()); - list.put("END_DATE", DateUtil.getDay()); - }else if(cycle.equals("每周")) { - list.put("START_DATE", DateUtil.getWeekStart().substring(0,10)); - list.put("END_DATE", DateUtil.getWeekEnd().substring(0,10)); - }else if(cycle.equals("每旬")) { - //1-10 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01"); - list.put("END_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10"); - } - //10-20 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11"); - list.put("END_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20"); - } - //20-月底 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay()+" 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21"); - list.put("END_DATE", DateUtil.getMonthEndDay()); - } + /** + * 列表 + * + * @throws Exception + */ + @RequestMapping(value = "/checkList") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "列表") + public Object checkList() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + String USER_NAME = pd.getString("USER_NAME"); + PageData cpd = new PageData(); + cpd = usersService.findById(pd); + pd.put("ISLEADER", cpd.getString("ISLEADER")); + PageData dept = new PageData(); + dept.put("DEPARTMENT_ID", pd.getString("CHECK_DEPARTMENT_ID")); + dept = departmentService.findById(dept); + if (dept != null && dept.getString("ISSUPERVISE").equals("1")) { + pd.put("SUP_DEPARTMENT_ID", dept.getString("DEPARTMENT_ID")); + pd.put("ISSUPERVISE", dept.getString("ISSUPERVISE")); + } else { + pd.put("DEPARTMENT_ID", pd.getString("CHECK_DEPARTMENT_ID")); + } + if (cpd.getString("ISLEADER") != null && cpd.getString("ISLEADER").equals("1")) { + String DEPARTMENT_ID = pd.getString("CHECK_DEPARTMENT_ID"); + String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); + ids = pd.getString("CHECK_DEPARTMENT_ID") + "," + ids; //把自己部门插入进去 + if (ids != null && Tools.notEmpty(ids) && ids.lastIndexOf(",") > -1) { + ids = ids.substring(0, ids.lastIndexOf(",")); + pd.put("DEPARTMENT_IDS", ids.split(",")); + } else { + pd.put("DEPARTMENT_IDS", DEPARTMENT_ID); + } + } + pd.put("orderUserId", pd.get("USER_ID")); + List varList = listmanagerService.listAll(pd);//列出ListManager列表 + for (PageData list : varList) { + String cycle = list.getString("PERIODNAME"); + if (cycle.equals("每日")) { + list.put("START_DATE", DateUtil.getDay()); + list.put("END_DATE", DateUtil.getDay()); + } else if (cycle.equals("每周")) { + list.put("START_DATE", DateUtil.getWeekStart().substring(0, 10)); + list.put("END_DATE", DateUtil.getWeekEnd().substring(0, 10)); + } else if (cycle.equals("每旬")) { + //1-10 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01"); + list.put("END_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10"); + } + //10-20 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11"); + list.put("END_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20"); + } + //20-月底 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay() + " 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21"); + list.put("END_DATE", DateUtil.getMonthEndDay()); + } - }else if(cycle.equals("每月")) { - list.put("START_DATE", DateUtil.getMonthFirstDay()); - list.put("END_DATE", DateUtil.getMonthEndDay()); - }else if(cycle.equals("每季")) { - list.put("START_DATE", DateUtil.quarterStart()); - list.put("END_DATE", DateUtil.quarterEnd()); - }else if(cycle.equals("半年")) { - Integer bmonth = Integer.parseInt(DateUtil.getMonth().toString()); - if(bmonth <= 6) { - list.put("START_DATE", DateUtil.getYear()+"-01-01"); - list.put("END_DATE", DateUtil.getYear()+"-06-30"); - } else if(bmonth > 6) { - list.put("START_DATE", DateUtil.getYear()+"-07-01"); - list.put("END_DATE", DateUtil.getYear()+"-12-31"); - } - }else if(cycle.equals("每年")) { - list.put("START_DATE", DateUtil.getCurrYearFirst()); - list.put("END_DATE", DateUtil.getCurrYearLast()); - } - } - map.put("varList", varList); - map.put("result", errInfo); - return map; - } + } else if (cycle.equals("每月")) { + list.put("START_DATE", DateUtil.getMonthFirstDay()); + list.put("END_DATE", DateUtil.getMonthEndDay()); + } else if (cycle.equals("每季")) { + list.put("START_DATE", DateUtil.quarterStart()); + list.put("END_DATE", DateUtil.quarterEnd()); + } else if (cycle.equals("半年")) { + Integer bmonth = Integer.parseInt(DateUtil.getMonth().toString()); + if (bmonth <= 6) { + list.put("START_DATE", DateUtil.getYear() + "-01-01"); + list.put("END_DATE", DateUtil.getYear() + "-06-30"); + } else if (bmonth > 6) { + list.put("START_DATE", DateUtil.getYear() + "-07-01"); + list.put("END_DATE", DateUtil.getYear() + "-12-31"); + } + } else if (cycle.equals("每年")) { + list.put("START_DATE", DateUtil.getCurrYearFirst()); + list.put("END_DATE", DateUtil.getCurrYearLast()); + } + } + map.put("varList", varList); + map.put("result", errInfo); + return map; + } + /** + * 列表(监管部门权限) + * + * @throws Exception + */ + @RequestMapping(value = "/checkListNew") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "监管部门权限列表") + public Object checkListNew() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + String USER_NAME = pd.getString("USER_NAME"); - /**列表(监管部门权限) - * @throws Exception - */ - @RequestMapping(value="/checkListNew") - @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "监管部门权限列表") - public Object checkListNew() throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); - String USER_NAME=pd.getString("USER_NAME"); - - String DEPARTMENT_ID = pd.getString("CHECK_DEPARTMENT_ID"); + String DEPARTMENT_ID = pd.getString("CHECK_DEPARTMENT_ID"); // String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); // if(pd.getString("IS_MAIN").equals("0")) { // if(ids!=null && Tools.notEmpty(ids)&& ids.lastIndexOf(",")>-1) { @@ -158,617 +162,641 @@ public class AppListManagerController extends BaseController { // pd.put("DEPARTMENT_ID", DEPARTMENT_ID); // } // } - pd.put("DEPARTMENT_ID", DEPARTMENT_ID); - pd.put("orderUserId", pd.get("USER_ID")); - List varList = listmanagerService.appListAll(pd);//列出ListManager列表 - for (PageData list : varList) { - String cycle = list.getString("PERIODNAME"); - if(cycle.equals("每日")) { - list.put("START_DATE", DateUtil.getDay()); - list.put("END_DATE", DateUtil.getDay()); - }else if(cycle.equals("每周")) { - list.put("START_DATE", DateUtil.getWeekStart().substring(0,10)); - list.put("END_DATE", DateUtil.getWeekEnd().substring(0,10)); - }else if(cycle.equals("每旬")) { - //1-10 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01"); - list.put("END_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10"); - } - //10-20 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11"); - list.put("END_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20"); - } - //20-月底 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay()+" 23:59:59"))){ - list.put("START_DATE", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21"); - list.put("END_DATE", DateUtil.getMonthEndDay()); - } + pd.put("DEPARTMENT_ID", DEPARTMENT_ID); + pd.put("orderUserId", pd.get("USER_ID")); + List varList = listmanagerService.appListAll(pd);//列出ListManager列表 + for (PageData list : varList) { + String cycle = list.getString("PERIODNAME"); + if (cycle.equals("每日")) { + list.put("START_DATE", DateUtil.getDay()); + list.put("END_DATE", DateUtil.getDay()); + } else if (cycle.equals("每周")) { + list.put("START_DATE", DateUtil.getWeekStart().substring(0, 10)); + list.put("END_DATE", DateUtil.getWeekEnd().substring(0, 10)); + } else if (cycle.equals("每旬")) { + //1-10 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01"); + list.put("END_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10"); + } + //10-20 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11"); + list.put("END_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20"); + } + //20-月底 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay() + " 23:59:59"))) { + list.put("START_DATE", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21"); + list.put("END_DATE", DateUtil.getMonthEndDay()); + } - }else if(cycle.equals("每月")) { - list.put("START_DATE", DateUtil.getMonthFirstDay()); - list.put("END_DATE", DateUtil.getMonthEndDay()); - }else if(cycle.equals("每季")) { - list.put("START_DATE", DateUtil.quarterStart()); - list.put("END_DATE", DateUtil.quarterEnd()); - }else if(cycle.equals("半年")) { - Integer bmonth = Integer.parseInt(DateUtil.getMonth().toString()); - if(bmonth <= 6) { - list.put("START_DATE", DateUtil.getYear()+"-01-01"); - list.put("END_DATE", DateUtil.getYear()+"-06-30"); - } else if(bmonth > 6) { - list.put("START_DATE", DateUtil.getYear()+"-07-01"); - list.put("END_DATE", DateUtil.getYear()+"-12-31"); - } - }else if(cycle.equals("每年")) { - list.put("START_DATE", DateUtil.getCurrYearFirst()); - list.put("END_DATE", DateUtil.getCurrYearLast()); - } - } - map.put("varList", varList); - map.put("result", errInfo); - return map; - } + } else if (cycle.equals("每月")) { + list.put("START_DATE", DateUtil.getMonthFirstDay()); + list.put("END_DATE", DateUtil.getMonthEndDay()); + } else if (cycle.equals("每季")) { + list.put("START_DATE", DateUtil.quarterStart()); + list.put("END_DATE", DateUtil.quarterEnd()); + } else if (cycle.equals("半年")) { + Integer bmonth = Integer.parseInt(DateUtil.getMonth().toString()); + if (bmonth <= 6) { + list.put("START_DATE", DateUtil.getYear() + "-01-01"); + list.put("END_DATE", DateUtil.getYear() + "-06-30"); + } else if (bmonth > 6) { + list.put("START_DATE", DateUtil.getYear() + "-07-01"); + list.put("END_DATE", DateUtil.getYear() + "-12-31"); + } + } else if (cycle.equals("每年")) { + list.put("START_DATE", DateUtil.getCurrYearFirst()); + list.put("END_DATE", DateUtil.getCurrYearLast()); + } + } + map.put("varList", varList); + map.put("result", errInfo); + return map; + } - /**列表 - * @param page - * @throws Exception - */ - @RequestMapping(value="/recordList") - @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "列表") - public Object recordList(Page page) throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); + /** + * 列表 + * + * @param page + * @throws Exception + */ + @RequestMapping(value = "/recordList") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "列表") + public Object recordList(Page page) throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); // pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业 // pd.put("USER_ID",Jurisdiction.getUSER_ID()); - String KEYWORDS = pd.getString("KEYWORDS"); //关键词检索条件 - if(Tools.notEmpty(KEYWORDS))pd.put("KEYWORDS", KEYWORDS.trim()); - String STARTTIME = pd.getString("STARTTIME"); //关键词检索条件 - if(Tools.notEmpty(STARTTIME))pd.put("STARTTIME", STARTTIME.trim() + " 00:00:00"); - String ENDTIME = pd.getString("ENDTIME"); //关键词检索条件 - if(Tools.notEmpty(ENDTIME))pd.put("ENDTIME", ENDTIME.trim() + " 23:59:59"); - PageData dept = new PageData(); - dept.put("DEPARTMENT_ID",pd.get("DEPARTMENT_ID").toString()); - dept = departmentService.findById(dept); - PageData cpd = new PageData(); - cpd = usersService.findById(pd); - pd.put("ISLEADER", cpd.getString("ISLEADER")); - if(dept.getString("ISSUPERVISE").equals("1")){ - pd.put("SUP_DEPARTMENT_ID", dept.getString("DEPARTMENT_ID")); - List subdept = departmentService.findBySubId(pd); //查询监管哪些部门 - String subIds = ""; //用于存储监管部门ID - for(int i=0;i subdept = departmentService.findBySubId(pd); //查询监管哪些部门 + String subIds = ""; //用于存储监管部门ID + for (int i = 0; i < subdept.size(); i++) { + subIds += subdept.get(i).getString("SUB_DEPARTMENT_ID") + ","; + } + pd.put("DEPARTMENT_IDS", subIds.split(",")); + } else { + pd.put("DEPARTMENT_ID", pd.getString("DEPARTMENT_ID")); - } - pd.put("ISSUPERVISE",dept.getString("ISSUPERVISE")); - if(cpd.getString("ISLEADER") != null && cpd.getString("ISLEADER").equals("1")){ - String DEPARTMENT_ID = pd.getString("DEPARTMENT_ID"); - String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); - ids=pd.getString("DEPARTMENT_ID")+","+ids; //把自己部门插入进去 - if(ids!=null && Tools.notEmpty(ids)&& ids.lastIndexOf(",")>-1) { - ids = ids.substring(0,ids.lastIndexOf(",")); - pd.put("DEPARTMENT_IDS", ids.split(",")); - }else { - pd.put("DEPARTMENT_IDS", DEPARTMENT_ID); - } - } - page.setPd(pd); - List varList = listmanagerService.recordList(page); //列出ListManager列表 - for (PageData list : varList) { - String userId= list.getString("USER_ID"); - if(userId.equals(pd.get("USER_ID").toString())) { - list.put("stateMy", "0"); - }else { - list.put("stateMy", "1"); - } - } - map.put("varList", varList); - map.put("page", page); - map.put("result", errInfo); - return map; - } + } + pd.put("ISSUPERVISE", dept.getString("ISSUPERVISE")); + if (cpd.getString("ISLEADER") != null && cpd.getString("ISLEADER").equals("1")) { + String DEPARTMENT_ID = pd.getString("DEPARTMENT_ID"); + String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); + ids = pd.getString("DEPARTMENT_ID") + "," + ids; //把自己部门插入进去 + if (ids != null && Tools.notEmpty(ids) && ids.lastIndexOf(",") > -1) { + ids = ids.substring(0, ids.lastIndexOf(",")); + pd.put("DEPARTMENT_IDS", ids.split(",")); + } else { + pd.put("DEPARTMENT_IDS", DEPARTMENT_ID); + } + } + page.setPd(pd); + List varList = listmanagerService.recordList(page); //列出ListManager列表 + for (PageData list : varList) { + String userId = list.getString("USER_ID"); + if (userId.equals(pd.get("USER_ID").toString())) { + list.put("stateMy", "0"); + } else { + list.put("stateMy", "1"); + } + } + map.put("varList", varList); + map.put("page", page); + map.put("result", errInfo); + return map; + } - /**获取清单风险点 + /** + * 获取清单风险点 + * + * @param + * @throws Exception + */ + @RequestMapping(value = "/getRisk") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "获取清单风险点") + public Object getRisk() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + String USER_ID = pd.getString("USER_NAME"); + List varList = listmanagerService.listAllRisk(pd); + map.put("varList", varList); + pd = listmanagerService.findById(pd); + if (pd.getString("TYPE").equals("listType0005")) { + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(pd.getString("START_DATE") + " 00:00:00"), DateUtil.fomatDateTime(pd.getString("END_DATE") + " 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1);//查询方法和旬一样,直接借用 + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", pd.getString("START_DATE") + " 00:00:00"); + type.put("ENDTIME", pd.getString("END_DATE") + " 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } + map.put("result", errInfo); + return map; + } + String cycle = pd.getString("PERIODNAME"); + if (cycle.equals("每日")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_DAY", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } else if (cycle.equals("每周")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_WEEK", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } else if (cycle.equals("每旬")) { + //1-10 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"); + type.put("ENDTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } + //10-20 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"); + type.put("ENDTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } + //20-月底 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay() + " 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"); + type.put("ENDTIME", DateUtil.getMonthEndDay() + " 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } + + } else if (cycle.equals("每月")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_MONTH", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } else if (cycle.equals("每季")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_QUARTER", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } else if (cycle.equals("半年")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_HALFYEAR", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } else if (cycle.equals("每年")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_YEAR", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + pd.put("checkCount", records == null ? 0 : records.size()); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + Map checkmap = new HashMap();//记录所有风险点 + for (PageData item : checkedList) { + if (!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { + checkmap.put(item.getString("IDENTIFICATION_ID"), 1); + } else { + checkmap.put(item.getString("IDENTIFICATION_ID"), checkmap.get(item.getString("IDENTIFICATION_ID")) + 1); + } + } + map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + map.put("checkmap", checkmap); + } + } + map.put("result", errInfo); + return map; + } + + + /** + * 辨别部位有电子围栏得话 判断是人员定位是否在电子围栏中 + * * @param * @throws Exception */ - @RequestMapping(value="/getRisk") + @RequestMapping(value = "/isInElectronicFence") @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "获取清单风险点") - public Object getRisk() throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); - String USER_ID=pd.getString("USER_NAME"); - List varList = listmanagerService.listAllRisk(pd); - map.put("varList", varList); - pd=listmanagerService.findById(pd); - if(pd.getString("TYPE").equals("listType0005")) { - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(pd.getString("START_DATE")+" 00:00:00"), DateUtil.fomatDateTime(pd.getString("END_DATE")+" 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1);//查询方法和旬一样,直接借用 - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", pd.getString("START_DATE")+" 00:00:00"); - type.put("ENDTIME",pd.getString("END_DATE")+" 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - } - map.put("result", errInfo); - return map; - } - String cycle = pd.getString("PERIODNAME"); - if(cycle.equals("每日")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_DAY", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - }else if(cycle.equals("每周")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_WEEK", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - }else if(cycle.equals("每旬")) { - //1-10 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"); - type.put("ENDTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - } - //10-20 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"); - type.put("ENDTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - } - //20-月底 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay()+" 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"); - type.put("ENDTIME", DateUtil.getMonthEndDay()+" 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - } + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "判断是人员是否在电子围栏中") + public Object isInElectronicFence() throws Exception { + PageData pd = this.getPageData(); - }else if(cycle.equals("每月")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_MONTH", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - }else if(cycle.equals("每季")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_QUARTER", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - }else if(cycle.equals("半年")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_HALFYEAR", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - }else if(cycle.equals("每年")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_YEAR", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - pd.put("checkCount", records==null?0:records.size()); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - Map checkmap = new HashMap();//记录所有风险点 - for (PageData item : checkedList) { - if(!checkmap.containsKey(item.getString("IDENTIFICATION_ID"))) { - checkmap.put(item.getString("IDENTIFICATION_ID"),1); - }else { - checkmap.put(item.getString("IDENTIFICATION_ID"),checkmap.get(item.getString("IDENTIFICATION_ID"))+1); - } - } - map.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - map.put("checkmap",checkmap); - } - } - map.put("result", errInfo); - return map; + return ReturnMap.error("当前人员不在电子围栏中禁止排查清单"); } - /**获取检查项 - * @param - * @throws Exception - */ - @RequestMapping(value="/goCheck") - @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "获取检查项") - public Object goCheck() throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); - List varList = listcheckitemService.listAll(pd); - for (PageData item : varList) { - item.put("RECORDITEM_ID", this.get32UUID()); //主键 - } - map.put("varList", varList); - String USER_ID=pd.getString("USER_NAME"); - pd=listmanagerService.findById(pd); - if(pd.getString("TYPE").equals("listType0005")) { - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(pd.getString("START_DATE")+" 00:00:00"), DateUtil.fomatDateTime(pd.getString("END_DATE")+" 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1);//查询方法和旬一样,直接借用 - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", pd.getString("START_DATE")+" 00:00:00"); - type.put("ENDTIME",pd.getString("END_DATE")+" 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - } - map.put("result", errInfo); - return map; - } - String cycle = pd.getString("PERIODNAME"); - if(cycle.equals("每日")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_DAY", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - }else if(cycle.equals("每周")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_WEEK", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - }else if(cycle.equals("每旬")) { - //1-10 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"01 00:00:00"); - type.put("ENDTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"10 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - } - //10-20 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"11 00:00:00"); - type.put("ENDTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"20 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - } - //20-月底 - if(DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay()+" 23:59:59"))){ - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_XUN", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - type.put("BEGINTIME", DateUtil.getYear()+"-"+ DateUtil.getMonth()+"-"+"21 00:00:00"); - type.put("ENDTIME", DateUtil.getMonthEndDay()+" 23:59:59"); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - } - }else if(cycle.equals("每月")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_MONTH", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - }else if(cycle.equals("每季")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_QUARTER", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - }else if(cycle.equals("半年")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_HALFYEAR", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - }else if(cycle.equals("每年")) { - PageData type = new PageData(); - type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); - type.put("IS_YEAR", 1); - type.put("FINISHED", '0'); - type.put("USER_ID", USER_ID); - List records = checkrecordService.listAllUnfinished(type); - if(records!=null && records.size()>0) { - PageData record = new PageData(); - record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); - List checkedList = recordItemService.listAll(record); - map.put("records", checkedList); - } - } - map.put("result", errInfo); - return map; - } + /** + * 获取检查项 + * + * @param + * @throws Exception + */ + @RequestMapping(value = "/goCheck") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "获取检查项") + public Object goCheck() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + List varList = listcheckitemService.listAll(pd); + for (PageData item : varList) { + item.put("RECORDITEM_ID", this.get32UUID()); //主键 + } + map.put("varList", varList); + String USER_ID = pd.getString("USER_NAME"); + pd = listmanagerService.findById(pd); + if (pd.getString("TYPE").equals("listType0005")) { + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(pd.getString("START_DATE") + " 00:00:00"), DateUtil.fomatDateTime(pd.getString("END_DATE") + " 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1);//查询方法和旬一样,直接借用 + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", pd.getString("START_DATE") + " 00:00:00"); + type.put("ENDTIME", pd.getString("END_DATE") + " 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } + map.put("result", errInfo); + return map; + } + String cycle = pd.getString("PERIODNAME"); + if (cycle.equals("每日")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_DAY", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } else if (cycle.equals("每周")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_WEEK", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } else if (cycle.equals("每旬")) { + //1-10 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "01 00:00:00"); + type.put("ENDTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "10 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } + //10-20 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "11 00:00:00"); + type.put("ENDTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "20 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } + //20-月底 + if (DateUtil.timeCalendar(new Date(), DateUtil.fomatDateTime(DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"), DateUtil.fomatDateTime(DateUtil.getMonthEndDay() + " 23:59:59"))) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_XUN", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + type.put("BEGINTIME", DateUtil.getYear() + "-" + DateUtil.getMonth() + "-" + "21 00:00:00"); + type.put("ENDTIME", DateUtil.getMonthEndDay() + " 23:59:59"); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } + } else if (cycle.equals("每月")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_MONTH", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } else if (cycle.equals("每季")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_QUARTER", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } else if (cycle.equals("半年")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_HALFYEAR", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } else if (cycle.equals("每年")) { + PageData type = new PageData(); + type.put("LISTMANAGER_ID", pd.get("LISTMANAGER_ID")); + type.put("IS_YEAR", 1); + type.put("FINISHED", '0'); + type.put("USER_ID", USER_ID); + List records = checkrecordService.listAllUnfinished(type); + if (records != null && records.size() > 0) { + PageData record = new PageData(); + record.put("CHECKRECORD_ID", records.get(0).get("CHECKRECORD_ID")); + List checkedList = recordItemService.listAll(record); + map.put("records", checkedList); + } + } + map.put("result", errInfo); + return map; + } - /**列表 - * @param page - * @throws Exception - */ - @RequestMapping(value="/checkListIndex") - @ResponseBody - @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "列表") - public Object checkListIndex() throws Exception{ - Map map = new HashMap(); - String errInfo = "success"; - PageData pd = new PageData(); - pd = this.getPageData(); - // pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业 + /** + * 列表 + * + * @param page + * @throws Exception + */ + @RequestMapping(value = "/checkListIndex") + @ResponseBody + @LogAnno(menuType = "手机", menuServer = "隐患排查", instructionsOperate = "清单管理", instructionsType = "列表") + public Object checkListIndex() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + // pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业 // pd.put("POST_ID", Jurisdiction.getPOST_ID()); //岗位 - // pd.put("USER_ID",Jurisdiction.getUSER_ID()); - String DEPARTMENT_ID = pd.get("DEPARTMENT_ID").toString(); - String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); - if(ids!=null && Tools.notEmpty(ids) && ids.lastIndexOf(",")>-1) { - ids = ids.substring(0,ids.lastIndexOf(",")); - pd.put("DEPARTMENT_IDS", ids.split(",")); - }else { - pd.put("DEPARTMENT_ID", DEPARTMENT_ID); - } - List varList = listmanagerService.listAll(pd); //列出ListManager列表 - int wjcNum = 0; - int yjcNum = 0; - for (PageData list : varList) { - if(list.getString("TYPE").equals("listType0005")) { - if(Integer.parseInt(list.get("checkCount").toString()) > 0) { - yjcNum++; - } else { - wjcNum++; - } - continue; - } - if(Integer.parseInt(list.get("checkCount").toString()) > 0) { - yjcNum++; - } else { - wjcNum++; - } - } - map.put("yjcNum", yjcNum); - map.put("wjcNum", wjcNum); - map.put("varList", varList); - map.put("result", errInfo); - return map; - } + // pd.put("USER_ID",Jurisdiction.getUSER_ID()); + String DEPARTMENT_ID = pd.get("DEPARTMENT_ID").toString(); + String ids = departmentService.getDEPARTMENT_IDS(DEPARTMENT_ID); + if (ids != null && Tools.notEmpty(ids) && ids.lastIndexOf(",") > -1) { + ids = ids.substring(0, ids.lastIndexOf(",")); + pd.put("DEPARTMENT_IDS", ids.split(",")); + } else { + pd.put("DEPARTMENT_ID", DEPARTMENT_ID); + } + List varList = listmanagerService.listAll(pd); //列出ListManager列表 + int wjcNum = 0; + int yjcNum = 0; + for (PageData list : varList) { + if (list.getString("TYPE").equals("listType0005")) { + if (Integer.parseInt(list.get("checkCount").toString()) > 0) { + yjcNum++; + } else { + wjcNum++; + } + continue; + } + if (Integer.parseInt(list.get("checkCount").toString()) > 0) { + yjcNum++; + } else { + wjcNum++; + } + } + map.put("yjcNum", yjcNum); + map.put("wjcNum", wjcNum); + map.put("varList", varList); + map.put("result", errInfo); + return map; + } } diff --git a/src/main/java/com/zcloud/controller/check/CheckRecordController.java b/src/main/java/com/zcloud/controller/check/CheckRecordController.java index 692fcf0..964bcd0 100644 --- a/src/main/java/com/zcloud/controller/check/CheckRecordController.java +++ b/src/main/java/com/zcloud/controller/check/CheckRecordController.java @@ -76,7 +76,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("checkrecord:add") + // @RequiresPermissions("checkrecord:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "新增记录") @@ -240,7 +240,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("checkrecord:del") + // @RequiresPermissions("checkrecord:del") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "删除检查记录") @@ -262,7 +262,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("checkrecord:edit") + // @RequiresPermissions("checkrecord:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "修改") public Object edit() throws Exception { @@ -299,7 +299,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("checkrecord:list") + // @RequiresPermissions("checkrecord:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "检查记录列表") public Object list(Page page) throws Exception { @@ -538,7 +538,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("checkrecord:del") + // @RequiresPermissions("checkrecord:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); @@ -1217,7 +1217,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/allList") - @RequiresPermissions("checkrecord:list") + // @RequiresPermissions("checkrecord:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "检查记录管理",instructionsType = "检查记录列表") public Object allList(Page page) throws Exception { @@ -1272,7 +1272,7 @@ public class CheckRecordController extends BaseController { * @throws Exception */ @RequestMapping(value = "/recording") - @RequiresPermissions("checkrecord:add") + // @RequiresPermissions("checkrecord:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单检查情况",instructionsType = "补录") diff --git a/src/main/java/com/zcloud/controller/check/JobEvaluationController.java b/src/main/java/com/zcloud/controller/check/JobEvaluationController.java index f1dea78..8706984 100644 --- a/src/main/java/com/zcloud/controller/check/JobEvaluationController.java +++ b/src/main/java/com/zcloud/controller/check/JobEvaluationController.java @@ -48,7 +48,7 @@ public class JobEvaluationController extends BaseController { * @throws Exception */ @RequestMapping(value="/count") - @RequiresPermissions("jobEvaluation:list") + // @RequiresPermissions("jobEvaluation:list") @ResponseBody public Object jobEvaluation() throws Exception{ Map map = new HashMap(); @@ -148,7 +148,7 @@ public class JobEvaluationController extends BaseController { * @throws Exception */ @RequestMapping(value="/counlistPaget") - @RequiresPermissions("jobEvaluation:list") + // @RequiresPermissions("jobEvaluation:list") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "持续改进",instructionsOperate = "企业报告",instructionsType = "公司人员业绩") public Object jobEvaluationlistPage(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/check/ListManagerController.java b/src/main/java/com/zcloud/controller/check/ListManagerController.java index dafb152..880a2cc 100644 --- a/src/main/java/com/zcloud/controller/check/ListManagerController.java +++ b/src/main/java/com/zcloud/controller/check/ListManagerController.java @@ -66,7 +66,7 @@ public class ListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("listmanager:add") + // @RequiresPermissions("listmanager:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "新增") @@ -256,7 +256,7 @@ public class ListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("listmanager:del") + // @RequiresPermissions("listmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "禁用") public Object delete() throws Exception{ @@ -383,7 +383,7 @@ public class ListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/enable") - @RequiresPermissions("listmanager:del") + // @RequiresPermissions("listmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "启用") public Object enable() throws Exception{ @@ -505,7 +505,7 @@ public class ListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("listmanager:edit") + // @RequiresPermissions("listmanager:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -1060,7 +1060,7 @@ public class ListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("listmanager:del") + // @RequiresPermissions("listmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/check/StopListManagerController.java b/src/main/java/com/zcloud/controller/check/StopListManagerController.java index 179005c..7cdfeae 100644 --- a/src/main/java/com/zcloud/controller/check/StopListManagerController.java +++ b/src/main/java/com/zcloud/controller/check/StopListManagerController.java @@ -63,7 +63,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("stoplistmanager:add") + // @RequiresPermissions("stoplistmanager:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "新增") @@ -245,7 +245,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("stoplistmanager:del") + // @RequiresPermissions("stoplistmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "禁用") public Object delete() throws Exception{ @@ -371,7 +371,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/restore") - @RequiresPermissions("stoplistmanager:del") + // @RequiresPermissions("stoplistmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "启用") public Object restore() throws Exception { @@ -390,7 +390,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/enable") - @RequiresPermissions("stoplistmanager:del") + // @RequiresPermissions("stoplistmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "启用") public Object enable() throws Exception{ @@ -512,7 +512,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("stoplistmanager:edit") + // @RequiresPermissions("stoplistmanager:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -992,7 +992,7 @@ public class StopListManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("stoplistmanager:del") + // @RequiresPermissions("stoplistmanager:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/commitment/AppCommitmentCompanyController.java b/src/main/java/com/zcloud/controller/commitment/AppCommitmentCompanyController.java index bfd6734..9115f14 100644 --- a/src/main/java/com/zcloud/controller/commitment/AppCommitmentCompanyController.java +++ b/src/main/java/com/zcloud/controller/commitment/AppCommitmentCompanyController.java @@ -98,7 +98,7 @@ public class AppCommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("commitmentcompany:del") + // @RequiresPermissions("commitmentcompany:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "公司级承诺",instructionsOperate = "公司级承诺",instructionsType = "删除") public Object delete() throws Exception{ @@ -116,7 +116,7 @@ public class AppCommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("commitmentcompany:edit") + // @RequiresPermissions("commitmentcompany:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "公司级承诺",instructionsOperate = "公司级承诺",instructionsType = "修改") public Object edit() throws Exception{ @@ -174,7 +174,7 @@ public class AppCommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("commitmentcompany:del") + // @RequiresPermissions("commitmentcompany:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "公司级承诺",instructionsOperate = "公司级承诺",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/commitment/AppCommitmentTeamController.java b/src/main/java/com/zcloud/controller/commitment/AppCommitmentTeamController.java index 6bd1651..6098f16 100644 --- a/src/main/java/com/zcloud/controller/commitment/AppCommitmentTeamController.java +++ b/src/main/java/com/zcloud/controller/commitment/AppCommitmentTeamController.java @@ -67,7 +67,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("commitmentteam:add") +// // @RequiresPermissions("commitmentteam:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "新增") public Object add(@RequestParam(value="FFILE",required=false) MultipartFile[] files) throws Exception{ @@ -102,7 +102,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("commitmentteam:del") +// // @RequiresPermissions("commitmentteam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "删除") public Object delete() throws Exception{ @@ -122,7 +122,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("commitmentteam:edit") +// // @RequiresPermissions("commitmentteam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "修改") public Object edit() throws Exception{ @@ -143,7 +143,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("commitmentteam:list") +// // @RequiresPermissions("commitmentteam:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -166,7 +166,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("commitmentteam:edit") +// // @RequiresPermissions("commitmentteam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -185,7 +185,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") -// @RequiresPermissions("commitmentteam:del") +// // @RequiresPermissions("commitmentteam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -213,7 +213,7 @@ public class AppCommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "班组级承诺",instructionsOperate = "班组级承诺",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/commitment/AppCommitmentWorkshopController.java b/src/main/java/com/zcloud/controller/commitment/AppCommitmentWorkshopController.java index 9cdebf6..564db1b 100644 --- a/src/main/java/com/zcloud/controller/commitment/AppCommitmentWorkshopController.java +++ b/src/main/java/com/zcloud/controller/commitment/AppCommitmentWorkshopController.java @@ -91,7 +91,7 @@ public class AppCommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("commitmentworkshop:del") + // @RequiresPermissions("commitmentworkshop:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "车间级承诺",instructionsOperate = "车间级承诺",instructionsType = "删除") public Object delete() throws Exception{ @@ -109,7 +109,7 @@ public class AppCommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("commitmentworkshop:edit") + // @RequiresPermissions("commitmentworkshop:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "车间级承诺",instructionsOperate = "车间级承诺",instructionsType = "修改") public Object edit() throws Exception{ @@ -167,7 +167,7 @@ public class AppCommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("commitmentworkshop:del") + // @RequiresPermissions("commitmentworkshop:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "车间级承诺",instructionsOperate = "车间级承诺",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -192,7 +192,7 @@ public class AppCommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "车间级承诺",instructionsOperate = "车间级承诺",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/commitment/CommitmentCompanyController.java b/src/main/java/com/zcloud/controller/commitment/CommitmentCompanyController.java index bd5798b..b30dea5 100644 --- a/src/main/java/com/zcloud/controller/commitment/CommitmentCompanyController.java +++ b/src/main/java/com/zcloud/controller/commitment/CommitmentCompanyController.java @@ -41,7 +41,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("commitmentcompany:add") + // @RequiresPermissions("commitmentcompany:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "新增") public Object add() throws Exception{ @@ -60,7 +60,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/replenishSave") -// @RequiresPermissions("commitmentteam:add") +// // @RequiresPermissions("commitmentteam:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "补录") public Object replenishSave() throws Exception{ @@ -97,7 +97,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("commitmentcompany:del") + // @RequiresPermissions("commitmentcompany:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "删除") public Object delete() throws Exception{ @@ -115,7 +115,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("commitmentcompany:edit") + // @RequiresPermissions("commitmentcompany:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "修改") public Object edit() throws Exception{ @@ -133,7 +133,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("commitmentcompany:list") + // @RequiresPermissions("commitmentcompany:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "列表") public Object list() throws Exception{ @@ -170,7 +170,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("commitmentcompany:del") + // @RequiresPermissions("commitmentcompany:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -195,7 +195,7 @@ public class CommitmentCompanyController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "公司级承诺公告",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/commitment/CommitmentTeamController.java b/src/main/java/com/zcloud/controller/commitment/CommitmentTeamController.java index 0e1d6e7..bb5fe04 100644 --- a/src/main/java/com/zcloud/controller/commitment/CommitmentTeamController.java +++ b/src/main/java/com/zcloud/controller/commitment/CommitmentTeamController.java @@ -44,7 +44,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("commitmentteam:add") +// // @RequiresPermissions("commitmentteam:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "新增") public Object add(@RequestParam(value="FFILE",required=false) MultipartFile[] files) throws Exception{ @@ -82,7 +82,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/replenishSave") -// @RequiresPermissions("commitmentteam:add") +// // @RequiresPermissions("commitmentteam:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "补录") public Object replenishSave() throws Exception{ @@ -119,7 +119,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("commitmentteam:del") +// // @RequiresPermissions("commitmentteam:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "删除") public Object delete() throws Exception{ @@ -139,7 +139,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("commitmentteam:edit") +// // @RequiresPermissions("commitmentteam:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "修改") public Object edit() throws Exception{ @@ -160,7 +160,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("commitmentteam:list") + // @RequiresPermissions("commitmentteam:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -183,7 +183,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("commitmentteam:edit") + // @RequiresPermissions("commitmentteam:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -202,7 +202,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") -// @RequiresPermissions("commitmentteam:del") +// // @RequiresPermissions("commitmentteam:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -230,7 +230,7 @@ public class CommitmentTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "班组级承诺公告",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/commitment/CommitmentWorkshopController.java b/src/main/java/com/zcloud/controller/commitment/CommitmentWorkshopController.java index feb34df..cc0836f 100644 --- a/src/main/java/com/zcloud/controller/commitment/CommitmentWorkshopController.java +++ b/src/main/java/com/zcloud/controller/commitment/CommitmentWorkshopController.java @@ -42,7 +42,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("commitmentworkshop:add") + // @RequiresPermissions("commitmentworkshop:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/replenishSave") -// @RequiresPermissions("commitmentteam:add") +// // @RequiresPermissions("commitmentteam:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "补录") public Object replenishSave() throws Exception{ @@ -98,7 +98,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("commitmentworkshop:del") + // @RequiresPermissions("commitmentworkshop:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "删除") public Object delete() throws Exception{ @@ -116,7 +116,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("commitmentworkshop:edit") + // @RequiresPermissions("commitmentworkshop:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "修改") public Object edit() throws Exception{ @@ -134,7 +134,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("commitmentworkshop:list") + // @RequiresPermissions("commitmentworkshop:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -157,7 +157,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("commitmentworkshop:edit") + // @RequiresPermissions("commitmentworkshop:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -176,7 +176,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("commitmentworkshop:del") + // @RequiresPermissions("commitmentworkshop:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -201,7 +201,7 @@ public class CommitmentWorkshopController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "安全承诺",instructionsOperate = "车间级承诺公告",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/corp/CorpAdviceController.java b/src/main/java/com/zcloud/controller/corp/CorpAdviceController.java index 5ab6ddb..2576d33 100644 --- a/src/main/java/com/zcloud/controller/corp/CorpAdviceController.java +++ b/src/main/java/com/zcloud/controller/corp/CorpAdviceController.java @@ -60,7 +60,7 @@ public class CorpAdviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corpadvice:del") + // @RequiresPermissions("corpadvice:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -96,7 +96,7 @@ public class CorpAdviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("corpadvice:list") + // @RequiresPermissions("corpadvice:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -136,7 +136,7 @@ public class CorpAdviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("corpadvice:edit") + // @RequiresPermissions("corpadvice:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -154,7 +154,7 @@ public class CorpAdviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corpadvice:del") + // @RequiresPermissions("corpadvice:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/corp/CorpInfoController.java b/src/main/java/com/zcloud/controller/corp/CorpInfoController.java index e75a0f0..9b7b2c9 100644 --- a/src/main/java/com/zcloud/controller/corp/CorpInfoController.java +++ b/src/main/java/com/zcloud/controller/corp/CorpInfoController.java @@ -72,7 +72,7 @@ public class CorpInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("corpinfo:add") + // @RequiresPermissions("corpinfo:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "企业信息",instructionsType = "新增") @@ -128,7 +128,7 @@ public class CorpInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corpinfo:del") + // @RequiresPermissions("corpinfo:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "企业信息",instructionsType = "删除") public Object delete() throws Exception{ @@ -227,7 +227,7 @@ public class CorpInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("corpinfo:list") + // @RequiresPermissions("corpinfo:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -408,7 +408,7 @@ public class CorpInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corpinfo:del") + // @RequiresPermissions("corpinfo:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "企业信息",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -521,7 +521,7 @@ public class CorpInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/listByCorpType") - @RequiresPermissions("corpinfo:list") + // @RequiresPermissions("corpinfo:list") @ResponseBody public Object listByCorpType(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/corp/CorpPlsInfoController.java b/src/main/java/com/zcloud/controller/corp/CorpPlsInfoController.java index b5635af..4fe2797 100644 --- a/src/main/java/com/zcloud/controller/corp/CorpPlsInfoController.java +++ b/src/main/java/com/zcloud/controller/corp/CorpPlsInfoController.java @@ -34,7 +34,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("corpplsinfo:add") + // @RequiresPermissions("corpplsinfo:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -52,7 +52,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corpplsinfo:del") + // @RequiresPermissions("corpplsinfo:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -69,7 +69,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("corpplsinfo:edit") + // @RequiresPermissions("corpplsinfo:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -86,7 +86,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("corpplsinfo:list") + // @RequiresPermissions("corpplsinfo:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -108,7 +108,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("corpplsinfo:edit") +// // @RequiresPermissions("corpplsinfo:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -126,7 +126,7 @@ public class CorpPlsInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corpplsinfo:del") + // @RequiresPermissions("corpplsinfo:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/corp/CorpTypeController.java b/src/main/java/com/zcloud/controller/corp/CorpTypeController.java index 6c36df8..d6567aa 100644 --- a/src/main/java/com/zcloud/controller/corp/CorpTypeController.java +++ b/src/main/java/com/zcloud/controller/corp/CorpTypeController.java @@ -41,7 +41,7 @@ public class CorpTypeController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("corptype:add") + // @RequiresPermissions("corptype:add") @ResponseBody @Transactional public Object add() throws Exception{ @@ -92,7 +92,7 @@ public class CorpTypeController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corptype:del") + // @RequiresPermissions("corptype:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -109,7 +109,7 @@ public class CorpTypeController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("corptype:edit") + // @RequiresPermissions("corptype:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -140,7 +140,7 @@ public class CorpTypeController extends BaseController { // * @throws Exception // */ // @RequestMapping(value="/list") -// @RequiresPermissions("corptype:list") +// // @RequiresPermissions("corptype:list") // @ResponseBody // public Object list() throws Exception{ // Map map = new HashMap(); @@ -161,7 +161,7 @@ public class CorpTypeController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("corptype:edit") + // @RequiresPermissions("corptype:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -180,7 +180,7 @@ public class CorpTypeController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corptype:del") + // @RequiresPermissions("corptype:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/corp/CorpTypeToDeptController.java b/src/main/java/com/zcloud/controller/corp/CorpTypeToDeptController.java index d0dc394..22d017d 100644 --- a/src/main/java/com/zcloud/controller/corp/CorpTypeToDeptController.java +++ b/src/main/java/com/zcloud/controller/corp/CorpTypeToDeptController.java @@ -36,7 +36,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("corptypetodept:add") + // @RequiresPermissions("corptypetodept:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -54,7 +54,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("corptypetodept:del") + // @RequiresPermissions("corptypetodept:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -71,7 +71,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("corptypetodept:edit") + // @RequiresPermissions("corptypetodept:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -88,7 +88,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("corptypetodept:list") + // @RequiresPermissions("corptypetodept:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -110,7 +110,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("corptypetodept:edit") +// // @RequiresPermissions("corptypetodept:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -128,7 +128,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("corptypetodept:del") + // @RequiresPermissions("corptypetodept:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -151,7 +151,7 @@ public class CorpTypeToDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/goLisByCorpTypeId") -// @RequiresPermissions("corptypetodept:edit") +// // @RequiresPermissions("corptypetodept:edit") @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "企业信息",instructionsType = "去修改页面获取数据") @ResponseBody public Object goLisByCorpTypeId() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/corp/QualificationsController.java b/src/main/java/com/zcloud/controller/corp/QualificationsController.java index 0ff1a8a..00e0114 100644 --- a/src/main/java/com/zcloud/controller/corp/QualificationsController.java +++ b/src/main/java/com/zcloud/controller/corp/QualificationsController.java @@ -39,7 +39,7 @@ public class QualificationsController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("qualifications:add") + // @RequiresPermissions("qualifications:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "行业资质",instructionsType = "新增") public Object add() throws Exception{ @@ -65,7 +65,7 @@ public class QualificationsController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("qualifications:del") + // @RequiresPermissions("qualifications:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "行业资质",instructionsType = "删除") public Object delete() throws Exception{ @@ -94,7 +94,7 @@ public class QualificationsController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("qualifications:edit") + // @RequiresPermissions("qualifications:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "行业资质",instructionsType = "修改") public Object edit() throws Exception{ @@ -115,7 +115,7 @@ public class QualificationsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("qualifications:list") + // @RequiresPermissions("qualifications:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "行业资质",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -174,7 +174,7 @@ public class QualificationsController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("qualifications:del") + // @RequiresPermissions("qualifications:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "行业资质",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/courseware/AppCoursewareController.java b/src/main/java/com/zcloud/controller/courseware/AppCoursewareController.java index 9232093..4b6657f 100644 --- a/src/main/java/com/zcloud/controller/courseware/AppCoursewareController.java +++ b/src/main/java/com/zcloud/controller/courseware/AppCoursewareController.java @@ -102,7 +102,7 @@ public class AppCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("courseware:add") + // @RequiresPermissions("courseware:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "资料课件维护",instructionsOperate = "资料课件维护",instructionsType = "新增") public Object add(@RequestParam(value="cfile",required=false) MultipartFile cfile, @@ -149,7 +149,7 @@ public class AppCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "资料课件维护",instructionsOperate = "资料课件维护",instructionsType = "删除") public Object delete() throws Exception{ @@ -176,7 +176,7 @@ public class AppCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "资料课件维护",instructionsOperate = "资料课件维护",instructionsType = "修改") public Object edit(@RequestParam(value="cfile",required=false) MultipartFile cfile, @@ -276,7 +276,7 @@ public class AppCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "资料课件维护",instructionsOperate = "资料课件维护",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -311,7 +311,7 @@ public class AppCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "资料课件维护",instructionsOperate = "资料课件维护",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/courseware/DataCoursewareController.java b/src/main/java/com/zcloud/controller/courseware/DataCoursewareController.java index b047425..ed64efa 100644 --- a/src/main/java/com/zcloud/controller/courseware/DataCoursewareController.java +++ b/src/main/java/com/zcloud/controller/courseware/DataCoursewareController.java @@ -45,7 +45,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("courseware:add") + // @RequiresPermissions("courseware:add") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "新增") public Object add(@RequestParam(value="cfile",required=false) MultipartFile cfile, @@ -96,7 +96,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -130,7 +130,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "修改") public Object edit(@RequestParam(value="cfile",required=false) MultipartFile cfile, @@ -178,7 +178,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课程管理",instructionsType = "资料课件列表") public Object list(Page page) throws Exception{ @@ -223,7 +223,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -258,7 +258,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -345,7 +345,7 @@ public class DataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/editState") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody public Object editState() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/courseware/QuestionController.java b/src/main/java/com/zcloud/controller/courseware/QuestionController.java index 13f4106..ee3e6b9 100644 --- a/src/main/java/com/zcloud/controller/courseware/QuestionController.java +++ b/src/main/java/com/zcloud/controller/courseware/QuestionController.java @@ -42,7 +42,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"question:add" , "courseware:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:add" , "courseware:add"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "课件习题新增") public Object add() throws Exception{ @@ -72,7 +72,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "课件习题删除") public Object delete() throws Exception{ @@ -92,7 +92,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "课件习题修改") public Object edit() throws Exception{ @@ -113,7 +113,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "课件习题列表") public Object list(Page page) throws Exception{ @@ -137,7 +137,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -155,7 +155,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "课件习题批量删除") public Object deleteAll() throws Exception{ @@ -183,7 +183,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -294,7 +294,7 @@ public class QuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/readExcel") -// @RequiresPermissions("fromExcel") +// // @RequiresPermissions("fromExcel") @SuppressWarnings("unchecked") @ResponseBody @Transactional diff --git a/src/main/java/com/zcloud/controller/courseware/VideoCoursewareController.java b/src/main/java/com/zcloud/controller/courseware/VideoCoursewareController.java index bae5e20..da035a9 100644 --- a/src/main/java/com/zcloud/controller/courseware/VideoCoursewareController.java +++ b/src/main/java/com/zcloud/controller/courseware/VideoCoursewareController.java @@ -59,7 +59,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ // @RequestMapping(value="/add") -// @RequiresPermissions("courseware:add") +// // @RequiresPermissions("courseware:add") // @ResponseBody // public Object add(@RequestParam(value="vfile",required=false) MultipartFile vfile, // @RequestParam(value="vcfile",required=false) MultipartFile vcfile) throws Exception{ @@ -114,7 +114,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("courseware:add") + // @RequiresPermissions("courseware:add") @ResponseBody @Transactional @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "新增") @@ -181,7 +181,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -217,7 +217,7 @@ public class VideoCoursewareController extends BaseController { // * @throws Exception // */ // @RequestMapping(value="/edit") -// @RequiresPermissions("courseware:edit") +// // @RequiresPermissions("courseware:edit") // @ResponseBody // public Object edit(@RequestParam(value="vfile",required=false) MultipartFile vfile, // @RequestParam(value="vcfile",required=false) MultipartFile vcfile) throws Exception{ @@ -267,7 +267,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -334,7 +334,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课程管理",instructionsType = "视频课件列表") public Object list(Page page) throws Exception{ @@ -456,7 +456,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -491,7 +491,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -559,7 +559,7 @@ public class VideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/editState") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课件管理",instructionsType = "修改状态") public Object editState() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/curriculum/AppMyCurriculumController.java b/src/main/java/com/zcloud/controller/curriculum/AppMyCurriculumController.java index fab08eb..1c430b6 100644 --- a/src/main/java/com/zcloud/controller/curriculum/AppMyCurriculumController.java +++ b/src/main/java/com/zcloud/controller/curriculum/AppMyCurriculumController.java @@ -143,7 +143,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("curriculum:add") + // @RequiresPermissions("curriculum:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -168,7 +168,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("curriculum:del") + // @RequiresPermissions("curriculum:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -187,7 +187,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("curriculum:edit") + // @RequiresPermissions("curriculum:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -207,7 +207,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("curriculum:list") + // @RequiresPermissions("curriculum:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -230,7 +230,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("curriculum:del") + // @RequiresPermissions("curriculum:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -257,7 +257,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -307,7 +307,7 @@ public class AppMyCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/listSummary") -// @RequiresPermissions("curriculum:list") +// // @RequiresPermissions("curriculum:list") @ResponseBody public Object listSummary(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/curriculum/CurriculumController.java b/src/main/java/com/zcloud/controller/curriculum/CurriculumController.java index f8c4b37..76b961f 100644 --- a/src/main/java/com/zcloud/controller/curriculum/CurriculumController.java +++ b/src/main/java/com/zcloud/controller/curriculum/CurriculumController.java @@ -58,7 +58,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("curriculum:add") + // @RequiresPermissions("curriculum:add") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课程管理",instructionsType = "新增") public Object add(@RequestParam(value="FFILE",required=false) MultipartFile FFILE) throws Exception{ @@ -121,7 +121,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("curriculum:del") + // @RequiresPermissions("curriculum:del") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课程管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -148,7 +148,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("curriculum:edit") + // @RequiresPermissions("curriculum:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课程管理",instructionsType = "修改") public Object edit(@RequestParam(value="FFILE",required=false) MultipartFile FFILE) throws Exception{ @@ -207,7 +207,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/inherit") - @RequiresPermissions("curriculum:edit") + // @RequiresPermissions("curriculum:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课程管理",instructionsType = "继承") public Object inherit(@RequestParam(value="FFILE",required=false) MultipartFile FFILE) throws Exception{ @@ -270,7 +270,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("curriculum:list") + // @RequiresPermissions("curriculum:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "课程管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -294,7 +294,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("curriculum:edit") +// // @RequiresPermissions("curriculum:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课程管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -330,7 +330,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("curriculum:del") + // @RequiresPermissions("curriculum:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -357,7 +357,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -407,7 +407,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/findForStudyByCurriculumId") -// @RequiresPermissions("curriculum:edit") +// // @RequiresPermissions("curriculum:edit") @ResponseBody public Object findForStudyByCurriculumId() throws Exception{ Map map = new HashMap(); @@ -426,7 +426,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/pageDataByUser") -// @RequiresPermissions("curriculum:list") +// // @RequiresPermissions("curriculum:list") @ResponseBody public Object pageDataByUser(Page page) throws Exception{ Map map = new HashMap(); @@ -450,7 +450,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/listSummary") -// @RequiresPermissions("curriculum:list") +// // @RequiresPermissions("curriculum:list") @ResponseBody public Object listSummary(Page page) throws Exception{ Map map = new HashMap(); @@ -472,7 +472,7 @@ public class CurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/listTreeByUserId") - @RequiresPermissions("curriculum:list") + // @RequiresPermissions("curriculum:list") @ResponseBody public Object listTree(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/curriculum/KcmiddlekjController.java b/src/main/java/com/zcloud/controller/curriculum/KcmiddlekjController.java index 1cda149..7072fde 100644 --- a/src/main/java/com/zcloud/controller/curriculum/KcmiddlekjController.java +++ b/src/main/java/com/zcloud/controller/curriculum/KcmiddlekjController.java @@ -36,7 +36,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("kcmiddlekj:add") + // @RequiresPermissions("kcmiddlekj:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -61,7 +61,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("kcmiddlekj:del") + // @RequiresPermissions("kcmiddlekj:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -80,7 +80,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("kcmiddlekj:edit") + // @RequiresPermissions("kcmiddlekj:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -100,7 +100,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("kcmiddlekj:list") +// // @RequiresPermissions("kcmiddlekj:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "我的任务",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("kcmiddlekj:edit") + // @RequiresPermissions("kcmiddlekj:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -143,7 +143,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("kcmiddlekj:del") + // @RequiresPermissions("kcmiddlekj:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -170,7 +170,7 @@ public class KcmiddlekjController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/depository/LabelFactoryController.java b/src/main/java/com/zcloud/controller/depository/LabelFactoryController.java index 6ce2936..94e52da 100644 --- a/src/main/java/com/zcloud/controller/depository/LabelFactoryController.java +++ b/src/main/java/com/zcloud/controller/depository/LabelFactoryController.java @@ -140,7 +140,7 @@ public class LabelFactoryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("labelfacory:del") + // @RequiresPermissions("labelfacory:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -159,7 +159,7 @@ public class LabelFactoryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("labelfacory:edit") + // @RequiresPermissions("labelfacory:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -197,7 +197,7 @@ public class LabelFactoryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("labelfacory:del") + // @RequiresPermissions("labelfacory:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/depository/TextLibraryController.java b/src/main/java/com/zcloud/controller/depository/TextLibraryController.java index bca4b58..9d9a59d 100644 --- a/src/main/java/com/zcloud/controller/depository/TextLibraryController.java +++ b/src/main/java/com/zcloud/controller/depository/TextLibraryController.java @@ -41,7 +41,7 @@ public class TextLibraryController extends BaseController { private CorpInfoService corpInfoService; @RequestMapping(value = "/init") - @RequiresPermissions("textlibrary:add") + // @RequiresPermissions("textlibrary:add") @ResponseBody public Object init(@RequestParam(value = "FILE", required = false) MultipartFile[] FILE) throws Exception { Map response = new HashMap<>(); @@ -52,7 +52,7 @@ public class TextLibraryController extends BaseController { } @RequestMapping(value = "/list") - @RequiresPermissions("textlibrary:list") + // @RequiresPermissions("textlibrary:list") @ResponseBody public Object list(Page page) throws Exception { Map map = new HashMap(); @@ -142,7 +142,7 @@ public class TextLibraryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("textlibrary:del") + // @RequiresPermissions("textlibrary:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -168,7 +168,7 @@ public class TextLibraryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("textlibrary:edit") + // @RequiresPermissions("textlibrary:edit") @ResponseBody public Object goEdit() throws Exception { Map map = new HashMap(); @@ -188,7 +188,7 @@ public class TextLibraryController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("textlibrary:del") + // @RequiresPermissions("textlibrary:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/education/PersonObtainEvidenceController.java b/src/main/java/com/zcloud/controller/education/PersonObtainEvidenceController.java index acafc5c..84e4d8b 100644 --- a/src/main/java/com/zcloud/controller/education/PersonObtainEvidenceController.java +++ b/src/main/java/com/zcloud/controller/education/PersonObtainEvidenceController.java @@ -46,7 +46,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("personobtainevidence:add") + // @RequiresPermissions("personobtainevidence:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -79,7 +79,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("personobtainevidence:del") + // @RequiresPermissions("personobtainevidence:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "删除") public Object delete() throws Exception{ @@ -99,7 +99,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("personobtainevidence:edit") + // @RequiresPermissions("personobtainevidence:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -127,7 +127,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("personobtainevidence:list") + // @RequiresPermissions("personobtainevidence:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -151,7 +151,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("personobtainevidence:edit") + // @RequiresPermissions("personobtainevidence:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -259,7 +259,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("personobtainevidence:del") + // @RequiresPermissions("personobtainevidence:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -284,7 +284,7 @@ public class PersonObtainEvidenceController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "人员取证情况",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/education/TrainingInfoController.java b/src/main/java/com/zcloud/controller/education/TrainingInfoController.java index 5c075da..92e64a0 100644 --- a/src/main/java/com/zcloud/controller/education/TrainingInfoController.java +++ b/src/main/java/com/zcloud/controller/education/TrainingInfoController.java @@ -36,7 +36,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("traininginfo:add") + // @RequiresPermissions("traininginfo:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -69,7 +69,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("traininginfo:del") + // @RequiresPermissions("traininginfo:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "删除") public Object delete() throws Exception{ @@ -89,7 +89,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("traininginfo:edit") + // @RequiresPermissions("traininginfo:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -117,7 +117,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("traininginfo:list") + // @RequiresPermissions("traininginfo:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -152,7 +152,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("traininginfo:edit") + // @RequiresPermissions("traininginfo:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -171,7 +171,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("traininginfo:del") + // @RequiresPermissions("traininginfo:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -196,7 +196,7 @@ public class TrainingInfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训情况",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/education/TrainingPlanController.java b/src/main/java/com/zcloud/controller/education/TrainingPlanController.java index d826e81..c996929 100644 --- a/src/main/java/com/zcloud/controller/education/TrainingPlanController.java +++ b/src/main/java/com/zcloud/controller/education/TrainingPlanController.java @@ -36,7 +36,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("trainingplan:add") + // @RequiresPermissions("trainingplan:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -69,7 +69,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("trainingplan:del") + // @RequiresPermissions("trainingplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "删除") public Object delete() throws Exception{ @@ -89,7 +89,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("trainingplan:edit") + // @RequiresPermissions("trainingplan:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -118,7 +118,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("trainingplan:list") + // @RequiresPermissions("trainingplan:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -151,7 +151,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("trainingplan:edit") + // @RequiresPermissions("trainingplan:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -170,7 +170,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("trainingplan:del") + // @RequiresPermissions("trainingplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -195,7 +195,7 @@ public class TrainingPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "教育培训",instructionsOperate = "培训计划",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillAttachmentController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillAttachmentController.java index ec2f1f0..23c0d20 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillAttachmentController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillAttachmentController.java @@ -37,7 +37,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -74,7 +74,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -93,7 +93,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ Map map = new HashMap(); @@ -124,7 +124,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -147,7 +147,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -165,7 +165,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -192,7 +192,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -257,7 +257,7 @@ public class EmergencyDrillAttachmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEditByBasicId") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEditByBasicId() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillBasicController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillBasicController.java index 5c06b61..c6bc9f9 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillBasicController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillBasicController.java @@ -36,7 +36,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add() throws Exception{ @@ -62,7 +62,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -82,7 +82,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -103,7 +103,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -127,7 +127,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -146,7 +146,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -174,7 +174,7 @@ public class EmergencyDrillBasicController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillContentController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillContentController.java index 6be6362..afe2c1c 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillContentController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillContentController.java @@ -36,7 +36,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyDrillContentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgController.java index 92d41b8..3589b49 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgController.java @@ -36,7 +36,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyDrillOrgController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgMemberController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgMemberController.java index 9bcbe83..13e5516 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgMemberController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillOrgMemberController.java @@ -36,7 +36,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyDrillOrgMemberController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillReportController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillReportController.java index f8ac7f7..601e488 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillReportController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillReportController.java @@ -37,7 +37,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -74,7 +74,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -93,7 +93,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ Map map = new HashMap(); @@ -124,7 +124,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -147,7 +147,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -165,7 +165,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -192,7 +192,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -259,7 +259,7 @@ public class EmergencyDrillReportController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEditByBasicId") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEditByBasicId() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillSceneController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillSceneController.java index b3af7d4..d4eac6e 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyDrillSceneController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyDrillSceneController.java @@ -36,7 +36,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencydrillbasic:add") + // @RequiresPermissions("emergencydrillbasic:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencydrillbasic:list") + // @RequiresPermissions("emergencydrillbasic:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencydrillbasic:edit") + // @RequiresPermissions("emergencydrillbasic:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencydrillbasic:del") + // @RequiresPermissions("emergencydrillbasic:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyDrillSceneController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急演练管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyEquipmentController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyEquipmentController.java index 4dc7e2a..07855fa 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyEquipmentController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyEquipmentController.java @@ -36,7 +36,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencyequipment:add") + // @RequiresPermissions("emergencyequipment:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencyequipment:del") + // @RequiresPermissions("emergencyequipment:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencyequipment:edit") + // @RequiresPermissions("emergencyequipment:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencyequipment:list") + // @RequiresPermissions("emergencyequipment:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencyequipment:edit") + // @RequiresPermissions("emergencyequipment:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencyequipment:del") + // @RequiresPermissions("emergencyequipment:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急装备管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyPlanController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyPlanController.java index 7a16fc2..05fa9a1 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyPlanController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyPlanController.java @@ -37,7 +37,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencyplan:add") + // @RequiresPermissions("emergencyplan:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -73,7 +73,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencyplan:del") + // @RequiresPermissions("emergencyplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -93,7 +93,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencyplan:edit") + // @RequiresPermissions("emergencyplan:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -124,7 +124,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencyplan:list") + // @RequiresPermissions("emergencyplan:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -148,7 +148,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencyplan:edit") + // @RequiresPermissions("emergencyplan:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -167,7 +167,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencyplan:del") + // @RequiresPermissions("emergencyplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -195,7 +195,7 @@ public class EmergencyPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急预案管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/emergency/EmergencyTeamController.java b/src/main/java/com/zcloud/controller/emergency/EmergencyTeamController.java index 7116b17..ef933cd 100644 --- a/src/main/java/com/zcloud/controller/emergency/EmergencyTeamController.java +++ b/src/main/java/com/zcloud/controller/emergency/EmergencyTeamController.java @@ -36,7 +36,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("emergencyteam:add") + // @RequiresPermissions("emergencyteam:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("emergencyteam:del") + // @RequiresPermissions("emergencyteam:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("emergencyteam:edit") + // @RequiresPermissions("emergencyteam:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -101,7 +101,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("emergencyteam:list") + // @RequiresPermissions("emergencyteam:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -125,7 +125,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("emergencyteam:edit") + // @RequiresPermissions("emergencyteam:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -144,7 +144,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("emergencyteam:del") + // @RequiresPermissions("emergencyteam:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -172,7 +172,7 @@ public class EmergencyTeamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "应急资源管理",instructionsOperate = "应急救援队伍管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/filemanager/MfolderController.java b/src/main/java/com/zcloud/controller/filemanager/MfolderController.java index 1f406f2..c3047b6 100644 --- a/src/main/java/com/zcloud/controller/filemanager/MfolderController.java +++ b/src/main/java/com/zcloud/controller/filemanager/MfolderController.java @@ -39,7 +39,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("mfolder:add") + // @RequiresPermissions("mfolder:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "创建目录") public Object add() throws Exception{ @@ -65,7 +65,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value="/upload") - @RequiresPermissions("mfolder:add") + // @RequiresPermissions("mfolder:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "上传文件") public Object add( @@ -111,7 +111,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value = "/batchUpload") - @RequiresPermissions("mfolder:add") + // @RequiresPermissions("mfolder:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "批量上传文件") public Object batchUpload(@RequestParam(value = "FFILE", required = false) MultipartFile[] files, @@ -206,7 +206,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("mfolder:del") + // @RequiresPermissions("mfolder:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "删除") public Object delete(@RequestParam String MFOLDER_ID, @RequestParam String FILEPATH) throws Exception{ @@ -231,7 +231,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("mfolder:edit") + // @RequiresPermissions("mfolder:edit") @ResponseBody // @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "修改") public Object edit() throws Exception{ @@ -375,7 +375,7 @@ public class MfolderController extends BaseController { * @throws Exception */ @RequestMapping(value="/makeAll") - @RequiresPermissions("mfolder:edit") + // @RequiresPermissions("mfolder:edit") @ResponseBody // @LogAnno(menuType= "双重预防",menuServer= "体系运行",instructionsOperate = "体系文件",instructionsType = "批量操作") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/healthmanagement/HealthRecordsController.java b/src/main/java/com/zcloud/controller/healthmanagement/HealthRecordsController.java index e72bceb..1985191 100644 --- a/src/main/java/com/zcloud/controller/healthmanagement/HealthRecordsController.java +++ b/src/main/java/com/zcloud/controller/healthmanagement/HealthRecordsController.java @@ -36,7 +36,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("healthrecords:add") + // @RequiresPermissions("healthrecords:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("healthrecords:del") + // @RequiresPermissions("healthrecords:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("healthrecords:edit") + // @RequiresPermissions("healthrecords:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("healthrecords:list") + // @RequiresPermissions("healthrecords:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -131,7 +131,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("healthrecords:edit") + // @RequiresPermissions("healthrecords:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -150,7 +150,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("healthrecords:del") + // @RequiresPermissions("healthrecords:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -175,7 +175,7 @@ public class HealthRecordsController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业卫生档案",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/healthmanagement/HealthTrainingController.java b/src/main/java/com/zcloud/controller/healthmanagement/HealthTrainingController.java index b516d6d..d0805fc 100644 --- a/src/main/java/com/zcloud/controller/healthmanagement/HealthTrainingController.java +++ b/src/main/java/com/zcloud/controller/healthmanagement/HealthTrainingController.java @@ -36,7 +36,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("healthtraining:add") + // @RequiresPermissions("healthtraining:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("healthtraining:del") + // @RequiresPermissions("healthtraining:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("healthtraining:edit") + // @RequiresPermissions("healthtraining:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("healthtraining:list") + // @RequiresPermissions("healthtraining:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -131,7 +131,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("healthtraining:edit") + // @RequiresPermissions("healthtraining:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -150,7 +150,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("healthtraining:del") + // @RequiresPermissions("healthtraining:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -175,7 +175,7 @@ public class HealthTrainingController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业健康培训",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHazardController.java b/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHazardController.java index 9cae7ff..d785dfa 100644 --- a/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHazardController.java +++ b/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHazardController.java @@ -36,7 +36,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("occupationalhazard:add") + // @RequiresPermissions("occupationalhazard:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("occupationalhazard:del") + // @RequiresPermissions("occupationalhazard:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("occupationalhazard:edit") + // @RequiresPermissions("occupationalhazard:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("occupationalhazard:list") + // @RequiresPermissions("occupationalhazard:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -121,7 +121,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("occupationalhazard:edit") + // @RequiresPermissions("occupationalhazard:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -140,7 +140,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("occupationalhazard:del") + // @RequiresPermissions("occupationalhazard:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -165,7 +165,7 @@ public class OccupationalHazardController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "职业病危害因素",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHealthController.java b/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHealthController.java index 4e49438..6f3e758 100644 --- a/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHealthController.java +++ b/src/main/java/com/zcloud/controller/healthmanagement/OccupationalHealthController.java @@ -36,7 +36,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("occupationalhealth:add") + // @RequiresPermissions("occupationalhealth:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("occupationalhealth:del") + // @RequiresPermissions("occupationalhealth:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("occupationalhealth:edit") + // @RequiresPermissions("occupationalhealth:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("occupationalhealth:list") + // @RequiresPermissions("occupationalhealth:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -121,7 +121,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("occupationalhealth:edit") + // @RequiresPermissions("occupationalhealth:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -140,7 +140,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("occupationalhealth:del") + // @RequiresPermissions("occupationalhealth:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -165,7 +165,7 @@ public class OccupationalHealthController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "职业健康管理",instructionsOperate = "企业职业健康",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/hidden/HiddenController.java b/src/main/java/com/zcloud/controller/hidden/HiddenController.java index 269f040..ee3669d 100644 --- a/src/main/java/com/zcloud/controller/hidden/HiddenController.java +++ b/src/main/java/com/zcloud/controller/hidden/HiddenController.java @@ -84,7 +84,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("hidden:add") + // @RequiresPermissions("hidden:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "新增") public Object add() throws Exception { @@ -156,7 +156,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/listForSafetyEnvironmental") - @RequiresPermissions("hidden:list") + // @RequiresPermissions("hidden:list") @ResponseBody public Object listForSafetyEnvironmental(Page page) throws Exception { Map map = new HashMap(); @@ -264,7 +264,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("hidden:edit") + // @RequiresPermissions("hidden:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -634,7 +634,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("hidden:list") + // @RequiresPermissions("hidden:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患治理",instructionsOperate = "隐患整改",instructionsType = "列表") public Object list(Page page) throws Exception { @@ -903,7 +903,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("hidden:edit") + // @RequiresPermissions("hidden:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单检查记录",instructionsType = "查看隐患信息") public Object goEdit() throws Exception { @@ -1092,7 +1092,7 @@ public class HiddenController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("hidden:del") + // @RequiresPermissions("hidden:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/inspection/DictionaryController.java b/src/main/java/com/zcloud/controller/inspection/DictionaryController.java index de0feb0..77b73b2 100644 --- a/src/main/java/com/zcloud/controller/inspection/DictionaryController.java +++ b/src/main/java/com/zcloud/controller/inspection/DictionaryController.java @@ -34,7 +34,7 @@ public class DictionaryController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalAssessController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalAssessController.java index 27655f5..edf96ea 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalAssessController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalAssessController.java @@ -64,7 +64,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentalassess:del") + // @RequiresPermissions("safetyenvironmentalassess:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -83,7 +83,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentalassess:edit") + // @RequiresPermissions("safetyenvironmentalassess:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -103,7 +103,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentalassess:list") + // @RequiresPermissions("safetyenvironmentalassess:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -126,7 +126,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentalassess:edit") + // @RequiresPermissions("safetyenvironmentalassess:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -144,7 +144,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentalassess:del") + // @RequiresPermissions("safetyenvironmentalassess:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -171,7 +171,7 @@ public class SafetyEnvironmentalAssessController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalController.java index a6a76c5..025da0a 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalController.java @@ -200,7 +200,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("safetyenvironmental:list") + // @RequiresPermissions("safetyenvironmental:list") @ResponseBody public Object list(Page page) throws Exception { Map map = new HashMap(); @@ -241,7 +241,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/pleadList") - @RequiresPermissions("safetyenvironmental:list") + // @RequiresPermissions("safetyenvironmental:list") @ResponseBody public Object pleadList(Page page) throws Exception { Map map = new HashMap(); @@ -270,7 +270,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("safetyenvironmental:add") + // @RequiresPermissions("safetyenvironmental:add") @ResponseBody public Object add() throws Exception { Map map = new HashMap(); @@ -334,7 +334,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("safetyenvironmental:edit") + // @RequiresPermissions("safetyenvironmental:edit") @ResponseBody public Object goEdit() throws Exception { Map map = new HashMap(); @@ -355,7 +355,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("safetyenvironmental:edit") + // @RequiresPermissions("safetyenvironmental:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -395,7 +395,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/explain") - @RequiresPermissions("safetyenvironmental:edit") + // @RequiresPermissions("safetyenvironmental:edit") @ResponseBody public Object explain() throws Exception { Map map = new HashMap(); @@ -435,7 +435,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("safetyenvironmental:del") + // @RequiresPermissions("safetyenvironmental:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -454,7 +454,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/hide") - @RequiresPermissions("safetyenvironmental:del") + // @RequiresPermissions("safetyenvironmental:del") @ResponseBody public Object hide() throws Exception { Map map = new HashMap(); @@ -475,7 +475,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("safetyenvironmental:del") + // @RequiresPermissions("safetyenvironmental:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); @@ -504,7 +504,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -720,7 +720,7 @@ public class SafetyEnvironmentalController extends BaseController { * @throws Exception */ @RequestMapping(value = "/checkList") - @RequiresPermissions("safetyenvironmental:list") + // @RequiresPermissions("safetyenvironmental:list") @ResponseBody public Object checkList(Page page) throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalExplainController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalExplainController.java index 6d10858..b04a666 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalExplainController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalExplainController.java @@ -50,7 +50,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentalexplain:list") + // @RequiresPermissions("safetyenvironmentalexplain:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -98,7 +98,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentalexplain:add") + // @RequiresPermissions("safetyenvironmentalexplain:add") @ResponseBody public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ Map map = new HashMap(); @@ -158,7 +158,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentalexplain:del") + // @RequiresPermissions("safetyenvironmentalexplain:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -177,7 +177,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentalexplain:edit") + // @RequiresPermissions("safetyenvironmentalexplain:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -197,7 +197,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentalexplain:edit") + // @RequiresPermissions("safetyenvironmentalexplain:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -215,7 +215,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentalexplain:del") + // @RequiresPermissions("safetyenvironmentalexplain:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -242,7 +242,7 @@ public class SafetyEnvironmentalExplainController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalInspectorController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalInspectorController.java index 77ca829..f69b474 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalInspectorController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalInspectorController.java @@ -45,7 +45,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentalinspector:list") + // @RequiresPermissions("safetyenvironmentalinspector:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -93,7 +93,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/verify") - @RequiresPermissions("safetyenvironmentalinspector:add") + // @RequiresPermissions("safetyenvironmentalinspector:add") @ResponseBody public Object verify() throws Exception{ Map map = new HashMap(); @@ -144,7 +144,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentalinspector:add") + // @RequiresPermissions("safetyenvironmentalinspector:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -169,7 +169,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentalinspector:del") + // @RequiresPermissions("safetyenvironmentalinspector:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -188,7 +188,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentalinspector:edit") + // @RequiresPermissions("safetyenvironmentalinspector:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -208,7 +208,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentalinspector:edit") + // @RequiresPermissions("safetyenvironmentalinspector:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -226,7 +226,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentalinspector:del") + // @RequiresPermissions("safetyenvironmentalinspector:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -253,7 +253,7 @@ public class SafetyEnvironmentalInspectorController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalLogController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalLogController.java index 779fbd3..f7ec8eb 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalLogController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalLogController.java @@ -35,7 +35,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentallog:add") + // @RequiresPermissions("safetyenvironmentallog:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -56,7 +56,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentallog:del") + // @RequiresPermissions("safetyenvironmentallog:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentallog:edit") + // @RequiresPermissions("safetyenvironmentallog:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -95,7 +95,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentallog:list") + // @RequiresPermissions("safetyenvironmentallog:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -118,7 +118,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentallog:edit") + // @RequiresPermissions("safetyenvironmentallog:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -136,7 +136,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentallog:del") + // @RequiresPermissions("safetyenvironmentallog:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -163,7 +163,7 @@ public class SafetyEnvironmentalLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalSituationController.java b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalSituationController.java index eaccf48..43352d6 100644 --- a/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalSituationController.java +++ b/src/main/java/com/zcloud/controller/inspection/SafetyEnvironmentalSituationController.java @@ -35,7 +35,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyenvironmentalsituation:add") + // @RequiresPermissions("safetyenvironmentalsituation:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -60,7 +60,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyenvironmentalsituation:del") + // @RequiresPermissions("safetyenvironmentalsituation:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -79,7 +79,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyenvironmentalsituation:edit") + // @RequiresPermissions("safetyenvironmentalsituation:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -99,7 +99,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyenvironmentalsituation:list") + // @RequiresPermissions("safetyenvironmentalsituation:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -122,7 +122,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyenvironmentalsituation:edit") + // @RequiresPermissions("safetyenvironmentalsituation:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -140,7 +140,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyenvironmentalsituation:del") + // @RequiresPermissions("safetyenvironmentalsituation:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -167,7 +167,7 @@ public class SafetyEnvironmentalSituationController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/invoice/BillingManageController.java b/src/main/java/com/zcloud/controller/invoice/BillingManageController.java index fc4a279..d90856f 100644 --- a/src/main/java/com/zcloud/controller/invoice/BillingManageController.java +++ b/src/main/java/com/zcloud/controller/invoice/BillingManageController.java @@ -38,7 +38,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("billingmanage:add") + // @RequiresPermissions("billingmanage:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("billingmanage:del") + // @RequiresPermissions("billingmanage:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("billingmanage:edit") + // @RequiresPermissions("billingmanage:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -113,7 +113,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("billingmanage:list") + // @RequiresPermissions("billingmanage:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -144,7 +144,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("billingmanage:edit") + // @RequiresPermissions("billingmanage:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -163,7 +163,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("billingmanage:del") + // @RequiresPermissions("billingmanage:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -188,7 +188,7 @@ public class BillingManageController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "开票管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/invoice/InvoiceManagerController.java b/src/main/java/com/zcloud/controller/invoice/InvoiceManagerController.java index 8a1d71d..c327ca2 100644 --- a/src/main/java/com/zcloud/controller/invoice/InvoiceManagerController.java +++ b/src/main/java/com/zcloud/controller/invoice/InvoiceManagerController.java @@ -36,7 +36,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("invoicemanager:add") + // @RequiresPermissions("invoicemanager:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "新增") public Object add() throws Exception{ @@ -59,7 +59,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("invoicemanager:del") + // @RequiresPermissions("invoicemanager:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -77,7 +77,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("invoicemanager:edit") + // @RequiresPermissions("invoicemanager:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -95,7 +95,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("invoicemanager:list") + // @RequiresPermissions("invoicemanager:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -119,7 +119,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("invoicemanager:edit") + // @RequiresPermissions("invoicemanager:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -157,7 +157,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("invoicemanager:del") + // @RequiresPermissions("invoicemanager:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -182,7 +182,7 @@ public class InvoiceManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "发票管理",instructionsOperate = "发票管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceController.java b/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceController.java index 3e41dcb..18e06d5 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceController.java @@ -44,7 +44,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("majordangersource:add") + // @RequiresPermissions("majordangersource:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -78,7 +78,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("majordangersource:del") + // @RequiresPermissions("majordangersource:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -98,7 +98,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -131,7 +131,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/enable") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "启用") public Object enable() throws Exception{ @@ -181,7 +181,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("majordangersource:list") + // @RequiresPermissions("majordangersource:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -205,7 +205,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -224,7 +224,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("majordangersource:del") + // @RequiresPermissions("majordangersource:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -257,7 +257,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -348,7 +348,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/findRealTimeMonitoringListAll") - @RequiresPermissions("majordangersource:list") + // @RequiresPermissions("majordangersource:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "实时监控获取所有的重大危险源列表") public Object findRealTimeMonitoringListAll() throws Exception{ @@ -369,7 +369,7 @@ public class MajorDangerSourceController extends BaseController { * @throws Exception */ @RequestMapping(value="/findRealtimeInfo") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "获取重大危险源信息及实时监测数据展示") public Object findRealtimeInfo() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceLogController.java b/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceLogController.java index d28f6ca..afcaa87 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceLogController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MajorDangerSourceLogController.java @@ -35,7 +35,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("majordangersource:add") + // @RequiresPermissions("majordangersource:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -59,7 +59,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("majordangersource:del") + // @RequiresPermissions("majordangersource:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -78,7 +78,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -97,7 +97,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("majordangersource:list") + // @RequiresPermissions("majordangersource:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -121,7 +121,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -139,7 +139,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goCompare") - @RequiresPermissions("majordangersource:edit") + // @RequiresPermissions("majordangersource:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "最大危险源管理",instructionsType = "去变更页面获取数据") public Object goCompare(Page page) throws Exception{ @@ -162,7 +162,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("majordangersource:del") + // @RequiresPermissions("majordangersource:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -194,7 +194,7 @@ public class MajorDangerSourceLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceDisposalController.java b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceDisposalController.java index 2461e34..72e367d 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceDisposalController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceDisposalController.java @@ -193,7 +193,7 @@ public class MajordangersourceDisposalController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("majordangersourcedisposal:del") + // @RequiresPermissions("majordangersourcedisposal:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -212,7 +212,7 @@ public class MajordangersourceDisposalController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("majordangersourcedisposal:del") + // @RequiresPermissions("majordangersourcedisposal:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -239,7 +239,7 @@ public class MajordangersourceDisposalController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankController.java b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankController.java index 88f1d70..444ad1d 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankController.java @@ -36,7 +36,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("majordangersourcestoragetank:add") + // @RequiresPermissions("majordangersourcestoragetank:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -55,7 +55,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("majordangersourcestoragetank:del") + // @RequiresPermissions("majordangersourcestoragetank:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -74,7 +74,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("majordangersourcestoragetank:edit") + // @RequiresPermissions("majordangersourcestoragetank:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -94,7 +94,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("majordangersourcestoragetank:list") + // @RequiresPermissions("majordangersourcestoragetank:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -135,7 +135,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("majordangersourcestoragetank:del") + // @RequiresPermissions("majordangersourcestoragetank:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -162,7 +162,7 @@ public class MajordangersourceStoragetankController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankLogController.java b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankLogController.java index 63dbf26..858a5c6 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankLogController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MajordangersourceStoragetankLogController.java @@ -36,7 +36,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("majordangersourcestoragetank:add") + // @RequiresPermissions("majordangersourcestoragetank:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -56,7 +56,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("majordangersourcestoragetank:del") + // @RequiresPermissions("majordangersourcestoragetank:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("majordangersourcestoragetank:edit") + // @RequiresPermissions("majordangersourcestoragetank:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -118,7 +118,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("majordangersourcestoragetank:edit") + // @RequiresPermissions("majordangersourcestoragetank:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -136,7 +136,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("majordangersourcestoragetank:del") + // @RequiresPermissions("majordangersourcestoragetank:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -163,7 +163,7 @@ public class MajordangersourceStoragetankLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceController.java b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceController.java index 79ad99d..9571e1d 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceController.java @@ -39,7 +39,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("monitoringdevice:add") + // @RequiresPermissions("monitoringdevice:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -64,7 +64,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("monitoringdevice:del") + // @RequiresPermissions("monitoringdevice:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -83,7 +83,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -103,7 +103,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/enable") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object enable() throws Exception{ Map map = new HashMap(); @@ -127,7 +127,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("monitoringdevice:list") + // @RequiresPermissions("monitoringdevice:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -150,7 +150,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -169,7 +169,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/goShow") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object goShow() throws Exception{ Map map = new HashMap(); @@ -188,7 +188,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("monitoringdevice:del") + // @RequiresPermissions("monitoringdevice:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -215,7 +215,7 @@ public class MonitoringDeviceController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceDisableController.java b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceDisableController.java index 9a58596..f166fdc 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceDisableController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceDisableController.java @@ -45,7 +45,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("monitoringdevice:add") + // @RequiresPermissions("monitoringdevice:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -89,7 +89,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("monitoringdevice:del") + // @RequiresPermissions("monitoringdevice:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -108,7 +108,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -128,7 +128,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("monitoringdevice:list") + // @RequiresPermissions("monitoringdevice:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -151,7 +151,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("monitoringdevice:edit") + // @RequiresPermissions("monitoringdevice:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -169,7 +169,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("monitoringdevice:del") + // @RequiresPermissions("monitoringdevice:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -196,7 +196,7 @@ public class MonitoringDeviceDisableController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceSensorController.java b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceSensorController.java index f049544..bdc0986 100644 --- a/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceSensorController.java +++ b/src/main/java/com/zcloud/controller/majordangersource/MonitoringDeviceSensorController.java @@ -37,7 +37,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions(value = {"majordangersource:add","monitoringdevice:add"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:add","monitoringdevice:add"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "新增") public Object add() throws Exception{ @@ -63,7 +63,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions(value = {"majordangersource:del","monitoringdevice:del"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:del","monitoringdevice:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "删除") public Object delete() throws Exception{ @@ -83,7 +83,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions(value = {"majordangersource:edit","monitoringdevice:edit"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:edit","monitoringdevice:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "修改") public Object edit() throws Exception{ @@ -104,7 +104,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions(value = {"majordangersource:list","monitoringdevice:list"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:list","monitoringdevice:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -128,7 +128,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions(value = {"majordangersource:edit","monitoringdevice:edit"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:edit","monitoringdevice:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "其修改页面获取数据") public Object goEdit() throws Exception{ @@ -148,7 +148,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions(value = {"majordangersource:del","monitoringdevice:del"}, logical = Logical.OR) + // @RequiresPermissions(value = {"majordangersource:del","monitoringdevice:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -176,7 +176,7 @@ public class MonitoringDeviceSensorController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "数据采集阈值设定",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/notice/NoticeCorpController.java b/src/main/java/com/zcloud/controller/notice/NoticeCorpController.java index 422acc8..fe927a1 100644 --- a/src/main/java/com/zcloud/controller/notice/NoticeCorpController.java +++ b/src/main/java/com/zcloud/controller/notice/NoticeCorpController.java @@ -43,7 +43,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("noticecorp:add") + // @RequiresPermissions("noticecorp:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -119,7 +119,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("noticecorp:del") + // @RequiresPermissions("noticecorp:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "删除") public Object delete() throws Exception{ @@ -140,7 +140,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("noticecorp:edit") + // @RequiresPermissions("noticecorp:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -166,7 +166,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("noticecorp:list") + // @RequiresPermissions("noticecorp:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -251,7 +251,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("noticecorp:del") + // @RequiresPermissions("noticecorp:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -276,7 +276,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -321,7 +321,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/changeIsTop") - @RequiresPermissions("noticecorp:edit") + // @RequiresPermissions("noticecorp:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "变更置顶状态") public Object changeIsTop() throws Exception{ @@ -340,7 +340,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/changeStatus") - @RequiresPermissions("noticecorp:edit") + // @RequiresPermissions("noticecorp:edit") @ResponseBody @Transactional //开启事物 @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "变更状态") @@ -369,7 +369,7 @@ public class NoticeCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/listUserRead") - @RequiresPermissions("noticecorp:list") + // @RequiresPermissions("noticecorp:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "企业公告",instructionsType = "列表") public Object listUserRead(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/notice/NoticeManagementController.java b/src/main/java/com/zcloud/controller/notice/NoticeManagementController.java index a9d1a6c..7264946 100644 --- a/src/main/java/com/zcloud/controller/notice/NoticeManagementController.java +++ b/src/main/java/com/zcloud/controller/notice/NoticeManagementController.java @@ -295,7 +295,7 @@ public class NoticeManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "通知公告",instructionsOperate = "通知模板配置",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/notice/ServiceNoticeController.java b/src/main/java/com/zcloud/controller/notice/ServiceNoticeController.java index ecac37e..00be8df 100644 --- a/src/main/java/com/zcloud/controller/notice/ServiceNoticeController.java +++ b/src/main/java/com/zcloud/controller/notice/ServiceNoticeController.java @@ -44,7 +44,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ // @RequestMapping(value="/add") -// @RequiresPermissions("serviceNotice:add") +// // @RequiresPermissions("serviceNotice:add") // @ResponseBody // public Object add() throws Exception{ // Map map = new HashMap(); @@ -95,7 +95,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/goAdd") - @RequiresPermissions("serviceNotice:add") + // @RequiresPermissions("serviceNotice:add") @ResponseBody public Object goAdd() throws Exception{ Map map = new HashMap(); @@ -113,7 +113,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("serviceNotice:del") + // @RequiresPermissions("serviceNotice:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -130,7 +130,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("serviceNotice:edit") + // @RequiresPermissions("serviceNotice:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -311,7 +311,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/changeStatus") - @RequiresPermissions("serviceNotice:edit") + // @RequiresPermissions("serviceNotice:edit") @ResponseBody @Transactional //开启事物 public Object changeStatus() throws Exception{ @@ -354,7 +354,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/changeIsTop") - @RequiresPermissions("serviceNotice:edit") + // @RequiresPermissions("serviceNotice:edit") @ResponseBody public Object changeIsTop() throws Exception{ Map map = new HashMap(); @@ -373,7 +373,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("serviceNotice:del") + // @RequiresPermissions("serviceNotice:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -397,7 +397,7 @@ public class ServiceNoticeController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/offduty/AppOffDutyController.java b/src/main/java/com/zcloud/controller/offduty/AppOffDutyController.java index 26aeaf0..6853014 100644 --- a/src/main/java/com/zcloud/controller/offduty/AppOffDutyController.java +++ b/src/main/java/com/zcloud/controller/offduty/AppOffDutyController.java @@ -237,7 +237,7 @@ public class AppOffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("offduty:del") + // @RequiresPermissions("offduty:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/offduty/OffDutyController.java b/src/main/java/com/zcloud/controller/offduty/OffDutyController.java index 0349630..2687633 100644 --- a/src/main/java/com/zcloud/controller/offduty/OffDutyController.java +++ b/src/main/java/com/zcloud/controller/offduty/OffDutyController.java @@ -42,7 +42,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("offduty:add") + // @RequiresPermissions("offduty:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -65,7 +65,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("offduty:del") + // @RequiresPermissions("offduty:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -82,7 +82,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("offduty:edit") + // @RequiresPermissions("offduty:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -102,7 +102,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("offduty:list") + // @RequiresPermissions("offduty:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -161,7 +161,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("offduty:edit") + // @RequiresPermissions("offduty:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -180,7 +180,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("offduty:del") + // @RequiresPermissions("offduty:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -248,7 +248,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/review") - @RequiresPermissions("offduty:edit") + // @RequiresPermissions("offduty:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "审批") public Object review() throws Exception{ @@ -268,7 +268,7 @@ public class OffDutyController extends BaseController { * @throws Exception */ @RequestMapping(value="/cancel") - @RequiresPermissions("offduty:edit") + // @RequiresPermissions("offduty:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗管理",instructionsOperate = "离岗管理",instructionsType = "取消") public Object cancel() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/offduty/OffDutySetupController.java b/src/main/java/com/zcloud/controller/offduty/OffDutySetupController.java index 4bee1ed..b0ea204 100644 --- a/src/main/java/com/zcloud/controller/offduty/OffDutySetupController.java +++ b/src/main/java/com/zcloud/controller/offduty/OffDutySetupController.java @@ -39,7 +39,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("offdutySetup:add") + // @RequiresPermissions("offdutySetup:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -63,7 +63,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("offdutySetup:del") + // @RequiresPermissions("offdutySetup:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -80,7 +80,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("offdutySetup:edit") + // @RequiresPermissions("offdutySetup:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗设置",instructionsOperate = "离岗设置",instructionsType = "修改") public Object edit() throws Exception{ @@ -100,7 +100,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("offdutySetup:list") + // @RequiresPermissions("offdutySetup:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗设置",instructionsOperate = "离岗设置",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -133,7 +133,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("offdutySetup:edit") + // @RequiresPermissions("offdutySetup:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "离岗设置",instructionsOperate = "离岗设置",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -152,7 +152,7 @@ public class OffDutySetupController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("offdutySetup:del") + // @RequiresPermissions("offdutySetup:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/paper/StageexampaperInputController.java b/src/main/java/com/zcloud/controller/paper/StageexampaperInputController.java index 09dcf7b..4121015 100644 --- a/src/main/java/com/zcloud/controller/paper/StageexampaperInputController.java +++ b/src/main/java/com/zcloud/controller/paper/StageexampaperInputController.java @@ -39,7 +39,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "试卷管理",instructionsType = "新增") public Object add() throws Exception{ @@ -82,7 +82,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "试卷管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -100,7 +100,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -117,7 +117,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "试卷管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -141,7 +141,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions( value = {"`stageexampaper:edit`", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"`stageexampaper:edit`", "curriculum:edit"}, logical = Logical.OR) @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -162,7 +162,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -186,7 +186,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -248,7 +248,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/getExam") -// @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody public Object getExam() throws Exception{ Map map = new HashMap(); @@ -266,7 +266,7 @@ public class StageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/editState") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "试卷管理",instructionsType = "修改") public Object editState() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/pe/PerformanceExamineDeptController.java b/src/main/java/com/zcloud/controller/pe/PerformanceExamineDeptController.java index 57067cc..7f4423b 100644 --- a/src/main/java/com/zcloud/controller/pe/PerformanceExamineDeptController.java +++ b/src/main/java/com/zcloud/controller/pe/PerformanceExamineDeptController.java @@ -38,7 +38,7 @@ public class PerformanceExamineDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("performanceexamine:add") + // @RequiresPermissions("performanceexamine:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -56,7 +56,7 @@ public class PerformanceExamineDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("performanceexamine:del") + // @RequiresPermissions("performanceexamine:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -73,7 +73,7 @@ public class PerformanceExamineDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("performanceexamine:edit") + // @RequiresPermissions("performanceexamine:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -146,7 +146,7 @@ public class PerformanceExamineDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("performanceexamine:edit") + // @RequiresPermissions("performanceexamine:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -164,7 +164,7 @@ public class PerformanceExamineDeptController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("performanceexamine:del") + // @RequiresPermissions("performanceexamine:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/pe/PerformanceExamineUserController.java b/src/main/java/com/zcloud/controller/pe/PerformanceExamineUserController.java index a19e524..0a83b39 100644 --- a/src/main/java/com/zcloud/controller/pe/PerformanceExamineUserController.java +++ b/src/main/java/com/zcloud/controller/pe/PerformanceExamineUserController.java @@ -44,7 +44,7 @@ public class PerformanceExamineUserController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("performanceexamine:add") + // @RequiresPermissions("performanceexamine:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "绩效考核",instructionsOperate = "人员绩效",instructionsType = "新增") public Object add() throws Exception{ @@ -63,7 +63,7 @@ public class PerformanceExamineUserController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("performanceexamine:del") + // @RequiresPermissions("performanceexamine:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "绩效考核",instructionsOperate = "人员绩效",instructionsType = "删除") public Object delete() throws Exception{ @@ -81,7 +81,7 @@ public class PerformanceExamineUserController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("performanceexamine:edit") + // @RequiresPermissions("performanceexamine:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "绩效考核",instructionsOperate = "人员绩效",instructionsType = "修改") public Object edit() throws Exception{ @@ -179,7 +179,7 @@ public class PerformanceExamineUserController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("performanceexamine:edit") + // @RequiresPermissions("performanceexamine:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -197,7 +197,7 @@ public class PerformanceExamineUserController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("performanceexamine:del") + // @RequiresPermissions("performanceexamine:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/platformCourseware/PlatformDataCoursewareController.java b/src/main/java/com/zcloud/controller/platformCourseware/PlatformDataCoursewareController.java index 6801338..da8328d 100644 --- a/src/main/java/com/zcloud/controller/platformCourseware/PlatformDataCoursewareController.java +++ b/src/main/java/com/zcloud/controller/platformCourseware/PlatformDataCoursewareController.java @@ -57,7 +57,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("courseware:add") + // @RequiresPermissions("courseware:add") @ResponseBody public Object add(@RequestParam(value="cfile",required=false) MultipartFile cfile, @RequestParam(value="ccfile",required=false) MultipartFile ccfile) throws Exception{ @@ -105,7 +105,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -138,7 +138,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody public Object edit(@RequestParam(value="cfile",required=false) MultipartFile cfile, @RequestParam(value="ccfile",required=false) MultipartFile ccfile) throws Exception{ @@ -184,7 +184,7 @@ public class PlatformDataCoursewareController extends BaseController { // * @throws Exception // */ // @RequestMapping(value="/list") -// @RequiresPermissions("courseware:list") +// // @RequiresPermissions("courseware:list") // @ResponseBody // public Object list(Page page) throws Exception{ // Map map = new HashMap(); @@ -208,7 +208,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "资料课件列表") public Object list(Page page) throws Exception{ @@ -250,7 +250,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("courseware:del") + // @RequiresPermissions("courseware:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -284,7 +284,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -369,7 +369,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/editState") - @RequiresPermissions("courseware:edit") + // @RequiresPermissions("courseware:edit") @ResponseBody public Object editState() throws Exception{ Map map = new HashMap(); @@ -389,7 +389,7 @@ public class PlatformDataCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/joinMyCourseware") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "把平台资源加入到我的课件中") public Object joinMyCourseware() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/platformCourseware/PlatformQuestionController.java b/src/main/java/com/zcloud/controller/platformCourseware/PlatformQuestionController.java index 097c4fd..b15d3dc 100644 --- a/src/main/java/com/zcloud/controller/platformCourseware/PlatformQuestionController.java +++ b/src/main/java/com/zcloud/controller/platformCourseware/PlatformQuestionController.java @@ -41,7 +41,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"question:add" , "courseware:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:add" , "courseware:add"}, logical = Logical.OR) @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -69,7 +69,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -88,7 +88,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -108,7 +108,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "试题列表") public Object list(Page page) throws Exception{ @@ -132,7 +132,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -150,7 +150,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:del" , "courseware:del"}, logical = Logical.OR) @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -177,7 +177,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -285,7 +285,7 @@ public class PlatformQuestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/readExcel") - @RequiresPermissions("fromExcel") + // @RequiresPermissions("fromExcel") @SuppressWarnings("unchecked") @ResponseBody @Transactional diff --git a/src/main/java/com/zcloud/controller/platformCourseware/PlatformVideoCoursewareController.java b/src/main/java/com/zcloud/controller/platformCourseware/PlatformVideoCoursewareController.java index 6349a22..de5fed4 100644 --- a/src/main/java/com/zcloud/controller/platformCourseware/PlatformVideoCoursewareController.java +++ b/src/main/java/com/zcloud/controller/platformCourseware/PlatformVideoCoursewareController.java @@ -56,7 +56,7 @@ public class PlatformVideoCoursewareController extends BaseController { // * @throws Exception // */ // @RequestMapping(value="/list") -// @RequiresPermissions("courseware:list") +// // @RequiresPermissions("courseware:list") // @ResponseBody // public Object list(Page page) throws Exception{ // Map map = new HashMap(); @@ -88,7 +88,7 @@ public class PlatformVideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "视频课件列表") public Object list(Page page) throws Exception{ @@ -113,7 +113,7 @@ public class PlatformVideoCoursewareController extends BaseController { * @throws Exception */ @RequestMapping(value="/joinMyCourseware") - @RequiresPermissions("courseware:list") + // @RequiresPermissions("courseware:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课件资源管理",instructionsType = "把平台资源加入到我的课件中") public Object joinMyCourseware() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/platformCurriculum/PlatformCurriculumController.java b/src/main/java/com/zcloud/controller/platformCurriculum/PlatformCurriculumController.java index 2d6615d..7560803 100644 --- a/src/main/java/com/zcloud/controller/platformCurriculum/PlatformCurriculumController.java +++ b/src/main/java/com/zcloud/controller/platformCurriculum/PlatformCurriculumController.java @@ -80,7 +80,7 @@ public class PlatformCurriculumController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("curriculum:list") + // @RequiresPermissions("curriculum:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "课程管理",instructionsType = "列表") public Object list(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/platformPaper/PlatformStageexampaperInputController.java b/src/main/java/com/zcloud/controller/platformPaper/PlatformStageexampaperInputController.java index f60add0..397d0b4 100644 --- a/src/main/java/com/zcloud/controller/platformPaper/PlatformStageexampaperInputController.java +++ b/src/main/java/com/zcloud/controller/platformPaper/PlatformStageexampaperInputController.java @@ -54,7 +54,7 @@ public class PlatformStageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "试卷管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -79,7 +79,7 @@ public class PlatformStageexampaperInputController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "平台资源库",instructionsOperate = "试卷管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyController.java b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyController.java index 12f1727..6d46f10 100644 --- a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyController.java +++ b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyController.java @@ -57,7 +57,7 @@ public class AppSurveyController extends BaseController { * @throws Exceptionexists */ @RequestMapping(value="/getQuestions") -// @RequiresPermissions("survey:edit") +// // @RequiresPermissions("survey:edit") @ResponseBody public Object getQuestions() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class AppSurveyController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("survey:edit") +// // @RequiresPermissions("survey:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -98,7 +98,7 @@ public class AppSurveyController extends BaseController { * @throws Exception */ @RequestMapping(value="/getstate") - @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody public Object getstate() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyanswerController.java b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyanswerController.java index 78fa24b..dee2549 100644 --- a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyanswerController.java +++ b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyanswerController.java @@ -73,7 +73,7 @@ public class AppSurveyanswerController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("survey:edit") +// // @RequiresPermissions("survey:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/questionnaire/AppSurveycorpinfoController.java b/src/main/java/com/zcloud/controller/questionnaire/AppSurveycorpinfoController.java index 3f46240..137810a 100644 --- a/src/main/java/com/zcloud/controller/questionnaire/AppSurveycorpinfoController.java +++ b/src/main/java/com/zcloud/controller/questionnaire/AppSurveycorpinfoController.java @@ -51,7 +51,7 @@ public class AppSurveycorpinfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("survey:edit") +// // @RequiresPermissions("survey:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -69,7 +69,7 @@ public class AppSurveycorpinfoController extends BaseController { * @throws Exception */ @RequestMapping(value="/getstate") -// @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"question:edit" , "courseware:edit"}, logical = Logical.OR) @ResponseBody public Object getstate() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyquestionController.java b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyquestionController.java index d31e775..22596f1 100644 --- a/src/main/java/com/zcloud/controller/questionnaire/AppSurveyquestionController.java +++ b/src/main/java/com/zcloud/controller/questionnaire/AppSurveyquestionController.java @@ -52,7 +52,7 @@ public class AppSurveyquestionController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("survey:edit") +// // @RequiresPermissions("survey:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/relatedparty/OutSourcedController.java b/src/main/java/com/zcloud/controller/relatedparty/OutSourcedController.java index 4f5bd28..ffef42b 100644 --- a/src/main/java/com/zcloud/controller/relatedparty/OutSourcedController.java +++ b/src/main/java/com/zcloud/controller/relatedparty/OutSourcedController.java @@ -36,7 +36,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("outsourced:add") + // @RequiresPermissions("outsourced:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file, @@ -132,7 +132,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("outsourced:del") + // @RequiresPermissions("outsourced:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -150,7 +150,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("outsourced:edit") + // @RequiresPermissions("outsourced:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file, @@ -239,7 +239,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("outsourced:list") + // @RequiresPermissions("outsourced:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -263,7 +263,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("outsourced:edit") + // @RequiresPermissions("outsourced:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -282,7 +282,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("outsourced:del") + // @RequiresPermissions("outsourced:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -307,7 +307,7 @@ public class OutSourcedController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "外包工程管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/relatedparty/UnitsController.java b/src/main/java/com/zcloud/controller/relatedparty/UnitsController.java index f25c891..e4306fc 100644 --- a/src/main/java/com/zcloud/controller/relatedparty/UnitsController.java +++ b/src/main/java/com/zcloud/controller/relatedparty/UnitsController.java @@ -38,7 +38,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("units:add") + // @RequiresPermissions("units:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -73,7 +73,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("units:del") + // @RequiresPermissions("units:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -91,7 +91,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("units:edit") + // @RequiresPermissions("units:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -120,7 +120,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("units:list") + // @RequiresPermissions("units:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -181,7 +181,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("units:edit") + // @RequiresPermissions("units:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "去修改页面获取数据") public Object goEdit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -223,7 +223,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("units:del") + // @RequiresPermissions("units:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -248,7 +248,7 @@ public class UnitsController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "相关方管理",instructionsOperate = "相关方单位管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/risk/AppIdentificationPartsController.java b/src/main/java/com/zcloud/controller/risk/AppIdentificationPartsController.java index b0bb76c..91da145 100644 --- a/src/main/java/com/zcloud/controller/risk/AppIdentificationPartsController.java +++ b/src/main/java/com/zcloud/controller/risk/AppIdentificationPartsController.java @@ -44,7 +44,7 @@ public class AppIdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("identificationparts:add") + // @RequiresPermissions("identificationparts:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "风险管控",instructionsOperate = "辨识部位",instructionsType = "新增") public Object add() throws Exception{ @@ -90,7 +90,7 @@ public class AppIdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("identificationparts:del") + // @RequiresPermissions("identificationparts:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "风险管控",instructionsOperate = "辨识部位",instructionsType = "删除") public Object delete() throws Exception{ @@ -116,7 +116,7 @@ public class AppIdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("identificationparts:edit") + // @RequiresPermissions("identificationparts:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "风险管控",instructionsOperate = "辨识部位",instructionsType = "修改") public Object edit() throws Exception{ @@ -136,7 +136,7 @@ public class AppIdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("identificationparts:list") + // @RequiresPermissions("identificationparts:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "风险管控",instructionsOperate = "辨识部位",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -243,7 +243,7 @@ public class AppIdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("identificationparts:del") + // @RequiresPermissions("identificationparts:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "风险管控",instructionsOperate = "辨识部位",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/risk/IdentificationPartsController.java b/src/main/java/com/zcloud/controller/risk/IdentificationPartsController.java index 7748b42..27c9d68 100644 --- a/src/main/java/com/zcloud/controller/risk/IdentificationPartsController.java +++ b/src/main/java/com/zcloud/controller/risk/IdentificationPartsController.java @@ -72,7 +72,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("identificationparts:add") + // @RequiresPermissions("identificationparts:add") @ResponseBody @Transactional @LogAnno(menuType = "双重预防", menuServer = "风险管控", instructionsOperate = "辨识部位", instructionsType = "新增") @@ -155,7 +155,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("identificationparts:del") + // @RequiresPermissions("identificationparts:del") @ResponseBody @LogAnno(menuType = "双重预防", menuServer = "风险管控", instructionsOperate = "辨识部位", instructionsType = "删除") public Object delete() throws Exception { @@ -184,7 +184,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("identificationparts:edit") + // @RequiresPermissions("identificationparts:edit") @ResponseBody @Transactional @LogAnno(menuType = "双重预防", menuServer = "风险管控", instructionsOperate = "辨识部位", instructionsType = "修改") @@ -256,7 +256,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("identificationparts:list") + // @RequiresPermissions("identificationparts:list") @ResponseBody @LogAnno(menuType = "双重预防", menuServer = "风险管控", instructionsOperate = "辨识部位", instructionsType = "列表") public Object list(Page page) throws Exception { @@ -392,7 +392,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("identificationparts:del") + // @RequiresPermissions("identificationparts:del") @ResponseBody @LogAnno(menuType = "双重预防", menuServer = "风险管控", instructionsOperate = "辨识部位", instructionsType = "批量删除") public Object deleteAll() throws Exception { @@ -545,7 +545,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -582,7 +582,7 @@ public class IdentificationPartsController extends BaseController { * @throws Exception */ // @RequestMapping(value="/excelModel") -//// @RequiresPermissions("toExcel") +//// // @RequiresPermissions("toExcel") // public void exportExcelModel(HttpServletResponse response) throws Exception{ // // FileDownload.fileDownload(response, PathUtil.getProjectpath() + Const.FILEPATHFILE + "identificationpartsExcelTemplate.xls", "identificationpartsExcelTemplate.xls"); diff --git a/src/main/java/com/zcloud/controller/risk/RiskPointController.java b/src/main/java/com/zcloud/controller/risk/RiskPointController.java index 6144479..6a4032b 100644 --- a/src/main/java/com/zcloud/controller/risk/RiskPointController.java +++ b/src/main/java/com/zcloud/controller/risk/RiskPointController.java @@ -69,7 +69,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("riskpoint:add") + // @RequiresPermissions("riskpoint:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "新增") @@ -129,7 +129,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goAdd") - @RequiresPermissions("riskpoint:add") + // @RequiresPermissions("riskpoint:add") @ResponseBody public Object goAdd() throws Exception { Map map = new HashMap(); @@ -172,7 +172,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("riskpoint:del") + // @RequiresPermissions("riskpoint:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "删除") public Object delete() throws Exception{ @@ -196,7 +196,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("riskpoint:edit") + // @RequiresPermissions("riskpoint:edit") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "修改") @@ -220,7 +220,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("riskpoint:list") + // @RequiresPermissions("riskpoint:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -384,7 +384,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("riskpoint:del") + // @RequiresPermissions("riskpoint:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -417,7 +417,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -505,7 +505,7 @@ public class RiskPointController extends BaseController { * @throws Exception */ // @RequestMapping(value="/excelModel") -//// @RequiresPermissions("toExcel") +//// // @RequiresPermissions("toExcel") // @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险管控台账",instructionsType = "导出模板") // public void exportExcelModel(HttpServletResponse response) throws Exception{ // diff --git a/src/main/java/com/zcloud/controller/risk/RiskPointTemporaryController.java b/src/main/java/com/zcloud/controller/risk/RiskPointTemporaryController.java index 3b66cd4..60eb7c1 100644 --- a/src/main/java/com/zcloud/controller/risk/RiskPointTemporaryController.java +++ b/src/main/java/com/zcloud/controller/risk/RiskPointTemporaryController.java @@ -121,7 +121,7 @@ public class RiskPointTemporaryController extends BaseController { * @throws Exception */ @RequestMapping(value="/goAdd") - @RequiresPermissions("riskpointTemporary:add") + // @RequiresPermissions("riskpointTemporary:add") @ResponseBody public Object goAdd() throws Exception{ Map map = new HashMap(); @@ -165,7 +165,7 @@ public class RiskPointTemporaryController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("riskpointTemporary:del") + // @RequiresPermissions("riskpointTemporary:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -362,7 +362,7 @@ public class RiskPointTemporaryController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("riskpointTemporary:del") + // @RequiresPermissions("riskpointTemporary:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/risk/RiskUnitController.java b/src/main/java/com/zcloud/controller/risk/RiskUnitController.java index 9847573..f2b93e4 100644 --- a/src/main/java/com/zcloud/controller/risk/RiskUnitController.java +++ b/src/main/java/com/zcloud/controller/risk/RiskUnitController.java @@ -48,7 +48,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("riskunit:add") + // @RequiresPermissions("riskunit:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "新增") public Object add() throws Exception{ @@ -128,7 +128,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("riskunit:del") + // @RequiresPermissions("riskunit:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "删除") public Object delete() throws Exception{ @@ -154,7 +154,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("riskunit:edit") + // @RequiresPermissions("riskunit:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "修改") public Object edit() throws Exception{ @@ -182,7 +182,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("riskunit:list") + // @RequiresPermissions("riskunit:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -231,7 +231,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("riskunit:edit") + // @RequiresPermissions("riskunit:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -274,7 +274,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("riskunit:del") + // @RequiresPermissions("riskunit:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -316,7 +316,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -354,7 +354,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ @RequestMapping(value="/getRisByUnitId") - @RequiresPermissions("riskunit:list") + // @RequiresPermissions("riskunit:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "查看风险点详情信息") public Object getRisByUnitId(Page page) throws Exception{ @@ -378,7 +378,7 @@ public class RiskUnitController extends BaseController { * @throws Exception */ // @RequestMapping(value="/excelModel") -//// @RequiresPermissions("toExcel") +//// // @RequiresPermissions("toExcel") // @LogAnno(menuType= "双重预防",menuServer= "风险管控",instructionsOperate = "风险点(单元)",instructionsType = "导出模板") // public void exportExcelModel(HttpServletResponse response) throws Exception{ // diff --git a/src/main/java/com/zcloud/controller/riskWarning/RiskWarningController.java b/src/main/java/com/zcloud/controller/riskWarning/RiskWarningController.java index e44cdde..5642366 100644 --- a/src/main/java/com/zcloud/controller/riskWarning/RiskWarningController.java +++ b/src/main/java/com/zcloud/controller/riskWarning/RiskWarningController.java @@ -44,7 +44,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("riskwarning:add") + // @RequiresPermissions("riskwarning:add") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "新增") @@ -71,7 +71,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("riskwarning:del") + // @RequiresPermissions("riskwarning:del") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "删除") public Object delete() throws Exception{ @@ -89,7 +89,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("riskwarning:edit") + // @RequiresPermissions("riskwarning:edit") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "修改") public Object edit() throws Exception{ @@ -108,7 +108,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("riskwarning:list") + // @RequiresPermissions("riskwarning:list") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "列表") @@ -141,7 +141,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("riskwarning:edit") + // @RequiresPermissions("riskwarning:edit") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -168,7 +168,7 @@ public class RiskWarningController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("riskwarning:del") + // @RequiresPermissions("riskwarning:del") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "风险提示",instructionsOperate = "风险四色图",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentPlanController.java b/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentPlanController.java index 7b32e66..2b5c0a8 100644 --- a/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentPlanController.java +++ b/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentPlanController.java @@ -42,7 +42,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyinvestmentplan:add") + // @RequiresPermissions("safetyinvestmentplan:add") @ResponseBody @Transactional @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "新增") @@ -79,7 +79,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyinvestmentplan:del") + // @RequiresPermissions("safetyinvestmentplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "删除") public Object delete() throws Exception{ @@ -97,7 +97,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyinvestmentplan:edit") + // @RequiresPermissions("safetyinvestmentplan:edit") @ResponseBody @Transactional @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "修改") @@ -129,7 +129,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/editStatus") - @RequiresPermissions("safetyinvestmentplan:edit") + // @RequiresPermissions("safetyinvestmentplan:edit") @ResponseBody @Transactional @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "修改") @@ -150,7 +150,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyinvestmentplan:list") + // @RequiresPermissions("safetyinvestmentplan:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -174,7 +174,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyinvestmentplan:edit") + // @RequiresPermissions("safetyinvestmentplan:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -195,7 +195,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyinvestmentplan:del") + // @RequiresPermissions("safetyinvestmentplan:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -220,7 +220,7 @@ public class SafetyInvestmentPlanController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全投入计划",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentUseController.java b/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentUseController.java index f51c474..e9edcd6 100644 --- a/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentUseController.java +++ b/src/main/java/com/zcloud/controller/safetyInvestment/SafetyInvestmentUseController.java @@ -36,7 +36,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("safetyinvestmentuse:add") + // @RequiresPermissions("safetyinvestmentuse:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("safetyinvestmentuse:del") + // @RequiresPermissions("safetyinvestmentuse:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("safetyinvestmentuse:edit") + // @RequiresPermissions("safetyinvestmentuse:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("safetyinvestmentuse:list") + // @RequiresPermissions("safetyinvestmentuse:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -139,7 +139,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("safetyinvestmentuse:edit") + // @RequiresPermissions("safetyinvestmentuse:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -158,7 +158,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("safetyinvestmentuse:del") + // @RequiresPermissions("safetyinvestmentuse:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -183,7 +183,7 @@ public class SafetyInvestmentUseController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "安全投入",instructionsOperate = "安全生产费用提取和使用管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/scheduling/ShiftWorkPeriodController.java b/src/main/java/com/zcloud/controller/scheduling/ShiftWorkPeriodController.java index f6f077e..8091b1b 100644 --- a/src/main/java/com/zcloud/controller/scheduling/ShiftWorkPeriodController.java +++ b/src/main/java/com/zcloud/controller/scheduling/ShiftWorkPeriodController.java @@ -38,7 +38,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/add") - @RequiresPermissions("shiftworkperiod:add") + // @RequiresPermissions("shiftworkperiod:add") @ResponseBody public Object add() throws Exception { Map map = new HashMap(); @@ -63,7 +63,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/delete") - @RequiresPermissions("shiftworkperiod:del") + // @RequiresPermissions("shiftworkperiod:del") @ResponseBody public Object delete() throws Exception { Map map = new HashMap(); @@ -82,7 +82,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/edit") - @RequiresPermissions("shiftworkperiod:edit") + // @RequiresPermissions("shiftworkperiod:edit") @ResponseBody public Object edit() throws Exception { Map map = new HashMap(); @@ -101,7 +101,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("shiftworkperiod:list") + // @RequiresPermissions("shiftworkperiod:list") @ResponseBody public Object list(Page page) throws Exception { Map map = new HashMap(); @@ -245,7 +245,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goEdit") - @RequiresPermissions("shiftworkperiod:edit") + // @RequiresPermissions("shiftworkperiod:edit") @ResponseBody public Object goEdit() throws Exception { Map map = new HashMap(); @@ -331,7 +331,7 @@ public class ShiftWorkPeriodController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAll") - @RequiresPermissions("shiftworkperiod:del") + // @RequiresPermissions("shiftworkperiod:del") @ResponseBody public Object deleteAll() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/scheduling/ShiftWorkRulesController.java b/src/main/java/com/zcloud/controller/scheduling/ShiftWorkRulesController.java index b6c1c7a..268e6e8 100644 --- a/src/main/java/com/zcloud/controller/scheduling/ShiftWorkRulesController.java +++ b/src/main/java/com/zcloud/controller/scheduling/ShiftWorkRulesController.java @@ -41,7 +41,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("shiftworkrules:add") + // @RequiresPermissions("shiftworkrules:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "新增") public Object add() throws Exception{ @@ -86,7 +86,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteOne") - @RequiresPermissions("shiftworkrules:del") + // @RequiresPermissions("shiftworkrules:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "删除") public Object deleteOne() throws Exception{ @@ -120,7 +120,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteTwo") - @RequiresPermissions("shiftworkrules:del") + // @RequiresPermissions("shiftworkrules:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "删除") public Object deleteTwo() throws Exception{ @@ -171,7 +171,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("shiftworkrules:edit") + // @RequiresPermissions("shiftworkrules:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -212,7 +212,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("shiftworkrules:list") + // @RequiresPermissions("shiftworkrules:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -236,7 +236,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("shiftworkrules:edit") + // @RequiresPermissions("shiftworkrules:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "排班管理",instructionsOperate = "排班管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -276,7 +276,7 @@ public class ShiftWorkRulesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("shiftworkrules:del") + // @RequiresPermissions("shiftworkrules:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/sms/MSMLoginController.java b/src/main/java/com/zcloud/controller/sms/MSMLoginController.java index 1d57ece..29705b3 100644 --- a/src/main/java/com/zcloud/controller/sms/MSMLoginController.java +++ b/src/main/java/com/zcloud/controller/sms/MSMLoginController.java @@ -41,7 +41,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("msmlogin:add") + // @RequiresPermissions("msmlogin:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -60,7 +60,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("msmlogin:del") + // @RequiresPermissions("msmlogin:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -77,7 +77,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("msmlogin:edit") + // @RequiresPermissions("msmlogin:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -94,7 +94,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("msmlogin:list") + // @RequiresPermissions("msmlogin:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "短信管理",instructionsOperate = "短信日志管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -140,7 +140,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("msmlogin:edit") + // @RequiresPermissions("msmlogin:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -158,7 +158,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("msmlogin:del") + // @RequiresPermissions("msmlogin:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -182,7 +182,7 @@ public class MSMLoginController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/sms/SMSLogController.java b/src/main/java/com/zcloud/controller/sms/SMSLogController.java index 149eff7..1bd45e8 100644 --- a/src/main/java/com/zcloud/controller/sms/SMSLogController.java +++ b/src/main/java/com/zcloud/controller/sms/SMSLogController.java @@ -40,7 +40,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("smslog:add") + // @RequiresPermissions("smslog:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -59,7 +59,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("smslog:del") + // @RequiresPermissions("smslog:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -76,7 +76,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("smslog:edit") + // @RequiresPermissions("smslog:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -93,7 +93,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("smslog:list") + // @RequiresPermissions("smslog:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -138,7 +138,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("smslog:edit") + // @RequiresPermissions("smslog:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -156,7 +156,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("smslog:del") + // @RequiresPermissions("smslog:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -180,7 +180,7 @@ public class SMSLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/sms/SMSManagementController.java b/src/main/java/com/zcloud/controller/sms/SMSManagementController.java index 165b236..62d417b 100644 --- a/src/main/java/com/zcloud/controller/sms/SMSManagementController.java +++ b/src/main/java/com/zcloud/controller/sms/SMSManagementController.java @@ -52,7 +52,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("smsmanagement:add") + // @RequiresPermissions("smsmanagement:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "短信管理",instructionsOperate = "短信类型管理",instructionsType = "是否启用状态") public Object add() throws Exception{ @@ -115,7 +115,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("smsmanagement:del") + // @RequiresPermissions("smsmanagement:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -132,7 +132,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("smsmanagement:edit") + // @RequiresPermissions("smsmanagement:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -161,7 +161,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("smsmanagement:list") + // @RequiresPermissions("smsmanagement:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "短信管理",instructionsOperate = "短信类型管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -253,7 +253,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("smsmanagement:edit") + // @RequiresPermissions("smsmanagement:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -274,7 +274,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("smsmanagement:del") + // @RequiresPermissions("smsmanagement:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -298,7 +298,7 @@ public class SMSManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/sms/SMSOpenLogController.java b/src/main/java/com/zcloud/controller/sms/SMSOpenLogController.java index 027efc9..01370a4 100644 --- a/src/main/java/com/zcloud/controller/sms/SMSOpenLogController.java +++ b/src/main/java/com/zcloud/controller/sms/SMSOpenLogController.java @@ -35,7 +35,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("smsopenlog:add") + // @RequiresPermissions("smsopenlog:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -58,7 +58,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("smsopenlog:del") + // @RequiresPermissions("smsopenlog:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("smsopenlog:edit") + // @RequiresPermissions("smsopenlog:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -92,7 +92,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("smsopenlog:list") + // @RequiresPermissions("smsopenlog:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -114,7 +114,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("smsopenlog:edit") + // @RequiresPermissions("smsopenlog:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -132,7 +132,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("smsopenlog:del") + // @RequiresPermissions("smsopenlog:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -156,7 +156,7 @@ public class SMSOpenLogController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/speEquip/AppSpecialEquipmentAqxjController.java b/src/main/java/com/zcloud/controller/speEquip/AppSpecialEquipmentAqxjController.java index b3d92da..26404f0 100644 --- a/src/main/java/com/zcloud/controller/speEquip/AppSpecialEquipmentAqxjController.java +++ b/src/main/java/com/zcloud/controller/speEquip/AppSpecialEquipmentAqxjController.java @@ -111,7 +111,7 @@ public class AppSpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("specialequipmentaqxj:del") + // @RequiresPermissions("specialequipmentaqxj:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "特种设备安全巡检管理",instructionsOperate = "特种设备安全巡检管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -131,7 +131,7 @@ public class AppSpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("specialequipmentaqxj:edit") + // @RequiresPermissions("specialequipmentaqxj:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "特种设备安全巡检管理",instructionsOperate = "特种设备安全巡检管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -232,7 +232,7 @@ public class AppSpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("specialequipmentaqxj:del") + // @RequiresPermissions("specialequipmentaqxj:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "特种设备安全巡检管理",instructionsOperate = "特种设备安全巡检管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -260,7 +260,7 @@ public class AppSpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "特种设备安全巡检管理",instructionsOperate = "特种设备安全巡检管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentAqxjController.java b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentAqxjController.java index b2b808a..845557b 100644 --- a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentAqxjController.java +++ b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentAqxjController.java @@ -43,7 +43,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("specialequipmentaqxj:add") + // @RequiresPermissions("specialequipmentaqxj:add") @ResponseBody @Transactional @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "巡检") @@ -120,7 +120,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("specialequipmentaqxj:del") + // @RequiresPermissions("specialequipmentaqxj:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "删除") public Object delete() throws Exception{ @@ -140,7 +140,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("specialequipmentaqxj:edit") + // @RequiresPermissions("specialequipmentaqxj:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "修改") public Object edit() throws Exception{ @@ -161,7 +161,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("specialequipmentaqxj:list") + // @RequiresPermissions("specialequipmentaqxj:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -186,7 +186,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/listByEquipment") - @RequiresPermissions("specialequipmentaqxj:list") + // @RequiresPermissions("specialequipmentaqxj:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "通过特种设备ID获取数据列表") public Object listByEquipment(Page page) throws Exception{ @@ -209,7 +209,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("specialequipmentaqxj:edit") + // @RequiresPermissions("specialequipmentaqxj:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -246,7 +246,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("specialequipmentaqxj:del") + // @RequiresPermissions("specialequipmentaqxj:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -274,7 +274,7 @@ public class SpecialEquipmentAqxjController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "安全巡检",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentChangeController.java b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentChangeController.java index 93934fd..b0346f1 100644 --- a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentChangeController.java +++ b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentChangeController.java @@ -36,7 +36,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("specialequipmentchange:add") + // @RequiresPermissions("specialequipmentchange:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "新增") public Object add() throws Exception{ @@ -62,7 +62,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("specialequipmentchange:del") + // @RequiresPermissions("specialequipmentchange:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "删除") public Object delete() throws Exception{ @@ -82,7 +82,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("specialequipmentchange:edit") + // @RequiresPermissions("specialequipmentchange:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "修改") public Object edit() throws Exception{ @@ -103,7 +103,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("specialequipmentchange:list") + // @RequiresPermissions("specialequipmentchange:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -127,7 +127,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("specialequipmentchange:edit") + // @RequiresPermissions("specialequipmentchange:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -146,7 +146,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("specialequipmentchange:del") + // @RequiresPermissions("specialequipmentchange:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -174,7 +174,7 @@ public class SpecialEquipmentChangeController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备变更记录",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentController.java b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentController.java index 064aa02..6a586f5 100644 --- a/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentController.java +++ b/src/main/java/com/zcloud/controller/speEquip/SpecialEquipmentController.java @@ -52,7 +52,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("specialequipment:add") + // @RequiresPermissions("specialequipment:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -170,7 +170,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("specialequipment:del") + // @RequiresPermissions("specialequipment:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -226,7 +226,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("specialequipment:edit") + // @RequiresPermissions("specialequipment:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -350,7 +350,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("specialequipment:list") + // @RequiresPermissions("specialequipment:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -374,7 +374,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("specialequipment:edit") + // @RequiresPermissions("specialequipment:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -393,7 +393,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("specialequipment:del") + // @RequiresPermissions("specialequipment:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -462,7 +462,7 @@ public class SpecialEquipmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "特种设备",instructionsOperate = "设备管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/specialoperation/PersonnelManagementController.java b/src/main/java/com/zcloud/controller/specialoperation/PersonnelManagementController.java index fdfd240..6e71ec2 100644 --- a/src/main/java/com/zcloud/controller/specialoperation/PersonnelManagementController.java +++ b/src/main/java/com/zcloud/controller/specialoperation/PersonnelManagementController.java @@ -36,7 +36,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("personnelmanagement:add") + // @RequiresPermissions("personnelmanagement:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("personnelmanagement:del") + // @RequiresPermissions("personnelmanagement:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("personnelmanagement:edit") + // @RequiresPermissions("personnelmanagement:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -97,7 +97,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("personnelmanagement:list") + // @RequiresPermissions("personnelmanagement:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -121,7 +121,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("personnelmanagement:edit") + // @RequiresPermissions("personnelmanagement:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -140,7 +140,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("personnelmanagement:del") + // @RequiresPermissions("personnelmanagement:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -182,7 +182,7 @@ public class PersonnelManagementController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "特种作业",instructionsOperate = "特种作业人员管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/statistics/ListStatisticsController.java b/src/main/java/com/zcloud/controller/statistics/ListStatisticsController.java index c128fae..5368f17 100644 --- a/src/main/java/com/zcloud/controller/statistics/ListStatisticsController.java +++ b/src/main/java/com/zcloud/controller/statistics/ListStatisticsController.java @@ -43,7 +43,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("liststatisticsday:add") + // @RequiresPermissions("liststatisticsday:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -63,7 +63,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("liststatisticsday:del") + // @RequiresPermissions("liststatisticsday:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -80,7 +80,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("liststatisticsday:edit") + // @RequiresPermissions("liststatisticsday:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -97,7 +97,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("liststatisticsday:list") + // @RequiresPermissions("liststatisticsday:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -119,7 +119,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("liststatisticsday:edit") + // @RequiresPermissions("liststatisticsday:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -137,7 +137,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("liststatisticsday:del") + // @RequiresPermissions("liststatisticsday:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -208,7 +208,7 @@ public class ListStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/checkSituation") - @RequiresPermissions("checkSituation:list") + // @RequiresPermissions("checkSituation:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "统计分析",instructionsOperate = "员工使用情况分析",instructionsType = "列表") public Object checkSituation() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/statistics/PeriodStatisticsController.java b/src/main/java/com/zcloud/controller/statistics/PeriodStatisticsController.java index eada1ba..053a6e1 100644 --- a/src/main/java/com/zcloud/controller/statistics/PeriodStatisticsController.java +++ b/src/main/java/com/zcloud/controller/statistics/PeriodStatisticsController.java @@ -43,7 +43,7 @@ public class PeriodStatisticsController extends BaseController { * @throws Exception */ @RequestMapping(value="/count") - @RequiresPermissions("periodStatistics:list") + // @RequiresPermissions("periodStatistics:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "统计分析",instructionsOperate = "员工清单检查统计",instructionsType = "列表") public Object count(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/study/AppMfolderStipulateController.java b/src/main/java/com/zcloud/controller/study/AppMfolderStipulateController.java index 4339563..0f8dad2 100644 --- a/src/main/java/com/zcloud/controller/study/AppMfolderStipulateController.java +++ b/src/main/java/com/zcloud/controller/study/AppMfolderStipulateController.java @@ -38,7 +38,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "创建目录") public Object add() throws Exception{ @@ -63,7 +63,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/upload") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "上传文件") public Object add( @@ -106,7 +106,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/editUpload") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "上传文件") public Object editUpload( @@ -145,7 +145,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -208,7 +208,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("mfolderStipulate:del") + // @RequiresPermissions("mfolderStipulate:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "删除") public Object delete(@RequestParam String MFOLDER_ID, @RequestParam String FILEPATH) throws Exception{ @@ -231,7 +231,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -390,7 +390,7 @@ public class AppMfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/makeAll") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "文件管理",instructionsOperate = "文件管理",instructionsType = "批量操作") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/study/MfolderStipulateController.java b/src/main/java/com/zcloud/controller/study/MfolderStipulateController.java index 037ea60..283f822 100644 --- a/src/main/java/com/zcloud/controller/study/MfolderStipulateController.java +++ b/src/main/java/com/zcloud/controller/study/MfolderStipulateController.java @@ -42,7 +42,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "创建目录") public Object add() throws Exception{ @@ -67,7 +67,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/upload") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "上传文件") public Object add( @@ -110,7 +110,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/editUpload") - @RequiresPermissions("mfolderStipulate:add") + // @RequiresPermissions("mfolderStipulate:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "上传文件") public Object editUpload( @@ -150,7 +150,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -213,7 +213,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("mfolderStipulate:del") + // @RequiresPermissions("mfolderStipulate:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "删除") public Object delete(@RequestParam String MFOLDER_ID, @RequestParam String FILEPATH) throws Exception{ @@ -236,7 +236,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "修改") public Object edit() throws Exception{ @@ -388,7 +388,7 @@ public class MfolderStipulateController extends BaseController { * @throws Exception */ @RequestMapping(value="/makeAll") - @RequiresPermissions("mfolderStipulate:edit") + // @RequiresPermissions("mfolderStipulate:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "法规库",instructionsType = "批量操作") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/study/StudySectionController.java b/src/main/java/com/zcloud/controller/study/StudySectionController.java index f112f85..7727452 100644 --- a/src/main/java/com/zcloud/controller/study/StudySectionController.java +++ b/src/main/java/com/zcloud/controller/study/StudySectionController.java @@ -39,7 +39,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("studysection:add") + // @RequiresPermissions("studysection:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -72,7 +72,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("studysection:del") + // @RequiresPermissions("studysection:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "删除") public Object delete() throws Exception{ @@ -99,7 +99,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("studysection:edit") + // @RequiresPermissions("studysection:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "修改") public Object edit(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -129,7 +129,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("studysection:list") + // @RequiresPermissions("studysection:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -162,7 +162,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("studysection:edit") + // @RequiresPermissions("studysection:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -181,7 +181,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("studysection:del") + // @RequiresPermissions("studysection:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -206,7 +206,7 @@ public class StudySectionController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "导出到Excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/study/TempStudyController.java b/src/main/java/com/zcloud/controller/study/TempStudyController.java index 891722a..2ddca03 100644 --- a/src/main/java/com/zcloud/controller/study/TempStudyController.java +++ b/src/main/java/com/zcloud/controller/study/TempStudyController.java @@ -218,7 +218,7 @@ public class TempStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "学习园地",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/study/VideoController.java b/src/main/java/com/zcloud/controller/study/VideoController.java index ee73b4b..fc7786e 100644 --- a/src/main/java/com/zcloud/controller/study/VideoController.java +++ b/src/main/java/com/zcloud/controller/study/VideoController.java @@ -36,7 +36,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("video:add") + // @RequiresPermissions("video:add") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "新增") public Object add(@RequestParam(value="file",required=false) MultipartFile file) throws Exception{ @@ -70,7 +70,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("video:del") + // @RequiresPermissions("video:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "删除") public Object delete() throws Exception{ @@ -88,7 +88,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("video:edit") + // @RequiresPermissions("video:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "修改") public Object edit() throws Exception{ @@ -106,7 +106,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("video:list") + // @RequiresPermissions("video:list") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -133,7 +133,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("video:edit") + // @RequiresPermissions("video:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -152,7 +152,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/editZhiding") - @RequiresPermissions("video:edit") + // @RequiresPermissions("video:edit") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "数据置顶列表") public Object editZhiding() throws Exception{ @@ -180,7 +180,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("video:del") + // @RequiresPermissions("video:del") @ResponseBody @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -205,7 +205,7 @@ public class VideoController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/system/AppDictionariesController.java b/src/main/java/com/zcloud/controller/system/AppDictionariesController.java index 0fec067..b4f8da8 100644 --- a/src/main/java/com/zcloud/controller/system/AppDictionariesController.java +++ b/src/main/java/com/zcloud/controller/system/AppDictionariesController.java @@ -37,7 +37,7 @@ public class AppDictionariesController extends BaseController { * @return */ @RequestMapping(value="/listAllDict") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object listAllDict()throws Exception{ Map map = new HashMap(); @@ -55,7 +55,7 @@ public class AppDictionariesController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/system/AppFeedbackController.java b/src/main/java/com/zcloud/controller/system/AppFeedbackController.java index 33ac73c..e0481b4 100644 --- a/src/main/java/com/zcloud/controller/system/AppFeedbackController.java +++ b/src/main/java/com/zcloud/controller/system/AppFeedbackController.java @@ -43,7 +43,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("appfeedback:add") +// // @RequiresPermissions("appfeedback:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -129,7 +129,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("appfeedback:del") + // @RequiresPermissions("appfeedback:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -146,7 +146,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("appfeedback:edit") + // @RequiresPermissions("appfeedback:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -163,7 +163,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("appfeedback:list") + // @RequiresPermissions("appfeedback:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -185,7 +185,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("appfeedback:edit") + // @RequiresPermissions("appfeedback:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -203,7 +203,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("appfeedback:del") + // @RequiresPermissions("appfeedback:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -227,7 +227,7 @@ public class AppFeedbackController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/AppImgFilesController.java b/src/main/java/com/zcloud/controller/system/AppImgFilesController.java index 4dd92bc..7ece195 100644 --- a/src/main/java/com/zcloud/controller/system/AppImgFilesController.java +++ b/src/main/java/com/zcloud/controller/system/AppImgFilesController.java @@ -173,7 +173,7 @@ public class AppImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("imgfiles:edit") + // @RequiresPermissions("imgfiles:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "修改") public Object edit() throws Exception{ @@ -191,7 +191,7 @@ public class AppImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("imgfiles:list") + // @RequiresPermissions("imgfiles:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -214,7 +214,7 @@ public class AppImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("imgfiles:edit") + // @RequiresPermissions("imgfiles:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -233,7 +233,7 @@ public class AppImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("imgfiles:del") + // @RequiresPermissions("imgfiles:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -258,7 +258,7 @@ public class AppImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/system/AppVersionManagerController.java b/src/main/java/com/zcloud/controller/system/AppVersionManagerController.java index 9d6df1e..1d25abe 100644 --- a/src/main/java/com/zcloud/controller/system/AppVersionManagerController.java +++ b/src/main/java/com/zcloud/controller/system/AppVersionManagerController.java @@ -35,7 +35,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("versionmanager:add") + // @RequiresPermissions("versionmanager:add") @ResponseBody public Object add(@RequestParam(value="FFILE",required=false) MultipartFile file, @RequestParam(value="VERSIONMANAGER_ID",required=false) String VERSIONMANAGER_ID, @@ -73,7 +73,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("versionmanager:del") + // @RequiresPermissions("versionmanager:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -90,7 +90,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("versionmanager:edit") + // @RequiresPermissions("versionmanager:edit") @ResponseBody public Object edit(@RequestParam(value="FFILE",required=false) MultipartFile file, @RequestParam(value="VERSIONMANAGER_ID",required=false) String VERSIONMANAGER_ID, @@ -135,7 +135,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("versionmanager:list") + // @RequiresPermissions("versionmanager:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -174,7 +174,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("versionmanager:edit") + // @RequiresPermissions("versionmanager:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -192,7 +192,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("versionmanager:del") + // @RequiresPermissions("versionmanager:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -216,7 +216,7 @@ public class AppVersionManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/ButtonrightsController.java b/src/main/java/com/zcloud/controller/system/ButtonrightsController.java index c3ab40e..d8235db 100644 --- a/src/main/java/com/zcloud/controller/system/ButtonrightsController.java +++ b/src/main/java/com/zcloud/controller/system/ButtonrightsController.java @@ -41,7 +41,7 @@ public class ButtonrightsController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("buttonrights:list") + // @RequiresPermissions("buttonrights:list") @ResponseBody public Object list() throws Exception{ Map map = new HashMap(); @@ -73,7 +73,7 @@ public class ButtonrightsController extends BaseController { */ @RequestMapping(value="/upRb") @ResponseBody - @RequiresPermissions("buttonrights:edit") + // @RequiresPermissions("buttonrights:edit") public Object updateRolebuttonrightd()throws Exception{ Map map = new HashMap(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/DepartmentController.java b/src/main/java/com/zcloud/controller/system/DepartmentController.java index d79e7a0..5366c0d 100644 --- a/src/main/java/com/zcloud/controller/system/DepartmentController.java +++ b/src/main/java/com/zcloud/controller/system/DepartmentController.java @@ -48,7 +48,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("department:add") + // @RequiresPermissions("department:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "新增") public Object add() throws Exception{ @@ -94,7 +94,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("department:del") + // @RequiresPermissions("department:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "删除") public Object delete(@RequestParam String DEPARTMENT_ID) throws Exception{ @@ -123,7 +123,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("department:edit") + // @RequiresPermissions("department:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "修改") public Object edit() throws Exception{ @@ -214,7 +214,7 @@ public class DepartmentController extends BaseController { * @return */ @RequestMapping(value="/listTree") - @RequiresPermissions("department:list") + // @RequiresPermissions("department:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "显示列表") public Object listTree()throws Exception{ @@ -290,7 +290,7 @@ public class DepartmentController extends BaseController { * @return */ @RequestMapping(value="/listzTree") - @RequiresPermissions("department:list") + // @RequiresPermissions("department:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "显示列表") public Object listzTree()throws Exception{ @@ -341,7 +341,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goAdd") - @RequiresPermissions("department:add") + // @RequiresPermissions("department:add") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "去新增页面") public Object goAdd()throws Exception{ @@ -361,7 +361,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("department:edit") + // @RequiresPermissions("department:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "组织机构",instructionsType = "去修改页面获取信息") public Object goEdit()throws Exception{ @@ -590,7 +590,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value = "/goUserByLeaderOrCharge") - @RequiresPermissions("department:edit") + // @RequiresPermissions("department:edit") @ResponseBody public Object goUserByLeaderOrCharge() throws Exception { Map map = new HashMap(); @@ -642,7 +642,7 @@ public class DepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excels") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcels() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -676,7 +676,7 @@ public class DepartmentController extends BaseController { * @return */ @RequestMapping(value = "/listTreeV2") - @RequiresPermissions("department:list") + // @RequiresPermissions("department:list") @ResponseBody public Object listTreeV2() throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/system/DictionariesController.java b/src/main/java/com/zcloud/controller/system/DictionariesController.java index 570dd70..87e9e2c 100644 --- a/src/main/java/com/zcloud/controller/system/DictionariesController.java +++ b/src/main/java/com/zcloud/controller/system/DictionariesController.java @@ -41,7 +41,7 @@ public class DictionariesController extends BaseController { * @return */ @RequestMapping(value = "/listAllDict") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object listAllDict() throws Exception { Map map = new HashMap(); @@ -61,7 +61,7 @@ public class DictionariesController extends BaseController { * @throws Exception */ @RequestMapping(value = "/list") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object list(Page page) throws Exception { Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/system/DictionariesCorpController.java b/src/main/java/com/zcloud/controller/system/DictionariesCorpController.java index 15a7aa8..16782dc 100644 --- a/src/main/java/com/zcloud/controller/system/DictionariesCorpController.java +++ b/src/main/java/com/zcloud/controller/system/DictionariesCorpController.java @@ -43,7 +43,7 @@ public class DictionariesCorpController extends BaseController { * @return */ @RequestMapping(value="/listAllDict") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "监测类型管理",instructionsType = "列表") public Object listAllDict()throws Exception{ @@ -66,7 +66,7 @@ public class DictionariesCorpController extends BaseController { // * @throws Exception // */ // @RequestMapping(value="/list") -// @RequiresPermissions("dictionaries:list") +// // @RequiresPermissions("dictionaries:list") // @ResponseBody // @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "监测类型管理",instructionsType = "列表") // public Object list(Page page) throws Exception{ @@ -96,7 +96,7 @@ public class DictionariesCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("dictionaries:list") + // @RequiresPermissions("dictionaries:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -470,7 +470,7 @@ public class DictionariesCorpController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("msmlogin:del") + // @RequiresPermissions("msmlogin:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "重大危险源监测预警",instructionsOperate = "监测类型管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/system/FHlogController.java b/src/main/java/com/zcloud/controller/system/FHlogController.java index 3d37768..c6815d4 100644 --- a/src/main/java/com/zcloud/controller/system/FHlogController.java +++ b/src/main/java/com/zcloud/controller/system/FHlogController.java @@ -40,7 +40,7 @@ public class FHlogController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("fhlog:list") + // @RequiresPermissions("fhlog:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -67,7 +67,7 @@ public class FHlogController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("fhlog:del") + // @RequiresPermissions("fhlog:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -83,7 +83,7 @@ public class FHlogController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("fhlog:del") + // @RequiresPermissions("fhlog:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -106,7 +106,7 @@ public class FHlogController extends BaseController { * @throws Exception */ @RequestMapping(value="/getList") - @RequiresPermissions("fhlog:list") + // @RequiresPermissions("fhlog:list") @ResponseBody @LogAnno(menuType= "双重预控",menuServer= "离岗管理",instructionsOperate = "登录记录",instructionsType = "列表") public Object getList(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/system/FhbuttonController.java b/src/main/java/com/zcloud/controller/system/FhbuttonController.java index 2b8bb39..7e19609 100644 --- a/src/main/java/com/zcloud/controller/system/FhbuttonController.java +++ b/src/main/java/com/zcloud/controller/system/FhbuttonController.java @@ -36,7 +36,7 @@ public class FhbuttonController extends BaseController { * @throws Exception */ @RequestMapping(value="/list", produces="application/json;charset=UTF-8") - @RequiresPermissions("fhbutton:list") + // @RequiresPermissions("fhbutton:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -61,7 +61,7 @@ public class FhbuttonController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("fhbutton:add") + // @RequiresPermissions("fhbutton:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -80,7 +80,7 @@ public class FhbuttonController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("fhbutton:edit") + // @RequiresPermissions("fhbutton:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -98,7 +98,7 @@ public class FhbuttonController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("fhbutton:edit") + // @RequiresPermissions("fhbutton:edit") @ResponseBody public Object goEdit()throws Exception{ Map map = new HashMap(); @@ -117,7 +117,7 @@ public class FhbuttonController extends BaseController { */ @RequestMapping(value="/delete") @ResponseBody - @RequiresPermissions("fhbutton:del") + // @RequiresPermissions("fhbutton:del") public Object delete() throws Exception{ Map map = new HashMap(); PageData pd = new PageData(); @@ -134,7 +134,7 @@ public class FhbuttonController extends BaseController { */ @RequestMapping(value="/deleteAll") @ResponseBody - @RequiresPermissions("fhbutton:del") + // @RequiresPermissions("fhbutton:del") public Object deleteAll() throws Exception{ Map map = new HashMap(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/FhsmsController.java b/src/main/java/com/zcloud/controller/system/FhsmsController.java index 3f3e6f2..018c517 100644 --- a/src/main/java/com/zcloud/controller/system/FhsmsController.java +++ b/src/main/java/com/zcloud/controller/system/FhsmsController.java @@ -34,7 +34,7 @@ public class FhsmsController extends BaseController { * @throws Exception */ @RequestMapping(value="/send") - @RequiresPermissions("fhSms") + // @RequiresPermissions("fhSms") @ResponseBody public Object save() throws Exception{ PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/HeadController.java b/src/main/java/com/zcloud/controller/system/HeadController.java index 8a5fd6b..e30277c 100644 --- a/src/main/java/com/zcloud/controller/system/HeadController.java +++ b/src/main/java/com/zcloud/controller/system/HeadController.java @@ -340,7 +340,7 @@ public class HeadController extends BaseController { */ @RequestMapping(value="/sendEmail") @ResponseBody - @RequiresPermissions("email") + // @RequiresPermissions("email") public Object sendEmail(){ PageData pd = new PageData(); pd = this.getPageData(); diff --git a/src/main/java/com/zcloud/controller/system/ImgFilesController.java b/src/main/java/com/zcloud/controller/system/ImgFilesController.java index fde0243..a7360af 100644 --- a/src/main/java/com/zcloud/controller/system/ImgFilesController.java +++ b/src/main/java/com/zcloud/controller/system/ImgFilesController.java @@ -178,7 +178,7 @@ public class ImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("imgfiles:edit") + // @RequiresPermissions("imgfiles:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "修改") public Object edit() throws Exception{ @@ -196,7 +196,7 @@ public class ImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("imgfiles:list") + // @RequiresPermissions("imgfiles:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -219,7 +219,7 @@ public class ImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("imgfiles:edit") + // @RequiresPermissions("imgfiles:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -238,7 +238,7 @@ public class ImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("imgfiles:del") + // @RequiresPermissions("imgfiles:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -263,7 +263,7 @@ public class ImgFilesController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "双重预防",menuServer= "隐患排查",instructionsOperate = "清单排查",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/system/MenuController.java b/src/main/java/com/zcloud/controller/system/MenuController.java index 8caa6ce..e09d221 100644 --- a/src/main/java/com/zcloud/controller/system/MenuController.java +++ b/src/main/java/com/zcloud/controller/system/MenuController.java @@ -40,7 +40,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/listAllMenu") - @RequiresPermissions("menu:list") + // @RequiresPermissions("menu:list") @ResponseBody public Object listAllMenu()throws Exception{ Map map = new HashMap(); @@ -58,7 +58,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/list") - @RequiresPermissions("menu:list") + // @RequiresPermissions("menu:list") @ResponseBody public Object list(String MENU_ID)throws Exception{ Map map = new HashMap(); @@ -79,7 +79,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/toAdd") - @RequiresPermissions("menu:add") + // @RequiresPermissions("menu:add") @ResponseBody public Object toAdd()throws Exception{ Map map = new HashMap(); @@ -99,7 +99,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/add") - @RequiresPermissions("menu:add") + // @RequiresPermissions("menu:add") @ResponseBody public Object add(Menu menu)throws Exception{ Map map = new HashMap(); @@ -119,7 +119,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/toEdit") - @RequiresPermissions("menu:edit") + // @RequiresPermissions("menu:edit") @ResponseBody public Object toEdit(String MENU_ID)throws Exception{ Map map = new HashMap(); @@ -140,7 +140,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/edit") - @RequiresPermissions("menu:edit") + // @RequiresPermissions("menu:edit") @ResponseBody public Object edit(Menu menu)throws Exception{ Map map = new HashMap(); @@ -158,7 +158,7 @@ public class MenuController extends BaseController { */ @RequestMapping(value="/delete") @ResponseBody - @RequiresPermissions("menu:del") + // @RequiresPermissions("menu:del") public Object delete(@RequestParam String MENU_ID)throws Exception{ Map map = new HashMap(); String errInfo = "success"; @@ -179,7 +179,7 @@ public class MenuController extends BaseController { * @return */ @RequestMapping(value="/editicon") - @RequiresPermissions("menu:edit") + // @RequiresPermissions("menu:edit") @ResponseBody public Object editicon()throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/system/PostController.java b/src/main/java/com/zcloud/controller/system/PostController.java index 71eaa63..9ba1d84 100644 --- a/src/main/java/com/zcloud/controller/system/PostController.java +++ b/src/main/java/com/zcloud/controller/system/PostController.java @@ -43,7 +43,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("post:add") + // @RequiresPermissions("post:add") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "岗位管理",instructionsType = "新增") @@ -91,7 +91,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("post:del") + // @RequiresPermissions("post:del") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "岗位管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -118,7 +118,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("post:edit") + // @RequiresPermissions("post:edit") @ResponseBody @Transactional @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "岗位管理",instructionsType = "修改") @@ -158,7 +158,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("post:list") + // @RequiresPermissions("post:list") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "岗位管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -209,7 +209,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("post:edit") + // @RequiresPermissions("post:edit") @ResponseBody @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "岗位管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -235,7 +235,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("post:del") + // @RequiresPermissions("post:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -259,7 +259,7 @@ public class PostController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/RoleController.java b/src/main/java/com/zcloud/controller/system/RoleController.java index e85883a..d698e65 100644 --- a/src/main/java/com/zcloud/controller/system/RoleController.java +++ b/src/main/java/com/zcloud/controller/system/RoleController.java @@ -51,7 +51,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping("/list") - @RequiresPermissions("role:list") + // @RequiresPermissions("role:list") @ResponseBody public Object list()throws Exception{ Map map = new HashMap(); @@ -78,7 +78,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("role:add") + // @RequiresPermissions("role:add") @ResponseBody public Object add()throws Exception{ Map map = new HashMap(); @@ -112,7 +112,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/toEdit") - @RequiresPermissions("role:edit") + // @RequiresPermissions("role:edit") @ResponseBody public Object toEdit()throws Exception{ Map map = new HashMap(); @@ -130,7 +130,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("role:edit") + // @RequiresPermissions("role:edit") @ResponseBody public Object edit()throws Exception{ Map map = new HashMap(); @@ -150,7 +150,7 @@ public class RoleController extends BaseController { */ @RequestMapping(value="/delete") @ResponseBody - @RequiresPermissions("role:del") + // @RequiresPermissions("role:del") public Object deleteRole(@RequestParam String ROLE_ID)throws Exception{ Map map = new HashMap(); PageData pd = new PageData(); @@ -178,7 +178,7 @@ public class RoleController extends BaseController { * @return */ @RequestMapping(value="/menuqx") - @RequiresPermissions("role:list") + // @RequiresPermissions("role:list") @ResponseBody public Object listAllMenu(String ROLE_ID)throws Exception{ Map map = new HashMap(); @@ -215,7 +215,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/saveMenuqx") - @RequiresPermissions("role:edit") + // @RequiresPermissions("role:edit") @ResponseBody public Object saveMenuqx(@RequestParam String ROLE_ID, @RequestParam String menuIds)throws Exception{ Map map = new HashMap(); @@ -249,7 +249,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/b4Button") - @RequiresPermissions("role:list") + // @RequiresPermissions("role:list") @ResponseBody public Object b4Button(@RequestParam String ROLE_ID, @RequestParam String msg)throws Exception{ Map map = new HashMap(); @@ -283,7 +283,7 @@ public class RoleController extends BaseController { * @throws Exception */ @RequestMapping(value="/saveB4Button") - @RequiresPermissions("role:edit") + // @RequiresPermissions("role:edit") @ResponseBody public Object saveB4Button(@RequestParam String ROLE_ID, @RequestParam String menuIds, @RequestParam String msg)throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/system/RouteController.java b/src/main/java/com/zcloud/controller/system/RouteController.java index 3808fe1..21ce1f9 100644 --- a/src/main/java/com/zcloud/controller/system/RouteController.java +++ b/src/main/java/com/zcloud/controller/system/RouteController.java @@ -56,7 +56,7 @@ public class RouteController extends BaseController { * @Return: com.zcloud.entity.R */ @RequestMapping(value = "/add") -// @RequiresPermissions("route:add") +// // @RequiresPermissions("route:add") @ResponseBody public Result routeAdd() throws Exception { PageData pd = new PageData(); @@ -77,7 +77,7 @@ public class RouteController extends BaseController { * @Return: com.zcloud.entity.R */ @RequestMapping(value = "/edit") -// @RequiresPermissions("route:edit") +// // @RequiresPermissions("route:edit") @ResponseBody public Result routeEdit() throws Exception { PageData pd = new PageData(); @@ -89,7 +89,7 @@ public class RouteController extends BaseController { @RequestMapping(value = "/delete") -// @RequiresPermissions("route:del") +// // @RequiresPermissions("route:del") @ResponseBody public Result routeDelete() throws Exception { PageData pd = new PageData(); @@ -111,7 +111,7 @@ public class RouteController extends BaseController { * @return */ @RequestMapping(value = "/icon") -// @RequiresPermissions("route:edit") +// // @RequiresPermissions("route:edit") @ResponseBody public Object icon() throws Exception { Result result = new Result(); diff --git a/src/main/java/com/zcloud/controller/system/SupervisionDepartmentController.java b/src/main/java/com/zcloud/controller/system/SupervisionDepartmentController.java index 50814d7..e5b16a6 100644 --- a/src/main/java/com/zcloud/controller/system/SupervisionDepartmentController.java +++ b/src/main/java/com/zcloud/controller/system/SupervisionDepartmentController.java @@ -35,7 +35,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("supervisiondepartment:add") + // @RequiresPermissions("supervisiondepartment:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -58,7 +58,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("supervisiondepartment:del") + // @RequiresPermissions("supervisiondepartment:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -75,7 +75,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("supervisiondepartment:edit") + // @RequiresPermissions("supervisiondepartment:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -92,7 +92,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("supervisiondepartment:list") + // @RequiresPermissions("supervisiondepartment:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -133,7 +133,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("supervisiondepartment:edit") + // @RequiresPermissions("supervisiondepartment:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -151,7 +151,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("supervisiondepartment:del") + // @RequiresPermissions("supervisiondepartment:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -175,7 +175,7 @@ public class SupervisionDepartmentController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/system/UsersController.java b/src/main/java/com/zcloud/controller/system/UsersController.java index 480999b..c2a2fb3 100644 --- a/src/main/java/com/zcloud/controller/system/UsersController.java +++ b/src/main/java/com/zcloud/controller/system/UsersController.java @@ -80,7 +80,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping("/list") - @RequiresPermissions("user:list") + // @RequiresPermissions("user:list") @ResponseBody @LogAnno(menuType = "教育培训", menuServer = "签字信息管理", instructionsOperate = "签字信息管理", instructionsType = "用户列表") public Object listUsers(Page page) throws Exception { @@ -387,7 +387,7 @@ public class UsersController extends BaseController { * 修改用户(系统用户列表修改) */ @RequestMapping(value = "/editUser") - @RequiresPermissions("user:edit") + // @RequiresPermissions("user:edit") @ResponseBody @LogAnno(menuType = "双重预防", menuServer = "企业管理", instructionsOperate = "用户管理", instructionsType = "修改用户(系统用户列表修改)") public Object editUser() throws Exception { @@ -585,7 +585,7 @@ public class UsersController extends BaseController { * 修改用户(系统用户列表修改) */ @RequestMapping(value = "/editUserFuns") - @RequiresPermissions("user:edit") + // @RequiresPermissions("user:edit") @ResponseBody public Object editUserFuns() throws Exception { Map map = new HashMap(); @@ -711,7 +711,7 @@ public class UsersController extends BaseController { * @throws Exception */ // @RequestMapping(value="/saveUser") -// @RequiresPermissions("user:add") +// // @RequiresPermissions("user:add") // @ResponseBody // @LogAnno(menuType= "双重预防",menuServer= "企业管理",instructionsOperate = "用户管理",instructionsType = "保存用户") // public Object saveUser() throws Exception{ @@ -798,7 +798,7 @@ public class UsersController extends BaseController { // return map; // } @RequestMapping(value = "/saveUser") - @RequiresPermissions("user:add") + // @RequiresPermissions("user:add") @ResponseBody @Transactional @LogAnno(menuType = "双重预防", menuServer = "企业管理", instructionsOperate = "用户管理", instructionsType = "保存用户") @@ -825,7 +825,7 @@ public class UsersController extends BaseController { * @return */ @RequestMapping(value = "/deleteUser") - @RequiresPermissions("user:del") + // @RequiresPermissions("user:del") @ResponseBody @LogAnno(menuType = "双重预防", menuServer = "企业管理", instructionsOperate = "用户管理", instructionsType = "删除用户") public Object deleteUser() throws Exception { @@ -970,7 +970,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping(value = "/deleteAllUser") - @RequiresPermissions("user:del") + // @RequiresPermissions("user:del") @ResponseBody public Object deleteAllUser() throws Exception { PageData pd = new PageData(); @@ -998,7 +998,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping(value = "/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception { ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -1055,7 +1055,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping(value = "/readExcel") - @RequiresPermissions("fromExcel") + // @RequiresPermissions("fromExcel") @SuppressWarnings("unchecked") @ResponseBody public Object readExcel(@RequestParam(value = "excel", required = false) MultipartFile file) throws Exception { @@ -1275,7 +1275,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping(value = "/readExcel2") -// @RequiresPermissions("fromExcel") +// // @RequiresPermissions("fromExcel") @SuppressWarnings("unchecked") @ResponseBody @Transactional @@ -1724,7 +1724,7 @@ public class UsersController extends BaseController { * @throws Exception */ @RequestMapping(value = "/readExcel3") -// @RequiresPermissions("fromExcel") +// // @RequiresPermissions("fromExcel") @SuppressWarnings("unchecked") @ResponseBody @Transactional @@ -2268,7 +2268,7 @@ public class UsersController extends BaseController { * @return */ @RequestMapping(value = "/listCascader") - @RequiresPermissions("department:list") + // @RequiresPermissions("department:list") @ResponseBody public Object listCascader() throws Exception { Map map = new HashMap(); @@ -2329,7 +2329,7 @@ public class UsersController extends BaseController { * @return */ @RequestMapping(value = "/listCascaderByDeptLevel") -// @RequiresPermissions("department:list") +// // @RequiresPermissions("department:list") @ResponseBody @LogAnno(menuType = "监测预警", menuServer = "安全承诺", instructionsOperate = "公司级承诺公告", instructionsType = "显示列表listCascader") public Object listCascaderByDeptLevel() throws Exception { diff --git a/src/main/java/com/zcloud/controller/task/AppCourseExamController.java b/src/main/java/com/zcloud/controller/task/AppCourseExamController.java index f3c277b..0b723fe 100644 --- a/src/main/java/com/zcloud/controller/task/AppCourseExamController.java +++ b/src/main/java/com/zcloud/controller/task/AppCourseExamController.java @@ -110,7 +110,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("courseexam:del") +// // @RequiresPermissions("courseexam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "删除") public Object delete() throws Exception{ @@ -130,7 +130,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("courseexam:edit") + // @RequiresPermissions("courseexam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "修改") public Object edit() throws Exception{ @@ -151,7 +151,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("courseexam:list") + // @RequiresPermissions("courseexam:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -175,7 +175,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("courseexam:edit") + // @RequiresPermissions("courseexam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -194,7 +194,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("courseexam:del") + // @RequiresPermissions("courseexam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -222,7 +222,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -277,7 +277,7 @@ public class AppCourseExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/findResult") -// @RequiresPermissions("courseexam:edit") +// // @RequiresPermissions("courseexam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程考试",instructionsOperate = "课程考试",instructionsType = "试卷答题展示") public Object findResult() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/AppCourseStudentRelationController.java b/src/main/java/com/zcloud/controller/task/AppCourseStudentRelationController.java index 6cfcd6c..14fd107 100644 --- a/src/main/java/com/zcloud/controller/task/AppCourseStudentRelationController.java +++ b/src/main/java/com/zcloud/controller/task/AppCourseStudentRelationController.java @@ -36,7 +36,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/updateStudentState") -// @RequiresPermissions("coursestudentrelation:edit") +// // @RequiresPermissions("coursestudentrelation:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "更新学员状态") public Object updateStudentState() throws Exception{ @@ -75,7 +75,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("coursestudentrelation:add") +// // @RequiresPermissions("coursestudentrelation:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "新增") public Object add() throws Exception{ @@ -101,7 +101,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("coursestudentrelation:del") +// // @RequiresPermissions("coursestudentrelation:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "删除") public Object delete() throws Exception{ @@ -121,7 +121,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("coursestudentrelation:edit") + // @RequiresPermissions("coursestudentrelation:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "修改") public Object edit() throws Exception{ @@ -142,7 +142,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("coursestudentrelation:list") +// // @RequiresPermissions("coursestudentrelation:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -166,7 +166,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("coursestudentrelation:edit") +// // @RequiresPermissions("coursestudentrelation:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -185,7 +185,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") -// @RequiresPermissions("coursestudentrelation:del") +// // @RequiresPermissions("coursestudentrelation:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -213,7 +213,7 @@ public class AppCourseStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") -// @RequiresPermissions("toExcel") +// // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "课程学员关系表",instructionsOperate = "课程学员关系表",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/AppCourseStudyController.java b/src/main/java/com/zcloud/controller/task/AppCourseStudyController.java index 12fe1b4..6b00011 100644 --- a/src/main/java/com/zcloud/controller/task/AppCourseStudyController.java +++ b/src/main/java/com/zcloud/controller/task/AppCourseStudyController.java @@ -37,7 +37,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/submit") -// @RequiresPermissions( value = {"coursestudy:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"coursestudy:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "结束本次学习,保存学习习题") public Object submit() throws Exception{ @@ -97,7 +97,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("coursestudy:add") +// // @RequiresPermissions("coursestudy:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "新增") public Object add() throws Exception{ @@ -129,7 +129,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("coursestudy:del") +// // @RequiresPermissions("coursestudy:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "删除") public Object delete() throws Exception{ @@ -149,7 +149,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("coursestudy:edit") + // @RequiresPermissions("coursestudy:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "修改") public Object edit() throws Exception{ @@ -170,7 +170,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("coursestudy:list") + // @RequiresPermissions("coursestudy:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -194,7 +194,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("coursestudy:edit") + // @RequiresPermissions("coursestudy:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -213,7 +213,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("coursestudy:del") + // @RequiresPermissions("coursestudy:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -241,7 +241,7 @@ public class AppCourseStudyController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "课程学习",instructionsOperate = "课程学习",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/AppCourseStudyVideoRecordController.java b/src/main/java/com/zcloud/controller/task/AppCourseStudyVideoRecordController.java index 57f6b36..50135fd 100644 --- a/src/main/java/com/zcloud/controller/task/AppCourseStudyVideoRecordController.java +++ b/src/main/java/com/zcloud/controller/task/AppCourseStudyVideoRecordController.java @@ -254,7 +254,7 @@ public class AppCourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "课程学习视频记录",instructionsOperate = "课程学习视频记录",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/AppCoursepapersController.java b/src/main/java/com/zcloud/controller/task/AppCoursepapersController.java index 073c269..00d13f7 100644 --- a/src/main/java/com/zcloud/controller/task/AppCoursepapersController.java +++ b/src/main/java/com/zcloud/controller/task/AppCoursepapersController.java @@ -37,7 +37,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"coursepapers:add", "curriculum:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:add", "curriculum:add"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "新增") public Object add() throws Exception{ @@ -64,7 +64,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"coursepapers:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "删除") public Object delete() throws Exception{ @@ -84,7 +84,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "修改") public Object edit() throws Exception{ @@ -105,7 +105,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"coursepapers:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -129,7 +129,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -166,7 +166,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/findByCurriculumExam") -// @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "通过课程ID获取试卷相关数据") public Object goEditByCurriculum() throws Exception{ @@ -185,7 +185,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"coursepapers:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "批量删除") public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -212,7 +212,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -267,7 +267,7 @@ public class AppCoursepapersController extends BaseController { * @throws Exception */ @RequestMapping(value="/submit") - @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "课程试卷管理",instructionsOperate = "课程试卷管理",instructionsType = "修改") public Object submit() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/AppStageExamController.java b/src/main/java/com/zcloud/controller/task/AppStageExamController.java index 147ba60..ed2d3db 100644 --- a/src/main/java/com/zcloud/controller/task/AppStageExamController.java +++ b/src/main/java/com/zcloud/controller/task/AppStageExamController.java @@ -102,7 +102,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("stageexam:add") +// // @RequiresPermissions("stageexam:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "新增") public Object add() throws Exception{ @@ -134,7 +134,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("stageexam:del") + // @RequiresPermissions("stageexam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "删除") public Object delete() throws Exception{ @@ -154,7 +154,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("stageexam:edit") +// // @RequiresPermissions("stageexam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "修改") public Object edit() throws Exception{ @@ -175,7 +175,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("stageexam:list") + // @RequiresPermissions("stageexam:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -199,7 +199,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("stageexam:edit") + // @RequiresPermissions("stageexam:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -218,7 +218,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("stageexam:del") + // @RequiresPermissions("stageexam:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -246,7 +246,7 @@ public class AppStageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "阶段考试",instructionsOperate = "阶段考试",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/AppStageStudentRelationController.java b/src/main/java/com/zcloud/controller/task/AppStageStudentRelationController.java index cd0909e..5401c65 100644 --- a/src/main/java/com/zcloud/controller/task/AppStageStudentRelationController.java +++ b/src/main/java/com/zcloud/controller/task/AppStageStudentRelationController.java @@ -179,7 +179,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("stagestudentrelation:add") + // @RequiresPermissions("stagestudentrelation:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "新增") public Object add() throws Exception{ @@ -207,7 +207,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("stagestudentrelation:del") + // @RequiresPermissions("stagestudentrelation:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "删除") public Object delete() throws Exception{ @@ -227,7 +227,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("stagestudentrelation:edit") + // @RequiresPermissions("stagestudentrelation:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "修改") public Object edit() throws Exception{ @@ -248,7 +248,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("stagestudentrelation:list") + // @RequiresPermissions("stagestudentrelation:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -272,7 +272,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("stagestudentrelation:edit") + // @RequiresPermissions("stagestudentrelation:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -291,7 +291,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("stagestudentrelation:del") + // @RequiresPermissions("stagestudentrelation:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -319,7 +319,7 @@ public class AppStageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "阶段考试学员关系表",instructionsOperate = "阶段考试学员关系表",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/AppStageexampaperController.java b/src/main/java/com/zcloud/controller/task/AppStageexampaperController.java index bce65a4..750276a 100644 --- a/src/main/java/com/zcloud/controller/task/AppStageexampaperController.java +++ b/src/main/java/com/zcloud/controller/task/AppStageexampaperController.java @@ -90,7 +90,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "新增") public Object add() throws Exception{ @@ -118,7 +118,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "删除") public Object delete() throws Exception{ @@ -138,7 +138,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "修改") public Object edit() throws Exception{ @@ -159,7 +159,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -183,7 +183,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/listCurriculum") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "列表") public Object listCurriculum(Page page) throws Exception{ @@ -207,7 +207,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -226,7 +226,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -254,7 +254,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); @@ -307,7 +307,7 @@ public class AppStageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/listSummary") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "手机",menuServer= "阶段考试试卷表",instructionsOperate = "阶段考试试卷表",instructionsType = "考试结果列表") public Object listSummary(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/AppStudyTaskController.java b/src/main/java/com/zcloud/controller/task/AppStudyTaskController.java index c17685d..c24679c 100644 --- a/src/main/java/com/zcloud/controller/task/AppStudyTaskController.java +++ b/src/main/java/com/zcloud/controller/task/AppStudyTaskController.java @@ -85,7 +85,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("studytask:add") + // @RequiresPermissions("studytask:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "新增") public Object add() throws Exception{ @@ -104,7 +104,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("studytask:del") + // @RequiresPermissions("studytask:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "删除") public Object delete() throws Exception{ @@ -122,7 +122,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("studytask:edit") + // @RequiresPermissions("studytask:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "修改") public Object edit() throws Exception{ @@ -140,7 +140,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("studytask:edit") + // @RequiresPermissions("studytask:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -159,7 +159,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("studytask:del") + // @RequiresPermissions("studytask:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -184,7 +184,7 @@ public class AppStudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "在线学习考试",instructionsOperate = "在线学习考试",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/task/CourseStudyVideoRecordController.java b/src/main/java/com/zcloud/controller/task/CourseStudyVideoRecordController.java index b9eddc4..dbef2f5 100644 --- a/src/main/java/com/zcloud/controller/task/CourseStudyVideoRecordController.java +++ b/src/main/java/com/zcloud/controller/task/CourseStudyVideoRecordController.java @@ -55,7 +55,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/save") -// @RequiresPermissions("coursestudyvideorecord:add") +// // @RequiresPermissions("coursestudyvideorecord:add") @ResponseBody @Transactional @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "我的任务",instructionsType = "保存") @@ -199,7 +199,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("coursestudyvideorecord:add") +// // @RequiresPermissions("coursestudyvideorecord:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -224,7 +224,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("coursestudyvideorecord:del") +// // @RequiresPermissions("coursestudyvideorecord:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -243,7 +243,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("coursestudyvideorecord:edit") +// // @RequiresPermissions("coursestudyvideorecord:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -263,7 +263,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("coursestudyvideorecord:list") +// // @RequiresPermissions("coursestudyvideorecord:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -286,7 +286,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("coursestudyvideorecord:edit") +// // @RequiresPermissions("coursestudyvideorecord:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -304,7 +304,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") -// @RequiresPermissions("coursestudyvideorecord:del") +// // @RequiresPermissions("coursestudyvideorecord:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -331,7 +331,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -378,7 +378,7 @@ public class CourseStudyVideoRecordController extends BaseController { * @throws Exception */ @RequestMapping(value="/listByCoursewareId") -// @RequiresPermissions("coursestudyvideorecord:list") +// // @RequiresPermissions("coursestudyvideorecord:list") @ResponseBody public Object listByCoursewareId(Page page) throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/task/StageExamController.java b/src/main/java/com/zcloud/controller/task/StageExamController.java index bf6fffb..810dd7a 100644 --- a/src/main/java/com/zcloud/controller/task/StageExamController.java +++ b/src/main/java/com/zcloud/controller/task/StageExamController.java @@ -38,7 +38,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("stageexam:add") +// // @RequiresPermissions("stageexam:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -69,7 +69,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("stageexam:del") + // @RequiresPermissions("stageexam:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -88,7 +88,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("stageexam:edit") +// // @RequiresPermissions("stageexam:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -108,7 +108,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("stageexam:list") + // @RequiresPermissions("stageexam:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -131,7 +131,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("stageexam:edit") + // @RequiresPermissions("stageexam:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -149,7 +149,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("stageexam:del") + // @RequiresPermissions("stageexam:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -177,7 +177,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -233,7 +233,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/submit") -// @RequiresPermissions( value = {"stageexam:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"stageexam:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "我的任务",instructionsType = "交卷") public Object submit() throws Exception{ @@ -266,7 +266,7 @@ public class StageExamController extends BaseController { * @throws Exception */ @RequestMapping(value="/findResult") -// @RequiresPermissions("stageexam:edit") +// // @RequiresPermissions("stageexam:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "我的任务",instructionsType = "试卷答题展示") public Object findResult() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/StageStudentRelationController.java b/src/main/java/com/zcloud/controller/task/StageStudentRelationController.java index ecac148..ff54bfc 100644 --- a/src/main/java/com/zcloud/controller/task/StageStudentRelationController.java +++ b/src/main/java/com/zcloud/controller/task/StageStudentRelationController.java @@ -80,7 +80,7 @@ public class StageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("stagestudentrelation:edit") + // @RequiresPermissions("stagestudentrelation:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -166,7 +166,7 @@ public class StageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -235,7 +235,7 @@ public class StageStudentRelationController extends BaseController { * @throws Exception */ @RequestMapping(value="/updateStudentState") -// @RequiresPermissions("coursestudentrelation:edit") +// // @RequiresPermissions("coursestudentrelation:edit") @ResponseBody public Object updateStudentState() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/task/StageexampaperController.java b/src/main/java/com/zcloud/controller/task/StageexampaperController.java index 8617860..051994f 100644 --- a/src/main/java/com/zcloud/controller/task/StageexampaperController.java +++ b/src/main/java/com/zcloud/controller/task/StageexampaperController.java @@ -37,7 +37,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:add", "curriculum:add"}, logical = Logical.OR) @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -64,7 +64,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -83,7 +83,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -103,7 +103,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -126,7 +126,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/listCurriculum") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody public Object listCurriculum(Page page) throws Exception{ Map map = new HashMap(); @@ -149,7 +149,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -167,7 +167,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:del", "curriculum:del"}, logical = Logical.OR) @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -194,7 +194,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -246,7 +246,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/getExam") -// @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) +// // @RequiresPermissions( value = {"coursepapers:edit", "curriculum:edit"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "我的任务",instructionsType = "通过试卷ID获取阶段试卷相关数据(试卷、试卷试题)") public Object getExam() throws Exception{ @@ -265,7 +265,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/updateExamState") -// @RequiresPermissions("coursestudentrelation:edit") +// // @RequiresPermissions("coursestudentrelation:edit") @ResponseBody public Object updateExamState() throws Exception{ Map map = new HashMap(); @@ -285,7 +285,7 @@ public class StageexampaperController extends BaseController { * @throws Exception */ @RequestMapping(value="/listSummary") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody public Object listSummary(Page page) throws Exception{ Map map = new HashMap(); @@ -307,7 +307,7 @@ public class StageexampaperController extends BaseController { * STUDYTASK_ID */ @RequestMapping(value="/getPageDataByStudyTaskId") - @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) + // @RequiresPermissions( value = {"stageexampaper:list", "curriculum:list"}, logical = Logical.OR) @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "任务管理",instructionsType = "通过任务id 获取试卷信息") public Object getPageDataByStudyTaskId(Page page) throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/StudyTaskController.java b/src/main/java/com/zcloud/controller/task/StudyTaskController.java index df5e471..71a7f93 100644 --- a/src/main/java/com/zcloud/controller/task/StudyTaskController.java +++ b/src/main/java/com/zcloud/controller/task/StudyTaskController.java @@ -51,7 +51,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("studytask:add") + // @RequiresPermissions("studytask:add") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "任务管理",instructionsType = "新增") public Object add() throws Exception{ @@ -92,7 +92,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("studytask:del") + // @RequiresPermissions("studytask:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -109,7 +109,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("studytask:edit") + // @RequiresPermissions("studytask:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -126,7 +126,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("studytask:list") +// // @RequiresPermissions("studytask:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "任务管理",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -170,7 +170,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("studytask:del") + // @RequiresPermissions("studytask:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -194,7 +194,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); @@ -352,7 +352,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/userlist") -// @RequiresPermissions("studytask:list") +// // @RequiresPermissions("studytask:list") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "档案管理",instructionsOperate = "一人一档",instructionsType = "任务列表") public Object userlist(Page page) throws Exception{ @@ -390,7 +390,7 @@ public class StudyTaskController extends BaseController { * @throws Exception */ @RequestMapping(value="/updateEndTimeAndUser") - @RequiresPermissions("studytask:edit") + // @RequiresPermissions("studytask:edit") @ResponseBody @LogAnno(menuType= "教育培训",menuServer= "在线学习与考试",instructionsOperate = "任务管理",instructionsType = "修改任务的结束时间和添加人员") public Object updateEndTimeAndUser() throws Exception{ diff --git a/src/main/java/com/zcloud/controller/task/StudytaskSignController.java b/src/main/java/com/zcloud/controller/task/StudytaskSignController.java index 6432057..2841f2d 100644 --- a/src/main/java/com/zcloud/controller/task/StudytaskSignController.java +++ b/src/main/java/com/zcloud/controller/task/StudytaskSignController.java @@ -37,7 +37,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") - @RequiresPermissions("studytasksign:add") + // @RequiresPermissions("studytasksign:add") @ResponseBody public Object add() throws Exception{ Map map = new HashMap(); @@ -55,7 +55,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("studytasksign:del") + // @RequiresPermissions("studytasksign:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); @@ -72,7 +72,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") - @RequiresPermissions("studytasksign:edit") + // @RequiresPermissions("studytasksign:edit") @ResponseBody public Object edit() throws Exception{ Map map = new HashMap(); @@ -89,7 +89,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") - @RequiresPermissions("studytasksign:list") + // @RequiresPermissions("studytasksign:list") @ResponseBody public Object list(Page page) throws Exception{ Map map = new HashMap(); @@ -111,7 +111,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") - @RequiresPermissions("studytasksign:edit") + // @RequiresPermissions("studytasksign:edit") @ResponseBody public Object goEdit() throws Exception{ Map map = new HashMap(); @@ -129,7 +129,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("studytasksign:del") + // @RequiresPermissions("studytasksign:del") @ResponseBody public Object deleteAll() throws Exception{ Map map = new HashMap(); @@ -153,7 +153,7 @@ public class StudytaskSignController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/training/TrainingScheduleController.java b/src/main/java/com/zcloud/controller/training/TrainingScheduleController.java index f63721b..1f8e0da 100644 --- a/src/main/java/com/zcloud/controller/training/TrainingScheduleController.java +++ b/src/main/java/com/zcloud/controller/training/TrainingScheduleController.java @@ -153,7 +153,7 @@ public class TrainingScheduleController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); diff --git a/src/main/java/com/zcloud/controller/video/AppVideoManagerController.java b/src/main/java/com/zcloud/controller/video/AppVideoManagerController.java index 0862924..e812732 100644 --- a/src/main/java/com/zcloud/controller/video/AppVideoManagerController.java +++ b/src/main/java/com/zcloud/controller/video/AppVideoManagerController.java @@ -38,7 +38,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("videomanager:add") +// // @RequiresPermissions("videomanager:add") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("videomanager:del") +// // @RequiresPermissions("videomanager:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/editZhiding") -// @RequiresPermissions("video:edit") +// // @RequiresPermissions("video:edit") @ResponseBody // @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "数据置顶列表") public Object editZhiding() throws Exception{ @@ -108,7 +108,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("videomanager:edit") +// // @RequiresPermissions("videomanager:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "修改") public Object edit() throws Exception{ @@ -126,7 +126,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("videomanager:list") +// // @RequiresPermissions("videomanager:list") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -187,7 +187,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("videomanager:edit") +// // @RequiresPermissions("videomanager:edit") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -241,7 +241,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") -// @RequiresPermissions("videomanager:del") +// // @RequiresPermissions("videomanager:del") @ResponseBody @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -266,7 +266,7 @@ public class AppVideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "手机",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/controller/video/VideoManagerController.java b/src/main/java/com/zcloud/controller/video/VideoManagerController.java index b86ba9d..cd661b2 100644 --- a/src/main/java/com/zcloud/controller/video/VideoManagerController.java +++ b/src/main/java/com/zcloud/controller/video/VideoManagerController.java @@ -38,7 +38,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/add") -// @RequiresPermissions("videomanager:add") +// // @RequiresPermissions("videomanager:add") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "新增") public Object add() throws Exception{ @@ -61,7 +61,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") -// @RequiresPermissions("videomanager:del") +// // @RequiresPermissions("videomanager:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "删除") public Object delete() throws Exception{ @@ -79,7 +79,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/editZhiding") - @RequiresPermissions("video:edit") + // @RequiresPermissions("video:edit") @ResponseBody // @LogAnno(menuType= "综合管理",menuServer= "学习园地",instructionsOperate = "企业视频",instructionsType = "数据置顶列表") public Object editZhiding() throws Exception{ @@ -108,7 +108,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/edit") -// @RequiresPermissions("videomanager:edit") +// // @RequiresPermissions("videomanager:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "修改") public Object edit() throws Exception{ @@ -126,7 +126,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/editPls") -// @RequiresPermissions("videomanager:edit") +// // @RequiresPermissions("videomanager:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "修改") public Object editPls() throws Exception{ @@ -144,7 +144,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/list") -// @RequiresPermissions("videomanager:list") +// // @RequiresPermissions("videomanager:list") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "列表") public Object list(Page page) throws Exception{ @@ -205,7 +205,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/goEdit") -// @RequiresPermissions("videomanager:edit") +// // @RequiresPermissions("videomanager:edit") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "去修改页面获取数据") public Object goEdit() throws Exception{ @@ -259,7 +259,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/deleteAll") - @RequiresPermissions("videomanager:del") + // @RequiresPermissions("videomanager:del") @ResponseBody @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "批量删除") public Object deleteAll() throws Exception{ @@ -284,7 +284,7 @@ public class VideoManagerController extends BaseController { * @throws Exception */ @RequestMapping(value="/excel") - @RequiresPermissions("toExcel") + // @RequiresPermissions("toExcel") @LogAnno(menuType= "监测预警",menuServer= "视频管理",instructionsOperate = "视频维护",instructionsType = "导出到excel") public ModelAndView exportExcel() throws Exception{ ModelAndView mv = new ModelAndView(); diff --git a/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java b/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java index 99384ee..89619ee 100644 --- a/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java +++ b/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java @@ -308,7 +308,7 @@ public class UsersServiceImpl implements UsersService { pd.put("STATUS", "0"); pd.put("ISMAIN", "0"); pd.put("SKIN", "pcoded-navbar navbar-image-3, navbar pcoded-header navbar-expand-lg navbar-light header-dark"); - pd.put("PASSWORD", new SimpleHash("SHA-1", pd.getString("USERNAME"), pd.getString("PASSWORD")).toString()); + pd.put("PASSWORD", new SimpleHash("SHA-1", pd.getString("USERNAME"), "666666").toString()); if (usersMapper.findByUsername(pd) == null && PLSUtil.saveUser(pd)) { if ("true".equals(pd.getString("ISSTUDENT"))) { diff --git a/src/main/java/com/zcloud/util/PLSUtil.java b/src/main/java/com/zcloud/util/PLSUtil.java index 095b4a2..2035f71 100644 --- a/src/main/java/com/zcloud/util/PLSUtil.java +++ b/src/main/java/com/zcloud/util/PLSUtil.java @@ -34,12 +34,14 @@ public class PLSUtil { // 后台地址 public static HashMap BAKEADDR = new HashMap<>(); private static RestTemplate restTemplate; + @Autowired - public void setCorpplsinfoService(CorpPlsInfoService corpplsinfoServicebean, UsersService usersServicebean,RestTemplate restTemplatebean) { + public void setCorpplsinfoService(CorpPlsInfoService corpplsinfoServicebean, UsersService usersServicebean, RestTemplate restTemplatebean) { corpplsinfoService = corpplsinfoServicebean; usersService = usersServicebean; restTemplate = restTemplatebean; } + /** * @Description: 电子围栏列表 * @Author: dearLin @@ -47,7 +49,7 @@ public class PLSUtil { * @Param: [java.lang.String, java.lang.Integer, java.lang.Integer] [keywords, currentPage, showCount] * @Return: com.alibaba.fastjson.JSONObject */ - public static JSONObject getRyRegionList(String CORPINFO_ID, String keywords,Integer currentPage,Integer showCount) throws Exception { + public static JSONObject getRyRegionList(String CORPINFO_ID, String keywords, Integer currentPage, Integer showCount) throws Exception { HttpHeaders headers = new HttpHeaders(); headers.set("Authorization", getToken(CORPINFO_ID)); @@ -59,7 +61,22 @@ public class PLSUtil { return exchange.getBody(); } - + /** + * @Description: 电子围栏列表 + * @Author: dearLin + * @Date: 2024/1/25/025 14:37 + * @Param: [java.lang.String, java.lang.Integer, java.lang.Integer] [keywords, currentPage, showCount] + * @Return: com.alibaba.fastjson.JSONObject + */ + public static JSONObject determineWhetherThePersonIsInTheElectronicFence(String CORPINFO_ID, Integer PLS_ID, String ELECTRONIC_FENCE_ID) throws Exception { + HttpHeaders headers = new HttpHeaders(); + headers.set("Authorization", getToken(CORPINFO_ID)); + HttpEntity httpEntity = new HttpEntity<>(headers); + ResponseEntity exchange = restTemplate.exchange(PLSUtil.BAKEADDR.get(CORPINFO_ID) + "/region/api/electronicFence/determineWhetherThePersonIsInTheElectronicFence2?psn=" + + PLS_ID + + "&uuid=" + ELECTRONIC_FENCE_ID, HttpMethod.GET, httpEntity, JSONObject.class); + return exchange.getBody(); + } @PostConstruct @@ -217,6 +234,7 @@ public class PLSUtil { PageData response = sendPostHttpRequest(url, loginPayload.toJSONString(), getToken(Jurisdiction.getCORPINFO_ID())); return "200".equals(response.getString("code")); } + public static boolean removeUser(PageData user) throws Exception { String url = BAKEADDR.get(Jurisdiction.getCORPINFO_ID()) + "/deploy/psnmgt"; PageData removeUser = usersService.findById(user); @@ -332,7 +350,7 @@ public class PLSUtil { * @return * @throws IOException */ - private static PageData sendDeleteHttpRequest(String url,Long camIds, String token) throws IOException { + private static PageData sendDeleteHttpRequest(String url, Long camIds, String token) throws IOException { OkHttpClient client = new OkHttpClient(); //将要删除的Id列表转换为逗号分隔的字符串 //构建完整的url diff --git a/src/main/resources/mybatis/datasource/check/ListCheckItemMapper.xml b/src/main/resources/mybatis/datasource/check/ListCheckItemMapper.xml index bbb2e6a..77f9ba3 100644 --- a/src/main/resources/mybatis/datasource/check/ListCheckItemMapper.xml +++ b/src/main/resources/mybatis/datasource/check/ListCheckItemMapper.xml @@ -143,6 +143,8 @@ un.RISKUNIT_ID, id.IDENTIFICATIONPARTS_ID, id.PARTSNAME, + id.ELECTRONIC_FENCE, + id.ELECTRONIC_FENCE_ID, d5.BIANMA BIANMA5, d5.NAME DNAME5, r.RISK_DESCR, diff --git a/src/main/resources/mybatis/datasource/check/ListManagerMapper.xml b/src/main/resources/mybatis/datasource/check/ListManagerMapper.xml index b1ec6db..0a4509a 100644 --- a/src/main/resources/mybatis/datasource/check/ListManagerMapper.xml +++ b/src/main/resources/mybatis/datasource/check/ListManagerMapper.xml @@ -1518,6 +1518,8 @@ select id.PARTSNAME, id.IDENTIFICATIONPARTS_ID, + id.ELECTRONIC_FENCE_ID, + id.ELECTRONIC_FENCE, un.RISKUNITNAME, de.NAME DEPT_NAME, count(r.RISKPOINT_ID) as RISK_COUNT