|
|
@@ -9,6 +9,7 @@ import com.zhongshu.card.client.utils.type.RefundState;
|
|
|
import com.zhongshu.card.server.core.domain.base.SuperMain;
|
|
|
import com.zhongshu.card.server.core.domain.org.UserAccount;
|
|
|
import com.zhongshu.card.server.core.domain.school.CardInfo;
|
|
|
+import com.zhongshu.card.server.core.util.DateUtils;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
@@ -96,15 +97,28 @@ public class ExpenseFlow extends SuperMain {
|
|
|
@Schema(description = "当前年的第几天")
|
|
|
private Integer dayOfYear;
|
|
|
|
|
|
+ @Schema(description = "当前的第几小时")
|
|
|
+ private Integer hourOfDay;
|
|
|
+
|
|
|
+ @Schema(description = "消费创建时间")
|
|
|
+ private String paymentTime;
|
|
|
+
|
|
|
+ public void setTimes() {
|
|
|
+ this.year = DateUtils.getCurrentYear();
|
|
|
+ this.dayOfYear = DateUtils.getCurrentDayInYear();
|
|
|
+ this.month = DateUtils.getCurrentMonthInYear();
|
|
|
+ this.week = DateUtils.getCurrentWeekInYear();
|
|
|
+ this.dayOfMonth = DateUtils.getCurrentDayInMonth();
|
|
|
+ this.hourOfDay = DateUtils.getCurrentHourOfDay();
|
|
|
+ this.paymentTime = DateUtils.paresTime(System.currentTimeMillis(), DateUtils.patternyyyySSS);
|
|
|
+ }
|
|
|
+
|
|
|
@Schema(description = "消费订单号")
|
|
|
private String orderNo;
|
|
|
|
|
|
@Schema(description = "支付订单号")
|
|
|
private String paymentNo;
|
|
|
|
|
|
- @Schema(description = "消费创建时间")
|
|
|
- private String paymentTime;
|
|
|
-
|
|
|
@Schema(description = "支付来源:刷卡 二维码")
|
|
|
private OrderFromType orderFromType;
|
|
|
|