开始充电页面增加电压字段

This commit is contained in:
yuyang 2021-07-29 15:28:54 +08:00
parent 714a916b90
commit 16792b4b98
2 changed files with 16 additions and 15 deletions

View File

@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectXhpcChargingPileVo"> <sql id="selectXhpcChargingPileVo">
select charging_pile_id, charging_station_id, name, national_standard, power, auxiliary_power_supply, input_voltage, max_voltage, min_voltage, max_electric_current, min_electric_current, serial_number, type, program_version, network_link_type, gun_number,communication_protocol_version,communication_operator,sim_card,rate_model_id,charging_pile_number,status, del_flag, create_time, create_by, update_time, update_by, remark, rate_model_id from xhpc_charging_pile select charging_pile_id, charging_station_id, name, national_standard, power, auxiliary_power_supply, input_voltage, max_voltage, min_voltage, max_electric_current, min_electric_current, serial_number, type, program_version, network_link_type, gun_number,communication_protocol_version,communication_operator,sim_card,rate_model_id,charging_pile_number,status, del_flag, create_time, create_by, update_time, update_by, remark, rate_model_id from xhpc_charging_pile
</sql> </sql>
<select id="selectXhpcChargingPileList" resultType="map"> <select id="selectXhpcChargingPileList" resultType="java.util.Map">
select select
cp.charging_pile_id as chargingPileId, cp.charging_pile_id as chargingPileId,
cp.charging_station_id as chargingStationId, cp.charging_station_id as chargingStationId,
@ -236,7 +236,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim> </trim>
</insert> </insert>
<select id="selectXhpcChargingStationById" resultType="map"> <select id="selectXhpcChargingStationById" resultType="java.util.Map">
select select
charging_station_id as chargingStationId, charging_station_id as chargingStationId,
rate_model_id as rateModelId rate_model_id as rateModelId
@ -283,7 +283,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where charging_pile_id = #{chargingPileId} where charging_pile_id = #{chargingPileId}
</update> </update>
<select id="selectXhpcTerminalList" resultType="map"> <select id="selectXhpcTerminalList" resultType="java.util.Map">
select select
te.terminal_id as terminalId, te.terminal_id as terminalId,
te.name as terminalName, te.name as terminalName,
@ -291,6 +291,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
te.pile_serial_number as pileSerialNumber, te.pile_serial_number as pileSerialNumber,
cp.power as power, cp.power as power,
cp.serial_number as serialNumber, cp.serial_number as serialNumber,
cp.max_voltage as maxVoltage,
te.status as status, te.status as status,
te.work_status as workStatus te.work_status as workStatus
from xhpc_terminal as te from xhpc_terminal as te

View File

