修复get set
This commit is contained in:
parent
cda89826a6
commit
9f6b9dc754
@ -12,7 +12,6 @@ import java.util.Date;
|
|||||||
* @since 2020-08-21
|
* @since 2020-08-21
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Data
|
|
||||||
@TableName("luck_record")
|
@TableName("luck_record")
|
||||||
public class LuckRecord implements java.io.Serializable {
|
public class LuckRecord implements java.io.Serializable {
|
||||||
//
|
//
|
||||||
@ -239,6 +238,7 @@ public class LuckRecord implements java.io.Serializable {
|
|||||||
",gmtModified=" + gmtModified +
|
",gmtModified=" + gmtModified +
|
||||||
",staffId=" + staffId +
|
",staffId=" + staffId +
|
||||||
",name=" + name +
|
",name=" + name +
|
||||||
|
",mobile=" + mobile +
|
||||||
",isLuck=" + isLuck +
|
",isLuck=" + isLuck +
|
||||||
",weight=" + weight +
|
",weight=" + weight +
|
||||||
",luckId=" + luckId +
|
",luckId=" + luckId +
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import java.util.Date;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class LuckRecordReq implements java.io.Serializable {
|
public class LuckRecordReq implements java.io.Serializable {
|
||||||
|
|
||||||
|
|
||||||
@ -58,6 +57,14 @@ public class LuckRecordReq implements java.io.Serializable {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMobile() {
|
||||||
|
return mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMobile(String mobile) {
|
||||||
|
this.mobile = mobile;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否中将 0为中将 1中将
|
* 是否中将 0为中将 1中将
|
||||||
* @return
|
* @return
|
||||||
@ -140,6 +147,7 @@ public class LuckRecordReq implements java.io.Serializable {
|
|||||||
return "LuckRecord{" +
|
return "LuckRecord{" +
|
||||||
",id=" + id +
|
",id=" + id +
|
||||||
",name=" + name +
|
",name=" + name +
|
||||||
|
",name=" + mobile +
|
||||||
",isLuck=" + isLuck +
|
",isLuck=" + isLuck +
|
||||||
",weight=" + weight +
|
",weight=" + weight +
|
||||||
",luckId=" + luckId +
|
",luckId=" + luckId +
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
insert into luck_record(
|
insert into luck_record(
|
||||||
<if test="staffId != null">staff_id, </if>
|
<if test="staffId != null">staff_id, </if>
|
||||||
<if test="name != null">name, </if>
|
<if test="name != null">name, </if>
|
||||||
<if test="moblie != null">name, </if>
|
<if test="moblie != null">mobile, </if>
|
||||||
<if test="isLuck != null">is_luck, </if>
|
<if test="isLuck != null">is_luck, </if>
|
||||||
<if test="weight != null">weight, </if>
|
<if test="weight != null">weight, </if>
|
||||||
<if test="luckId != null">luck_id, </if>
|
<if test="luckId != null">luck_id, </if>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user