Commit 3f65adff by whl

添加mybatis generator字段类型解析类

parent 10de1d88
......@@ -117,10 +117,15 @@
<!--endregion-->
<!--region Mybatis Generator-->
<!-- <dependency>-->
<!-- <groupId>org.mybatis.generator</groupId>-->
<!-- <artifactId>mybatis-generator-core</artifactId>-->
<!-- <version>1.3.5</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.5</version>
<groupId>com.bsoft</groupId>
<artifactId>bsoft-plugins</artifactId>
<version>1.0</version>
</dependency>
<!--endregion-->
......
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
......@@ -9,7 +9,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int deleteByPrimaryKey(BigDecimal id);
......@@ -17,7 +17,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int insert(SysUser record);
......@@ -25,7 +25,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
SysUser selectByPrimaryKey(BigDecimal id);
......@@ -33,7 +33,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
List<SysUser> selectAll();
......@@ -41,7 +41,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
int updateByPrimaryKey(SysUser record);
}
\ No newline at end of file
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
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);
/**
* 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);
/**
* 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
......@@ -9,7 +9,7 @@ public class SysUser {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.ID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private BigDecimal id;
......@@ -18,7 +18,7 @@ public class SysUser {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_DATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Date createDate;
......@@ -27,7 +27,7 @@ public class SysUser {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_USERID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private BigDecimal createUserid;
......@@ -36,7 +36,7 @@ public class SysUser {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.STATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private BigDecimal state;
......@@ -45,54 +45,54 @@ public class SysUser {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_CODE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object userCode;
private String userCode;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_NAME
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object userName;
private String userName;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.PASSWORD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object password;
private String password;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.IDCARD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object idcard;
private String idcard;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.SEX
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object sex;
private String sex;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.MOBILE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
private Object mobile;
private String mobile;
/**
* This method was generated by MyBatis Generator.
......@@ -100,7 +100,7 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.ID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public BigDecimal getId() {
return id;
......@@ -112,7 +112,7 @@ public class SysUser {
*
* @param id the value for LL.SYS_USER.ID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setId(BigDecimal id) {
this.id = id;
......@@ -124,7 +124,7 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.CREATE_DATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Date getCreateDate() {
return createDate;
......@@ -136,7 +136,7 @@ public class SysUser {
*
* @param createDate the value for LL.SYS_USER.CREATE_DATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setCreateDate(Date createDate) {
this.createDate = createDate;
......@@ -148,7 +148,7 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.CREATE_USERID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public BigDecimal getCreateUserid() {
return createUserid;
......@@ -160,7 +160,7 @@ public class SysUser {
*
* @param createUserid the value for LL.SYS_USER.CREATE_USERID
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setCreateUserid(BigDecimal createUserid) {
this.createUserid = createUserid;
......@@ -172,7 +172,7 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.STATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public BigDecimal getState() {
return state;
......@@ -184,7 +184,7 @@ public class SysUser {
*
* @param state the value for LL.SYS_USER.STATE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setState(BigDecimal state) {
this.state = state;
......@@ -196,9 +196,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.USER_CODE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getUserCode() {
public String getUserCode() {
return userCode;
}
......@@ -208,9 +208,9 @@ public class SysUser {
*
* @param userCode the value for LL.SYS_USER.USER_CODE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setUserCode(Object userCode) {
public void setUserCode(String userCode) {
this.userCode = userCode;
}
......@@ -220,9 +220,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.USER_NAME
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getUserName() {
public String getUserName() {
return userName;
}
......@@ -232,9 +232,9 @@ public class SysUser {
*
* @param userName the value for LL.SYS_USER.USER_NAME
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setUserName(Object userName) {
public void setUserName(String userName) {
this.userName = userName;
}
......@@ -244,9 +244,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.PASSWORD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getPassword() {
public String getPassword() {
return password;
}
......@@ -256,9 +256,9 @@ public class SysUser {
*
* @param password the value for LL.SYS_USER.PASSWORD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setPassword(Object password) {
public void setPassword(String password) {
this.password = password;
}
......@@ -268,9 +268,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.IDCARD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getIdcard() {
public String getIdcard() {
return idcard;
}
......@@ -280,9 +280,9 @@ public class SysUser {
*
* @param idcard the value for LL.SYS_USER.IDCARD
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setIdcard(Object idcard) {
public void setIdcard(String idcard) {
this.idcard = idcard;
}
......@@ -292,9 +292,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.SEX
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getSex() {
public String getSex() {
return sex;
}
......@@ -304,9 +304,9 @@ public class SysUser {
*
* @param sex the value for LL.SYS_USER.SEX
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setSex(Object sex) {
public void setSex(String sex) {
this.sex = sex;
}
......@@ -316,9 +316,9 @@ public class SysUser {
*
* @return the value of LL.SYS_USER.MOBILE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public Object getMobile() {
public String getMobile() {
return mobile;
}
......@@ -328,9 +328,9 @@ public class SysUser {
*
* @param mobile the value for LL.SYS_USER.MOBILE
*
* @mbg.generated Mon Oct 21 15:22:33 CST 2019
* @mbggenerated Mon Oct 21 18:59:44 CST 2019
*/
public void setMobile(Object mobile) {
public void setMobile(String mobile) {
this.mobile = mobile;
}
}
\ No newline at end of file
<?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.bsoft.api.mapper.SysUserMapper">
<resultMap id="BaseResultMap" type="com.bsoft.api.model.SysUser">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
<id column="ID" jdbcType="DECIMAL" property="id" />
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
<result column="CREATE_USERID" jdbcType="DECIMAL" property="createUserid" />
<result column="STATE" jdbcType="DECIMAL" property="state" />
<result column="USER_CODE" jdbcType="OTHER" property="userCode" />
<result column="USER_NAME" jdbcType="OTHER" property="userName" />
<result column="PASSWORD" jdbcType="OTHER" property="password" />
<result column="IDCARD" jdbcType="OTHER" property="idcard" />
<result column="SEX" jdbcType="OTHER" property="sex" />
<result column="MOBILE" jdbcType="OTHER" property="mobile" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
delete from LL.SYS_USER
where ID = #{id,jdbcType=DECIMAL}
</delete>
<insert id="insert" parameterType="com.bsoft.api.model.SysUser">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
<selectKey keyProperty="id" order="AFTER" resultType="java.math.BigDecimal">
select SEQ_SYS_USER_ID.nextval from dual
</selectKey>
insert into LL.SYS_USER (CREATE_DATE, CREATE_USERID, STATE,
USER_CODE, USER_NAME, PASSWORD,
IDCARD, SEX, MOBILE)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{userCode,jdbcType=OTHER}, #{userName,jdbcType=OTHER}, #{password,jdbcType=OTHER},
#{idcard,jdbcType=OTHER}, #{sex,jdbcType=OTHER}, #{mobile,jdbcType=OTHER})
</insert>
<update id="updateByPrimaryKey" parameterType="com.bsoft.api.model.SysUser">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
update LL.SYS_USER
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
STATE = #{state,jdbcType=DECIMAL},
USER_CODE = #{userCode,jdbcType=OTHER},
USER_NAME = #{userName,jdbcType=OTHER},
PASSWORD = #{password,jdbcType=OTHER},
IDCARD = #{idcard,jdbcType=OTHER},
SEX = #{sex,jdbcType=OTHER},
MOBILE = #{mobile,jdbcType=OTHER}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
SEX, MOBILE
from LL.SYS_USER
where ID = #{id,jdbcType=DECIMAL}
</select>
<select id="selectAll" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Mon Oct 21 15:22:33 CST 2019.
-->
select ID, CREATE_DATE, CREATE_USERID, STATE, USER_CODE, USER_NAME, PASSWORD, IDCARD,
SEX, MOBILE
from LL.SYS_USER
</select>
</mapper>
\ No newline at end of file
......@@ -30,6 +30,7 @@
<!-- 针对mysql数据库 获取字段注释 -->
<!-- <property name="useInformationSchema" value="true"></property>-->
</jdbcConnection>
<javaTypeResolver type="com.bsoft.generator.JavaTypeResolverImpl"/>
<!-- 生成实体类配置 -->
<javaModelGenerator targetPackage="com.bsoft.api.model" targetProject="src/main/java"/>
<!-- 生成映射文件配置 -->
......@@ -50,7 +51,7 @@
<table tableName="DIC_ORG" schema="ll" >
<generatedKey column="id" sqlStatement="select SEQ_DIC_ORG_ID.nextval from dual" identity="true" />
</table>
<table tableName="SER_ BLOCK_IND_RS" schema="ll" >
<table tableName="SER_BLOCK_IND_RS" schema="ll" >
<generatedKey column="id" sqlStatement="select SEQ_SER_ BLOCK_IND_RS_ID.nextval from dual" identity="true" />
</table>
<table tableName="SER_BLOCK" schema="ll" >
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bsoft</groupId>
<version>1.0</version>
<artifactId>bsoft-plugins</artifactId>
<dependencies>
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.5</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.bsoft.generator;
import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;
import org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl;
import java.sql.Types;
public class JavaTypeResolverImpl extends JavaTypeResolverDefaultImpl {
public JavaTypeResolverImpl(){
super();
this.typeMap.put(Types.OTHER, new JdbcTypeInformation("NVARCHAR2", //$NON-NLS-1$
new FullyQualifiedJavaType(String.class.getName())));
}
}
......@@ -19,6 +19,7 @@
<module>suvalue-boot-ucenter</module>
<module>suvalue-boot-dynamic-datasource</module>
<module>suvalue-boot-demo</module>
<module>bsoft-plugins</module>
</modules>
......
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