plc规则判断优化

This commit is contained in:
zhanghan11 2024-09-30 15:00:59 +08:00
parent 144e2d334e
commit b7ccb76e7a
2 changed files with 3 additions and 2 deletions

View File

@ -102,12 +102,12 @@ public class IpcConstant {
/** /**
* 规则类型-试运行 * 规则类型-试运行
*/ */
public static final String RULE_TYPE_TRIAL_RUN = "trial_run"; public static final String RULE_TYPE_TRIAL_RUN = "1";
/** /**
* 规则类型-运行中 * 规则类型-运行中
*/ */
public static final String RULE_TYPE_IN_RUNNING = "in_running"; public static final String RULE_TYPE_IN_RUNNING = "0";
/** /**
* 大屏滚动展示报警条数 * 大屏滚动展示报警条数

View File

@ -21,6 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="alarmLevel" column="alarm_level"/> <result property="alarmLevel" column="alarm_level"/>
<result property="sort" column="sort"/> <result property="sort" column="sort"/>
<result property="equipName" column="equip_name"/> <result property="equipName" column="equip_name"/>
<result property="deptId" column="dept_id"/>
<result property="deptName" column="dept_name"/> <result property="deptName" column="dept_name"/>
</resultMap> </resultMap>