因为数据库连接问题导致的插入数据库异常

This commit is contained in:
2026-05-15 23:30:40 +08:00
parent 42b1555c80
commit d66daf375c
25 changed files with 1371 additions and 4 deletions

View File

@@ -0,0 +1,113 @@
package com.rj.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_order_row")
@Schema(description = "LB 订单行表")
public class LbOrderRow implements Serializable {
private static final long serialVersionUID = 1L;
/** 业务主键为订单 id由调用方传入非数据库自增 */
@TableId(value = "id", type = IdType.INPUT)
@Schema(description = "订单 id")
private Long id;
@TableField("old_id")
@Schema(description = "旧订单 id")
private Long oldId;
@TableField("tenant_id")
@Schema(description = "租户ID")
private String tenantId;
@TableField("seller_id")
@Schema(description = "卖家 id")
private Long sellerId;
@TableField("buyer_id")
@Schema(description = "买家 id")
private Long buyerId;
@TableField("order_sn")
@Schema(description = "订单号")
private String orderSn;
@TableField("total_money")
@Schema(description = "总金额(接口为字符串)")
private String totalMoney;
@TableField("pay_time")
@Schema(description = "支付时间(原样字符串)")
private String payTime;
@TableField("pay_img")
@Schema(description = "支付凭证图")
private String payImg;
@TableField("status")
@Schema(description = "状态")
private Integer status;
@TableField("is_resell")
@Schema(description = "是否转卖")
private Integer isResell;
@TableField("is_show")
@Schema(description = "是否展示")
private Integer isShow;
@TableField("consignee")
@Schema(description = "收货人")
private String consignee;
@TableField("phone")
@Schema(description = "电话")
private String phone;
@TableField("province")
@Schema(description = "")
private String province;
@TableField("city")
@Schema(description = "")
private String city;
@TableField("area")
@Schema(description = "")
private String area;
@TableField("address")
@Schema(description = "详细地址")
private String address;
@TableField("merchandise_id")
@Schema(description = "商品 id")
private Long merchandiseId;
@TableField("confirm_time")
@Schema(description = "确认时间")
private String confirmTime;
@TableField("buy_time")
@Schema(description = "下单时间")
private String buyTime;
@TableField("created_at")
@Schema(description = "创建时间")
private String createdAt;
@TableField("updated_at")
@Schema(description = "更新时间")
private String updatedAt;
}