沧州矿石数据同步日志

pull/14/head
dearlin 2024-01-06 15:24:03 +08:00
parent 12d0079c3b
commit 6fef2c1407
202 changed files with 566 additions and 505 deletions

View File

@ -6,10 +6,7 @@ import com.zcloud.entity.PageData;
import com.zcloud.entity.system.User;
import com.zcloud.service.docking.DockingRelationService;
import com.zcloud.service.mq.DockSendMessageService;
import com.zcloud.util.Const;
import com.zcloud.util.Jurisdiction;
import com.zcloud.util.Tools;
import com.zcloud.util.UuidUtil;
import com.zcloud.util.*;
import org.apache.shiro.session.Session;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
@ -25,6 +22,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
import javax.annotation.PostConstruct;
import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Method;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@ -188,9 +186,11 @@ public class DockingAspect {
TenCorpDto tenCorpDto = new TenCorpDto();
tenCorpDto.setMessage("沧州矿石数据同步消息");
tenCorpDto.setData(sendData);
tenCorpDto.setId(UuidUtil.get32UUID());
tenCorpDto.setMessageLogId(UuidUtil.get32UUID());
tenCorpDto.setTopic("docking");
tenCorpDto.setMark(servletPath);
tenCorpDto.setProducer_name("qa-prevention-czks");
tenCorpDto.setCREATE_TIME(DateUtil.date2Str(new Date()));
// 有dockData
String dockData = JSON.toJSONString(proceed.get("dockData"));
if (Tools.notEmpty(dockData)) {

View File

@ -438,7 +438,7 @@ public class AppCheckRecordController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -255,7 +255,7 @@ public class AppCorpFuncController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -233,7 +233,7 @@ public class AppCourseStudyController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -258,7 +258,7 @@ public class AppCourseStudyVideoRecordController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -274,7 +274,7 @@ public class AppCoursewareController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -249,7 +249,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();

View File

@ -21,7 +21,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.GasDetectionService;
/**
/**
*
* luoxiaobao
* 2021-04-15
@ -30,10 +30,10 @@ import com.zcloud.service.bus.GasDetectionService;
@Controller
@RequestMapping("/app/gasdetection")
public class AppGasDetectionController extends BaseController {
@Autowired
private GasDetectionService gasdetectionService;
/**
* @param
* @throws Exception
@ -56,7 +56,7 @@ public class AppGasDetectionController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -72,7 +72,7 @@ public class AppGasDetectionController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -88,7 +88,7 @@ public class AppGasDetectionController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -109,7 +109,7 @@ public class AppGasDetectionController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -125,9 +125,9 @@ public class AppGasDetectionController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -144,8 +144,8 @@ public class AppGasDetectionController extends BaseController {
map.put("varList", varList);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -155,7 +155,7 @@ public class AppGasDetectionController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -168,13 +168,13 @@ public class AppGasDetectionController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -227,5 +227,5 @@ public class AppGasDetectionController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -175,7 +175,7 @@ public class AppHiddenExamineController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -284,7 +284,7 @@ public class AppIdentificationPartsController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -316,7 +316,7 @@ public class AppIdentificationPartsController 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");

View File

@ -346,7 +346,7 @@ public class AppImgFilesController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -609,7 +609,7 @@ public class AppLimitSpaceApproveController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -21,7 +21,7 @@ import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.LimitSpaceService;
/**
/**
*
* luoxiaobao
* 2021-04-02
@ -30,10 +30,10 @@ import com.zcloud.service.bus.LimitSpaceService;
@Controller
@RequestMapping("/app/limitspace")
public class AppLimitSpaceController extends BaseController {
@Autowired
private LimitSpaceService limitspaceService;
/**
* @param
* @throws Exception
@ -68,7 +68,7 @@ public class AppLimitSpaceController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -87,7 +87,7 @@ public class AppLimitSpaceController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -118,7 +118,7 @@ public class AppLimitSpaceController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -139,7 +139,7 @@ public class AppLimitSpaceController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -155,8 +155,8 @@ public class AppLimitSpaceController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -172,8 +172,8 @@ public class AppLimitSpaceController extends BaseController {
map.put("varList", varList);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -184,7 +184,7 @@ public class AppLimitSpaceController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -200,13 +200,13 @@ public class AppLimitSpaceController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -261,5 +261,5 @@ public class AppLimitSpaceController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -236,7 +236,7 @@ public class AppMajordangersourceDisposalController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -252,7 +252,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();

View File

@ -197,7 +197,7 @@ public class AppOffDutyController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -171,7 +171,7 @@ public class AppSerialNumberController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -237,7 +237,7 @@ public class AppStageExamController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -298,7 +298,7 @@ public class AppStageStudentRelationController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -244,7 +244,7 @@ public class AppStageexampaperController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -176,7 +176,7 @@ public class AppStudyTaskController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -21,7 +21,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.SysPathService;
/**
/**
* 访
* luoxiaobao
* 2021-05-28
@ -30,10 +30,10 @@ import com.zcloud.service.bus.SysPathService;
@Controller
@RequestMapping("/app/syspath")
public class AppSysPathController extends BaseController {
@Autowired
private SysPathService syspathService;
/**
* @param
* @throws Exception
@ -56,7 +56,7 @@ public class AppSysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -73,7 +73,7 @@ public class AppSysPathController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -90,7 +90,7 @@ public class AppSysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -112,7 +112,7 @@ public class AppSysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -129,8 +129,8 @@ public class AppSysPathController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -152,8 +152,8 @@ public class AppSysPathController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -164,7 +164,7 @@ public class AppSysPathController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -177,13 +177,13 @@ public class AppSysPathController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -220,5 +220,5 @@ public class AppSysPathController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -264,7 +264,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();

View File

@ -230,7 +230,7 @@ public class AppVersionManagerFirstController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -685,7 +685,7 @@ public class AppHotWorkApplicationController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -238,7 +238,7 @@ public class AppHotWorkApplicationDelayedController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -196,7 +196,7 @@ public class AppRelevantUnitController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -212,7 +212,7 @@ public class AppSpecialUserController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -290,7 +290,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();

View File

@ -219,7 +219,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();

View File

@ -231,7 +231,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();

View File

@ -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();

View File

@ -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();

View File

@ -151,7 +151,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();

View File

@ -151,7 +151,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();

View File

@ -151,7 +151,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();

View File

@ -186,7 +186,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();

View File

@ -150,7 +150,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();

View File

@ -150,7 +150,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();

View File

@ -23,7 +23,7 @@ import com.zcloud.entity.PageData;
import com.zcloud.service.bus.BillingManageService;
import com.zcloud.service.bus.CorpInfoService;
/**
/**
*
* luoxiaobao
* 2021-03-23
@ -32,10 +32,10 @@ import com.zcloud.service.bus.CorpInfoService;
@Controller
@RequestMapping("/billingmanage")
public class BillingManageController extends BaseController {
@Autowired
private BillingManageService billingmanageService;
@Autowired
private CorpInfoService corpinfoService;
/**
@ -59,7 +59,7 @@ public class BillingManageController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -76,7 +76,7 @@ public class BillingManageController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -108,7 +108,7 @@ public class BillingManageController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -132,13 +132,13 @@ public class BillingManageController extends BaseController {
if(cpd!=null) {
map.put("cpd", cpd);
}
map.put("varList", varList);
map.put("page", page);
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -155,8 +155,8 @@ public class BillingManageController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -167,7 +167,7 @@ public class BillingManageController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -180,13 +180,13 @@ public class BillingManageController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -213,5 +213,5 @@ public class BillingManageController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -164,7 +164,7 @@ public class BreakGroundController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -566,7 +566,7 @@ public class CheckRecordController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -155,7 +155,7 @@ public class CheckUserController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -237,7 +237,7 @@ public class CorpFuncController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -403,7 +403,7 @@ public class CorpInfoController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -165,7 +165,7 @@ public class CutRoadController 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();

View File

@ -166,7 +166,7 @@ public class FuncController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -197,7 +197,7 @@ public class GasDetectionController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -155,7 +155,7 @@ public class HiddenCheckController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -1304,7 +1304,7 @@ public class HiddenController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel2")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
public ModelAndView exportExcel2() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -1403,7 +1403,7 @@ public class HiddenController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -246,7 +246,7 @@ public class HiddenExamineController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -59,7 +59,7 @@ public class HiddenExcelController extends BaseController {
private HiddenCheckService hiddenCheckService;
@RequestMapping(value = "/exportExcelToSession")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
@ResponseBody
public Map exportExcelToSession() throws Exception {
PageData pd = new PageData();
@ -99,7 +99,7 @@ public class HiddenExcelController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel2")
// @RequiresPermissions("toExcel")
// // @RequiresPermissions("toExcel")
public ModelAndView exportExcel2() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pdx = this.getPageData();

View File

@ -160,7 +160,7 @@ public class HiddenSchemeController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -600,7 +600,7 @@ public class HotWorkApplicationController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -167,7 +167,7 @@ public class HotWorkApplicationDelayedController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -422,7 +422,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();
@ -455,7 +455,7 @@ public class IdentificationPartsController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excelAll")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView excelAll() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -489,7 +489,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");

View File

@ -346,7 +346,7 @@ public class ImgFilesController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -22,7 +22,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.InvoiceManagerService;
/**
/**
*
* luoxiaobao
* 2021-03-23
@ -31,10 +31,10 @@ import com.zcloud.service.bus.InvoiceManagerService;
@Controller
@RequestMapping("/invoicemanager")
public class InvoiceManagerController extends BaseController {
@Autowired
private InvoiceManagerService invoicemanagerService;
/**
* @param
* @throws Exception
@ -56,7 +56,7 @@ public class InvoiceManagerController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -73,7 +73,7 @@ public class InvoiceManagerController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -90,7 +90,7 @@ public class InvoiceManagerController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -113,7 +113,7 @@ public class InvoiceManagerController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -130,7 +130,7 @@ public class InvoiceManagerController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -149,7 +149,7 @@ public class InvoiceManagerController extends BaseController {
map.put("varList", varList);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -160,7 +160,7 @@ public class InvoiceManagerController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -173,13 +173,13 @@ public class InvoiceManagerController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -218,5 +218,5 @@ public class InvoiceManagerController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -24,7 +24,7 @@ import com.zcloud.entity.PageData;
import com.zcloud.service.bus.ImgFilesService;
import com.zcloud.service.bus.LimitSpaceApproveService;
/**
/**
*
* luoxiaobao
* 2021-04-13
@ -33,12 +33,12 @@ import com.zcloud.service.bus.LimitSpaceApproveService;
@Controller
@RequestMapping("/limitspaceapprove")
public class LimitSpaceApproveController extends BaseController {
@Autowired
private LimitSpaceApproveService limitspaceapproveService;
@Autowired
private ImgFilesService imgFilesService;
/**
* @param
* @throws Exception
@ -62,7 +62,7 @@ public class LimitSpaceApproveController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -79,7 +79,7 @@ public class LimitSpaceApproveController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -96,7 +96,7 @@ public class LimitSpaceApproveController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -119,7 +119,7 @@ public class LimitSpaceApproveController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -132,7 +132,7 @@ public class LimitSpaceApproveController extends BaseController {
String errInfo = "success";
PageData pd = new PageData();
pd = this.getPageData();
pd = limitspaceapproveService.findById(pd); //根据ID读取
pd = limitspaceapproveService.findById(pd); //根据ID读取
PageData pd2 = new PageData();
pd2.put("FOREIGN_KEY", pd.getString("LIMITSPACEAPPROVE_ID"));
pd2.put("TYPE",9);
@ -147,8 +147,8 @@ public class LimitSpaceApproveController extends BaseController {
map.put("jcImgs", jcImgs);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -159,7 +159,7 @@ public class LimitSpaceApproveController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -172,13 +172,13 @@ public class LimitSpaceApproveController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -247,5 +247,5 @@ public class LimitSpaceApproveController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -423,7 +423,7 @@ public class LimitSpaceController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -484,7 +484,7 @@ public class LimitSpaceController 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 + "limitSpace.xls", "有限空间导入模板.xls");
}

View File

@ -250,7 +250,7 @@ public class ListCheckItemController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -160,7 +160,7 @@ public class ListDisableTimeController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -1092,7 +1092,7 @@ public class ListManagerController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -158,7 +158,7 @@ public class ListStatisticsController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -24,7 +24,7 @@ import com.zcloud.service.bus.CorpInfoService;
import com.zcloud.service.bus.MSMLoginService;
import com.zcloud.service.system.DictionariesService;
/**
/**
*
* luoxiaobao
* 2021-02-26
@ -33,7 +33,7 @@ import com.zcloud.service.system.DictionariesService;
@Controller
@RequestMapping("/msmlogin")
public class MSMLoginController extends BaseController {
@Autowired
private MSMLoginService msmloginService;
@ -57,7 +57,7 @@ public class MSMLoginController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -74,7 +74,7 @@ public class MSMLoginController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -91,7 +91,7 @@ public class MSMLoginController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -117,8 +117,8 @@ public class MSMLoginController extends BaseController {
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
page.setPd(pd);
List<PageData> varList = msmloginService.list(page); //列出MSMLogin列表
PageData cpd = new PageData();
cpd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
cpd=corpinfoService.findById(cpd);
@ -127,7 +127,7 @@ public class MSMLoginController extends BaseController {
lpd.put("STATE", "OK");
lpd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
List<PageData> lList =msmloginService.listAll(lpd);
map.put("varList", varList);
map.put("zts", Integer.parseInt(cpd.getString("SMS_COUNT")));
map.put("fsts", lList.size());
@ -136,7 +136,7 @@ public class MSMLoginController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -153,8 +153,8 @@ public class MSMLoginController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -165,7 +165,7 @@ public class MSMLoginController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -178,13 +178,13 @@ public class MSMLoginController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -213,5 +213,5 @@ public class MSMLoginController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -280,7 +280,7 @@ public class NoticeCorpController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -21,7 +21,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.NoticeCorpUserService;
/**
/**
*
* luoxiaobao
* 2021-01-22
@ -30,10 +30,10 @@ import com.zcloud.service.bus.NoticeCorpUserService;
@Controller
@RequestMapping("/noticecorpuserid")
public class NoticeCorpUserController extends BaseController {
@Autowired
private NoticeCorpUserService noticecorpuseridService;
/**
* @param
* @throws Exception
@ -54,7 +54,7 @@ public class NoticeCorpUserController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -71,7 +71,7 @@ public class NoticeCorpUserController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -88,7 +88,7 @@ public class NoticeCorpUserController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -110,7 +110,7 @@ public class NoticeCorpUserController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -127,8 +127,8 @@ public class NoticeCorpUserController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -139,7 +139,7 @@ public class NoticeCorpUserController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -152,13 +152,13 @@ public class NoticeCorpUserController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -183,5 +183,5 @@ public class NoticeCorpUserController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -157,7 +157,7 @@ public class NoticeLogController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -22,7 +22,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.OffDutyService;
/**
/**
*
* luoxiaobao
* 2021-06-11
@ -31,10 +31,10 @@ import com.zcloud.service.bus.OffDutyService;
@Controller
@RequestMapping("/offduty")
public class OffDutyController extends BaseController {
@Autowired
private OffDutyService offdutyService;
/**
* @param
* @throws Exception
@ -57,7 +57,7 @@ public class OffDutyController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -74,7 +74,7 @@ public class OffDutyController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -91,7 +91,7 @@ public class OffDutyController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -113,7 +113,7 @@ public class OffDutyController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -130,8 +130,8 @@ public class OffDutyController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -142,7 +142,7 @@ public class OffDutyController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -155,13 +155,13 @@ public class OffDutyController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -200,5 +200,5 @@ public class OffDutyController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -161,7 +161,7 @@ public class PayManagerController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -313,7 +313,7 @@ public class PersonObtainEvidenceController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -211,7 +211,7 @@ public class QualificationsController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -176,7 +176,7 @@ public class RelevantUnitController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -202,7 +202,7 @@ public class ResourceCorpController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -38,7 +38,7 @@ import com.zcloud.service.bus.ImgFilesService;
import com.zcloud.service.bus.RestrictedSpaceService;
import com.zcloud.service.system.DictionariesService;
/**
/**
*
* luoxiaobao
* 2021-01-07
@ -47,7 +47,7 @@ import com.zcloud.service.system.DictionariesService;
@Controller
@RequestMapping("/restrictedspace")
public class RestrictedSpaceController extends BaseController {
@Autowired
private RestrictedSpaceService restrictedspaceService;
@Autowired
@ -78,7 +78,7 @@ public class RestrictedSpaceController extends BaseController {
map.put("pd", pd);
return map;
}
/**
* @param out
* @throws Exception
@ -108,7 +108,7 @@ public class RestrictedSpaceController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -128,7 +128,7 @@ public class RestrictedSpaceController extends BaseController {
map.put("pd", pd);
return map;
}
/**
* @param page
* @throws Exception
@ -146,7 +146,7 @@ public class RestrictedSpaceController extends BaseController {
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
page.setPd(pd);
List<PageData> varList = restrictedspaceService.list(page); //列出RestrictedSpace列表
if(varList.size()>0) {//如果有数据就去查询图片
String varIds[] = new String[varList.size()]; //需要查询的图片ids
for (int i = 0; i < varList.size(); i++) {
@ -168,13 +168,13 @@ public class RestrictedSpaceController extends BaseController {
}
}
}
map.put("varList", varList);
map.put("page", page);
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -187,7 +187,7 @@ public class RestrictedSpaceController extends BaseController {
String errInfo = "success";
PageData pd = new PageData();
pd = this.getPageData();
pd = restrictedspaceService.findById(pd); //根据ID读取
pd = restrictedspaceService.findById(pd); //根据ID读取
PageData pd2 = new PageData();
pd2.put("FOREIGN_KEY", pd.getString("RESTRICTEDSPACE_ID"));
pd2.put("TYPE",7);
@ -196,8 +196,8 @@ public class RestrictedSpaceController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -208,7 +208,7 @@ public class RestrictedSpaceController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -221,15 +221,15 @@ public class RestrictedSpaceController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
String DICTIONARIES_ID = "723d3cc7b2c8497c83fd6b4b6cc9a45d";
DICTIONARIES_ID = Tools.isEmpty(DICTIONARIES_ID)?"0":DICTIONARIES_ID;
List<Dictionaries> dicListVal = dictionariesService.listSubDictByParentId(DICTIONARIES_ID); //用传过来的ID获取此ID下的子列表数据
@ -237,7 +237,7 @@ public class RestrictedSpaceController extends BaseController {
for (Dictionaries dictionaries : dicListVal) {
dicMap.put(dictionaries.getBIANMA(), dictionaries.getNAME());
}
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
pd = this.getPageData();
@ -291,15 +291,15 @@ public class RestrictedSpaceController extends BaseController {
return mv;
}
/**excel
* @param
* @param
* @throws Exception
*/
@RequestMapping(value="/excelModel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public void exportExcelModel(HttpServletResponse response) throws Exception{
FileDownload.fileDownload(response, PathUtil.getProjectpath() + Const.FILEPATHFILE + "restrictedspaceTemplate.xls", "restrictedspaceTemplate.xls");
}
/**EXCEL
* @param file
* @return
@ -316,7 +316,7 @@ public class RestrictedSpaceController extends BaseController {
PageData pdPublic = new PageData();
pdPublic = this.getPageData();
StringBuffer errorStr = new StringBuffer();
if (null != file && !file.isEmpty()) {
String suffixName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1).toLowerCase();
if (!"xls".equals(suffixName)) {
@ -344,7 +344,7 @@ public class RestrictedSpaceController extends BaseController {
for (Dictionaries dictionaries : dicListVal) {
dicMap.put(dictionaries.getNAME(),dictionaries.getBIANMA());
}
int line= 12;
int row =0;
List<Map<String, Object>> addList = new ArrayList<>();
@ -373,7 +373,7 @@ public class RestrictedSpaceController extends BaseController {
map.put("resultStr", errorStr.toString());
return map;
}
}
Map<String, Object> valPd = new HashMap<>();
String NAME= Tools.excelHandle(lpd.get("var1").toString());

View File

@ -229,7 +229,7 @@ public class RiskCheckItemController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -437,7 +437,7 @@ public class RiskPointController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -495,7 +495,7 @@ public class RiskPointController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excelAll")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView excelAll() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -575,7 +575,7 @@ public class RiskPointController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excelModel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public void exportExcelModel(HttpServletResponse response) throws Exception{
// Exclupload ss=new Exclupload();

View File

@ -167,7 +167,7 @@ public class RiskPointPositionController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -402,7 +402,7 @@ public class RiskPointTemporaryController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -484,7 +484,7 @@ public class RiskPointTemporaryController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excelModel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public void exportExcelModel(HttpServletResponse response) throws Exception{
// Exclupload ss=new Exclupload();

View File

@ -303,7 +303,7 @@ public class RiskUnitController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -334,7 +334,7 @@ public class RiskUnitController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excelAll")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView excelAll() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -390,7 +390,7 @@ public class RiskUnitController 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 + "riskunitExcelTemplate.xls", "riskunitExcelTemplate.xls");

View File

@ -217,7 +217,7 @@ public class RiskWarningController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -297,7 +297,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();

View File

@ -22,7 +22,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.SMSOpenLogService;
/**
/**
*
* luoxiaobao
* 2021-03-23
@ -31,10 +31,10 @@ import com.zcloud.service.bus.SMSOpenLogService;
@Controller
@RequestMapping("/smsopenlog")
public class SMSOpenLogController extends BaseController {
@Autowired
private SMSOpenLogService smsopenlogService;
/**
* @param
* @throws Exception
@ -57,7 +57,7 @@ public class SMSOpenLogController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -74,7 +74,7 @@ public class SMSOpenLogController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -91,7 +91,7 @@ public class SMSOpenLogController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -113,7 +113,7 @@ public class SMSOpenLogController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -130,8 +130,8 @@ public class SMSOpenLogController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -142,7 +142,7 @@ public class SMSOpenLogController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -155,13 +155,13 @@ public class SMSOpenLogController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -190,5 +190,5 @@ public class SMSOpenLogController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -170,7 +170,7 @@ public class SerialNumberController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -402,7 +402,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();

View File

@ -355,7 +355,7 @@ public class ShiftWorkPeriodController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -301,7 +301,7 @@ public class ShiftWorkRulesController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -155,7 +155,7 @@ public class SpaceAuditController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -220,7 +220,7 @@ public class SpecialUserController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -233,7 +233,7 @@ public class StudySectionController extends BaseController {
* @throws Exception
*/
@RequestMapping(value = "/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception {
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -231,7 +231,7 @@ public class StudyVideoController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -195,7 +195,7 @@ public class SysDateController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -21,7 +21,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.SysPathService;
/**
/**
* 访
* luoxiaobao
* 2021-05-28
@ -30,10 +30,10 @@ import com.zcloud.service.bus.SysPathService;
@Controller
@RequestMapping("/syspath")
public class SysPathController extends BaseController {
@Autowired
private SysPathService syspathService;
/**
* @param
* @throws Exception
@ -56,7 +56,7 @@ public class SysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -73,7 +73,7 @@ public class SysPathController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -90,7 +90,7 @@ public class SysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -112,7 +112,7 @@ public class SysPathController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -129,8 +129,8 @@ public class SysPathController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -147,8 +147,8 @@ public class SysPathController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -159,7 +159,7 @@ public class SysPathController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -172,13 +172,13 @@ public class SysPathController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -215,5 +215,5 @@ public class SysPathController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -21,7 +21,7 @@ import com.zcloud.util.Tools;
import com.zcloud.entity.PageData;
import com.zcloud.service.bus.TokenService;
/**
/**
* token
* luoxiaobao
* 2021-05-10
@ -30,10 +30,10 @@ import com.zcloud.service.bus.TokenService;
@Controller
@RequestMapping("/token")
public class TokenController extends BaseController {
@Autowired
private TokenService tokenService;
/**
* @param
* @throws Exception
@ -51,7 +51,7 @@ public class TokenController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param out
* @throws Exception
@ -68,7 +68,7 @@ public class TokenController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**
* @param
* @throws Exception
@ -85,7 +85,7 @@ public class TokenController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param page
* @throws Exception
@ -107,7 +107,7 @@ public class TokenController extends BaseController {
map.put("result", errInfo);
return map;
}
/**
* @param
* @throws Exception
@ -124,8 +124,8 @@ public class TokenController extends BaseController {
map.put("pd", pd);
map.put("result", errInfo);
return map;
}
}
/**
* @param
* @throws Exception
@ -136,7 +136,7 @@ public class TokenController extends BaseController {
public Object deleteAll() throws Exception{
Map<String,Object> map = new HashMap<String,Object>();
String errInfo = "success";
PageData pd = new PageData();
PageData pd = new PageData();
pd = this.getPageData();
String DATA_IDS = pd.getString("DATA_IDS");
if(Tools.notEmpty(DATA_IDS)){
@ -149,13 +149,13 @@ public class TokenController extends BaseController {
map.put("result", errInfo); //返回结果
return map;
}
/**excel
* @param
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();
@ -176,5 +176,5 @@ public class TokenController extends BaseController {
mv = new ModelAndView(erv,dataMap);
return mv;
}
}

View File

@ -224,7 +224,7 @@ public class TrainingInfoController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -228,7 +228,7 @@ public class TrainingPlanController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -164,7 +164,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();

View File

@ -234,7 +234,7 @@ public class VideoController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -315,7 +315,7 @@ public class VidoManagerController extends BaseController {
* @throws Exception
*/
@RequestMapping(value="/excel")
@RequiresPermissions("toExcel")
// @RequiresPermissions("toExcel")
public ModelAndView exportExcel() throws Exception{
ModelAndView mv = new ModelAndView();
PageData pd = new PageData();

View File

@ -223,7 +223,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();

Some files were not shown because too many files have changed in this diff Show More