Merge remote-tracking branch 'origin/master'

# Conflicts:
#	pluss-dao-bundle/src/main/java/cn/pluss/platform/mapper/MerchantOrderMapper.java
#	pluss-dao-bundle/src/main/resources/mapper/MerchantProfit-sqlmap.xml
#	pluss-service-bundle/src/main/java/cn/pluss/platform/app/impl/PromoterMainPageServiceImpl.java
This commit is contained in:
liuyingfang
2023-07-21 19:33:56 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ public interface MerchantProfitMapper extends BaseMapper<MerchantProfit> {
List<MerchantProfit> selectGroupMercProfit(@Param("userIdList") List<Long> userIdList);
@Select("SELECT SUM(`price`) FROM tb_pluss_merchant_profit WHERE `status` = '1' AND userId = #{userId}")
@Select("SELECT SUM(`price`) FROM tb_pluss_merchant_profit WHERE `status` = '5' AND userId = #{userId}")
BigDecimal selectSumValidProfit(@Param("userId") String userId);
MerchantProfit queryMerchantProfit(MerchantProfit merchantProfit);