wyyay 2 лет назад
Родитель
Сommit
194a0d3b54

+ 4 - 0
business-service/src/main/java/com/ozs/service/entity/vo/MsgAppPushVo.java

@@ -15,6 +15,10 @@ import java.util.Date;
 @Data
 public class MsgAppPushVo extends PageVo implements Serializable {
     private static final long serialVersionUID = 1L;
+    /**
+     * 主键id
+     */
+    private String id;
 
     /**
      * 报警唯一标识

+ 1 - 0
business-service/src/main/resources/mapper/service/MsgAppPushMapper.xml

@@ -29,6 +29,7 @@
     </resultMap>
     <select id="alarmPushMsg" resultMap="MsgAppPushVoResult">
         select
+        m.id,
         m.alarm_id,
         m.receive_by,
         a.line_dir AS lineDir,

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/controller/app/GeoHazardMineController.java

@@ -107,7 +107,7 @@ public class GeoHazardMineController extends BaseController {
      * app推送报警信息记录修改状态
      */
     @RequestMapping(value = "/update", method = RequestMethod.POST)
-    @ApiOperation("app推送报警信息记录分页显示(全部信息)")
+    @ApiOperation("app推送报警信息记录修改状态")
     public AjaxResult update(@RequestBody MsgAppPush msgAppPush) {
         String userName = getUsername();
         msgAppPushService.update(msgAppPush.getId(), msgAppPush.getStatus(), userName);