zangbin 1 년 전
부모
커밋
e9a1f42df0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tour-module/src/main/resources/mapper/module/OrderMapper.xml

+ 1 - 1
tour-module/src/main/resources/mapper/module/OrderMapper.xml

@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <select id="getOrderDetail" resultType="com.tour.module.vo.OrderDetailVo">
-        SELECT l.title,o.create_time,o.*
+        SELECT l.title,l.sub_title,o.create_time,o.*
         from tour_order o join tour_line l on o.line_id = l.id where o.order_id=#{orderId}
     </select>