@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql> </sql>
<select id="selectXhpcChargingStationList" resultType="map"> <select id="selectXhpcChargingStationList" resultType="java.util.Map">
select select
cs.charging_station_id as chargingStationId, cs.charging_station_id as chargingStationId,
cs.name as name, cs.name as name,
@ -156,7 +156,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update xhpc_charging_station set del_flag =1 where charging_station_id = #{chargingStationId} update xhpc_charging_station set del_flag =1 where charging_station_id = #{chargingStationId}
</update> </update>
<update id="updateXhpcChargingStationByIds" parameterType="String"> <update id="updateXhpcChargingStationByIds" parameterType="java.long.String">
update xhpc_charging_station set del_flag =1 where charging_station_id in update xhpc_charging_station set del_flag =1 where charging_station_id in
<foreach item="chargingStationId" collection="array" open="(" separator="," close=")"> <foreach item="chargingStationId" collection="array" open="(" separator="," close=")">
#{chargingStationId} #{chargingStationId}
@ -171,11 +171,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update xhpc_charging_station set client_visible =#{clientVisible} where charging_station_id = #{chargingStationId} and del_flag =0 update xhpc_charging_station set client_visible =#{clientVisible} where charging_station_id = #{chargingStationId} and del_flag =0
</update> </update>
<select id="stationInternetBlackList" resultType="map"> <select id="stationInternetBlackList" resultType="java.util.Map">
select name from xhpc_internet_user where del_flag=0 and internet_user_id not in (select internet_user_id from xhpc_station_internet_blacklist where charging_station_id=#{chargingStationId}) select name from xhpc_internet_user where del_flag=0 and internet_user_id not in (select internet_user_id from xhpc_station_internet_blacklist where charging_station_id=#{chargingStationId})
</select> </select>
<select id="getXhpcChargingStationMessage" resultType="map"> <select id="getXhpcChargingStationMessage" resultType="java.util.Map">
select select
ct.charging_station_id as chargingStationId, ct.charging_station_id as chargingStationId,
ct.name as name, ct.name as name,
@ -230,7 +230,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ORDER BY distance asc ORDER BY distance asc
</select> </select>
<select id="getCode" resultType="map"> <select id="getCode" resultType="java.util.Map">
select code, dict_key, dict_value select code, dict_key, dict_value
from xhpc_dict_biz from xhpc_dict_biz
where code = #{code} and parent_id > 0 and del_flag = 0 where code = #{code} and parent_id > 0 and del_flag = 0
@ -242,7 +242,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
</select> </select>
<select id="getWXXhpcChargingStationMessage" resultType="map"> <select id="getWXXhpcChargingStationMessage" resultType="java.util.Map">
select select
charging_station_id as chargingStationId, charging_station_id as chargingStationId,
(select type from xhpc_charging_pile where charging_station_id = charging_station_id and del_flag=0 and status=0) as type, (select type from xhpc_charging_pile where charging_station_id = charging_station_id and del_flag=0 and status=0) as type,
@ -262,7 +262,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where charging_station_id=#{chargingStationId} and del_flag=0 and status=0 where charging_station_id=#{chargingStationId} and del_flag=0 and status=0
</select> </select>
<select id="getImageList" resultType="map"> <select id="getImageList" resultType="java.util.Map">
select select
img_id as imgId, img_id as imgId,
url as url url as url
@ -275,7 +275,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
</select> </select>
<select id="getWXXhpcRateTimeMassage" resultType="map"> <select id="getWXXhpcRateTimeMassage" resultType="java.util.Map">
select select
xrt.start_time as startTime, xrt.start_time as startTime,
xrt.end_time as endTime, xrt.end_time as endTime,
@ -288,7 +288,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="getWXXhpcTerminalMassage" resultType="map"> <select id="getWXXhpcTerminalMassage" resultType="java.util.Map">
select select
te.name as name, te.name as name,
cp.power as power, cp.power as power,
@ -675,7 +675,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim> </trim>
</insert> </insert>
<select id="getXhpcRateList" resultType="map"> <select id="getXhpcRateList" resultType="java.util.Map">
select select
power_fee as powerFee, power_fee as powerFee,
service_fee as serviceFee, service_fee as serviceFee,
@ -684,7 +684,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where charging_station_id=#{chargingStationId} and del_flag =0 where charging_station_id=#{chargingStationId} and del_flag =0
</select> </select>
<select id="getXhpcRateTimeTypeList" resultType="map"> <select id="getXhpcRateTimeTypeList" resultType="java.util.Map">
<if test="type ==1"> <if test="type ==1">
select select
rt.start_time as startTime, rt.start_time as startTime,
@ -708,7 +708,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
</select> </select>
<select id="getXhpcRateTimeOrderStatistics" resultType="map"> <select id="getXhpcRateTimeOrderStatistics" resultType="java.util.Map">
select select
sum(charging_degree) as chargingDegreeSum, sum(charging_degree) as chargingDegreeSum,
COUNT(real_time_order_id) as realTimeOrderIdCount, COUNT(real_time_order_id) as realTimeOrderIdCount,