记得上下班打卡 | git大法好,push需谨慎

Commit 2ae3bd80 authored by 张国柄's avatar 张国柄

fix:会员价格status -> state;

parent 6e1c2f80
...@@ -22,8 +22,8 @@ public class AdamMemberPriceParam implements Serializable { ...@@ -22,8 +22,8 @@ public class AdamMemberPriceParam implements Serializable {
@NotBlank @NotBlank
private String memberId; private String memberId;
@ApiModelProperty(position = 3, value = "状态:0-不可用,1-上线中,2-已下线", allowableValues = "0,1,2") @ApiModelProperty(position = 3, value = "状态:0-不可用,1-上线中,2-已下线", allowableValues = "0,1,2")
@NonNull @NotNull
@Min(0) @Min(1)
@Max(2) @Max(2)
private Integer state; private Integer state;
@ApiModelProperty(position = 4, value = "会员价格包名称", example = "年卡") @ApiModelProperty(position = 4, value = "会员价格包名称", example = "年卡")
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<resultMap id="MemberPriceResult" type="com.liquidnet.service.adam.entity.AdamMemberPrice"> <resultMap id="MemberPriceResult" type="com.liquidnet.service.adam.entity.AdamMemberPrice">
<result column="member_price_id" property="memberPriceId" /> <result column="member_price_id" property="memberPriceId" />
<result column="member_id" property="memberId" /> <result column="member_id" property="memberId" />
<result column="status" property="status" /> <result column="state" property="state" />
<result column="name" property="name" /> <result column="name" property="name" />
<result column="price" property="price" /> <result column="price" property="price" />
<result column="price_fixed" property="priceFixed" /> <result column="price_fixed" property="priceFixed" />
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<!-- sql --> <!-- sql -->
<sql id="Base_Column"> <sql id="Base_Column">
m.member_id, m.member_id,
m.status, m.state,
m.name, m.name,
m.price, m.price,
m.price_fixed, m.price_fixed,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment