佣金账户, 后台界面显示优化

This commit is contained in:
2026-03-01 16:07:55 +08:00
parent f528e4f07c
commit f955917cc5
24 changed files with 124 additions and 32 deletions

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionAdvertisingLogMapper extends BaseMapper<MarketC
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionAdvertisingLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionAdvertisingLogVO> * @return List<MarketCommissionAdvertisingLogVO>
*/ */
List<MarketCommissionAdvertisingLogVO> selectMarketCommissionAdvertisingLogPage(IPage page, MarketCommissionAdvertisingLogVO marketCommissionAdvertisingLog); List<MarketCommissionAdvertisingLogVO> selectMarketCommissionAdvertisingLogPage(IPage page, MarketCommissionAdvertisingLogVO commissionLog);

View File

@@ -25,8 +25,14 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionAdvertisingLogPage" resultMap="marketCommissionAdvertisingLogResultMap"> <select id="selectMarketCommissionAdvertisingLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionAdvertisingLogVO">
select * from market_commission_advertising_log where is_deleted = 0 select
mcal.*,
mca.account_name as commissionAccount
from market_commission_advertising_log mcal
left join market_commission_account mca on mcal.account_id = mca.id
where mcal.is_deleted = 0 and mca.is_deleted = 0
order by mcal.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionAgencyLogMapper extends BaseMapper<MarketCommis
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionAgencyLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionAgencyLogVO> * @return List<MarketCommissionAgencyLogVO>
*/ */
List<MarketCommissionAgencyLogVO> selectMarketCommissionAgencyLogPage(IPage page, MarketCommissionAgencyLogVO marketCommissionAgencyLog); List<MarketCommissionAgencyLogVO> selectMarketCommissionAgencyLogPage(IPage page, MarketCommissionAgencyLogVO commissionLog);

View File

@@ -26,8 +26,19 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionAgencyLogPage" resultMap="marketCommissionAgencyLogResultMap"> <select id="selectMarketCommissionAgencyLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionAgencyLogVO">
select * from market_commission_agency_log where is_deleted = 0 select
mcal.*,
mca.account_name as commissionAccount,
bu.account as userAccount
from market_commission_agency_log mcal
left join market_commission_account mca on mcal.account_id = mca.id
left join blade_user bu on mcal.user_id = bu.id
where mcal.is_deleted = 0 and mca.is_deleted = 0 and bu.is_deleted = 0
<if test="commissionLog.userAccount != null">
and bu.account = #{commissionLog.userAccount}
</if>
order by mcal.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionCoCreatorLogMapper extends BaseMapper<MarketCom
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionCoCreatorLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionCoCreatorLogVO> * @return List<MarketCommissionCoCreatorLogVO>
*/ */
List<MarketCommissionCoCreatorLogVO> selectMarketCommissionCoCreatorLogPage(IPage page, MarketCommissionCoCreatorLogVO marketCommissionCoCreatorLog); List<MarketCommissionCoCreatorLogVO> selectMarketCommissionCoCreatorLogPage(IPage page, MarketCommissionCoCreatorLogVO commissionLog);
} }

View File

@@ -25,8 +25,14 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionCoCreatorLogPage" resultMap="marketCommissionCoCreatorLogResultMap"> <select id="selectMarketCommissionCoCreatorLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionCoCreatorLogVO">
select * from market_commission_co_creator_log where is_deleted = 0 select
mcccl.*,
mca.account_name as commissionAccount
from market_commission_co_creator_log mcccl
left join market_commission_account mca on mcccl.account_id = mca.id
where mcccl.is_deleted = 0 and mca.is_deleted = 0
order by mcccl.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionDirectPushLogMapper extends BaseMapper<MarketCo
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionDirectPushLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionDirectPushLogVO> * @return List<MarketCommissionDirectPushLogVO>
*/ */
List<MarketCommissionDirectPushLogVO> selectMarketCommissionDirectPushLogPage(IPage page, MarketCommissionDirectPushLogVO marketCommissionDirectPushLog); List<MarketCommissionDirectPushLogVO> selectMarketCommissionDirectPushLogPage(IPage page, MarketCommissionDirectPushLogVO commissionLog);
} }

