若依 2.0
parent
d84737f417
commit
2a809d221a
|
@ -4,7 +4,7 @@
|
||||||
<head th:include="include :: header"></head>
|
<head th:include="include :: header"></head>
|
||||||
<body class="white-bg">
|
<body class="white-bg">
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
<form class="form-horizontal m" id="form-${classname}-edit" th:object="${config}">
|
<form class="form-horizontal m" id="form-${classname}-edit" th:object="${classname}">
|
||||||
<input id="${primaryKey.attrname}" name="${primaryKey.attrname}" th:field="*${${primaryKey.attrname}}" type="hidden">
|
<input id="${primaryKey.attrname}" name="${primaryKey.attrname}" th:field="*${${primaryKey.attrname}}" type="hidden">
|
||||||
#foreach($column in $columns)
|
#foreach($column in $columns)
|
||||||
#if($column.columnName != $primaryKey.columnName)
|
#if($column.columnName != $primaryKey.columnName)
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class ${className}Controller extends BaseController
|
||||||
* 查询${tableComment}列表
|
* 查询${tableComment}列表
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("${moduleName}:${classname}:list")
|
@RequiresPermissions("${moduleName}:${classname}:list")
|
||||||
@@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public TableDataInfo list(${className} ${classname})
|
public TableDataInfo list(${className} ${classname})
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue