多品牌使用

This commit is contained in:
shuo.wang
2024-11-05 13:44:01 +08:00
parent f71d969744
commit ad906eadca
4 changed files with 5 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="partner_num" jdbcType="VARCHAR" property="partnerNum" />
<result column="big_region_id" jdbcType="BIGINT" property="bigRegionId" />
<result column="franchise_brand" jdbcType="TINYINT" property="franchiseBrand" />
<result column="franchise_brand" jdbcType="VARCHAR" property="franchiseBrand" />
</resultMap>
<insert id="insertOrUpdate" parameterType="com.cool.store.entity.LineInfoDO" useGeneratedKeys="true" keyProperty="id">
INSERT INTO xfsg_line_info

View File

@@ -176,5 +176,5 @@ public class LineInfoDO {
@Column(name = "join_mode")
private Integer joinMode;
@Column(name = "franchise_brand")
private Integer franchiseBrand;
private String franchiseBrand;
}

View File

@@ -6,6 +6,7 @@ import lombok.Data;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* @Author suzhuhong
@@ -30,6 +31,6 @@ public class UpdateLineRequest {
private Integer joinMode;
@NotNull
@ApiModelProperty("加盟品牌")
private Integer franchiseBrand;
private String franchiseBrand;
}

View File

@@ -228,6 +228,6 @@ public class LineInfoVO {
private Long bigRegionId;
private Integer franchiseBrand;
private String franchiseBrand;
}