我想传递 i 的值来创建 .gsp 页面,该怎么做
def save = {
def billingPeriodInstance = new BillingPeriod(params)
DatabaseImpController obj= new DatabaseImpController()
int i = obj.setbillPeriod()
if(i== 1){
render(view: "create")
}
}
我想传递 i 的值来创建 .gsp 页面,该怎么做
def save = {
def billingPeriodInstance = new BillingPeriod(params)
DatabaseImpController obj= new DatabaseImpController()
int i = obj.setbillPeriod()
if(i== 1){
render(view: "create")
}
}