| | |
| | | private BuildCodeService service; |
| | | |
| | | private String basePackage = "cn.huge.module"; |
| | | private String packageName = "cases"; |
| | | private String className = "FileInfo"; |
| | | private String tableSchema = "huge-dyh2.0_v100_dev"; |
| | | private String tableName = "dyh_file_info"; |
| | | private String packageName = ""; |
| | | private String className = ""; |
| | | private String tableSchema = "gzdyh_dev"; |
| | | private String tableName = ""; |
| | | private String author = "liyj"; |
| | | private String version = "1.0.0"; |
| | | |
| | | @Test |
| | | public void buildAllTest() { |
| | | service.buildAll(basePackage, packageName, "CaseInfo", tableSchema, "dyh_case_info", author, version); |
| | | service.buildAll(basePackage, packageName, className, tableSchema, tableName, author, version); |
| | | } |
| | | |
| | | /******************************************************** |
| | |
| | | } |
| | | |
| | | @Test |
| | | public void buildControllerTest() { |
| | | service.buildController(basePackage, packageName, className, tableSchema, tableName, author, version); |
| | | public void buildWebControllerTest() { |
| | | service.buildWebController(basePackage, packageName, className, tableSchema, tableName, author, version); |
| | | } |
| | | |
| | | @Test |
| | | public void buildWechatControllerTest() { |
| | | service.buildWechatController(basePackage, packageName, className, tableSchema, tableName, author, version); |
| | | } |
| | | |
| | | @Test |
| | | public void buildJsonTest() { |
| | | service.buildJson(basePackage, packageName, className, tableSchema, tableName, author, version); |
| | | |
| | | } |
| | | |
| | | @Test |