36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.evotech.hd.cloud.dao.BatteryStationHdFeeStandardDetailDao">
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
<resultMap id="BaseResultMap" type="com.evotech.hd.common.core.entity.cloud.BatteryStationHdFeeStandardDetail">
|
|
<id column="pk_id" property="pkId" />
|
|
<result column="standard_id" property="standardId" />
|
|
<result column="each_km_fee" property="eachKmFee" />
|
|
<result column="each_soc_fee" property="eachSocFee" />
|
|
<result column="each_kwh_fee" property="eachKwhFee" />
|
|
<result column="time_begin" property="timeBegin" />
|
|
<result column="time_end" property="timeEnd" />
|
|
<result column="time_service_fee" property="timeServiceFee" />
|
|
<result column="ctime" property="ctime" />
|
|
<result column="creater" property="creater" />
|
|
<result column="uptime" property="uptime" />
|
|
<result column="updater" property="updater" />
|
|
</resultMap>
|
|
|
|
<!-- 通用查询结果列 -->
|
|
<sql id="Base_Column_List">
|
|
pk_id, standard_id, each_km_fee, each_soc_fee, each_kwh_fee, time_begin, time_end, time_service_fee, ctime, creater, uptime, updater
|
|
</sql>
|
|
|
|
<select id="getDetailById" resultMap="BaseResultMap">
|
|
SELECT
|
|
*
|
|
FROM
|
|
yt_t_battery_station_hd_fee_standard_detail
|
|
WHERE
|
|
standard_id = #{id}
|
|
</select>
|
|
|
|
</mapper>
|