Browse Source

Merge remote-tracking branch 'origin/master'

zhongwei
haungxing 9 months ago
parent
commit
708703d454
  1. 2
      hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/vo/FdpAlarmVo.java
  2. 3
      hzims-service/equipment/src/main/java/com/hnac/hzims/fdp/service/impl/FdpListTableDataServiceImpl.java
  3. 2
      hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/FdpAlarmServiceImpl.java

2
hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/config/vo/FdpAlarmVo.java

@ -21,7 +21,7 @@ public class FdpAlarmVo {
/** /**
* 故障ID * 故障ID
*/ */
private String uuid; private String UUID;
/** /**
* 故障站点 * 故障站点
*/ */

3
hzims-service/equipment/src/main/java/com/hnac/hzims/fdp/service/impl/FdpListTableDataServiceImpl.java

@ -72,8 +72,9 @@ public class FdpListTableDataServiceImpl implements IFdpListTableDataService {
@Override @Override
public R getListByProperty(FDPFaultListInfoDTO req) { public R getListByProperty(FDPFaultListInfoDTO req) {
IPage<FdpFaultTableListEntity> page = new Page<>(); IPage<FdpFaultTableListEntity> page = new Page<>();
req.setPageIndex(req.getPageIndex()-1);
page.setSize(req.getPageSize()); page.setSize(req.getPageSize());
page.setCurrent(req.getPageIndex()-1); page.setCurrent(req.getPageIndex()+1);
req.setDisplay(1); req.setDisplay(1);
req.setIsRoot(0); req.setIsRoot(0);
req.setOrderBy("NAME"); req.setOrderBy("NAME");

2
hzims-service/hzims-alarm/src/main/java/com/hnac/hzims/alarm/source/service/impl/FdpAlarmServiceImpl.java

@ -83,7 +83,7 @@ public class FdpAlarmServiceImpl implements FdpAlarmService {
private AlarmEntity getAlarmEntity(FdpAlarmVo item) { private AlarmEntity getAlarmEntity(FdpAlarmVo item) {
AlarmEntity entity = new AlarmEntity(); AlarmEntity entity = new AlarmEntity();
entity.setAlarmId(item.getUuid()); entity.setAlarmId(item.getUUID());
entity.setRealId(item.getFaultId()); entity.setRealId(item.getFaultId());
entity.setAlarmTime(item.getCreateTime()); entity.setAlarmTime(item.getCreateTime());
entity.setAlarmContext(item.getFinfo()); entity.setAlarmContext(item.getFinfo());

Loading…
Cancel
Save