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