2 İşlemeler 2dea663c65 ... 82b42735d6

Yazar SHA1 Mesaj Tarih
  wuchangfu 82b42735d6 Merge remote-tracking branch 'origin/master' into master 1 yıl önce
  wuchangfu 30ecadff09 增加xss state字段内容检测 1 yıl önce

+ 6 - 1
src/main/java/com/palmnest/webapp/controller/notice/WxNoticeController.java

@@ -252,14 +252,18 @@ public class WxNoticeController extends BaseFormController{
 		if(StringUtils.isEmpty(openId) && StringUtils.isEmpty(userId)){
 			return new WebPageResultDto(AppConstants.ERROR_CODE, "用户为空", null);
 		}
+		int i = 0;
 		if (!StringUtils.isEmpty(orgId)) {
 			map.put("orgId", orgId);
+			i = Integer.parseInt(orgId);
 		}
 		if (!StringUtils.isEmpty(id)) {
 			map.put("id", id);
+			i = Integer.parseInt(id);
 		}
 		if (!StringUtils.isEmpty(userId)) {
 			map.put("userId", userId);
+			i = Integer.parseInt(userId);
 		}
 		if (!StringUtils.isEmpty(openId)) {
 			map.put("openId", openId);
@@ -283,7 +287,7 @@ public class WxNoticeController extends BaseFormController{
 
 		String type = request.getParameter("type");
 		String id=request.getParameter("id");
-
+		int i = Integer.parseInt(id);
 		log.info("WxNoticeController.getDetail-------------type:"+type+"id:"+id);
 
 		if(type.equals("APP_NIOTICE_AUDIT")){
@@ -1645,6 +1649,7 @@ public class WxNoticeController extends BaseFormController{
 				map.put("orgIds",wxUser.getOrganizationId());
 			}
 			if(StringUtils.isNotEmpty(orgId)){
+				int i = Integer.parseInt(orgId);
 				map.put("orgIds",orgId);
 			}
 			Page page=appNoticeManager.getNewDataList(map,Integer.parseInt(pageNo),Integer.parseInt(pageSize));