Commit f69fde7d authored by hezhen's avatar hezhen

123

parent 27f43017
...@@ -82,4 +82,6 @@ public class TourDepartVo { ...@@ -82,4 +82,6 @@ public class TourDepartVo {
@ApiModelProperty(value = "排序") @ApiModelProperty(value = "排序")
private Integer rank; private Integer rank;
private String phone;
} }
...@@ -36,12 +36,14 @@ ...@@ -36,12 +36,14 @@
<result property="type" column="type"/> <result property="type" column="type"/>
<result property="intro" column="intro"/> <result property="intro" column="intro"/>
<result property="rank" column="rank"/> <result property="rank" column="rank"/>
<result property="phone" column="phone"/>
</resultMap> </resultMap>
<!-- 获取出行时间 --> <!-- 获取出行时间 -->
<select id="getlistByGoodId" resultMap="tourDepartVoMap"> <select id="getlistByGoodId" resultMap="tourDepartVoMap">
SELECT * FROM tour_good_site SELECT s.*,c.phone FROM tour_good_site s
WHERE good_id=#{goodId} and is_del=0 LEFT JOIN branch_company c ON s.company_id=c.id
WHERE s.good_id=113 and s.is_del=0
</select> </select>
<update id="delSite"> <update id="delSite">
update tour_good_site set is_del=1 update tour_good_site set is_del=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment