|
@@ -20,8 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<sql id="selectStationSettlementPriceAdjustVo">
|
|
|
select c.id, c.create_by, c.create_time,c.parent_id, c.settlement_price, c.settlement_type,
|
|
|
c.driver_price,c.station_id,dept_name as station_name,u.nick_name as create_name
|
|
|
- from station_settlement_price_adjust c join sys_dept d on c.station_id = d.dept_id
|
|
|
- join sys_user u on c.create_by =u.user_id
|
|
|
+ from station_settlement_price_adjust c left join sys_dept d on c.station_id = d.dept_id
|
|
|
+ left join sys_user u on c.create_by =u.user_id
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectStationSettlementPriceAdjustList" parameterType="StationSettlementPriceAdjust" resultMap="StationSettlementPriceAdjustResult">
|
|
@@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
|
+ order by id desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectStationSettlementPriceAdjustById" parameterType="Integer" resultMap="StationSettlementPriceAdjustResult">
|