活动bug
parent
78f86421be
commit
109114dcef
|
@ -42,7 +42,7 @@ class MethodVarSetter implements Visitor {
|
||||||
|
|
||||||
private void simple(String typename, boolean checknull) {
|
private void simple(String typename, boolean checknull) {
|
||||||
ps.println(prefix + "public void set" + Varname + "(" + typename + " "+varname.toLowerCase()+") { " + var.getComment());
|
ps.println(prefix + "public void set" + Varname + "(" + typename + " "+varname.toLowerCase()+") { " + var.getComment());
|
||||||
ps.println(prefix + " updateString (" + StringUtils.quote(varname).toLowerCase() + "," +varname.toLowerCase() + ");");
|
ps.println(prefix + " updateString(" + StringUtils.quote(varname) + "," +varname.toLowerCase() + ");");
|
||||||
ps.println(prefix + " " + this_varname + " = "+varname.toLowerCase()+";");
|
ps.println(prefix + " " + this_varname + " = "+varname.toLowerCase()+";");
|
||||||
ps.println(prefix + "}");
|
ps.println(prefix + "}");
|
||||||
ps.println("");
|
ps.println("");
|
||||||
|
@ -50,8 +50,8 @@ class MethodVarSetter implements Visitor {
|
||||||
|
|
||||||
private void simple2(String typename) {
|
private void simple2(String typename) {
|
||||||
ps.println(prefix + "public void set" + Varname + "(" + typename + " "+varname.toLowerCase()+") { " + var.getComment());
|
ps.println(prefix + "public void set" + Varname + "(" + typename + " "+varname.toLowerCase()+") { " + var.getComment());
|
||||||
ps.println(prefix + " updateString (" + StringUtils.quote(varname).toLowerCase() + "," +varname.toLowerCase() + ");");
|
ps.println(prefix + " updateString(" + StringUtils.quote(varname) + "," +varname.toLowerCase() + ");");
|
||||||
ps.println(prefix + " "+varname.toLowerCase() + ".init(getRootId(),getMongoKey()+ "+StringUtils.quotepot(varname.toLowerCase())+");");
|
ps.println(prefix + " "+varname.toLowerCase() + ".init(getRootId(),getMongoKey()+ "+StringUtils.quotepot(varname)+");");
|
||||||
ps.println(prefix + " " + this_varname + " = "+varname.toLowerCase()+";");
|
ps.println(prefix + " " + this_varname + " = "+varname.toLowerCase()+";");
|
||||||
ps.println(prefix + "}");
|
ps.println(prefix + "}");
|
||||||
ps.println("");
|
ps.println("");
|
||||||
|
|
|
@ -49,19 +49,19 @@ public final class ActivityManager extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSenvenTime(long senventime) { // 七日狂欢结束时间
|
public void setSenvenTime(long senventime) { // 七日狂欢结束时间
|
||||||
updateString ("senventime",senventime);
|
updateString("senvenTime",senventime);
|
||||||
this.senvenTime = senventime;
|
this.senvenTime = senventime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLuckWheel(LuckWheelMission luckwheel) { // 幸运探宝奖池
|
public void setLuckWheel(LuckWheelMission luckwheel) { // 幸运探宝奖池
|
||||||
updateString ("luckwheel",luckwheel);
|
updateString("luckWheel",luckwheel);
|
||||||
luckwheel.init(getRootId(),getMongoKey()+ ".luckwheel");
|
luckwheel.init(getRootId(),getMongoKey()+ ".luckWheel");
|
||||||
this.luckWheel = luckwheel;
|
this.luckWheel = luckwheel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLuckWheelAdvance(LuckWheelMission luckwheeladvance) { // 高级幸运探宝奖池
|
public void setLuckWheelAdvance(LuckWheelMission luckwheeladvance) { // 高级幸运探宝奖池
|
||||||
updateString ("luckwheeladvance",luckwheeladvance);
|
updateString("luckWheelAdvance",luckwheeladvance);
|
||||||
luckwheeladvance.init(getRootId(),getMongoKey()+ ".luckwheeladvance");
|
luckwheeladvance.init(getRootId(),getMongoKey()+ ".luckWheelAdvance");
|
||||||
this.luckWheelAdvance = luckwheeladvance;
|
this.luckWheelAdvance = luckwheeladvance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,17 +49,17 @@ public final class ActivityMission extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setActivityState(int activitystate) {
|
public void setActivityState(int activitystate) {
|
||||||
updateString ("activityState",activitystate);
|
updateString("activityState",activitystate);
|
||||||
this.activityState = activitystate;
|
this.activityState = activitystate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setOpenType(int opentype) {
|
public void setOpenType(int opentype) {
|
||||||
updateString ("opentype",opentype);
|
updateString("openType",opentype);
|
||||||
this.openType = opentype;
|
this.openType = opentype;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setV(int v) {
|
public void setV(int v) {
|
||||||
updateString ("v",v);
|
updateString("v",v);
|
||||||
this.v = v;
|
this.v = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,12 @@ public final class ActivityProgressInfo extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setState(int state) {
|
public void setState(int state) {
|
||||||
updateString ("state",state);
|
updateString("state",state);
|
||||||
this.state = state;
|
this.state = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProgrss(int progrss) {
|
public void setProgrss(int progrss) {
|
||||||
updateString ("progrss",progrss);
|
updateString("progrss",progrss);
|
||||||
this.progrss = progrss;
|
this.progrss = progrss;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public final class LuckWheelMission extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setRefreshTime(int refreshtime) {
|
public void setRefreshTime(int refreshtime) {
|
||||||
updateString ("refreshtime",refreshtime);
|
updateString("refreshTime",refreshtime);
|
||||||
this.refreshTime = refreshtime;
|
this.refreshTime = refreshtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,12 @@ public final class LuckWheelPosInfo extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLuckId(int luckid) {
|
public void setLuckId(int luckid) {
|
||||||
updateString ("luckid",luckid);
|
updateString("luckId",luckid);
|
||||||
this.luckId = luckid;
|
this.luckId = luckid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProgrss(int progrss) {
|
public void setProgrss(int progrss) {
|
||||||
updateString ("progrss",progrss);
|
updateString("progrss",progrss);
|
||||||
this.progrss = progrss;
|
this.progrss = progrss;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue