事件添加模块信息
This commit is contained in:
@@ -116,8 +116,11 @@ public class EventDetailVO {
|
||||
//用于波形分析区别pms,pq
|
||||
private String systemType="ZL";
|
||||
|
||||
@ApiModelProperty("子模块编号")
|
||||
private String modelNo;
|
||||
|
||||
|
||||
|
||||
@ApiModelProperty("逻辑子设备编码")
|
||||
private Integer clDid;
|
||||
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<select id="queryEventPageWeb" resultType="com.njcn.csharmonic.pojo.vo.EventDetailVO">
|
||||
select DISTINCT b.id id,
|
||||
b.device_id deviceId,b.line_id lineId,b.code code,
|
||||
b.start_time startTime,b.tag tag ,b.wave_path wavePath,b.instant_pics,b.rms_pics , b.type type,b.level level,b.location location
|
||||
b.start_time startTime,b.tag tag ,b.wave_path wavePath,b.instant_pics,b.rms_pics , b.type type,b.level level,b.location location,b.cl_did clDid
|
||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
|
||||
,d.name lineName
|
||||
</if>
|
||||
|
||||
@@ -422,6 +422,9 @@ public class CsEventUserPOServiceImpl extends ServiceImpl<CsEventUserPOMapper, C
|
||||
EleEpdPqd ele = epdFeignClient.findByName(temp.getTag()).getData();
|
||||
temp.setShowName(ele.getShowName());
|
||||
temp.setCode(ele.getDefaultValue());
|
||||
if (temp.getLineId().endsWith("0")) {
|
||||
temp.setModelNo("模块" + temp.getClDid());
|
||||
}
|
||||
if(Objects.equals(csEventUserQueryPage.getType(),"0")){
|
||||
|
||||
List<EleEvtParm> data1 = eleEvtFeignClient.queryByPid(ele.getId()).getData();
|
||||
|
||||
Reference in New Issue
Block a user