...
This commit is contained in:
parent
e899b0b8e3
commit
27aa4ec4ed
Binary file not shown.
@ -43,7 +43,7 @@ private static final long serialVersionUID=1L;
|
||||
#end
|
||||
#end
|
||||
#if($column.isPk == 1)
|
||||
@JSONField(serializeUsing = ToStringSerializer.class)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@ApiModelProperty("$column.columnComment")
|
||||
@TableId(value = "$column.columnName" , type = IdType.ASSIGN_ID)
|
||||
private $column.javaType $column.javaField;
|
||||
@ -57,7 +57,7 @@ private static final long serialVersionUID=1L;
|
||||
/** $column.columnComment */
|
||||
@ApiModelProperty(value = "$column.columnComment",hidden = true)
|
||||
@TableField("$column.columnName")
|
||||
@JSONField(serializeUsing = ToStringSerializer.class)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private String $column.javaField;
|
||||
#end
|
||||
#end
|
||||
|
@ -5,7 +5,7 @@ export function listPage${BusinessName}(data) {
|
||||
return request({
|
||||
url: '/${moduleName}/listPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 查询${functionName}列表
|
||||
@ -28,7 +28,7 @@ export function add${BusinessName}(data) {
|
||||
return request({
|
||||
url: '/${moduleName}/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ export function update${BusinessName}(data) {
|
||||
return request({
|
||||
url: '/${moduleName}/edit',
|
||||
method: 'post',
|
||||
data: data
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -438,7 +438,7 @@ export default {
|
||||
#end
|
||||
#end
|
||||
listPage${BusinessName}(this.queryParams).then(response => {
|
||||
this.${businessName}List = response.rows;
|
||||
this.${businessName}List = response.data;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user