三跨管理

This commit is contained in:
马三炮 2025-04-27 15:03:29 +08:00
parent ae3be4aff1
commit 3f537500dc
2 changed files with 13 additions and 1 deletions

View File

@ -143,7 +143,7 @@ public class TbTowerServiceImpl implements TbTowerService {
public ServerResponse delTbTower(TbTowerVo data) { public ServerResponse delTbTower(TbTowerVo data) {
try { try {
tbTowerMapper.delTbTower(data); tbTowerMapper.delTbTower(data);
return ServerResponse.createSuccess("杆塔管理-删除失败"); return ServerResponse.createSuccess("杆塔管理-删除成功");
} catch (Exception e) { } catch (Exception e) {
log.error(e.toString(), e); log.error(e.toString(), e);
return ServerResponse.createErroe("杆塔管理-删除失败"); return ServerResponse.createErroe("杆塔管理-删除失败");

View File

@ -1,5 +1,6 @@
package com.bonus.digitalSignage.basic.vo; package com.bonus.digitalSignage.basic.vo;
import com.bonus.digitalSignage.utils.Excel;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ -24,6 +25,7 @@ public class TbThreeSpanVo {
/** /**
* 跨越类型 1.跨线路 2.跨公路 3.跨铁路 * 跨越类型 1.跨线路 2.跨公路 3.跨铁路
*/ */
@Excel(name = "跨越类型", sort =3,readConverterExp = "1=跨线路,2=跨公路,2=跨铁路")
private String spanType; private String spanType;
/** /**
@ -34,6 +36,7 @@ public class TbThreeSpanVo {
/** /**
* 开始杆塔名称 * 开始杆塔名称
*/ */
@Excel(name = "开始杆塔名称", sort =1 )
private String towerName; private String towerName;
/** /**
@ -44,46 +47,55 @@ public class TbThreeSpanVo {
/** /**
* 结束杆塔名称 * 结束杆塔名称
*/ */
@Excel(name = "结束杆塔名称", sort =2)
private String nextTowerName; private String nextTowerName;
/** /**
* 上层线路 * 上层线路
*/ */
@Excel(name = "上层线路", sort =4)
private String upperLine; private String upperLine;
/** /**
* 下层线路 * 下层线路
*/ */
@Excel(name = "下层线路", sort =5)
private String lowerLine; private String lowerLine;
/** /**
* 交叉角度 * 交叉角度
*/ */
@Excel(name = "交叉角度", sort =6)
private String intersectionAngle; private String intersectionAngle;
/** /**
* 垂直距离m * 垂直距离m
*/ */
@Excel(name = "垂直距离m", sort =7)
private String verticalDistance; private String verticalDistance;
/** /**
* 安全裕度° * 安全裕度°
*/ */
@Excel(name = "安全裕度(°)", sort =8)
private String safetyMargin; private String safetyMargin;
/** /**
* 垂直净距m * 垂直净距m
*/ */
@Excel(name = "垂直净距m", sort =9)
private String verticalClearDistance; private String verticalClearDistance;
/** /**
* 杆塔间距m * 杆塔间距m
*/ */
@Excel(name = "杆塔间距m", sort =10)
private String towerSpacing; private String towerSpacing;
/** /**
* 公路宽度m * 公路宽度m
*/ */
@Excel(name = "公路宽度m", sort =11)
private String highwayWidth; private String highwayWidth;
/** /**