Commit 3f65adff by whl

添加mybatis generator字段类型解析类

parent 10de1d88
...@@ -117,10 +117,15 @@ ...@@ -117,10 +117,15 @@
<!--endregion--> <!--endregion-->
<!--region Mybatis Generator--> <!--region Mybatis Generator-->
<!-- <dependency>-->
<!-- <groupId>org.mybatis.generator</groupId>-->
<!-- <artifactId>mybatis-generator-core</artifactId>-->
<!-- <version>1.3.5</version>-->
<!-- </dependency>-->
<dependency> <dependency>
<groupId>org.mybatis.generator</groupId> <groupId>com.bsoft</groupId>
<artifactId>mybatis-generator-core</artifactId> <artifactId>bsoft-plugins</artifactId>
<version>1.3.5</version> <version>1.0</version>
</dependency> </dependency>
<!--endregion--> <!--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 { ...@@ -9,7 +9,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER * 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); int deleteByPrimaryKey(BigDecimal id);
...@@ -17,7 +17,7 @@ public interface SysUserMapper { ...@@ -17,7 +17,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER * 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); int insert(SysUser record);
...@@ -25,7 +25,7 @@ public interface SysUserMapper { ...@@ -25,7 +25,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER * 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); SysUser selectByPrimaryKey(BigDecimal id);
...@@ -33,7 +33,7 @@ public interface SysUserMapper { ...@@ -33,7 +33,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER * 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(); List<SysUser> selectAll();
...@@ -41,7 +41,7 @@ public interface SysUserMapper { ...@@ -41,7 +41,7 @@ public interface SysUserMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table LL.SYS_USER * 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); 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 { ...@@ -9,7 +9,7 @@ public class SysUser {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.ID * 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; private BigDecimal id;
...@@ -18,7 +18,7 @@ public class SysUser { ...@@ -18,7 +18,7 @@ public class SysUser {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_DATE * 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; private Date createDate;
...@@ -27,7 +27,7 @@ public class SysUser { ...@@ -27,7 +27,7 @@ public class SysUser {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.CREATE_USERID * 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; private BigDecimal createUserid;
...@@ -36,7 +36,7 @@ public class SysUser { ...@@ -36,7 +36,7 @@ public class SysUser {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.STATE * 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; private BigDecimal state;
...@@ -45,54 +45,54 @@ public class SysUser { ...@@ -45,54 +45,54 @@ public class SysUser {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_CODE * 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 was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.USER_NAME * 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 was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.PASSWORD * 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 was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.IDCARD * 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 was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.SEX * 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 was generated by MyBatis Generator.
* This field corresponds to the database column LL.SYS_USER.MOBILE * 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. * This method was generated by MyBatis Generator.
...@@ -100,7 +100,7 @@ public class SysUser { ...@@ -100,7 +100,7 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.ID * @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() { public BigDecimal getId() {
return id; return id;
...@@ -112,7 +112,7 @@ public class SysUser { ...@@ -112,7 +112,7 @@ public class SysUser {
* *
* @param id the value for LL.SYS_USER.ID * @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) { public void setId(BigDecimal id) {
this.id = id; this.id = id;
...@@ -124,7 +124,7 @@ public class SysUser { ...@@ -124,7 +124,7 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.CREATE_DATE * @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() { public Date getCreateDate() {
return createDate; return createDate;
...@@ -136,7 +136,7 @@ public class SysUser { ...@@ -136,7 +136,7 @@ public class SysUser {
* *
* @param createDate the value for LL.SYS_USER.CREATE_DATE * @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) { public void setCreateDate(Date createDate) {
this.createDate = createDate; this.createDate = createDate;
...@@ -148,7 +148,7 @@ public class SysUser { ...@@ -148,7 +148,7 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.CREATE_USERID * @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() { public BigDecimal getCreateUserid() {
return createUserid; return createUserid;
...@@ -160,7 +160,7 @@ public class SysUser { ...@@ -160,7 +160,7 @@ public class SysUser {
* *
* @param createUserid the value for LL.SYS_USER.CREATE_USERID * @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) { public void setCreateUserid(BigDecimal createUserid) {
this.createUserid = createUserid; this.createUserid = createUserid;
...@@ -172,7 +172,7 @@ public class SysUser { ...@@ -172,7 +172,7 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.STATE * @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() { public BigDecimal getState() {
return state; return state;
...@@ -184,7 +184,7 @@ public class SysUser { ...@@ -184,7 +184,7 @@ public class SysUser {
* *
* @param state the value for LL.SYS_USER.STATE * @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) { public void setState(BigDecimal state) {
this.state = state; this.state = state;
...@@ -196,9 +196,9 @@ public class SysUser { ...@@ -196,9 +196,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.USER_CODE * @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; return userCode;
} }
...@@ -208,9 +208,9 @@ public class SysUser { ...@@ -208,9 +208,9 @@ public class SysUser {
* *
* @param userCode the value for LL.SYS_USER.USER_CODE * @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; this.userCode = userCode;
} }
...@@ -220,9 +220,9 @@ public class SysUser { ...@@ -220,9 +220,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.USER_NAME * @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; return userName;
} }
...@@ -232,9 +232,9 @@ public class SysUser { ...@@ -232,9 +232,9 @@ public class SysUser {
* *
* @param userName the value for LL.SYS_USER.USER_NAME * @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; this.userName = userName;
} }
...@@ -244,9 +244,9 @@ public class SysUser { ...@@ -244,9 +244,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.PASSWORD * @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; return password;
} }
...@@ -256,9 +256,9 @@ public class SysUser { ...@@ -256,9 +256,9 @@ public class SysUser {
* *
* @param password the value for LL.SYS_USER.PASSWORD * @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; this.password = password;
} }
...@@ -268,9 +268,9 @@ public class SysUser { ...@@ -268,9 +268,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.IDCARD * @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; return idcard;
} }
...@@ -280,9 +280,9 @@ public class SysUser { ...@@ -280,9 +280,9 @@ public class SysUser {
* *
* @param idcard the value for LL.SYS_USER.IDCARD * @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; this.idcard = idcard;
} }
...@@ -292,9 +292,9 @@ public class SysUser { ...@@ -292,9 +292,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.SEX * @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; return sex;
} }
...@@ -304,9 +304,9 @@ public class SysUser { ...@@ -304,9 +304,9 @@ public class SysUser {
* *
* @param sex the value for LL.SYS_USER.SEX * @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; this.sex = sex;
} }
...@@ -316,9 +316,9 @@ public class SysUser { ...@@ -316,9 +316,9 @@ public class SysUser {
* *
* @return the value of LL.SYS_USER.MOBILE * @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; return mobile;
} }
...@@ -328,9 +328,9 @@ public class SysUser { ...@@ -328,9 +328,9 @@ public class SysUser {
* *
* @param mobile the value for LL.SYS_USER.MOBILE * @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; 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 @@ ...@@ -30,6 +30,7 @@
<!-- 针对mysql数据库 获取字段注释 --> <!-- 针对mysql数据库 获取字段注释 -->
<!-- <property name="useInformationSchema" value="true"></property>--> <!-- <property name="useInformationSchema" value="true"></property>-->
</jdbcConnection> </jdbcConnection>
<javaTypeResolver type="com.bsoft.generator.JavaTypeResolverImpl"/>
<!-- 生成实体类配置 --> <!-- 生成实体类配置 -->
<javaModelGenerator targetPackage="com.bsoft.api.model" targetProject="src/main/java"/> <javaModelGenerator targetPackage="com.bsoft.api.model" targetProject="src/main/java"/>
<!-- 生成映射文件配置 --> <!-- 生成映射文件配置 -->
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
<table tableName="DIC_ORG" schema="ll" > <table tableName="DIC_ORG" schema="ll" >
<generatedKey column="id" sqlStatement="select SEQ_DIC_ORG_ID.nextval from dual" identity="true" /> <generatedKey column="id" sqlStatement="select SEQ_DIC_ORG_ID.nextval from dual" identity="true" />
</table> </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" /> <generatedKey column="id" sqlStatement="select SEQ_SER_ BLOCK_IND_RS_ID.nextval from dual" identity="true" />
</table> </table>
<table tableName="SER_BLOCK" schema="ll" > <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 @@ ...@@ -19,6 +19,7 @@
<module>suvalue-boot-ucenter</module> <module>suvalue-boot-ucenter</module>
<module>suvalue-boot-dynamic-datasource</module> <module>suvalue-boot-dynamic-datasource</module>
<module>suvalue-boot-demo</module> <module>suvalue-boot-demo</module>
<module>bsoft-plugins</module>
</modules> </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