From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderPayDO.java | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderPayDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderPayDO.java index 58a2f95..15b2faa 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderPayDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderPayDO.java @@ -1,12 +1,12 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * @auther lyq @@ -23,7 +23,7 @@ /** * 主键id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -42,7 +42,7 @@ private String wxTradeNo; /** - * 支付状态(1.未支付 2.已支付) + * 支付状态(1.未支付 2.已支付) */ private Integer payStatus; @@ -75,17 +75,16 @@ @Override public String toString() { - return "ComShopOrderPayDO{" + - "id=" + id + - ", orderNo=" + orderNo + - ", payNo=" + payNo + - ", wxTradeNo=" + wxTradeNo + - ", payStatus=" + payStatus + - ", orderAmount=" + orderAmount + - ", payAmount=" + payAmount + - ", payTime=" + payTime + - ", createAt=" + createAt + - ", updateAt=" + updateAt + - "}"; + return "ComShopOrderPayDO{" + "id=" + id + ", orderNo=" + orderNo + ", payNo=" + payNo + ", wxTradeNo=" + + wxTradeNo + ", payStatus=" + payStatus + ", orderAmount=" + orderAmount + ", payAmount=" + payAmount + + ", payTime=" + payTime + ", createAt=" + createAt + ", updateAt=" + updateAt + "}"; + } + + /** + * 支付状态(1.未支付 2.已支付) + */ + public interface payStatus { + int no = 1; + int yes = 2; } } \ No newline at end of file -- Gitblit v1.7.1