Bläddra i källkod

修改BUG

master
牧羊人 4 år sedan
förälder
incheckning
eb2ecee288
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. +6
    -6
      src/main/java/com/taauav/front/mapper/UserInspectQuestionMapper.xml

+ 6
- 6
src/main/java/com/taauav/front/mapper/UserInspectQuestionMapper.xml Visa fil

@@ -35,13 +35,13 @@
<!-- 获取巡检问题详情 -->
<select id="getInspectQuestionInfoById" parameterType="java.lang.Integer" resultType="com.taauav.front.vo.inspectquestion.UserInspectQuestionInfoVo">
SELECT q.id,q.question_no,q.`status`,q.handler_image,f.src as file_src,o.content as question_type,f.description,f.location,f.gaode_longitude,f.gaode_latitude,f.gaode_address,d.driver_id,d.driver_name,d.driver_area,c.name as driver_area_name,i.inspect_time
FROM tauv_inspect_file f
INNER JOIN tauv_inspect_question q ON f.id=q.inspect_file_id
INNER JOIN tauv_inspect_driver d ON d.id=f.inspect_driver_id
INNER JOIN tauv_inspect i ON f.inspect_id=i.id
FROM tauv_inspect_question q
LEFT JOIN tauv_inspect_file f ON f.id=q.inspect_file_id
INNER JOIN tauv_inspect_driver d ON d.id=q.inspect_driver_id
INNER JOIN tauv_inspect i ON d.inspect_id=i.id
INNER JOIN sys_city c ON c.id=d.driver_area
INNER JOIN tauv_question_options o ON o.id=f.question_id
WHERE q.id = #{id} AND q.mark=1 AND f.is_review=1 AND f.is_effective=1 AND f.`status`=1 AND f.mark=1 AND d.mark=1 AND i.mark=1
INNER JOIN tauv_question_options o ON o.id=q.question_id
WHERE q.id = #{id} AND q.mark=1 AND d.mark=1 AND i.mark=1
ORDER BY q.id DESC
</select>


Laddar…
Avbryt
Spara