diff --git a/xm-core/src/main/java/com/xm/core/ctrl/XmMenuCommentController.java b/xm-core/src/main/java/com/xm/core/ctrl/XmMenuCommentController.java
index a3c7c67e..b5364801 100644
--- a/xm-core/src/main/java/com/xm/core/ctrl/XmMenuCommentController.java
+++ b/xm-core/src/main/java/com/xm/core/ctrl/XmMenuCommentController.java
@@ -1,32 +1,32 @@
package com.xm.core.ctrl;
-import java.util.*;
-import java.util.stream.Collectors;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.util.StringUtils;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.RestController;
-import io.swagger.annotations.*;
-
-import static com.mdp.core.utils.ResponseHelper.*;
-import static com.mdp.core.utils.BaseUtils.*;
import com.mdp.core.entity.Tips;
import com.mdp.core.err.BizException;
-import com.mdp.mybatis.PageUtils;
import com.mdp.core.utils.RequestUtils;
-import com.mdp.core.utils.NumberUtil;
+import com.mdp.core.utils.ResponseHelper;
+import com.mdp.msg.client.PushNotifyMsgService;
+import com.mdp.mybatis.PageUtils;
+import com.mdp.qx.HasRole;
import com.mdp.safe.client.entity.User;
import com.mdp.safe.client.utils.LoginUtils;
-import ApiEntityParams;
+import com.mdp.swagger.ApiEntityParams;
+import com.xm.core.entity.XmMenu;
+import com.xm.core.entity.XmMenuComment;
+import com.xm.core.service.XmMenuCalcService;
+import com.xm.core.service.XmMenuCommentService;
+import com.xm.core.service.XmMenuService;
+import io.swagger.annotations.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.util.StringUtils;
+import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
-import com.xm.core.service.XmMenuCommentService;
-import com.xm.core.entity.XmMenuComment;
+import java.util.*;
+import java.util.stream.Collectors;
+
+import static com.mdp.core.utils.BaseUtils.toMap;
/**
* url编制采用rest风格,如对xm_menu_comment 档案评论表的操作有增删改查,对应的url分别为:
@@ -42,6 +42,12 @@ public class XmMenuCommentController {
@Autowired
private XmMenuCommentService xmMenuCommentService;
+
+ @Autowired
+ XmMenuService xmMenuService;
+
+ @Autowired
+ PushNotifyMsgService notifyMsgService;
Map fieldsMap = toMap(new XmMenuComment());
@@ -65,15 +71,199 @@ public class XmMenuCommentController {
Tips tips=new Tips("查询成功");
RequestUtils.transformArray(xmMenuComment, "ids");
PageUtils.startPage(xmMenuComment);
+ String pid= (String) xmMenuComment.get("pid");
+ if(!StringUtils.hasText(pid)){
+ xmMenuComment.put("pidIsNull","1");
+ }
+
List