Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
5b86429e
Commit
5b86429e
authored
Oct 22, 2019
by
whl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mybatis generator配置,不生成注释
parent
3f65adff
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
51 additions
and
789 deletions
+51
-789
bsoft-api/src/main/java/com/bsoft/api/mapper/DicDimMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/DicIndMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/DicOrgMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SerBlockMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageBlockRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageDimRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysMenuMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysOrgMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysProjectMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysRoleMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysRoleMenuRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserMapper.java
+9
-35
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserMenuRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserOrgRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserRoleRsMapper.java
+2
-34
bsoft-api/src/main/java/com/bsoft/api/model/SysUser.java
+9
-240
bsoft-api/src/main/java/com/bsoft/api/service/Impl/UserServiceImpl.java
+1
-2
bsoft-api/src/test/resources/generatorConfig.xml
+2
-2
No files found.
bsoft-api/src/main/java/com/bsoft/api/mapper/DicDimMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.DicDim
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
DicDimMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_DIM
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_DIM
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
DicDim
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_DIM
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
DicDim
selectByPrimaryKey
(
BigDecimal
id
);
DicDim
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_DIM
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
DicDim
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_DIM
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
DicDim
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/DicIndMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.DicInd
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
DicIndMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_IND
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_IND
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
DicInd
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_IND
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
DicInd
selectByPrimaryKey
(
BigDecimal
id
);
DicInd
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_IND
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
DicInd
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_IND
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
DicInd
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/DicOrgMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.DicOrg
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
DicOrgMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
DicOrg
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
DicOrg
selectByPrimaryKey
(
BigDecimal
id
);
DicOrg
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
DicOrg
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.DIC_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
DicOrg
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SerBlockMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerBlock
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SerBlockMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_BLOCK
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_BLOCK
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SerBlock
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_BLOCK
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SerBlock
selectByPrimaryKey
(
BigDecimal
id
);
SerBlock
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_BLOCK
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SerBlock
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_BLOCK
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SerBlock
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageBlockRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerPageBlockRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SerPageBlockRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_BLOCK_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_BLOCK_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SerPageBlockRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_BLOCK_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SerPageBlockRs
selectByPrimaryKey
(
BigDecimal
id
);
SerPageBlockRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_BLOCK_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SerPageBlockRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_BLOCK_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SerPageBlockRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageDimRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerPageDimRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SerPageDimRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_DIM_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_DIM_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SerPageDimRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_DIM_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SerPageDimRs
selectByPrimaryKey
(
BigDecimal
id
);
SerPageDimRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_DIM_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SerPageDimRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE_DIM_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SerPageDimRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SerPageMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerPage
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SerPageMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SerPage
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SerPage
selectByPrimaryKey
(
BigDecimal
id
);
SerPage
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SerPage
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SER_PAGE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SerPage
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysMenuMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysMenu
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysMenuMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_MENU
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_MENU
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysMenu
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_MENU
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysMenu
selectByPrimaryKey
(
BigDecimal
id
);
SysMenu
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_MENU
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysMenu
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_MENU
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysMenu
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysOrgMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysOrg
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysOrgMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysOrg
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysOrg
selectByPrimaryKey
(
BigDecimal
id
);
SysOrg
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysOrg
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ORG
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysOrg
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysProjectMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysProject
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysProjectMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_PROJECT
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_PROJECT
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysProject
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_PROJECT
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysProject
selectByPrimaryKey
(
BigDecimal
id
);
SysProject
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_PROJECT
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysProject
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_PROJECT
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysProject
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysRoleMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysRole
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysRoleMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysRole
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysRole
selectByPrimaryKey
(
BigDecimal
id
);
SysRole
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysRole
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysRole
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysRoleMenuRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysRoleMenuRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysRoleMenuRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysRoleMenuRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysRoleMenuRs
selectByPrimaryKey
(
BigDecimal
id
);
SysRoleMenuRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysRoleMenuRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_ROLE_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysRoleMenuRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysUser
;
import
java.math.BigDecimal
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
SysUserMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
SysUser
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUser
selectByPrimaryKey
(
BigDecimal
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUser
selectByPrimaryKey
(
Long
id
);
List
<
SysUser
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysUser
record
);
SysUser
selectByCode
(
@Param
(
"userCode"
)
String
loginName
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserMenuRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysUserMenuRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysUserMenuRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysUserMenuRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUserMenuRs
selectByPrimaryKey
(
BigDecimal
id
);
SysUserMenuRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysUserMenuRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_MENU_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysUserMenuRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserOrgRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysUserOrgRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysUserOrgRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ORG_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ORG_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysUserOrgRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ORG_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUserOrgRs
selectByPrimaryKey
(
BigDecimal
id
);
SysUserOrgRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ORG_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysUserOrgRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ORG_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysUserOrgRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/mapper/SysUserRoleRsMapper.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SysUserRoleRs
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SysUserRoleRsMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ROLE_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ROLE_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
insert
(
SysUserRoleRs
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ROLE_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUserRoleRs
selectByPrimaryKey
(
BigDecimal
id
);
SysUserRoleRs
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ROLE_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List
<
SysUserRoleRs
>
selectAll
();
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER_ROLE_RS
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int
updateByPrimaryKey
(
SysUserRoleRs
record
);
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysUser.java
View file @
5b86429e
package
com
.
bsoft
.
api
.
model
;
import
java.math.BigDecimal
;
import
java.util.Date
;
public
class
SysUser
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.ID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
BigDecimal
id
;
private
Long
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_DATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
Date
createDate
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_USERID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
BigDecimal
createUserid
;
private
Long
createUserid
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.STATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
BigDecimal
state
;
private
Short
state
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_CODE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
userCode
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_NAME
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
userName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.PASSWORD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
password
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.IDCARD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
idcard
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.SEX
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
sex
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.MOBILE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private
String
mobile
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.ID
*
* @return the value of LL.SYS_USER.ID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
BigDecimal
getId
()
{
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.ID
*
* @param id the value for LL.SYS_USER.ID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setId
(
BigDecimal
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.CREATE_DATE
*
* @return the value of LL.SYS_USER.CREATE_DATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
Date
getCreateDate
()
{
return
createDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.CREATE_DATE
*
* @param createDate the value for LL.SYS_USER.CREATE_DATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setCreateDate
(
Date
createDate
)
{
this
.
createDate
=
createDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.CREATE_USERID
*
* @return the value of LL.SYS_USER.CREATE_USERID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
BigDecimal
getCreateUserid
()
{
public
Long
getCreateUserid
()
{
return
createUserid
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.CREATE_USERID
*
* @param createUserid the value for LL.SYS_USER.CREATE_USERID
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setCreateUserid
(
BigDecimal
createUserid
)
{
public
void
setCreateUserid
(
Long
createUserid
)
{
this
.
createUserid
=
createUserid
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.STATE
*
* @return the value of LL.SYS_USER.STATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
BigDecimal
getState
()
{
public
Short
getState
()
{
return
state
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.STATE
*
* @param state the value for LL.SYS_USER.STATE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setState
(
BigDecimal
state
)
{
public
void
setState
(
Short
state
)
{
this
.
state
=
state
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.USER_CODE
*
* @return the value of LL.SYS_USER.USER_CODE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getUserCode
()
{
return
userCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.USER_CODE
*
* @param userCode the value for LL.SYS_USER.USER_CODE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setUserCode
(
String
userCode
)
{
this
.
userCode
=
userCode
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.USER_NAME
*
* @return the value of LL.SYS_USER.USER_NAME
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getUserName
()
{
return
userName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.USER_NAME
*
* @param userName the value for LL.SYS_USER.USER_NAME
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.PASSWORD
*
* @return the value of LL.SYS_USER.PASSWORD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getPassword
()
{
return
password
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.PASSWORD
*
* @param password the value for LL.SYS_USER.PASSWORD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.IDCARD
*
* @return the value of LL.SYS_USER.IDCARD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getIdcard
()
{
return
idcard
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.IDCARD
*
* @param idcard the value for LL.SYS_USER.IDCARD
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setIdcard
(
String
idcard
)
{
this
.
idcard
=
idcard
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.SEX
*
* @return the value of LL.SYS_USER.SEX
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getSex
()
{
return
sex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.SEX
*
* @param sex the value for LL.SYS_USER.SEX
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setSex
(
String
sex
)
{
this
.
sex
=
sex
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column LL.SYS_USER.MOBILE
*
* @return the value of LL.SYS_USER.MOBILE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
String
getMobile
()
{
return
mobile
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column LL.SYS_USER.MOBILE
*
* @param mobile the value for LL.SYS_USER.MOBILE
*
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public
void
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
}
...
...
bsoft-api/src/main/java/com/bsoft/api/service/Impl/UserServiceImpl.java
View file @
5b86429e
...
...
@@ -15,7 +15,6 @@ public class UserServiceImpl implements UserService {
@Override
public
SysUser
findByLoginName
(
String
loginName
)
{
// return sysUserMapper.selectByCode(loginName);
return
null
;
return
sysUserMapper
.
selectByCode
(
loginName
);
}
}
bsoft-api/src/test/resources/generatorConfig.xml
View file @
5b86429e
...
...
@@ -16,9 +16,9 @@
<!--<property enName="mappers" value="com.suvalue.demo.mapper.BaseMapper"/>-->
<!--</plugin>-->
<commentGenerator>
<property
name=
"suppressAllComments"
value=
"
fals
e"
/>
<property
name=
"suppressAllComments"
value=
"
tru
e"
/>
<!-- 数据库注释支持 -->
<!-- <property name="addRemarkComments" value="true"/>--
>
<property
name=
"addRemarkComments"
value=
"true"
/
>
</commentGenerator>
<!-- 数据库连接属性 -->
<jdbcConnection
driverClass=
"${spring.datasource.driver-class-name}"
...
...
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