Browse Source

问题列表修改

tags/v1.1.0^2
chenjiandong 1 year ago
parent
commit
3cf0f24d8d
2 changed files with 11 additions and 1 deletions
  1. +10
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/dto/index/QuestionListDto.java
  2. +1
    -1
      tuoheng-admin/src/main/resources/mapper/QuestionMapper.xml

+ 10
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/dto/index/QuestionListDto.java View File

@@ -26,6 +26,16 @@ public class QuestionListDto {
*/
private String missionName;

/**
* 经度
*/
private String lng;

/**
* 纬度
*/
private String lat;

private String type;

/**

+ 1
- 1
tuoheng-admin/src/main/resources/mapper/QuestionMapper.xml View File

@@ -20,7 +20,7 @@
a.mission_name as missionName, c.execution_start_time as inspectionTime,
a.file_marker_url as fileMarkerUrl, d.handler_result as handlerResult,
d.handler_image as handlerImage, d.handler_user as handlerUserId, e.realname as handlerUserName,
d.handler_time as handlerTime
d.handler_time as handlerTime, a.lng, a.lat
from th_question a
inner join th_question_type b on b.code = a.type and b.mark = 1
inner join th_mission c on c.id = a.mission_id and c.mark = 1

Loading…
Cancel
Save