Commit cf434bec authored by youjj's avatar youjj

commit

parent 48455732
......@@ -9,15 +9,15 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or com.xxfc.member.entity authorized by the copyright
"Licensor" shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
"Legal Entity" shall mean the union of the acting com.xxfc.member.entity and all other entities
that control, are controlled by, or are under common control with that com.xxfc.member.entity.
"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such com.xxfc.member.entity, whether by
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such com.xxfc.member.entity.
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
......@@ -75,7 +75,7 @@ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by combination
of their Contribution(s) with the Work to which such Contribution(s) was
submitted. If You institute patent litigation against any com.xxfc.member.entity (including a
submitted. If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this License
......
......@@ -9,16 +9,16 @@
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or com.xxfc.member.entity authorized by
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting com.xxfc.member.entity and all
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that com.xxfc.member.entity. For the purposes of this definition,
control with that entity. For the purposes of this definition,
"control" means (properties) the power, direct or indirect, to cause the
direction or management of such com.xxfc.member.entity, whether by contract or
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such com.xxfc.member.entity.
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
......@@ -79,7 +79,7 @@
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any com.xxfc.member.entity (including a
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
......
......@@ -184,8 +184,8 @@ public class GeneratorUtils {
if (template.contains("mapper.java.vm")) {
return packagePath + "mapper" + File.separator + className + "Mapper.java";
}
if (template.contains("com.xxfc.member.entity.java.vm")) {
return packagePath + "com.xxfc.member.entity" + File.separator + className + ".java";
if (template.contains("entity.java.vm")) {
return packagePath + "entity" + File.separator + className + ".java";
}
if (template.contains("controller.java.vm")) {
return packagePath + "rest" + File.separator + className + "Controller.java";
......
......@@ -10,9 +10,9 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/ag_auth?useUnicode=true&characterEncoding=UTF-8
url: jdbc:mysql://localhost:3306/world?useUnicode=true&characterEncoding=UTF-8
username: root
password: 123456
password: xx2019fc
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
......
......@@ -2,7 +2,7 @@ package ${package}.biz;
import org.springframework.stereotype.Service;
import ${package}.com.xxfc.member.entity.${className};
import ${package}.entity.${className};
import ${package}.mapper.${className}Mapper;
import com.github.wxiaoqi.security.common.biz.BaseBiz;
......
......@@ -2,7 +2,7 @@ package ${package}.rest;
import com.github.wxiaoqi.security.common.rest.BaseController;
import ${package}.biz.${className}Biz;
import ${package}.com.xxfc.member.entity.${className};
import ${package}.entity.${className};
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
......
package ${package}.com.xxfc.member.entity;
package ${package}.entity;
import java.io.Serializable;
import java.util.Date;
......
package ${package}.mapper;
import ${package}.com.xxfc.member.entity.${className};
import ${package}.entity.${className};
import tk.mybatis.mapper.common.Mapper;
/**
......
......@@ -4,7 +4,7 @@
<mapper namespace="${package}.mapper.${className}Mapper">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="${package}.com.xxfc.member.entity.${className}" id="${classname}Map">
<resultMap type="${package}.entity.${className}" id="${classname}Map">
#foreach($column in $columns)
<result property="${column.attrname}" column="${column.columnName}"/>
#end
......
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