refactor(service): 移除线路治理状态设置逻辑
- 注释掉线路治理状态的条件判断代码 - 删除未治理和已治理状态的设置逻辑 - 保留其他线路信息设置功能
This commit is contained in:
@@ -186,12 +186,12 @@ public class RStatLimitRateDServiceImpl extends ServiceImpl<RStatLimitRateDMappe
|
||||
mainLineVO.setLineId(lineId);
|
||||
if (linePO != null) {
|
||||
mainLineVO.setLineName(linePO.getName());
|
||||
if (linePO.getGovern().equals(0)) {
|
||||
mainLineVO.setGovern("未治理");
|
||||
}
|
||||
if (linePO.getGovern().equals(1)) {
|
||||
mainLineVO.setGovern("已治理");
|
||||
}
|
||||
// if (linePO.getGovern().equals(0)) {
|
||||
// mainLineVO.setGovern("未治理");
|
||||
// }
|
||||
// if (linePO.getGovern().equals(1)) {
|
||||
// mainLineVO.setGovern("已治理");
|
||||
// }
|
||||
mainLineVO.setObjType(linePO.getMonitorObj());
|
||||
DictData dictData = dicDataFeignClient.getDicDataById(linePO.getMonitorObj()).getData();
|
||||
if (dictData != null) {
|
||||
|
||||
Reference in New Issue
Block a user