New file |
| | |
| | | package com.zy.asrs.wcs.utils; |
| | | |
| | | |
| | | import com.zy.asrs.framework.generators.CoolGenerator; |
| | | import com.zy.asrs.framework.generators.constant.SqlOsType; |
| | | |
| | | /** |
| | | * Created by vincent on 2019-06-04 |
| | | */ |
| | | public class CodeBuilder { |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | CoolGenerator generator = new CoolGenerator(); |
| | | // mysql |
| | | // generator.url="localhost:3306/cool"; |
| | | // generator.username="root"; |
| | | // generator.password="xltys1995"; |
| | | // generator.table="sys_host"; |
| | | // sqlserver |
| | | generator.sqlOsType = SqlOsType.SQL_SERVER; |
| | | generator.backendPrefixPath = "zy-asrs-common/"; |
| | | generator.frontendPrefixPath = "zy-asrs-wcs/"; |
| | | |
| | | generator.url="47.97.1.152:51433;databasename=jkasrs"; |
| | | generator.username="sa"; |
| | | generator.password="Zoneyung@zy56$"; |
| | | generator.table="wcs_motion_sts"; |
| | | generator.packagePath="com.zy.asrs.common.wcs"; |
| | | generator.build(); |
| | | } |
| | | |
| | | } |