Commit 57117fdc by yubaogu

tett

parent fad96e88
...@@ -8,7 +8,7 @@ package ${serviceImplUrl}; ...@@ -8,7 +8,7 @@ package ${serviceImplUrl};
import ${entityUrl}.${entityName}; import ${entityUrl}.${entityName};
import ${daoUrl}.${entityName}Mapper; import ${daoUrl}.${entityName}Mapper;
import ${serviceUrl}.${entityName}Service; import ${serviceUrl}.${entityName}Biz;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.ydl.common.service.impl.BaseService; import com.ydl.common.service.impl.BaseService;
import tk.mybatis.mapper.entity.Example; import tk.mybatis.mapper.entity.Example;
......
...@@ -39,7 +39,7 @@ public class MyGenerator implements Serializable { ...@@ -39,7 +39,7 @@ public class MyGenerator implements Serializable {
public static final String DATABASE = "ydl"; public static final String DATABASE = "ydl";
// 类信息:类名、对象名(一般是【类名】的首字母小些)、类说明、时间 // 类信息:类名、对象名(一般是【类名】的首字母小些)、类说明、时间
public static final String TABLE = "doctor"; public static final String TABLE = "doctor";
public static final String[] TABLES = {"doctor_role" public static final String[] TABLES = {"log_system"
}; };
/** /**
"doctor_base_data","doctor_order","doctor","expert_interview","expert_interview_result","expert_result", "doctor_base_data","doctor_order","doctor","expert_interview","expert_interview_result","expert_result",
...@@ -63,7 +63,7 @@ public class MyGenerator implements Serializable { ...@@ -63,7 +63,7 @@ public class MyGenerator implements Serializable {
//是否是Swagger配置 //是否是Swagger配置
public static final String IS_SWAGGER = "true"; public static final String IS_SWAGGER = "true";
public static final String PROJECT_NAME = "doctor"; public static final String PROJECT_NAME = "log";
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
System.out.println(MyGenerator.class.getResource("").getPath()); System.out.println(MyGenerator.class.getResource("").getPath());
...@@ -83,7 +83,7 @@ public class MyGenerator implements Serializable { ...@@ -83,7 +83,7 @@ public class MyGenerator implements Serializable {
bi.setEntityComment(CLASSCOMMENT); bi.setEntityComment(CLASSCOMMENT);
try { try {
bi = EntityInfoUtil.getInfo(bi); bi = EntityInfoUtil.getInfo(bi);
String localproject = "D:\\ydlwork\\ydl-doctor\\"; String localproject = "D:\\ydlwork\\ydl_log\\";
String fileServiceUrl = localproject + "ydl-*project*-service\\src\\main\\"+ "java\\";// 生成文件存放位置 String fileServiceUrl = localproject + "ydl-*project*-service\\src\\main\\"+ "java\\";// 生成文件存放位置
String fileServiceMapper = localproject + "ydl-*project*-service\\src\\main\\" + "resources\\";// 生成文件存放位置 String fileServiceMapper = localproject + "ydl-*project*-service\\src\\main\\" + "resources\\";// 生成文件存放位置
String fileIntfUrl = localproject + "ydl-*project*-intf\\src\\main\\java\\";// 生成文件存放位置 String fileIntfUrl = localproject + "ydl-*project*-intf\\src\\main\\java\\";// 生成文件存放位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment