|
@@ -269,6 +269,27 @@ public class AwardItems extends Controller {
|
|
|
|
|
|
return getSucReturnObject().setData(rows).toString();
|
|
|
}
|
|
|
+ @API(title = "更新中奖信息", apiversion = R.ID2024052910464202.v1.class)
|
|
|
+ public String newApiMethod() throws YosException {
|
|
|
+ long sa_awardmxid = content.getLong("sa_awardmxid");
|
|
|
+ String name = content.getString("name");// 姓名
|
|
|
+ String phonenumber = content.getString("phonenumber");// 手机号
|
|
|
+ String address = content.getString("address");// 详细地址
|
|
|
+ String city = content.getString("city");// 城市
|
|
|
+ String county = content.getString("county");// 区县
|
|
|
+ String province = content.getString("province");// 省份
|
|
|
+ UpdateSQL updateSQL = SQLFactory.createUpdateSQL(this, "sa_awardmx");
|
|
|
+ updateSQL.setValue("name", name);
|
|
|
+ updateSQL.setValue("phonenumber", phonenumber);
|
|
|
+ updateSQL.setValue("address", address);
|
|
|
+ updateSQL.setValue("city", city);
|
|
|
+ updateSQL.setValue("county", county);
|
|
|
+ updateSQL.setValue("province", province);
|
|
|
+ updateSQL.setSiteid(siteid);
|
|
|
+ updateSQL.setUniqueid(sa_awardmxid);
|
|
|
+ updateSQL.update();
|
|
|
+ return getSucReturnObject().toString();
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|