mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-28 06:55:09 +08:00
后管新增 运营商分润组页面
This commit is contained in:
@@ -103,4 +103,27 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="getShareprofitGroupVOList" resultType="com.jsowell.pile.vo.web.ShareprofitGroupVO">
|
||||
SELECT
|
||||
t1.merchant_id AS merchantId,
|
||||
t2.merchant_name AS merchantName,
|
||||
t1.station_id AS stationId,
|
||||
t3.station_name AS stationName,
|
||||
t1.member_phone_number AS memberPhoneNumber,
|
||||
t1.electricity_fee_scale AS electricityFeeScale,
|
||||
t1.service_fee_scale AS serviceFeeScale,
|
||||
t1.undertake_handling_charge AS undertakeHandlingCharge
|
||||
FROM
|
||||
shareprofit_group t1
|
||||
JOIN pile_merchant_info t2 ON t1.merchant_id = t2.id
|
||||
AND t1.del_flag = '0'
|
||||
JOIN pile_station_info t3 ON t1.station_id = t3.id
|
||||
AND t1.del_flag = '0'
|
||||
<where>
|
||||
<if test="merchantId != null"> and t1.merchant_id = #{merchantId}</if>
|
||||
<if test="stationId != null"> and t1.station_id = #{stationId}</if>
|
||||
<if test="memberPhoneNumber != null"> and t1.member_phone_number = #{memberPhoneNumber}</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user