分销修改

This commit is contained in:
张松
2025-10-28 13:42:24 +08:00
parent f83945f8f5
commit 4b8fc8a15c
8 changed files with 60 additions and 27 deletions

View File

@@ -29,4 +29,6 @@ public class MkDistributionWithdrawFlowDTO implements Serializable {
@NotNull(message = "提现金额不为空")
@DecimalMin(value = "30", message = "提现金额不能小于30")
private BigDecimal amount;
}

View File

@@ -44,7 +44,7 @@ public class MkDistributionWithdrawFlow implements Serializable {
/**
* 店铺用户id
*/
private Long shopUserId;
private Long userId;
/**
* 提现金额
@@ -83,4 +83,10 @@ public class MkDistributionWithdrawFlow implements Serializable {
*/
private String status;
@Column(ignore = true)
private String nickName;
@Column(ignore = true)
private String phone;
}

View File

@@ -116,5 +116,5 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
Boolean withdraw(long userId, MkDistributionWithdrawFlowDTO withdrawFlowDTO);
Map<String, Object> withdrawDetail(long userId, Long shopId, Long id);
Map<String, Object> withdrawDetail(long userId, Long id);
}

View File

@@ -1,6 +1,5 @@
package com.czg.market.service;
import com.czg.market.dto.MkDistributionWithdrawFlowDTO;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.czg.market.entity.MkDistributionWithdrawFlow;
@@ -15,7 +14,7 @@ import java.time.LocalDateTime;
*/
public interface MkDistributionWithdrawFlowService extends IService<MkDistributionWithdrawFlow> {
Page<MkDistributionWithdrawFlow> pageInfo(long userId, Long shopId);
Page<MkDistributionWithdrawFlow> pageInfo(long userId);
Page<MkDistributionWithdrawFlowDTO> withdrawPageInfo(Long shopId, Long shopUserId, LocalDateTime startTime, LocalDateTime endTime, String key);
Page<MkDistributionWithdrawFlow> withdrawPageInfo(Long shopId, Long userId, LocalDateTime startTime, LocalDateTime endTime, String key);
}