佣金账户, 后台界面显示优化
This commit is contained in:
@@ -18,10 +18,10 @@ public interface MarketCommissionAdvertisingLogMapper extends BaseMapper<MarketC
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionAdvertisingLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionAdvertisingLogVO>
|
||||
*/
|
||||
List<MarketCommissionAdvertisingLogVO> selectMarketCommissionAdvertisingLogPage(IPage page, MarketCommissionAdvertisingLogVO marketCommissionAdvertisingLog);
|
||||
List<MarketCommissionAdvertisingLogVO> selectMarketCommissionAdvertisingLogPage(IPage page, MarketCommissionAdvertisingLogVO commissionLog);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -25,8 +25,14 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionAdvertisingLogPage" resultMap="marketCommissionAdvertisingLogResultMap">
|
||||
select * from market_commission_advertising_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionAdvertisingLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionAdvertisingLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionAgencyLogMapper extends BaseMapper<MarketCommis
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionAgencyLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionAgencyLogVO>
|
||||
*/
|
||||
List<MarketCommissionAgencyLogVO> selectMarketCommissionAgencyLogPage(IPage page, MarketCommissionAgencyLogVO marketCommissionAgencyLog);
|
||||
List<MarketCommissionAgencyLogVO> selectMarketCommissionAgencyLogPage(IPage page, MarketCommissionAgencyLogVO commissionLog);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,8 +26,19 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionAgencyLogPage" resultMap="marketCommissionAgencyLogResultMap">
|
||||
select * from market_commission_agency_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionAgencyLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionAgencyLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionCoCreatorLogMapper extends BaseMapper<MarketCom
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionCoCreatorLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionCoCreatorLogVO>
|
||||
*/
|
||||
List<MarketCommissionCoCreatorLogVO> selectMarketCommissionCoCreatorLogPage(IPage page, MarketCommissionCoCreatorLogVO marketCommissionCoCreatorLog);
|
||||
List<MarketCommissionCoCreatorLogVO> selectMarketCommissionCoCreatorLogPage(IPage page, MarketCommissionCoCreatorLogVO commissionLog);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -25,8 +25,14 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionCoCreatorLogPage" resultMap="marketCommissionCoCreatorLogResultMap">
|
||||
select * from market_commission_co_creator_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionCoCreatorLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionCoCreatorLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionDirectPushLogMapper extends BaseMapper<MarketCo
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionDirectPushLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionDirectPushLogVO>
|
||||
*/
|
||||
List<MarketCommissionDirectPushLogVO> selectMarketCommissionDirectPushLogPage(IPage page, MarketCommissionDirectPushLogVO marketCommissionDirectPushLog);
|
||||
List<MarketCommissionDirectPushLogVO> selectMarketCommissionDirectPushLogPage(IPage page, MarketCommissionDirectPushLogVO commissionLog);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -27,8 +27,19 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionDirectPushLogPage" resultMap="marketCommissionDirectPushLogResultMap">
|
||||
select * from market_commission_direct_push_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionDirectPushLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionDirectPushLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionGoodsCostLogMapper extends BaseMapper<MarketCom
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionGoodsCostLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionGoodsCostLogVO>
|
||||
*/
|
||||
List<MarketCommissionGoodsCostLogVO> selectMarketCommissionGoodsCostLogPage(IPage page, MarketCommissionGoodsCostLogVO marketCommissionGoodsCostLog);
|
||||
List<MarketCommissionGoodsCostLogVO> selectMarketCommissionGoodsCostLogPage(IPage page, MarketCommissionGoodsCostLogVO commissionLog);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,8 +26,17 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionGoodsCostLogPage" resultMap="marketCommissionGoodsCostLogResultMap">
|
||||
select * from market_commission_goods_cost_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionGoodsCostLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionGoodsCostLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionOperationLogMapper extends BaseMapper<MarketCom
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionOperationLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionOperationLogVO>
|
||||
*/
|
||||
List<MarketCommissionOperationLogVO> selectMarketCommissionOperationLogPage(IPage page, MarketCommissionOperationLogVO marketCommissionOperationLog);
|
||||
List<MarketCommissionOperationLogVO> selectMarketCommissionOperationLogPage(IPage page, MarketCommissionOperationLogVO commissionLog);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -27,8 +27,14 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionOperationLogPage" resultMap="marketCommissionOperationLogResultMap">
|
||||
select * from market_commission_operation_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionOperationLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionOperationLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionServiceProviderLogMapper extends BaseMapper<Mar
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionServiceProviderLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionServiceProviderLogVO>
|
||||
*/
|
||||
List<MarketCommissionServiceProviderLogVO> selectMarketCommissionServiceProviderLogPage(IPage page, MarketCommissionServiceProviderLogVO marketCommissionServiceProviderLog);
|
||||
List<MarketCommissionServiceProviderLogVO> selectMarketCommissionServiceProviderLogPage(IPage page, MarketCommissionServiceProviderLogVO commissionLog);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -31,8 +31,19 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionServiceProviderLogPage" resultMap="marketCommissionServiceProviderLogResultMap">
|
||||
select * from market_commission_service_provider_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionServiceProviderLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionServiceProviderLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ public interface MarketCommissionUserPointLogMapper extends BaseMapper<MarketCom
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param marketCommissionUserPointLog 查询参数
|
||||
* @param commissionLog 查询参数
|
||||
* @return List<MarketCommissionUserPointLogVO>
|
||||
*/
|
||||
List<MarketCommissionUserPointLogVO> selectMarketCommissionUserPointLogPage(IPage page, MarketCommissionUserPointLogVO marketCommissionUserPointLog);
|
||||
List<MarketCommissionUserPointLogVO> selectMarketCommissionUserPointLogPage(IPage page, MarketCommissionUserPointLogVO commissionLog);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -27,8 +27,19 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectMarketCommissionUserPointLogPage" resultMap="marketCommissionUserPointLogResultMap">
|
||||
select * from market_commission_user_point_log where is_deleted = 0
|
||||
<select id="selectMarketCommissionUserPointLogPage" resultType="org.springblade.modules.market.pojo.vo.MarketCommissionUserPointLogVO">
|
||||
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>
|
||||
|
||||
|
||||
|
||||
@@ -42,4 +42,6 @@ public class MarketCommissionAdvertisingLogVO extends MarketCommissionAdvertisin
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -41,5 +41,7 @@ import java.io.Serial;
|
||||
public class MarketCommissionAgencyLogVO extends MarketCommissionAgencyLogEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String commissionAccount;
|
||||
|
||||
private String userAccount;
|
||||
}
|
||||
|
||||
@@ -41,5 +41,6 @@ import java.io.Serial;
|
||||
public class MarketCommissionCoCreatorLogVO extends MarketCommissionCoCreatorLogEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String commissionAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -42,4 +42,8 @@ public class MarketCommissionDirectPushLogVO extends MarketCommissionDirectPushL
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
private String userAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -42,4 +42,6 @@ public class MarketCommissionGoodsCostLogVO extends MarketCommissionGoodsCostLog
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -42,4 +42,6 @@ public class MarketCommissionOperationLogVO extends MarketCommissionOperationLog
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -42,4 +42,8 @@ public class MarketCommissionServiceProviderLogVO extends MarketCommissionServic
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
private String userAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -42,4 +42,8 @@ public class MarketCommissionUserPointLogVO extends MarketCommissionUserPointLog
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String commissionAccount;
|
||||
|
||||
private String userAccount;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user