|
|
@@ -33,9 +33,9 @@ public class submitedit extends Controller {
|
|
|
Date fbegdate = content.getDate("fbegdate");//开始时间
|
|
|
Date fenddate = content.getDate("fenddate");//结束时间
|
|
|
String fnotes = content.getString("fnotes", "tsubmiteditmodel.fnotes", "提报要求");//提报要求
|
|
|
- boolean fisattrequired = content.getBoolean("fisattrequired");//附件必填
|
|
|
- boolean fistextrequired = content.getBoolean("fistextrequired");//文字必填
|
|
|
- boolean fcanalwayssubmit = content.getBooleanValue("fcanalwayssubmit");//是否允许一事多报
|
|
|
+ boolean fisattrequired = content.getBooleanValue("fisattrequired");//附件必填
|
|
|
+ boolean fistextrequired = content.getBooleanValue("fistextrequired");//文字必填
|
|
|
+ boolean fisnotlimittimes = content.getBooleanValue("fisnotlimittimes");//是否允许一事多报
|
|
|
|
|
|
PaoSetRemote tsubmiteditmodelSet = getP2ServerSystemPaoSet("tsubmiteditmodel", "siteid='" + siteid + "' and tsubmiteditmodelid='" + tsubmiteditmodelid + "'");
|
|
|
PaoRemote tsubmiteditmodel = null;
|
|
|
@@ -48,7 +48,7 @@ public class submitedit extends Controller {
|
|
|
} else {
|
|
|
tsubmiteditmodel = tsubmiteditmodelSet.getPao(0);
|
|
|
}
|
|
|
- tsubmiteditmodel.setValue("fcanalwayssubmit", fcanalwayssubmit, 11L);//是否允许一事多报
|
|
|
+ tsubmiteditmodel.setValue("fisnotlimittimes", fisnotlimittimes, 11L);//是否允许一事多报
|
|
|
tsubmiteditmodel.setValue("ftitle", ftitle, 11L);//标题
|
|
|
tsubmiteditmodel.setValue("fbegdate", fbegdate, 11L);//开始时间
|
|
|
tsubmiteditmodel.setValue("fenddate", fenddate, 11L);//结束时间
|
|
|
@@ -120,9 +120,9 @@ public class submitedit extends Controller {
|
|
|
where.append("t1.ftitle like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
- if (whereObject.containsKey("fcanalwayssubmit") && !"".equals(whereObject.getString("fcanalwayssubmit"))) {
|
|
|
+ if (whereObject.containsKey("fisnotlimittimes") && !"".equals(whereObject.getString("fisnotlimittimes"))) {
|
|
|
where.append(" and(");
|
|
|
- where.append("t1.fcanalwayssubmit ='").append(whereObject.getString("fcanalwayssubmit")).append("' ");
|
|
|
+ where.append("t1.fisnotlimittimes ='").append(whereObject.getString("fisnotlimittimes")).append("' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
}
|