feat:签约合同优化

This commit is contained in:
shuo.wang
2025-05-08 13:32:20 +08:00
parent 59229ba10c
commit 77c41d0990
4 changed files with 12 additions and 15 deletions

View File

@@ -30,11 +30,11 @@
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId"/>
<result column="store_type" jdbcType="TINYINT" property="storeType"/>
<result column="province" jdbcType="VARCHAR" property="province"/>
<result column="province_code" jdbcType="VARCHAR" property="provinceCode"/>
<result column="province_code" jdbcType="INTEGER" property="provinceCode"/>
<result column="city" jdbcType="VARCHAR" property="city"/>
<result column="city_code" jdbcType="VARCHAR"/>
<result column="city_code" jdbcType="INTEGER" property="cityCode"/>
<result column="district" jdbcType="VARCHAR" property="district"/>
<result column="district_code" jdbcType="VARCHAR"/>
<result column="district_code" jdbcType="INTEGER" property="districtCode"/>
</resultMap>
<sql id="allColumn">

View File

@@ -136,17 +136,17 @@ public class ShopInfoDO {
private String province;
//省code
@Column(name = "province_code")
private String provinceCode;
private Integer provinceCode;
//市
@Column(name = "city")
private String city;
//市code
@Column(name = "city_code")
private String cityCode;
private Integer cityCode;
//区
@Column(name = "district")
private String district;
//区code
@Column(name = "district_code")
private String districtCode;
private Integer districtCode;
}

View File

@@ -125,24 +125,21 @@ public class AddSignFranchiseRequest {
private String province;
//省code
@ApiModelProperty("省code")
@NotBlank(message = "省code不能为空")
private String provinceCode;
private Integer provinceCode;
//市
@ApiModelProperty("")
@NotBlank(message = "市不能为空")
private String city;
//市code
@ApiModelProperty("市code")
@NotBlank(message = "市code不能为空")
private String cityCode;
private Integer cityCode;
//区
@ApiModelProperty("")
@NotBlank(message = "区不能为空")
private String district;
//区code
@ApiModelProperty("区code")
@NotBlank(message = "区code不能为空")
private String districtCode;
private Integer districtCode;
public SignFranchiseDO toSignFranchiseDO() {

View File

@@ -217,19 +217,19 @@ public class AddSignFranchiseResponse {
private String province;
//省code
@ApiModelProperty("省code")
private String provinceCode;
private Integer provinceCode;
//市
@ApiModelProperty("")
private String city;
//市code
@ApiModelProperty("市code")
private String cityCode;
private Integer cityCode;
//区
@ApiModelProperty("")
private String district;
//区code
@ApiModelProperty("区code")
private String districtCode;
private Integer districtCode;
}