@@ -70,8 +70,8 @@ export default {
let req = {...searchForm, ...this.pageInfo}
this.loading = true
Page(req).then(res => {
- this.data = res.data.records
- this.pageInfo.total = res.data.total
+ this.data = res.records
+ this.pageInfo.total = res.total
this.loading = false
})
},
@@ -48,7 +48,7 @@
)
values (
#foreach(${fieldModel} in ${fieldModelList})
- #{${fieldModel.columnName}, jdbcType=${fieldModel.jdbcType}}#if($foreach.hasNext),#end
+ #{${fieldModel.name}, jdbcType=${fieldModel.jdbcType}}#if($foreach.hasNext),#end
#end