1新增类型字段

This commit is contained in:
fengjundan 2021-08-05 18:37:13 +08:00
parent 9bf07cc18c
commit a1db4383a0

View File

@ -235,11 +235,16 @@
ct.business_instructions as businessInstructions,
ct.reminder_instructions as reminderInstructions,
ct.client_visible as clientVisible,
ct.img_id as imgId
ct.img_id as imgId,
GROUP_CONCAT(DISTINCT xdbs.dict_value ORDER BY xdbs.create_time ASC separator ',' ) serviceFacilitiesName,
GROUP_CONCAT(DISTINCT xdbp.dict_value ORDER BY xdbp.create_time ASC separator ',' ) peripheryFacilitiesName
from xhpc_charging_station as ct
left join xhpc_operator as op on op.operator_id = ct.operator_id
left join xhpc_dict_biz xdbs on xdbs.code = 'service_facilities' and FIND_IN_SET(xdbs.dict_key,ct.service_facilities)
left join xhpc_dict_biz xdbp on xdbp.code = 'charging_periphery_facilities' and FIND_IN_SET(xdbp.dict_key,ct.periphery_facilities)
where ct.charging_station_id = #{chargingStationId}
and ct.del_flag = 0
group by ct.charging_station_id
</select>
<select id="getWXList" resultType="map">