You've already forked FrameTour-BE
景区设置添加一个,返回status状态
This commit is contained in:
src/main
java
com
ycwl
basic
controller
mobile
model
pc
scenic
resources
mapper
@ -34,6 +34,9 @@
|
||||
<if test="radius!=null">
|
||||
radius=#{radius},
|
||||
</if>
|
||||
<if test="status!=null">
|
||||
status=#{status},
|
||||
</if>
|
||||
<if test="province!=null and province!=''">
|
||||
province=#{province},
|
||||
</if>
|
||||
@ -120,7 +123,9 @@
|
||||
face_type=#{faceType},
|
||||
face_config_json=#{faceConfigJson},
|
||||
pay_type=#{payType},
|
||||
pay_config_json=#{payConfigJson}
|
||||
pay_config_json=#{payConfigJson},
|
||||
image_source_pack_hint=#{imageSourcePackHint},
|
||||
video_source_pack_hint=#{videoSourcePackHint}
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
@ -191,9 +196,9 @@
|
||||
</if>
|
||||
</select>
|
||||
<select id="getAppById" resultType="com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO">
|
||||
select s.id, `name`, `phone`, introduction, logo_url,cover_url, longitude, latitude, radius, province, city, area, address, kf_code_url, kf_phone
|
||||
select s.id, `name`, `phone`, introduction, logo_url,cover_url, longitude, latitude, radius, province, city, area, address, kf_code_url, kf_phone, status
|
||||
from scenic s
|
||||
where `status` = 1 and s.id = #{id}
|
||||
where s.id = #{id}
|
||||
</select>
|
||||
<select id="scenicListByLnLa" resultType="com.ycwl.basic.model.mobile.scenic.ScenicAppVO">
|
||||
select s.id,
|
||||
|
Reference in New Issue
Block a user