11.7 预警信息的类型改为string

dev
lzh1232 8 months ago
parent 2962b41310
commit 8493f9f2ee
  1. 2
      ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/exceptionController/AlertMessageController.java
  2. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/mapper/AlertMessageMapper.java
  3. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/IAlertMessageService.java
  4. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/service/impl/AlertMessageServiceImpl.java
  5. 2
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml

@ -109,7 +109,7 @@ public class AlertMessageController extends BaseController
@PreAuthorize("@ss.hasPermi('inMonitoring:alertMessage:listByEquId')")
@GetMapping("/{equId}")
@ApiOperation("获取界面ALlertMessage信息")
public TableDataInfo listByEquId(@PathVariable("equId")Long equId)
public TableDataInfo listByEquId(@PathVariable("equId")String equId)
{
List<AlertMessage> list = alertMessageService.selectAlertMessageListByEquId(equId);

@ -47,7 +47,7 @@ public interface AlertMessageMapper
public List<AlertMessage> selectAlertMessageList(AlertDto alertMessage);
public List<homeEquAlertMessageVo> selectStaticAlertMessageList();
public ArrayList<AlertMessage> selectAlertMessageByEquId(Long Equid);
public ArrayList<AlertMessage> selectAlertMessageByEquId(String Equid);
/**
* 统计设备类型预警等级时间的预警次数

@ -32,7 +32,7 @@ public interface IAlertMessageService
*/
public List<AlertMessage> selectAlertMessageList(AlertDto alertMessage);
public List<homeEquAlertMessageVo> selectStaticAlertMessageList();
public List<AlertMessage> selectAlertMessageListByEquId(Long equId);
public List<AlertMessage> selectAlertMessageListByEquId(String equId);
/**
* 统计设备类型预警等级时间的预警次数

@ -60,7 +60,7 @@ public class AlertMessageServiceImpl implements IAlertMessageService
}
@Override
public List<AlertMessage> selectAlertMessageListByEquId(Long equId)
public List<AlertMessage> selectAlertMessageListByEquId(String equId)
{
ArrayList<AlertMessage> alertMessagelist = alertMessageMapper.selectAlertMessageByEquId(equId);
return alertMessagelist;

@ -124,7 +124,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where am.id = #{id}
</select>
<select id="selectAlertMessageByEquId" parameterType="Long" resultMap="AlertMessageResult">
<select id="selectAlertMessageByEquId" parameterType="String" resultMap="AlertMessageResult">
<include refid="selectAlertMessageVoJoinGather"/>
where g.equ_id = #{equid}
AND a.batch = (

Loading…
Cancel
Save