feat(event): 添加暂降原因和类型字段支持
- 在CsEventPO实体类中新增advanceReason和advanceType字段 - 修改AnalyseComtradeCfg中的数值类型标识为大写格式(MIN/MAX/AVG/CP95) - 将相位类型从"M"更改为"T" - 在事件服务实现中同步暂降原因和类型数据到数据库
This commit is contained in:
@@ -460,6 +460,8 @@ public class CsEventPOServiceImpl extends ServiceImpl<CsEventPOMapper, CsEventPO
|
||||
wrapper.eq(RmpEventDetailPO::getEventId,id);
|
||||
RmpEventDetailPO po2 = wlRmpEventDetailMapper.selectOne(wrapper);
|
||||
po2.setWavePath(po.getWavePath());
|
||||
po2.setAdvanceReason(po.getAdvanceReason());
|
||||
po2.setAdvanceType(po.getAdvanceType());
|
||||
po2.setFileFlag(1);
|
||||
int row = wlRmpEventDetailMapper.updateById(po2);
|
||||
if (row > 0) {
|
||||
|
||||
Reference in New Issue
Block a user