短信 余额 短信 余额 明细
This commit is contained in:
@@ -40,6 +40,11 @@ public class SmsShopMoneyDetailDTO implements Serializable {
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 发送条数
|
||||
*/
|
||||
private Long sendRows;
|
||||
|
||||
/**
|
||||
* 消费值
|
||||
*/
|
||||
|
||||
@@ -55,6 +55,10 @@ public class SmsShopMoneyDetail implements Serializable {
|
||||
* 余额
|
||||
*/
|
||||
private BigDecimal balance;
|
||||
/**
|
||||
* 发送短信条数
|
||||
*/
|
||||
private Long sendRows;
|
||||
|
||||
@Column(onInsertValue = "now()")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@@ -5,6 +5,8 @@ import com.czg.market.entity.SmsShopMoneyDetail;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 短信余额明细 服务层。
|
||||
*
|
||||
@@ -14,4 +16,12 @@ import com.mybatisflex.core.service.IService;
|
||||
public interface SmsShopMoneyDetailService extends IService<SmsShopMoneyDetail> {
|
||||
|
||||
Page<SmsShopMoneyDetailDTO> getSmsMoneyDetailPage(Long shopId);
|
||||
/**
|
||||
* 统计发送短信总数
|
||||
*/
|
||||
Long countSendTotal(Long shopId);
|
||||
/**
|
||||
* 统计发送短信累计金额
|
||||
*/
|
||||
BigDecimal countSendAmountTotal(Long shopId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user