Browse Source

🎉 代码生成增加部门字段

test
smallchill 6 years ago
parent
commit
260704e25e
  1. 2
      blade-ops/blade-develop/src/test/java/org/springblade/test/CodeGenerator.java
  2. 2
      blade-service/blade-system/src/main/java/org/springblade/system/controller/DataScopeController.java

2
blade-ops/blade-develop/src/test/java/org/springblade/test/CodeGenerator.java

@ -65,7 +65,7 @@ public class CodeGenerator {
/**
* 基础业务字段
*/
public static String[] SUPER_ENTITY_COLUMNS = {"id", "create_time", "create_user", "update_time", "update_user", "status", "is_deleted"};
public static String[] SUPER_ENTITY_COLUMNS = {"id", "create_time", "create_user", "create_dept", "update_time", "update_user", "status", "is_deleted"};
/**

2
blade-service/blade-system/src/main/java/org/springblade/system/controller/DataScopeController.java

@ -47,7 +47,7 @@ import static org.springblade.core.cache.constant.CacheConstant.SYS_CACHE;
@RestController
@AllArgsConstructor
@RequestMapping("data-scope")
@Api(value = "数据权限", tags = "接口")
@Api(value = "数据权限", tags = "数据权限")
public class DataScopeController extends BladeController {
private IDataScopeService dataScopeService;

Loading…
Cancel
Save