View File

@@ -27,8 +27,19 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionDirectPushLogPage" resultMap="marketCommissionDirectPushLogResultMap"> <select id="selectMarketCommissionDirectPushLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionDirectPushLogVO">
select * from market_commission_direct_push_log where is_deleted = 0 select
mcdpl.*,
mca.account_name as commissionAccount,
bu.account as userAccount
from market_commission_direct_push_log mcdpl
left join market_commission_account mca on mcdpl.account_id = mca.id
left join blade_user bu on mcdpl.user_id = bu.id
where mcdpl.is_deleted = 0 and mca.is_deleted = 0 and bu.is_deleted = 0
<if test="commissionLog.userAccount != null">
and bu.account = #{commissionLog.userAccount}
</if>
order by mcdpl.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionGoodsCostLogMapper extends BaseMapper<MarketCom
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionGoodsCostLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionGoodsCostLogVO> * @return List<MarketCommissionGoodsCostLogVO>
*/ */
List<MarketCommissionGoodsCostLogVO> selectMarketCommissionGoodsCostLogPage(IPage page, MarketCommissionGoodsCostLogVO marketCommissionGoodsCostLog); List<MarketCommissionGoodsCostLogVO> selectMarketCommissionGoodsCostLogPage(IPage page, MarketCommissionGoodsCostLogVO commissionLog);

View File

@@ -26,8 +26,17 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionGoodsCostLogPage" resultMap="marketCommissionGoodsCostLogResultMap"> <select id="selectMarketCommissionGoodsCostLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionGoodsCostLogVO">
select * from market_commission_goods_cost_log where is_deleted = 0 select
mcgcl.*,
mca.account_name as commissionAccount
from market_commission_goods_cost_log mcgcl
left join market_commission_account mca on mcgcl.account_id = mca.id
where mcgcl.is_deleted = 0 and mca.is_deleted = 0
<if test="commissionLog.sourceId != null">
and mcgcl.source_id = #{commissionLog.sourceId}
</if>
order by mcgcl.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionOperationLogMapper extends BaseMapper<MarketCom
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionOperationLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionOperationLogVO> * @return List<MarketCommissionOperationLogVO>
*/ */
List<MarketCommissionOperationLogVO> selectMarketCommissionOperationLogPage(IPage page, MarketCommissionOperationLogVO marketCommissionOperationLog); List<MarketCommissionOperationLogVO> selectMarketCommissionOperationLogPage(IPage page, MarketCommissionOperationLogVO commissionLog);
} }

View File

@@ -27,8 +27,14 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionOperationLogPage" resultMap="marketCommissionOperationLogResultMap"> <select id="selectMarketCommissionOperationLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionOperationLogVO">
select * from market_commission_operation_log where is_deleted = 0 select
mcol.*,
mca.account_name as commissionAccount
from market_commission_operation_log mcol
left join market_commission_account mca on mcol.account_id = mca.id
where mcol.is_deleted = 0 and mca.is_deleted = 0
order by mcol.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionServiceProviderLogMapper extends BaseMapper<Mar
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionServiceProviderLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionServiceProviderLogVO> * @return List<MarketCommissionServiceProviderLogVO>
*/ */
List<MarketCommissionServiceProviderLogVO> selectMarketCommissionServiceProviderLogPage(IPage page, MarketCommissionServiceProviderLogVO marketCommissionServiceProviderLog); List<MarketCommissionServiceProviderLogVO> selectMarketCommissionServiceProviderLogPage(IPage page, MarketCommissionServiceProviderLogVO commissionLog);
} }

View File

