修改bug
This commit is contained in:
@ -302,4 +302,4 @@ qrCode:
|
|||||||
url: http://192.168.110.151:7788
|
url: http://192.168.110.151:7788
|
||||||
# 无人机大图
|
# 无人机大图
|
||||||
drone:
|
drone:
|
||||||
big-image: http://192.168.110.2:9512
|
url: http://192.168.110.2:9512
|
||||||
|
|||||||
@ -292,4 +292,4 @@ qrCode:
|
|||||||
url: http://xny.yj-3d.com:7171
|
url: http://xny.yj-3d.com:7171
|
||||||
# 无人机大图
|
# 无人机大图
|
||||||
drone:
|
drone:
|
||||||
big-image: http://192.168.110.2:9512
|
url: http://192.168.110.2:9512
|
||||||
|
|||||||
@ -290,7 +290,7 @@ weather:
|
|||||||
api-host: n35rk53njv.re.qweatherapi.com
|
api-host: n35rk53njv.re.qweatherapi.com
|
||||||
# dxf转 geojson 执行文件名
|
# dxf转 geojson 执行文件名
|
||||||
dxf2GeoJson:
|
dxf2GeoJson:
|
||||||
file-name: main
|
file-name: main.exe
|
||||||
ys7:
|
ys7:
|
||||||
app-key: 3acf9f1a43dc4209841e0893003db0a2
|
app-key: 3acf9f1a43dc4209841e0893003db0a2
|
||||||
app-secret: 4bbf3e9394f55d3af6e3af27b2d3db36
|
app-secret: 4bbf3e9394f55d3af6e3af27b2d3db36
|
||||||
@ -309,4 +309,4 @@ qrCode:
|
|||||||
url: http://xny.yj-3d.com:7788
|
url: http://xny.yj-3d.com:7788
|
||||||
# 无人机大图
|
# 无人机大图
|
||||||
drone:
|
drone:
|
||||||
big-image: http://192.168.110.2:9512
|
url: http://192.168.110.2:9512
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package org.dromara.manager.recognizermanager;
|
package org.dromara.manager.dronemanager;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
@ -11,11 +11,11 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
@Data
|
@Data
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConfigurationProperties(prefix = "drone")
|
@ConfigurationProperties(prefix = "drone")
|
||||||
public class DroneBigImageProperties {
|
public class DroneProperties {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 大图请求地址
|
* 大图请求地址
|
||||||
*/
|
*/
|
||||||
private String bigImage;
|
private String url;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -24,7 +24,7 @@ import org.dromara.facility.domain.*;
|
|||||||
import org.dromara.facility.domain.enums.FacFinishStatusEnum;
|
import org.dromara.facility.domain.enums.FacFinishStatusEnum;
|
||||||
import org.dromara.facility.domain.enums.FacFinishTypeEnum;
|
import org.dromara.facility.domain.enums.FacFinishTypeEnum;
|
||||||
import org.dromara.facility.service.*;
|
import org.dromara.facility.service.*;
|
||||||
import org.dromara.manager.recognizermanager.DroneBigImageProperties;
|
import org.dromara.manager.dronemanager.DroneProperties;
|
||||||
import org.dromara.manager.recognizermanager.RecognizerManager;
|
import org.dromara.manager.recognizermanager.RecognizerManager;
|
||||||
import org.dromara.manager.recognizermanager.enums.RecognizerHasTargetEnum;
|
import org.dromara.manager.recognizermanager.enums.RecognizerHasTargetEnum;
|
||||||
import org.dromara.manager.recognizermanager.enums.RecognizerTypeEnum;
|
import org.dromara.manager.recognizermanager.enums.RecognizerTypeEnum;
|
||||||
@ -121,7 +121,7 @@ public class PgsProgressPlanDetailServiceImpl extends ServiceImpl<PgsProgressPla
|
|||||||
private ISysOssService ossService;
|
private ISysOssService ossService;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private DroneBigImageProperties droneBigImageProperties;
|
private DroneProperties droneBigImageProperties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页查询进度计划详情列表
|
* 分页查询进度计划详情列表
|
||||||
@ -922,8 +922,8 @@ public class PgsProgressPlanDetailServiceImpl extends ServiceImpl<PgsProgressPla
|
|||||||
public Boolean insertNumberDetailByAI(PgsProgressPlanDetailAINumberReq req) {
|
public Boolean insertNumberDetailByAI(PgsProgressPlanDetailAINumberReq req) {
|
||||||
String file = req.getFile();
|
String file = req.getFile();
|
||||||
String tif = req.getTif();
|
String tif = req.getTif();
|
||||||
String fileUrl = droneBigImageProperties.getBigImage() + file;
|
String fileUrl = droneBigImageProperties.getUrl() + file;
|
||||||
String tifUrl = droneBigImageProperties.getBigImage() + tif;
|
String tifUrl = droneBigImageProperties.getUrl() + tif;
|
||||||
Long projectId = req.getProjectId();
|
Long projectId = req.getProjectId();
|
||||||
// 识别类型:洞、桩、架、架子
|
// 识别类型:洞、桩、架、架子
|
||||||
List<RecognizerTypeEnum> enumList = List.of(RecognizerTypeEnum.HOLE, RecognizerTypeEnum.PHO,
|
List<RecognizerTypeEnum> enumList = List.of(RecognizerTypeEnum.HOLE, RecognizerTypeEnum.PHO,
|
||||||
|
|||||||
@ -18,7 +18,6 @@ import org.apache.poi.ss.usermodel.*;
|
|||||||
import org.apache.poi.ss.util.CellRangeAddress;
|
import org.apache.poi.ss.util.CellRangeAddress;
|
||||||
import org.dromara.common.core.constant.DateConstant;
|
import org.dromara.common.core.constant.DateConstant;
|
||||||
import org.dromara.common.core.constant.HttpStatus;
|
import org.dromara.common.core.constant.HttpStatus;
|
||||||
import org.dromara.common.core.domain.R;
|
|
||||||
import org.dromara.common.core.exception.ServiceException;
|
import org.dromara.common.core.exception.ServiceException;
|
||||||
import org.dromara.common.core.utils.DateUtils;
|
import org.dromara.common.core.utils.DateUtils;
|
||||||
import org.dromara.common.core.utils.MapstructUtils;
|
import org.dromara.common.core.utils.MapstructUtils;
|
||||||
@ -32,7 +31,6 @@ import org.dromara.common.utils.JSTUtil;
|
|||||||
import org.dromara.contractor.domain.SubConstructionUser;
|
import org.dromara.contractor.domain.SubConstructionUser;
|
||||||
import org.dromara.contractor.service.ISubConstructionUserService;
|
import org.dromara.contractor.service.ISubConstructionUserService;
|
||||||
import org.dromara.contractor.service.ISubUserSalaryDetailService;
|
import org.dromara.contractor.service.ISubUserSalaryDetailService;
|
||||||
import org.dromara.gps.domain.vo.ConstructionUser;
|
|
||||||
import org.dromara.project.domain.*;
|
import org.dromara.project.domain.*;
|
||||||
import org.dromara.project.domain.bo.BusAttendanceBo;
|
import org.dromara.project.domain.bo.BusAttendanceBo;
|
||||||
import org.dromara.project.domain.dto.attendance.*;
|
import org.dromara.project.domain.dto.attendance.*;
|
||||||
@ -1177,9 +1175,11 @@ public class BusAttendanceServiceImpl extends ServiceImpl<BusAttendanceMapper, B
|
|||||||
|
|
||||||
for (Map.Entry<Long, List<SubConstructionUser>> entry : teamUserMap.entrySet()) {
|
for (Map.Entry<Long, List<SubConstructionUser>> entry : teamUserMap.entrySet()) {
|
||||||
Long teamId = entry.getKey();
|
Long teamId = entry.getKey();
|
||||||
|
System.out.println("teamId:" + teamId);
|
||||||
List<SubConstructionUser> users = entry.getValue();
|
List<SubConstructionUser> users = entry.getValue();
|
||||||
SubConstructionUser constructionUser = users.getFirst();
|
SubConstructionUser constructionUser = users.getFirst();
|
||||||
String teamName = constructionUser.getTeamName();
|
String teamName = constructionUser.getTeamName();
|
||||||
|
System.out.println("name:" + teamName);
|
||||||
Sheet sheet = workbook.createSheet(teamName);
|
Sheet sheet = workbook.createSheet(teamName);
|
||||||
|
|
||||||
// ==================== 设置列宽 ====================
|
// ==================== 设置列宽 ====================
|
||||||
@ -1400,7 +1400,4 @@ public class BusAttendanceServiceImpl extends ServiceImpl<BusAttendanceMapper, B
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -423,14 +423,14 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
|
|||||||
throw new ServiceException("添加部门失败", HttpStatus.ERROR);
|
throw new ServiceException("添加部门失败", HttpStatus.ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( SysDeptTypeEnum.PROJECT.getCode().equals(bo.getDeptType())){
|
/* if( SysDeptTypeEnum.PROJECT.getCode().equals(bo.getDeptType())){
|
||||||
SysRoleBo sysRoleBo = new SysRoleBo();
|
SysRoleBo sysRoleBo = new SysRoleBo();
|
||||||
|
|
||||||
ConPerSysRoleDto conPerSysRoleDto = new ConPerSysRoleDto();
|
ConPerSysRoleDto conPerSysRoleDto = new ConPerSysRoleDto();
|
||||||
conPerSysRoleDto.setDeptId(dept.getDeptId());
|
conPerSysRoleDto.setDeptId(dept.getDeptId());
|
||||||
BeanUtil.copyProperties(conPerSysRoleDto,sysRoleBo);
|
BeanUtil.copyProperties(conPerSysRoleDto,sysRoleBo);
|
||||||
roleService.insertRole(sysRoleBo);
|
roleService.insertRole(sysRoleBo);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user