mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 贵州省平台Service
This commit is contained in:
@@ -1015,6 +1015,7 @@
|
||||
<if test="dto.occupyCode != null and dto.occupyCode != ''"> and t1.occupy_code = #{dto.occupyCode}</if>
|
||||
<if test="dto.memberId != null and dto.memberId != ''"> and t1.member_id = #{dto.memberId}</if>
|
||||
<if test="dto.stationId != null and dto.stationId != ''"> and t1.station_id = #{dto.stationId}</if>
|
||||
<if test="dto.stationName != null and dto.stationName != ''"> and t2.station_name = #{dto.stationName}</if>
|
||||
<if test="dto.plateNumber != null and dto.plateNumber != ''"> and t1.plate_number = #{dto.plateNumber}</if>
|
||||
<if test="dto.status != null and dto.status != ''"> and t1.status = #{dto.status}</if>
|
||||
<if test="dto.payStatus != null and dto.payStatus != ''"> and t1.pay_status = #{dto.payStatus}</if>
|
||||
|
||||
@@ -456,4 +456,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
t1.del_flag = '0'
|
||||
and t1.sn = #{pileSn,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getPileDetailInfoList" resultType="com.jsowell.pile.thirdparty.PileDetailInfoVO">
|
||||
SELECT
|
||||
t1.sn AS pileSn,
|
||||
t1.model_id AS modelId,
|
||||
t2.model_name AS modelName,
|
||||
t2.rated_power AS ratedPower,
|
||||
t2.rated_voltage as ratedVoltage,
|
||||
t2.rated_current as ratedCurrent,
|
||||
t2.connector_num as connectorNum,
|
||||
t2.speed_type AS speedType,
|
||||
t1.create_time AS createTime
|
||||
FROM
|
||||
pile_basic_info t1
|
||||
JOIN pile_model_info t2 ON t1.model_id = t2.id
|
||||
WHERE
|
||||
t1.station_id = #{stationId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user