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