From ad31648c6f7a8bff1f7ccdf84b76006b9ffb78f8 Mon Sep 17 00:00:00 2001 From: jyy <jyy> Date: Sat, 17 Jul 2021 15:59:10 +0800 Subject: [PATCH] 1. 新增套餐中有效和无效的操作 2. 会员修改门店功能 3. 套餐新增编辑次数功能 4. 计算是否为赠送的条件为,全部为赠送金额购买且支付金额大于0 5. 打印小票功能调整间距,和收银人 6. PC端服务单新增划扣金额展示 --- zq-erp/src/main/java/com/matrix/system/shopXcx/api/dto/ScoreFlowDto.java | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/dto/ScoreFlowDto.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/dto/ScoreFlowDto.java index b1a94b3..ed2d87b 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/dto/ScoreFlowDto.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/dto/ScoreFlowDto.java @@ -1,26 +1,41 @@ package com.matrix.system.shopXcx.api.dto; +import com.fasterxml.jackson.annotation.JsonFormat; import com.matrix.core.pojo.BasePageQueryDto; +import com.matrix.core.tools.DateUtil; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; -import javax.validation.constraints.NotNull; +import java.util.Date; @Data @ApiModel(value = "ScoreFlowDto", description = "积分流水查询参数接收类") public class ScoreFlowDto extends BasePageQueryDto { - @NotNull(message = "查询月份不能为空") + @ApiModelProperty(value = "查询月份",example = "2021-03") private String queryTime; + + @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) + @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8") + private Date beginTime; + + @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) + @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8") + private Date endTime; @ApiModelProperty(value = "收支类型 不传全部,1,收入,2支出", example = "1") private Integer revenueType; - @ApiModelProperty(hidden = true) - private String userId; + + @ApiModelProperty(value = "会员id", example = "1") + private Long vipId; + + @ApiModelProperty(value = "备注", example = "1") + private String remarks; } -- Gitblit v1.9.1