Ellen翔 普通
2018-01-10 开始修炼简单之道
刚刚
Jieven 发表了文章
83月前
Ellen翔 回复
public void cancelReviewNewAgreement() throws Exception {
String xdids = getPara(0);
String xdnames=getPara(1);
System.out.println("com.oss.product.ReviewController.cancelReviewNewAgreement> xdids=[" + xdids + "]"+"xdnames=["+xdnames+"]");
String xdidlist[]=xdids.split(",");
String xdnameslist[]=xdnames.split(",");
for(int i=0;i<xdidlist.length;i++){
Agreement agreement=new Agreement();
agreement.set("xdid", xdidlist[i]);
agreement.set("xdname", xdnameslist[i]);
agreement.save();
}
renderText(" 新增成功! \n\n\n 请确定返回后点快速查询刷新表单!");
}