基础管理-线路工程管理

This commit is contained in:
lSun 2026-01-06 17:31:47 +08:00
parent f11f22dc3f
commit a67b36b293
1 changed files with 2 additions and 2 deletions

View File

@ -119,9 +119,9 @@ public class TbTowerServiceImpl implements TbTowerService {
public ServerResponse updateTbTower(TbTowerVo data) {
try {
//判断经纬度是否合法
if(!StrUtil.isValidLongitude(Double.parseDouble(data.getLon())) || !StrUtil.isValidLatitude(Double.parseDouble(data.getLat()))){
/*if(!StrUtil.isValidLongitude(Double.parseDouble(data.getLon())) || !StrUtil.isValidLatitude(Double.parseDouble(data.getLat()))){
return ServerResponse.createErroe("请输入正确经纬度");
}
}*/
TbTowerVo tbTower = tbTowerMapper.getTbTowerBySort(data);
if (StringUtils.isNotNull(tbTower) && !data.getId().equals(tbTower.getId())){
return ServerResponse.createErroe("排序已存在");