@@ -31,8 +31,19 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionServiceProviderLogPage" resultMap="marketCommissionServiceProviderLogResultMap"> <select id="selectMarketCommissionServiceProviderLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionServiceProviderLogVO">
select * from market_commission_service_provider_log where is_deleted = 0 select
mcspl.*,
mca.account_name as commissionAccount,
bu.account as userAccount
from market_commission_service_provider_log mcspl
left join market_commission_account mca on mcspl.account_id = mca.id
left join blade_user bu on mcspl.user_id = bu.id
where mcspl.is_deleted = 0 and mca.is_deleted = 0 and bu.is_deleted = 0
<if test="commissionLog.userAccount != null">
and bu.account = #{commissionLog.userAccount}
</if>
order by mcspl.id desc
</select> </select>

View File

@@ -18,10 +18,10 @@ public interface MarketCommissionUserPointLogMapper extends BaseMapper<MarketCom
* 自定义分页 * 自定义分页
* *
* @param page 分页参数 * @param page 分页参数
* @param marketCommissionUserPointLog 查询参数 * @param commissionLog 查询参数
* @return List<MarketCommissionUserPointLogVO> * @return List<MarketCommissionUserPointLogVO>
*/ */
List<MarketCommissionUserPointLogVO> selectMarketCommissionUserPointLogPage(IPage page, MarketCommissionUserPointLogVO marketCommissionUserPointLog); List<MarketCommissionUserPointLogVO> selectMarketCommissionUserPointLogPage(IPage page, MarketCommissionUserPointLogVO commissionLog);
} }

View File

@@ -27,8 +27,19 @@
</resultMap> </resultMap>
<select id="selectMarketCommissionUserPointLogPage" resultMap="marketCommissionUserPointLogResultMap"> <select id="selectMarketCommissionUserPointLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionUserPointLogVO">
select * from market_commission_user_point_log where is_deleted = 0 select
mcupl.*,
mca.account_name as commissionAccount,
bu.account as userAccount
from market_commission_user_point_log mcupl
left join market_commission_account mca on mcupl.account_id = mca.id
left join blade_user bu on mcupl.user_id = bu.id
where mcupl.is_deleted = 0 and mca.is_deleted = 0 and bu.is_deleted = 0
<if test="commissionLog.userAccount != null">
and bu.account = #{commissionLog.userAccount}
</if>
order by mcupl.id desc
</select> </select>

View File

@@ -42,4 +42,6 @@ public class MarketCommissionAdvertisingLogVO extends MarketCommissionAdvertisin
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
} }

View File

@@ -41,5 +41,7 @@ import java.io.Serial;
public class MarketCommissionAgencyLogVO extends MarketCommissionAgencyLogEntity { public class MarketCommissionAgencyLogVO extends MarketCommissionAgencyLogEntity {
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
private String userAccount;
} }

View File

@@ -41,5 +41,6 @@ import java.io.Serial;
public class MarketCommissionCoCreatorLogVO extends MarketCommissionCoCreatorLogEntity { public class MarketCommissionCoCreatorLogVO extends MarketCommissionCoCreatorLogEntity {
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
} }

View File

@@ -42,4 +42,8 @@ public class MarketCommissionDirectPushLogVO extends MarketCommissionDirectPushL
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
private String userAccount;
} }

View File

@@ -42,4 +42,6 @@ public class MarketCommissionGoodsCostLogVO extends MarketCommissionGoodsCostLog
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
} }

View File

@@ -42,4 +42,6 @@ public class MarketCommissionOperationLogVO extends MarketCommissionOperationLog
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
} }

View File

@@ -42,4 +42,8 @@ public class MarketCommissionServiceProviderLogVO extends MarketCommissionServic
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
private String userAccount;
} }

View File

@@ -42,4 +42,8 @@ public class MarketCommissionUserPointLogVO extends MarketCommissionUserPointLog
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String commissionAccount;
private String userAccount;
} }