后管新增 运营商分润组页面

This commit is contained in:
Lemon
2024-09-18 11:07:47 +08:00
parent 89af8426ab
commit 33c1cc0b70
8 changed files with 178 additions and 57 deletions

View File

@@ -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>