Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
quick_generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lv xiang
quick_generator
Commits
f9a832f2
Commit
f9a832f2
authored
Jun 17, 2018
by
xxlv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
c45e854f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
123 deletions
+0
-123
${PLACE}.java
quick_generator/template/${PLACE}.java
+0
-7
${PLACE}Biz.java
quick_generator/template/${PLACE}Biz.java
+0
-16
${PLACE}BizImpl.java
quick_generator/template/${PLACE}BizImpl.java
+0
-22
${PLACE}Facade.java
quick_generator/template/${PLACE}Facade.java
+0
-11
${PLACE}FacadeImpl.java
quick_generator/template/${PLACE}FacadeImpl.java
+0
-33
${PLACE}Mapper.java
quick_generator/template/${PLACE}Mapper.java
+0
-7
${PLACE}Mapper.xml
quick_generator/template/${PLACE}Mapper.xml
+0
-6
${PLACE}ReqDto.java
quick_generator/template/${PLACE}ReqDto.java
+0
-12
${PLACE}RespDto.java
quick_generator/template/${PLACE}RespDto.java
+0
-9
No files found.
quick_generator/template/${PLACE}.java
deleted
100644 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
po
;
public
class
${
PLACE
}
{
}
\ No newline at end of file
quick_generator/template/${PLACE}Biz.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
biz
;
import
com.
$
{
PACKAGE_LEVEL1
}.
common
.
service
.
IService
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
po
.
$
{
PLACE
};
public
interface
${
PLACE
}
Biz
extends
IService
<
$
{
PLACE
}>
{
/**
* Create ${PLACE} Resource
*
* @param ${PLACE_VAR}
* @return
*/
$
{
PLACE
}
create
$
{
PLACE
}(
$
{
PLACE
}
$
{
PLACE_VAR
});
}
quick_generator/template/${PLACE}BizImpl.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
biz
.
impl
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
po
.
$
{
PLACE
};
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
biz
.
$
{
PLACE
}
Biz
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
dao
.
$
{
PLACE
}
Mapper
;
import
org.springframework.stereotype.Service
;
import
com.ydl.common.service.impl.BaseService
;
import
javax.annotation.Resource
;
@Service
public
class
${
PLACE
}
BizImpl
extends
BaseService
<
$
{
PLACE
}>
implements
$
{
PLACE
}
Biz
{
@Resource
private
$
{
PLACE
}
Mapper
$
{
PLACE_VAR
}
Mapper
;
@Override
public
$
{
PLACE
}
create
$
{
PLACE
}(
$
{
PLACE
}
$
{
PLACE_VAR
})
{
return
null
;
}
}
quick_generator/template/${PLACE}Facade.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
facade
;
import
com.
$
{
PACKAGE_LEVEL1
}.
common
.
dto
.
BaseDtoResponse
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
dto
.
request
.
$
{
PLACE
}
ReqDto
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
dto
.
response
.
$
{
PLACE
}
RespDto
;
public
interface
${
PLACE
}
Facade
{
BaseDtoResponse
<
$
{
PLACE
}
RespDto
>
create
$
{
PLACE
}(
$
{
PLACE
}
ReqDto
$
{
PLACE_VAR
}
ReqDto
);
}
quick_generator/template/${PLACE}FacadeImpl.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
facade
;
import
com.ydl.common.dto.BaseDtoResponse
;
import
com.ydl.common.helper.ResponseFormatterHelper
;
import
com.ydl.common.utils.ModelMapperUtil
;
import
com.ydl.user.intf.dto.request.
$
{
PLACE
}
ReqDto
;
import
com.ydl.user.intf.dto.response.
$
{
PLACE
}
RespDto
;
import
com.ydl.user.intf.facade.
$
{
PLACE
}
Facade
;
import
com.ydl.user.service.biz.
$
{
PLACE
}
Biz
;
import
com.ydl.user.intf.po.
$
{
PLACE
};
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
@Service
public
class
${
PLACE
}
FacadeImpl
implements
$
{
PLACE
}
Facade
{
@Resource
private
$
{
PLACE
}
Biz
$
{
PLACE_VAR
}
Biz
;
@Override
public
BaseDtoResponse
<
$
{
PLACE
}
RespDto
>
create
$
{
PLACE
}(
$
{
PLACE
}
ReqDto
$
{
PLACE_VAR
}
ReqDto
)
{
$
{
PLACE
}
$
{
PLACE_VAR
}=
ModelMapperUtil
.
strictMap
(
$
{
PLACE_VAR
}
ReqDto
,
$
{
PLACE
}.
class
);
$
{
PLACE
}
$
{
PLACE_VAR
}
Stored
=
$
{
PLACE_VAR
}
Biz
.
create
$
{
PLACE
}(
$
{
PLACE_VAR
});
$
{
PLACE
}
RespDto
$
{
PLACE_VAR
}
RespDto
=
ModelMapperUtil
.
strictMap
(
$
{
PLACE_VAR
}
Stored
,
$
{
PLACE
}
RespDto
.
class
);
return
ResponseFormatterHelper
.
success
(
$
{
PLACE_VAR
}
RespDto
);
}
}
quick_generator/template/${PLACE}Mapper.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
dao
;
import
com.
$
{
PACKAGE_LEVEL1
}.
common
.
service
.
BaseMapper
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
po
.
$
{
PLACE
};
public
interface
${
PLACE
}
Mapper
extends
BaseMapper
<
$
{
PLACE
}>
{
}
quick_generator/template/${PLACE}Mapper.xml
deleted
100644 → 0
View file @
c45e854f
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.service.dao.${PLACE}Mapper"
>
</mapper>
\ No newline at end of file
quick_generator/template/${PLACE}ReqDto.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
dto
.
request
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.math.BigDecimal
;
public
class
${
PLACE
}
ReqDto
implements
Serializable
{
$
{
PO
}
}
quick_generator/template/${PLACE}RespDto.java
deleted
100755 → 0
View file @
c45e854f
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
dto
.
response
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.math.BigDecimal
;
public
class
${
PLACE
}
RespDto
implements
Serializable
{
$
{
PO
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment