|
@@ -20,11 +20,12 @@
|
|
|
<result column="head_introduction" property="headIntroduction" />
|
|
|
<result column="is_delete" property="isDelete" />
|
|
|
<result column="charging_standard" property="chargingStandard" />
|
|
|
+ <result column="city" property="city" />
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, name, phone, address, sys_id, lng, lat, am_time, pm_time, brief_introduction_pic, brief_introduction, class_advantages, indate, head_introduction, is_delete, charging_standard
|
|
|
+ id, name, phone, address, sys_id, lng, lat, am_time, pm_time, brief_introduction_pic, brief_introduction, class_advantages, indate, head_introduction, is_delete, charging_standard, city
|
|
|
</sql>
|
|
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
@@ -44,6 +45,7 @@
|
|
|
<result column="indate" property="indate" />
|
|
|
<result column="head_introduction" property="headIntroduction" />
|
|
|
<result column="charging_standard" property="chargingStandard" />
|
|
|
+ <result column="city" property="city" />
|
|
|
<collection property="pics" ofType="com.hssx.bms.entity.InstitutionalPic">
|
|
|
<result column="pid" property="id" />
|
|
|
<result column="information_id" property="informationId" />
|
|
@@ -56,7 +58,7 @@
|
|
|
<!--培训机构账号登录后看到的详情-->
|
|
|
<select id="selectDetail" resultMap="BaseResultMapVO">
|
|
|
select
|
|
|
- ii.id, ii.name, phone, ii.address, ii.sys_id, ii.lng, ii.lat, ii.am_time, ii.pm_time, ii.brief_introduction_pic,ii.charging_standard,
|
|
|
+ ii.id, ii.name, phone, ii.address, ii.sys_id, ii.lng, ii.lat, ii.am_time, ii.pm_time, ii.brief_introduction_pic,ii.charging_standard,ii.city,
|
|
|
ii.brief_introduction, ii.class_advantages, ii.indate, ii.head_introduction,ip.id pid,ip.information_id,ip.indate ipindate,ip.pic_url
|
|
|
from
|
|
|
institutional_information ii
|
|
@@ -70,7 +72,7 @@
|
|
|
<!--培训机构根据id看到的详情-->
|
|
|
<select id="selectDetailById" resultMap="BaseResultMapVO">
|
|
|
select
|
|
|
- ii.id, ii.name, phone, ii.address, ii.sys_id, ii.lng, ii.lat, ii.am_time, ii.pm_time, ii.brief_introduction_pic,ii.charging_standard,
|
|
|
+ ii.id, ii.name, phone, ii.address, ii.sys_id, ii.lng, ii.lat, ii.am_time, ii.pm_time, ii.brief_introduction_pic,ii.charging_standard,ii.city,
|
|
|
ii.brief_introduction, ii.class_advantages, ii.indate, ii.head_introduction,ip.id pid,ip.information_id,ip.indate ipindate,ip.pic_url
|
|
|
from
|
|
|
institutional_information ii
|
|
@@ -81,4 +83,5 @@
|
|
|
where
|
|
|
ii.id = #{id}
|
|
|
</select>
|
|
|
+
|
|
|
</mapper>
|