|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="settlementType" column="settlement_type" />
|
|
|
<result property="settlementPrice" column="settlement_price" />
|
|
|
<result property="driverPrice" column="driver_price" />
|
|
|
+ <result property="driverPriceType" column="driver_price_type" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
@@ -21,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<sql id="selectStationSettlementPriceVo">
|
|
|
select id, station_id, settlement_type, settlement_price, driver_price,p.create_by,p.create_time,
|
|
|
- p.update_by,p.update_time,d.dept_name as station_name,balance,dept_id
|
|
|
+ p.update_by,p.update_time,d.dept_name as station_name,balance,dept_id,driver_price_type
|
|
|
from sys_dept d left join station_settlement_price p on d.dept_id = p.station_id </sql>
|
|
|
|
|
|
<select id="selectStationSettlementPriceList" parameterType="StationSettlementPrice" resultMap="StationSettlementPriceResult">
|
|
@@ -32,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="settlementType != null and settlementType != ''"> and settlement_type = #{settlementType}</if>
|
|
|
<if test="settlementPrice != null and settlementPrice != ''"> and settlement_price = #{settlementPrice}</if>
|
|
|
<if test="driverPrice != null and driverPrice != ''"> and driver_price = #{driverPrice}</if>
|
|
|
+ <if test="driverPriceType != null and driverPriceType != ''"> and driver_price_type = #{driverPriceType}</if>
|
|
|
<if test="stationIdList != null ">
|
|
|
and d.dept_id in
|
|
|
<foreach item="item" index="index" collection="stationIdList"
|
|
@@ -55,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="settlementType != null">settlement_type,</if>
|
|
|
<if test="settlementPrice != null">settlement_price,</if>
|
|
|
<if test="driverPrice != null">driver_price,</if>
|
|
|
+ <if test="driverPriceType != null">driver_price_type,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
@@ -66,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="settlementType != null">#{settlementType},</if>
|
|
|
<if test="settlementPrice != null">#{settlementPrice},</if>
|
|
|
<if test="driverPrice != null">#{driverPrice},</if>
|
|
|
+ <if test="driverPriceType != null">#{driverPriceType},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
@@ -80,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="settlementType != null">settlement_type = #{settlementType},</if>
|
|
|
<if test="settlementPrice != null">settlement_price = #{settlementPrice},</if>
|
|
|
<if test="driverPrice != null">driver_price = #{driverPrice},</if>
|
|
|
+ <if test="driverPriceType != null">driver_price_type = #{driverPriceType},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|