|
|
@@ -64,7 +64,7 @@ public class ${className}Controller {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 1)
|
|
|
@ApiOperation("获取${functionName}分页")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/page")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/page")
|
|
|
@GetMapping("/${moduleName}/${busName}/page")
|
|
|
public CommonResult<Page<${className}>> page(${className}PageParam ${classNameFirstLower}PageParam) {
|
|
|
return CommonResult.data(${classNameFirstLower}Service.page(${classNameFirstLower}PageParam));
|
|
|
@@ -79,7 +79,7 @@ public class ${className}Controller {
|
|
|
@ApiOperationSupport(order = 2)
|
|
|
@ApiOperation("添加${functionName}")
|
|
|
@CommonLog("添加${functionName}")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/add")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/add")
|
|
|
@PostMapping("/${moduleName}/${busName}/add")
|
|
|
public CommonResult<String> add(@RequestBody @Valid ${className}AddParam ${classNameFirstLower}AddParam) {
|
|
|
${classNameFirstLower}Service.add(${classNameFirstLower}AddParam);
|
|
|
@@ -95,7 +95,7 @@ public class ${className}Controller {
|
|
|
@ApiOperationSupport(order = 3)
|
|
|
@ApiOperation("编辑${functionName}")
|
|
|
@CommonLog("编辑${functionName}")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/edit")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/edit")
|
|
|
@PostMapping("/${moduleName}/${busName}/edit")
|
|
|
public CommonResult<String> edit(@RequestBody @Valid ${className}EditParam ${classNameFirstLower}EditParam) {
|
|
|
${classNameFirstLower}Service.edit(${classNameFirstLower}EditParam);
|
|
|
@@ -111,7 +111,7 @@ public class ${className}Controller {
|
|
|
@ApiOperationSupport(order = 4)
|
|
|
@ApiOperation("删除${functionName}")
|
|
|
@CommonLog("删除${functionName}")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/delete")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/delete")
|
|
|
@PostMapping("/${moduleName}/${busName}/delete")
|
|
|
public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
|
|
|
CommonValidList<${className}IdParam> ${classNameFirstLower}IdParamList) {
|
|
|
@@ -127,7 +127,7 @@ public class ${className}Controller {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 5)
|
|
|
@ApiOperation("获取${functionName}详情")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/detail")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/detail")
|
|
|
@GetMapping("/${moduleName}/${busName}/detail")
|
|
|
public CommonResult<${className}> detail(@Valid ${className}IdParam ${classNameFirstLower}IdParam) {
|
|
|
return CommonResult.data(${classNameFirstLower}Service.detail(${classNameFirstLower}IdParam));
|
|
|
@@ -142,7 +142,7 @@ public class ${className}Controller {
|
|
|
*/
|
|
|
@ApiOperationSupport(order = 6)
|
|
|
@ApiOperation("获取${functionName}动态字段的配置")
|
|
|
- @SaCheckPermission("/${moduleName}/${busName}/dynamicFieldConfigList")
|
|
|
+ //@SaCheckPermission("/${moduleName}/${busName}/dynamicFieldConfigList")
|
|
|
@GetMapping("/${moduleName}/${busName}/dynamicFieldConfigList")
|
|
|
public CommonResult<List<JSONObject>> dynamicFieldConfigList() {
|
|
|
return CommonResult.data(${classNameFirstLower}Service.dynamicFieldConfigList());
|