Browse Source

1、解决问题类型展示问题;2、修改问题图片显示问题;

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
266bcd6bdc
3 changed files with 14 additions and 3 deletions
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListService.java
  2. +11
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListVo.java
  3. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListService.java View File

@@ -155,6 +155,7 @@ public class QueryInspectionFilePageListService {
inspectionFilePageListVo.setDeptName(dept.getName());
}
inspectionFilePageListVo.setFileThumbnail(CommonConfig.imageURL + inspectionFilePageListVo.getFileThumbnail());
inspectionFilePageListVo.setFileOriginal(CommonConfig.imageURL + inspectionFilePageListVo.getFileOriginal());
}
return inspectionFilePageListVoList;
}

+ 11
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListVo.java View File

@@ -23,7 +23,7 @@ public class InspectionFilePageListVo {
/**
* 问题类型:1坑槽,2积水,3裂缝
*/
private String questionId;
private String questionCode;

/**
* 问题名称:1坑槽,2积水,3裂缝
@@ -35,11 +35,21 @@ public class InspectionFilePageListVo {
*/
private String questionContent;

/**
* 文件名称
*/
private String fileName;

/**
* 缩略图
*/
private String fileThumbnail;

/**
* 原图
*/
private String fileOriginal;

/**
* 经度
*/

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml View File

@@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="questionCode" column="question_code" />
<result property="source" column="source" />
<result property="questionName" column="question_name" />
<result property="questionContent" column="question_ccontent" />
<result property="questionContent" column="question_content" />
<result property="questionDesc" column="question_desc" />
<result property="status" column="status" />
<result property="checkUser" column="check_user" />
@@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"

<sql id="Base_Extend_Column_List">
tif.id, tif.tenant_id, tif.file_code, tif.inspection_id, tif.file_type, tif.file_name, tif.file_thumbnail, tif.file_original, tif.file_image, tif.file_size,
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.question_code, tif.source, tif.question_name, tif.question_content, tif.question_desc, tif.status,
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.source, tif.question_code, tif.question_name, tif.question_content, tif.question_desc, tif.status,
tif.check_user, tif.check_time, tif.create_user, tif.create_time, tif.update_user, tif.update_time, tif.mark,
ti.code as inspection_code, ti.name as inspection_name, ti.road_id, ti.dept_id
</sql>

Loading…
Cancel
Save