Showing
24 changed files
with
265 additions
and
274 deletions
| ... | @@ -4,7 +4,6 @@ import com.fedex.connect.common.model.base.DictionaryEntries; | ... | @@ -4,7 +4,6 @@ import com.fedex.connect.common.model.base.DictionaryEntries; |
| 4 | import com.fedex.connect.common.model.base.DictionaryEntriesExample; | 4 | import com.fedex.connect.common.model.base.DictionaryEntriesExample; |
| 5 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 6 | 6 | ||
| 7 | -import java.math.BigDecimal; | ||
| 8 | import java.util.List; | 7 | import java.util.List; |
| 9 | 8 | ||
| 10 | public interface DictionaryEntriesMapper { | 9 | public interface DictionaryEntriesMapper { |
| ... | @@ -12,7 +11,7 @@ public interface DictionaryEntriesMapper { | ... | @@ -12,7 +11,7 @@ public interface DictionaryEntriesMapper { |
| 12 | 11 | ||
| 13 | int deleteByExample(DictionaryEntriesExample example); | 12 | int deleteByExample(DictionaryEntriesExample example); |
| 14 | 13 | ||
| 15 | - int deleteByPrimaryKey(BigDecimal id); | 14 | + int deleteByPrimaryKey(Long id); |
| 16 | 15 | ||
| 17 | int insert(DictionaryEntries record); | 16 | int insert(DictionaryEntries record); |
| 18 | 17 | ||
| ... | @@ -20,7 +19,7 @@ public interface DictionaryEntriesMapper { | ... | @@ -20,7 +19,7 @@ public interface DictionaryEntriesMapper { |
| 20 | 19 | ||
| 21 | List<DictionaryEntries> selectByExample(DictionaryEntriesExample example); | 20 | List<DictionaryEntries> selectByExample(DictionaryEntriesExample example); |
| 22 | 21 | ||
| 23 | - DictionaryEntries selectByPrimaryKey(BigDecimal id); | 22 | + DictionaryEntries selectByPrimaryKey(Long id); |
| 24 | 23 | ||
| 25 | int updateByExampleSelective(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example); | 24 | int updateByExampleSelective(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example); |
| 26 | 25 | ... | ... |
| ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.base; | ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.base; |
| 2 | 2 | ||
| 3 | import com.fedex.connect.common.model.base.Dictionary; | 3 | import com.fedex.connect.common.model.base.Dictionary; |
| 4 | import com.fedex.connect.common.model.base.DictionaryExample; | 4 | import com.fedex.connect.common.model.base.DictionaryExample; |
| 5 | -import java.math.BigDecimal; | ||
| 6 | -import java.util.List; | ||
| 7 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 8 | 6 | ||
| 7 | +import java.util.List; | ||
| 8 | + | ||
| 9 | public interface DictionaryMapper { | 9 | public interface DictionaryMapper { |
| 10 | long countByExample(DictionaryExample example); | 10 | long countByExample(DictionaryExample example); |
| 11 | 11 | ||
| 12 | int deleteByExample(DictionaryExample example); | 12 | int deleteByExample(DictionaryExample example); |
| 13 | 13 | ||
| 14 | - int deleteByPrimaryKey(BigDecimal id); | 14 | + int deleteByPrimaryKey(Long id); |
| 15 | 15 | ||
| 16 | int insert(Dictionary record); | 16 | int insert(Dictionary record); |
| 17 | 17 | ||
| ... | @@ -19,7 +19,7 @@ public interface DictionaryMapper { | ... | @@ -19,7 +19,7 @@ public interface DictionaryMapper { |
| 19 | 19 | ||
| 20 | List<Dictionary> selectByExample(DictionaryExample example); | 20 | List<Dictionary> selectByExample(DictionaryExample example); |
| 21 | 21 | ||
| 22 | - Dictionary selectByPrimaryKey(BigDecimal id); | 22 | + Dictionary selectByPrimaryKey(Long id); |
| 23 | 23 | ||
| 24 | int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example); | 24 | int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example); |
| 25 | 25 | ... | ... |
| ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.sys; | ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.sys; |
| 2 | 2 | ||
| 3 | import com.fedex.connect.common.model.sys.Privilege; | 3 | import com.fedex.connect.common.model.sys.Privilege; |
| 4 | import com.fedex.connect.common.model.sys.PrivilegeExample; | 4 | import com.fedex.connect.common.model.sys.PrivilegeExample; |
| 5 | -import java.math.BigDecimal; | ||
| 6 | -import java.util.List; | ||
| 7 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 8 | 6 | ||
| 7 | +import java.util.List; | ||
| 8 | + | ||
| 9 | public interface PrivilegeMapper { | 9 | public interface PrivilegeMapper { |
| 10 | long countByExample(PrivilegeExample example); | 10 | long countByExample(PrivilegeExample example); |
| 11 | 11 | ||
| 12 | int deleteByExample(PrivilegeExample example); | 12 | int deleteByExample(PrivilegeExample example); |
| 13 | 13 | ||
| 14 | - int deleteByPrimaryKey(BigDecimal id); | 14 | + int deleteByPrimaryKey(Long id); |
| 15 | 15 | ||
| 16 | int insert(Privilege record); | 16 | int insert(Privilege record); |
| 17 | 17 | ||
| ... | @@ -19,7 +19,7 @@ public interface PrivilegeMapper { | ... | @@ -19,7 +19,7 @@ public interface PrivilegeMapper { |
| 19 | 19 | ||
| 20 | List<Privilege> selectByExample(PrivilegeExample example); | 20 | List<Privilege> selectByExample(PrivilegeExample example); |
| 21 | 21 | ||
| 22 | - Privilege selectByPrimaryKey(BigDecimal id); | 22 | + Privilege selectByPrimaryKey(Long id); |
| 23 | 23 | ||
| 24 | int updateByExampleSelective(@Param("record") Privilege record, @Param("example") PrivilegeExample example); | 24 | int updateByExampleSelective(@Param("record") Privilege record, @Param("example") PrivilegeExample example); |
| 25 | 25 | ... | ... |
| ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.sys; | ... | @@ -2,16 +2,16 @@ package com.fedex.connect.common.dao.sys; |
| 2 | 2 | ||
| 3 | import com.fedex.connect.common.model.sys.Role; | 3 | import com.fedex.connect.common.model.sys.Role; |
| 4 | import com.fedex.connect.common.model.sys.RoleExample; | 4 | import com.fedex.connect.common.model.sys.RoleExample; |
| 5 | -import java.math.BigDecimal; | ||
| 6 | -import java.util.List; | ||
| 7 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 8 | 6 | ||
| 7 | +import java.util.List; | ||
| 8 | + | ||
| 9 | public interface RoleMapper { | 9 | public interface RoleMapper { |
| 10 | long countByExample(RoleExample example); | 10 | long countByExample(RoleExample example); |
| 11 | 11 | ||
| 12 | int deleteByExample(RoleExample example); | 12 | int deleteByExample(RoleExample example); |
| 13 | 13 | ||
| 14 | - int deleteByPrimaryKey(BigDecimal id); | 14 | + int deleteByPrimaryKey(Long id); |
| 15 | 15 | ||
| 16 | int insert(Role record); | 16 | int insert(Role record); |
| 17 | 17 | ||
| ... | @@ -19,7 +19,7 @@ public interface RoleMapper { | ... | @@ -19,7 +19,7 @@ public interface RoleMapper { |
| 19 | 19 | ||
| 20 | List<Role> selectByExample(RoleExample example); | 20 | List<Role> selectByExample(RoleExample example); |
| 21 | 21 | ||
| 22 | - Role selectByPrimaryKey(BigDecimal id); | 22 | + Role selectByPrimaryKey(Long id); |
| 23 | 23 | ||
| 24 | int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example); | 24 | int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example); |
| 25 | 25 | ... | ... |
| ... | @@ -2,7 +2,6 @@ package com.fedex.connect.common.dao.sys; | ... | @@ -2,7 +2,6 @@ package com.fedex.connect.common.dao.sys; |
| 2 | 2 | ||
| 3 | import com.fedex.connect.common.model.sys.RolePrivilege; | 3 | import com.fedex.connect.common.model.sys.RolePrivilege; |
| 4 | import com.fedex.connect.common.model.sys.RolePrivilegeExample; | 4 | import com.fedex.connect.common.model.sys.RolePrivilegeExample; |
| 5 | -import java.math.BigDecimal; | ||
| 6 | import java.util.List; | 5 | import java.util.List; |
| 7 | import org.apache.ibatis.annotations.Param; | 6 | import org.apache.ibatis.annotations.Param; |
| 8 | 7 | ||
| ... | @@ -11,7 +10,7 @@ public interface RolePrivilegeMapper { | ... | @@ -11,7 +10,7 @@ public interface RolePrivilegeMapper { |
| 11 | 10 | ||
| 12 | int deleteByExample(RolePrivilegeExample example); | 11 | int deleteByExample(RolePrivilegeExample example); |
| 13 | 12 | ||
| 14 | - int deleteByPrimaryKey(BigDecimal id); | 13 | + int deleteByPrimaryKey(Long id); |
| 15 | 14 | ||
| 16 | int insert(RolePrivilege record); | 15 | int insert(RolePrivilege record); |
| 17 | 16 | ||
| ... | @@ -19,7 +18,7 @@ public interface RolePrivilegeMapper { | ... | @@ -19,7 +18,7 @@ public interface RolePrivilegeMapper { |
| 19 | 18 | ||
| 20 | List<RolePrivilege> selectByExample(RolePrivilegeExample example); | 19 | List<RolePrivilege> selectByExample(RolePrivilegeExample example); |
| 21 | 20 | ||
| 22 | - RolePrivilege selectByPrimaryKey(BigDecimal id); | 21 | + RolePrivilege selectByPrimaryKey(Long id); |
| 23 | 22 | ||
| 24 | int updateByExampleSelective(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example); | 23 | int updateByExampleSelective(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example); |
| 25 | 24 | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
| ... | @@ -318,13 +318,13 @@ | ... | @@ -318,13 +318,13 @@ |
| 318 | </if> | 318 | </if> |
| 319 | <include refid="OracleDialectSuffix" /> | 319 | <include refid="OracleDialectSuffix" /> |
| 320 | </select> | 320 | </select> |
| 321 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 321 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 322 | select | 322 | select |
| 323 | <include refid="Base_Column_List" /> | 323 | <include refid="Base_Column_List" /> |
| 324 | from T_SYS_PARAM_CONFIG | 324 | from T_SYS_PARAM_CONFIG |
| 325 | where ID = #{id,jdbcType=NUMERIC} | 325 | where ID = #{id,jdbcType=NUMERIC} |
| 326 | </select> | 326 | </select> |
| 327 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 327 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 328 | delete from T_SYS_PARAM_CONFIG | 328 | delete from T_SYS_PARAM_CONFIG |
| 329 | where ID = #{id,jdbcType=NUMERIC} | 329 | where ID = #{id,jdbcType=NUMERIC} |
| 330 | </delete> | 330 | </delete> |
| ... | @@ -335,7 +335,7 @@ | ... | @@ -335,7 +335,7 @@ |
| 335 | </if> | 335 | </if> |
| 336 | </delete> | 336 | </delete> |
| 337 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.ParamConfig"> | 337 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.ParamConfig"> |
| 338 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 338 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 339 | SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL | 339 | SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL |
| 340 | </selectKey> | 340 | </selectKey> |
| 341 | insert into T_SYS_PARAM_CONFIG (ID, CODE, NAME, | 341 | insert into T_SYS_PARAM_CONFIG (ID, CODE, NAME, |
| ... | @@ -350,7 +350,7 @@ | ... | @@ -350,7 +350,7 @@ |
| 350 | #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}) | 350 | #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}) |
| 351 | </insert> | 351 | </insert> |
| 352 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.ParamConfig"> | 352 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.ParamConfig"> |
| 353 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 353 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 354 | SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL | 354 | SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL |
| 355 | </selectKey> | 355 | </selectKey> |
| 356 | insert into T_SYS_PARAM_CONFIG | 356 | insert into T_SYS_PARAM_CONFIG | ... | ... |
| ... | @@ -98,13 +98,13 @@ | ... | @@ -98,13 +98,13 @@ |
| 98 | </if> | 98 | </if> |
| 99 | <include refid="OracleDialectSuffix" /> | 99 | <include refid="OracleDialectSuffix" /> |
| 100 | </select> | 100 | </select> |
| 101 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 101 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 102 | select | 102 | select |
| 103 | <include refid="Base_Column_List" /> | 103 | <include refid="Base_Column_List" /> |
| 104 | from T_SYS_PRIVILEGE | 104 | from T_SYS_PRIVILEGE |
| 105 | where ID = #{id,jdbcType=NUMERIC} | 105 | where ID = #{id,jdbcType=NUMERIC} |
| 106 | </select> | 106 | </select> |
| 107 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 107 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 108 | delete from T_SYS_PRIVILEGE | 108 | delete from T_SYS_PRIVILEGE |
| 109 | where ID = #{id,jdbcType=NUMERIC} | 109 | where ID = #{id,jdbcType=NUMERIC} |
| 110 | </delete> | 110 | </delete> |
| ... | @@ -115,7 +115,7 @@ | ... | @@ -115,7 +115,7 @@ |
| 115 | </if> | 115 | </if> |
| 116 | </delete> | 116 | </delete> |
| 117 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Privilege"> | 117 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Privilege"> |
| 118 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 118 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 119 | SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL | 119 | SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL |
| 120 | </selectKey> | 120 | </selectKey> |
| 121 | insert into T_SYS_PRIVILEGE (ID, CODE, NAME, | 121 | insert into T_SYS_PRIVILEGE (ID, CODE, NAME, |
| ... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
| 132 | #{modifyUserName,jdbcType=VARCHAR}) | 132 | #{modifyUserName,jdbcType=VARCHAR}) |
| 133 | </insert> | 133 | </insert> |
| 134 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Privilege"> | 134 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Privilege"> |
| 135 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 135 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 136 | SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL | 136 | SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL |
| 137 | </selectKey> | 137 | </selectKey> |
| 138 | insert into T_SYS_PRIVILEGE | 138 | insert into T_SYS_PRIVILEGE | ... | ... |
| ... | @@ -95,13 +95,13 @@ | ... | @@ -95,13 +95,13 @@ |
| 95 | </if> | 95 | </if> |
| 96 | <include refid="OracleDialectSuffix" /> | 96 | <include refid="OracleDialectSuffix" /> |
| 97 | </select> | 97 | </select> |
| 98 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 98 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 99 | select | 99 | select |
| 100 | <include refid="Base_Column_List" /> | 100 | <include refid="Base_Column_List" /> |
| 101 | from T_SYS_ROLE | 101 | from T_SYS_ROLE |
| 102 | where ID = #{id,jdbcType=NUMERIC} | 102 | where ID = #{id,jdbcType=NUMERIC} |
| 103 | </select> | 103 | </select> |
| 104 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 104 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 105 | delete from T_SYS_ROLE | 105 | delete from T_SYS_ROLE |
| 106 | where ID = #{id,jdbcType=NUMERIC} | 106 | where ID = #{id,jdbcType=NUMERIC} |
| 107 | </delete> | 107 | </delete> |
| ... | @@ -112,7 +112,7 @@ | ... | @@ -112,7 +112,7 @@ |
| 112 | </if> | 112 | </if> |
| 113 | </delete> | 113 | </delete> |
| 114 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Role"> | 114 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Role"> |
| 115 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 115 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 116 | SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL | 116 | SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL |
| 117 | </selectKey> | 117 | </selectKey> |
| 118 | insert into T_SYS_ROLE (ID, CODE, NAME, | 118 | insert into T_SYS_ROLE (ID, CODE, NAME, |
| ... | @@ -127,7 +127,7 @@ | ... | @@ -127,7 +127,7 @@ |
| 127 | #{modifyUserName,jdbcType=VARCHAR}) | 127 | #{modifyUserName,jdbcType=VARCHAR}) |
| 128 | </insert> | 128 | </insert> |
| 129 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Role"> | 129 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Role"> |
| 130 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 130 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 131 | SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL | 131 | SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL |
| 132 | </selectKey> | 132 | </selectKey> |
| 133 | insert into T_SYS_ROLE | 133 | insert into T_SYS_ROLE | ... | ... |
| ... | @@ -92,13 +92,13 @@ | ... | @@ -92,13 +92,13 @@ |
| 92 | </if> | 92 | </if> |
| 93 | <include refid="OracleDialectSuffix" /> | 93 | <include refid="OracleDialectSuffix" /> |
| 94 | </select> | 94 | </select> |
| 95 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 95 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 96 | select | 96 | select |
| 97 | <include refid="Base_Column_List" /> | 97 | <include refid="Base_Column_List" /> |
| 98 | from T_SYS_ROLE_PRIVILEGE | 98 | from T_SYS_ROLE_PRIVILEGE |
| 99 | where ID = #{id,jdbcType=NUMERIC} | 99 | where ID = #{id,jdbcType=NUMERIC} |
| 100 | </select> | 100 | </select> |
| 101 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 101 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 102 | delete from T_SYS_ROLE_PRIVILEGE | 102 | delete from T_SYS_ROLE_PRIVILEGE |
| 103 | where ID = #{id,jdbcType=NUMERIC} | 103 | where ID = #{id,jdbcType=NUMERIC} |
| 104 | </delete> | 104 | </delete> |
| ... | @@ -109,7 +109,7 @@ | ... | @@ -109,7 +109,7 @@ |
| 109 | </if> | 109 | </if> |
| 110 | </delete> | 110 | </delete> |
| 111 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.RolePrivilege"> | 111 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.RolePrivilege"> |
| 112 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 112 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 113 | SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL | 113 | SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL |
| 114 | </selectKey> | 114 | </selectKey> |
| 115 | insert into T_SYS_ROLE_PRIVILEGE (ID, ROLE_ID, PRIV_ID, | 115 | insert into T_SYS_ROLE_PRIVILEGE (ID, ROLE_ID, PRIV_ID, |
| ... | @@ -122,7 +122,7 @@ | ... | @@ -122,7 +122,7 @@ |
| 122 | #{modifyUserName,jdbcType=VARCHAR}) | 122 | #{modifyUserName,jdbcType=VARCHAR}) |
| 123 | </insert> | 123 | </insert> |
| 124 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.RolePrivilege"> | 124 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.RolePrivilege"> |
| 125 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 125 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 126 | SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL | 126 | SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL |
| 127 | </selectKey> | 127 | </selectKey> |
| 128 | insert into T_SYS_ROLE_PRIVILEGE | 128 | insert into T_SYS_ROLE_PRIVILEGE | ... | ... |
| ... | @@ -516,13 +516,13 @@ | ... | @@ -516,13 +516,13 @@ |
| 516 | </if> | 516 | </if> |
| 517 | <include refid="OracleDialectSuffix" /> | 517 | <include refid="OracleDialectSuffix" /> |
| 518 | </select> | 518 | </select> |
| 519 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 519 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 520 | select | 520 | select |
| 521 | <include refid="Base_Column_List" /> | 521 | <include refid="Base_Column_List" /> |
| 522 | from T_SYS_USER | 522 | from T_SYS_USER |
| 523 | where ID = #{id,jdbcType=NUMERIC} | 523 | where ID = #{id,jdbcType=NUMERIC} |
| 524 | </select> | 524 | </select> |
| 525 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 525 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 526 | delete from T_SYS_USER | 526 | delete from T_SYS_USER |
| 527 | where ID = #{id,jdbcType=NUMERIC} | 527 | where ID = #{id,jdbcType=NUMERIC} |
| 528 | </delete> | 528 | </delete> |
| ... | @@ -533,7 +533,7 @@ | ... | @@ -533,7 +533,7 @@ |
| 533 | </if> | 533 | </if> |
| 534 | </delete> | 534 | </delete> |
| 535 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.User"> | 535 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.User"> |
| 536 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 536 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 537 | SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL | 537 | SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL |
| 538 | </selectKey> | 538 | </selectKey> |
| 539 | insert into T_SYS_USER (ID, LOGIN_NAME, USER_NAME, | 539 | insert into T_SYS_USER (ID, LOGIN_NAME, USER_NAME, |
| ... | @@ -554,7 +554,7 @@ | ... | @@ -554,7 +554,7 @@ |
| 554 | ) | 554 | ) |
| 555 | </insert> | 555 | </insert> |
| 556 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.User"> | 556 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.User"> |
| 557 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 557 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 558 | SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL | 558 | SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL |
| 559 | </selectKey> | 559 | </selectKey> |
| 560 | insert into T_SYS_USER | 560 | insert into T_SYS_USER | ... | ... |
| ... | @@ -361,13 +361,13 @@ | ... | @@ -361,13 +361,13 @@ |
| 361 | </if> | 361 | </if> |
| 362 | <include refid="OracleDialectSuffix" /> | 362 | <include refid="OracleDialectSuffix" /> |
| 363 | </select> | 363 | </select> |
| 364 | - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 364 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| 365 | select | 365 | select |
| 366 | <include refid="Base_Column_List" /> | 366 | <include refid="Base_Column_List" /> |
| 367 | from T_SYS_USER_ROLE | 367 | from T_SYS_USER_ROLE |
| 368 | where ID = #{id,jdbcType=NUMERIC} | 368 | where ID = #{id,jdbcType=NUMERIC} |
| 369 | </select> | 369 | </select> |
| 370 | - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | 370 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| 371 | delete from T_SYS_USER_ROLE | 371 | delete from T_SYS_USER_ROLE |
| 372 | where ID = #{id,jdbcType=NUMERIC} | 372 | where ID = #{id,jdbcType=NUMERIC} |
| 373 | </delete> | 373 | </delete> |
| ... | @@ -378,7 +378,7 @@ | ... | @@ -378,7 +378,7 @@ |
| 378 | </if> | 378 | </if> |
| 379 | </delete> | 379 | </delete> |
| 380 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.UserRole"> | 380 | <insert id="insert" parameterType="com.fedex.connect.common.model.sys.UserRole"> |
| 381 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 381 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 382 | SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL | 382 | SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL |
| 383 | </selectKey> | 383 | </selectKey> |
| 384 | insert into T_SYS_USER_ROLE (ID, USER_ID, ROLE_ID, | 384 | insert into T_SYS_USER_ROLE (ID, USER_ID, ROLE_ID, |
| ... | @@ -391,7 +391,7 @@ | ... | @@ -391,7 +391,7 @@ |
| 391 | #{modifyUserName,jdbcType=VARCHAR}) | 391 | #{modifyUserName,jdbcType=VARCHAR}) |
| 392 | </insert> | 392 | </insert> |
| 393 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.UserRole"> | 393 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.UserRole"> |
| 394 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 394 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 395 | SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL | 395 | SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL |
| 396 | </selectKey> | 396 | </selectKey> |
| 397 | insert into T_SYS_USER_ROLE | 397 | insert into T_SYS_USER_ROLE | ... | ... |
| 1 | package com.fedex.connect.common.model.base; | 1 | package com.fedex.connect.common.model.base; |
| 2 | 2 | ||
| 3 | import java.io.Serializable; | 3 | import java.io.Serializable; |
| 4 | -import java.math.BigDecimal; | ||
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | 5 | ||
| 7 | /** | 6 | /** |
| ... | @@ -12,7 +11,7 @@ public class Dictionary implements Serializable { | ... | @@ -12,7 +11,7 @@ public class Dictionary implements Serializable { |
| 12 | /** | 11 | /** |
| 13 | * ID,主键自增 | 12 | * ID,主键自增 |
| 14 | */ | 13 | */ |
| 15 | - private BigDecimal id; | 14 | + private Long id; |
| 16 | 15 | ||
| 17 | /** | 16 | /** |
| 18 | * 字典编号 | 17 | * 字典编号 |
| ... | @@ -32,7 +31,7 @@ public class Dictionary implements Serializable { | ... | @@ -32,7 +31,7 @@ public class Dictionary implements Serializable { |
| 32 | /** | 31 | /** |
| 33 | * 状态(0:无效、1:有效) | 32 | * 状态(0:无效、1:有效) |
| 34 | */ | 33 | */ |
| 35 | - private BigDecimal status; | 34 | + private Long status; |
| 36 | 35 | ||
| 37 | /** | 36 | /** |
| 38 | * 上级字典ID | 37 | * 上级字典ID |
| ... | @@ -65,9 +64,9 @@ public class Dictionary implements Serializable { | ... | @@ -65,9 +64,9 @@ public class Dictionary implements Serializable { |
| 65 | private Date createTime; | 64 | private Date createTime; |
| 66 | 65 | ||
| 67 | /** | 66 | /** |
| 68 | - * 创建人ID | 67 | + * 创建人ID,关联用户表ID |
| 69 | */ | 68 | */ |
| 70 | - private BigDecimal createUserId; | 69 | + private Long createUserId; |
| 71 | 70 | ||
| 72 | /** | 71 | /** |
| 73 | * 创建人名称 | 72 | * 创建人名称 |
| ... | @@ -80,9 +79,9 @@ public class Dictionary implements Serializable { | ... | @@ -80,9 +79,9 @@ public class Dictionary implements Serializable { |
| 80 | private Date modifyTime; | 79 | private Date modifyTime; |
| 81 | 80 | ||
| 82 | /** | 81 | /** |
| 83 | - * 修改人ID | 82 | + * 修改人ID,关联用户表ID |
| 84 | */ | 83 | */ |
| 85 | - private BigDecimal modifyUserId; | 84 | + private Long modifyUserId; |
| 86 | 85 | ||
| 87 | /** | 86 | /** |
| 88 | * 修改人名称 | 87 | * 修改人名称 |
| ... | @@ -91,11 +90,11 @@ public class Dictionary implements Serializable { | ... | @@ -91,11 +90,11 @@ public class Dictionary implements Serializable { |
| 91 | 90 | ||
| 92 | private static final long serialVersionUID = 1L; | 91 | private static final long serialVersionUID = 1L; |
| 93 | 92 | ||
| 94 | - public BigDecimal getId() { | 93 | + public Long getId() { |
| 95 | return id; | 94 | return id; |
| 96 | } | 95 | } |
| 97 | 96 | ||
| 98 | - public void setId(BigDecimal id) { | 97 | + public void setId(Long id) { |
| 99 | this.id = id; | 98 | this.id = id; |
| 100 | } | 99 | } |
| 101 | 100 | ||
| ... | @@ -123,11 +122,11 @@ public class Dictionary implements Serializable { | ... | @@ -123,11 +122,11 @@ public class Dictionary implements Serializable { |
| 123 | this.description = description == null ? null : description.trim(); | 122 | this.description = description == null ? null : description.trim(); |
| 124 | } | 123 | } |
| 125 | 124 | ||
| 126 | - public BigDecimal getStatus() { | 125 | + public Long getStatus() { |
| 127 | return status; | 126 | return status; |
| 128 | } | 127 | } |
| 129 | 128 | ||
| 130 | - public void setStatus(BigDecimal status) { | 129 | + public void setStatus(Long status) { |
| 131 | this.status = status; | 130 | this.status = status; |
| 132 | } | 131 | } |
| 133 | 132 | ||
| ... | @@ -179,11 +178,11 @@ public class Dictionary implements Serializable { | ... | @@ -179,11 +178,11 @@ public class Dictionary implements Serializable { |
| 179 | this.createTime = createTime; | 178 | this.createTime = createTime; |
| 180 | } | 179 | } |
| 181 | 180 | ||
| 182 | - public BigDecimal getCreateUserId() { | 181 | + public Long getCreateUserId() { |
| 183 | return createUserId; | 182 | return createUserId; |
| 184 | } | 183 | } |
| 185 | 184 | ||
| 186 | - public void setCreateUserId(BigDecimal createUserId) { | 185 | + public void setCreateUserId(Long createUserId) { |
| 187 | this.createUserId = createUserId; | 186 | this.createUserId = createUserId; |
| 188 | } | 187 | } |
| 189 | 188 | ||
| ... | @@ -203,11 +202,11 @@ public class Dictionary implements Serializable { | ... | @@ -203,11 +202,11 @@ public class Dictionary implements Serializable { |
| 203 | this.modifyTime = modifyTime; | 202 | this.modifyTime = modifyTime; |
| 204 | } | 203 | } |
| 205 | 204 | ||
| 206 | - public BigDecimal getModifyUserId() { | 205 | + public Long getModifyUserId() { |
| 207 | return modifyUserId; | 206 | return modifyUserId; |
| 208 | } | 207 | } |
| 209 | 208 | ||
| 210 | - public void setModifyUserId(BigDecimal modifyUserId) { | 209 | + public void setModifyUserId(Long modifyUserId) { |
| 211 | this.modifyUserId = modifyUserId; | 210 | this.modifyUserId = modifyUserId; |
| 212 | } | 211 | } |
| 213 | 212 | ... | ... |
| 1 | package com.fedex.connect.common.model.base; | 1 | package com.fedex.connect.common.model.base; |
| 2 | 2 | ||
| 3 | import java.io.Serializable; | 3 | import java.io.Serializable; |
| 4 | -import java.math.BigDecimal; | ||
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | 5 | ||
| 7 | /** | 6 | /** |
| ... | @@ -12,7 +11,7 @@ public class DictionaryEntries implements Serializable { | ... | @@ -12,7 +11,7 @@ public class DictionaryEntries implements Serializable { |
| 12 | /** | 11 | /** |
| 13 | * ID,主键自增 | 12 | * ID,主键自增 |
| 14 | */ | 13 | */ |
| 15 | - private BigDecimal id; | 14 | + private Long id; |
| 16 | 15 | ||
| 17 | /** | 16 | /** |
| 18 | * 字典编号 | 17 | * 字典编号 |
| ... | @@ -32,17 +31,17 @@ public class DictionaryEntries implements Serializable { | ... | @@ -32,17 +31,17 @@ public class DictionaryEntries implements Serializable { |
| 32 | /** | 31 | /** |
| 33 | * 状态(0:无效、1:有效) | 32 | * 状态(0:无效、1:有效) |
| 34 | */ | 33 | */ |
| 35 | - private BigDecimal status; | 34 | + private Long status; |
| 36 | 35 | ||
| 37 | /** | 36 | /** |
| 38 | * 上级字典ID | 37 | * 上级字典ID |
| 39 | */ | 38 | */ |
| 40 | - private BigDecimal parentId; | 39 | + private Long parentId; |
| 41 | 40 | ||
| 42 | /** | 41 | /** |
| 43 | * 字典目录ID | 42 | * 字典目录ID |
| 44 | */ | 43 | */ |
| 45 | - private BigDecimal dictId; | 44 | + private Long dictId; |
| 46 | 45 | ||
| 47 | /** | 46 | /** |
| 48 | * 字典目录CODE | 47 | * 字典目录CODE |
| ... | @@ -52,7 +51,7 @@ public class DictionaryEntries implements Serializable { | ... | @@ -52,7 +51,7 @@ public class DictionaryEntries implements Serializable { |
| 52 | /** | 51 | /** |
| 53 | * 字典排序字段 | 52 | * 字典排序字段 |
| 54 | */ | 53 | */ |
| 55 | - private BigDecimal ordinal; | 54 | + private Long ordinal; |
| 56 | 55 | ||
| 57 | /** | 56 | /** |
| 58 | * 扩展字段1,字符串 | 57 | * 扩展字段1,字符串 |
| ... | @@ -80,9 +79,9 @@ public class DictionaryEntries implements Serializable { | ... | @@ -80,9 +79,9 @@ public class DictionaryEntries implements Serializable { |
| 80 | private Date createTime; | 79 | private Date createTime; |
| 81 | 80 | ||
| 82 | /** | 81 | /** |
| 83 | - * 创建人ID | 82 | + * 创建人ID,关联用户表ID |
| 84 | */ | 83 | */ |
| 85 | - private BigDecimal createUserId; | 84 | + private Long createUserId; |
| 86 | 85 | ||
| 87 | /** | 86 | /** |
| 88 | * 创建人名称 | 87 | * 创建人名称 |
| ... | @@ -95,9 +94,9 @@ public class DictionaryEntries implements Serializable { | ... | @@ -95,9 +94,9 @@ public class DictionaryEntries implements Serializable { |
| 95 | private Date modifyTime; | 94 | private Date modifyTime; |
| 96 | 95 | ||
| 97 | /** | 96 | /** |
| 98 | - * 修改人ID | 97 | + * 修改人ID,关联用户表ID |
| 99 | */ | 98 | */ |
| 100 | - private BigDecimal modifyUserId; | 99 | + private Long modifyUserId; |
| 101 | 100 | ||
| 102 | /** | 101 | /** |
| 103 | * 修改人名称 | 102 | * 修改人名称 |
| ... | @@ -106,11 +105,11 @@ public class DictionaryEntries implements Serializable { | ... | @@ -106,11 +105,11 @@ public class DictionaryEntries implements Serializable { |
| 106 | 105 | ||
| 107 | private static final long serialVersionUID = 1L; | 106 | private static final long serialVersionUID = 1L; |
| 108 | 107 | ||
| 109 | - public BigDecimal getId() { | 108 | + public Long getId() { |
| 110 | return id; | 109 | return id; |
| 111 | } | 110 | } |
| 112 | 111 | ||
| 113 | - public void setId(BigDecimal id) { | 112 | + public void setId(Long id) { |
| 114 | this.id = id; | 113 | this.id = id; |
| 115 | } | 114 | } |
| 116 | 115 | ||
| ... | @@ -138,27 +137,27 @@ public class DictionaryEntries implements Serializable { | ... | @@ -138,27 +137,27 @@ public class DictionaryEntries implements Serializable { |
| 138 | this.description = description == null ? null : description.trim(); | 137 | this.description = description == null ? null : description.trim(); |
| 139 | } | 138 | } |
| 140 | 139 | ||
| 141 | - public BigDecimal getStatus() { | 140 | + public Long getStatus() { |
| 142 | return status; | 141 | return status; |
| 143 | } | 142 | } |
| 144 | 143 | ||
| 145 | - public void setStatus(BigDecimal status) { | 144 | + public void setStatus(Long status) { |
| 146 | this.status = status; | 145 | this.status = status; |
| 147 | } | 146 | } |
| 148 | 147 | ||
| 149 | - public BigDecimal getParentId() { | 148 | + public Long getParentId() { |
| 150 | return parentId; | 149 | return parentId; |
| 151 | } | 150 | } |
| 152 | 151 | ||
| 153 | - public void setParentId(BigDecimal parentId) { | 152 | + public void setParentId(Long parentId) { |
| 154 | this.parentId = parentId; | 153 | this.parentId = parentId; |
| 155 | } | 154 | } |
| 156 | 155 | ||
| 157 | - public BigDecimal getDictId() { | 156 | + public Long getDictId() { |
| 158 | return dictId; | 157 | return dictId; |
| 159 | } | 158 | } |
| 160 | 159 | ||
| 161 | - public void setDictId(BigDecimal dictId) { | 160 | + public void setDictId(Long dictId) { |
| 162 | this.dictId = dictId; | 161 | this.dictId = dictId; |
| 163 | } | 162 | } |
| 164 | 163 | ||
| ... | @@ -170,11 +169,11 @@ public class DictionaryEntries implements Serializable { | ... | @@ -170,11 +169,11 @@ public class DictionaryEntries implements Serializable { |
| 170 | this.dictCode = dictCode == null ? null : dictCode.trim(); | 169 | this.dictCode = dictCode == null ? null : dictCode.trim(); |
| 171 | } | 170 | } |
| 172 | 171 | ||
| 173 | - public BigDecimal getOrdinal() { | 172 | + public Long getOrdinal() { |
| 174 | return ordinal; | 173 | return ordinal; |
| 175 | } | 174 | } |
| 176 | 175 | ||
| 177 | - public void setOrdinal(BigDecimal ordinal) { | 176 | + public void setOrdinal(Long ordinal) { |
| 178 | this.ordinal = ordinal; | 177 | this.ordinal = ordinal; |
| 179 | } | 178 | } |
| 180 | 179 | ||
| ... | @@ -218,11 +217,11 @@ public class DictionaryEntries implements Serializable { | ... | @@ -218,11 +217,11 @@ public class DictionaryEntries implements Serializable { |
| 218 | this.createTime = createTime; | 217 | this.createTime = createTime; |
| 219 | } | 218 | } |
| 220 | 219 | ||
| 221 | - public BigDecimal getCreateUserId() { | 220 | + public Long getCreateUserId() { |
| 222 | return createUserId; | 221 | return createUserId; |
| 223 | } | 222 | } |
| 224 | 223 | ||
| 225 | - public void setCreateUserId(BigDecimal createUserId) { | 224 | + public void setCreateUserId(Long createUserId) { |
| 226 | this.createUserId = createUserId; | 225 | this.createUserId = createUserId; |
| 227 | } | 226 | } |
| 228 | 227 | ||
| ... | @@ -242,11 +241,11 @@ public class DictionaryEntries implements Serializable { | ... | @@ -242,11 +241,11 @@ public class DictionaryEntries implements Serializable { |
| 242 | this.modifyTime = modifyTime; | 241 | this.modifyTime = modifyTime; |
| 243 | } | 242 | } |
| 244 | 243 | ||
| 245 | - public BigDecimal getModifyUserId() { | 244 | + public Long getModifyUserId() { |
| 246 | return modifyUserId; | 245 | return modifyUserId; |
| 247 | } | 246 | } |
| 248 | 247 | ||
| 249 | - public void setModifyUserId(BigDecimal modifyUserId) { | 248 | + public void setModifyUserId(Long modifyUserId) { |
| 250 | this.modifyUserId = modifyUserId; | 249 | this.modifyUserId = modifyUserId; |
| 251 | } | 250 | } |
| 252 | 251 | ... | ... |
This diff is collapsed. Click to expand it.
| 1 | package com.fedex.connect.common.model.base; | 1 | package com.fedex.connect.common.model.base; |
| 2 | 2 | ||
| 3 | -import java.math.BigDecimal; | ||
| 4 | import java.util.ArrayList; | 3 | import java.util.ArrayList; |
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | import java.util.List; | 5 | import java.util.List; |
| ... | @@ -136,52 +135,52 @@ public class DictionaryExample { | ... | @@ -136,52 +135,52 @@ public class DictionaryExample { |
| 136 | return (Criteria) this; | 135 | return (Criteria) this; |
| 137 | } | 136 | } |
| 138 | 137 | ||
| 139 | - public Criteria andIdEqualTo(BigDecimal value) { | 138 | + public Criteria andIdEqualTo(Long value) { |
| 140 | addCriterion("ID =", value, "id"); | 139 | addCriterion("ID =", value, "id"); |
| 141 | return (Criteria) this; | 140 | return (Criteria) this; |
| 142 | } | 141 | } |
| 143 | 142 | ||
| 144 | - public Criteria andIdNotEqualTo(BigDecimal value) { | 143 | + public Criteria andIdNotEqualTo(Long value) { |
| 145 | addCriterion("ID <>", value, "id"); | 144 | addCriterion("ID <>", value, "id"); |
| 146 | return (Criteria) this; | 145 | return (Criteria) this; |
| 147 | } | 146 | } |
| 148 | 147 | ||
| 149 | - public Criteria andIdGreaterThan(BigDecimal value) { | 148 | + public Criteria andIdGreaterThan(Long value) { |
| 150 | addCriterion("ID >", value, "id"); | 149 | addCriterion("ID >", value, "id"); |
| 151 | return (Criteria) this; | 150 | return (Criteria) this; |
| 152 | } | 151 | } |
| 153 | 152 | ||
| 154 | - public Criteria andIdGreaterThanOrEqualTo(BigDecimal value) { | 153 | + public Criteria andIdGreaterThanOrEqualTo(Long value) { |
| 155 | addCriterion("ID >=", value, "id"); | 154 | addCriterion("ID >=", value, "id"); |
| 156 | return (Criteria) this; | 155 | return (Criteria) this; |
| 157 | } | 156 | } |
| 158 | 157 | ||
| 159 | - public Criteria andIdLessThan(BigDecimal value) { | 158 | + public Criteria andIdLessThan(Long value) { |
| 160 | addCriterion("ID <", value, "id"); | 159 | addCriterion("ID <", value, "id"); |
| 161 | return (Criteria) this; | 160 | return (Criteria) this; |
| 162 | } | 161 | } |
| 163 | 162 | ||
| 164 | - public Criteria andIdLessThanOrEqualTo(BigDecimal value) { | 163 | + public Criteria andIdLessThanOrEqualTo(Long value) { |
| 165 | addCriterion("ID <=", value, "id"); | 164 | addCriterion("ID <=", value, "id"); |
| 166 | return (Criteria) this; | 165 | return (Criteria) this; |
| 167 | } | 166 | } |
| 168 | 167 | ||
| 169 | - public Criteria andIdIn(List<BigDecimal> values) { | 168 | + public Criteria andIdIn(List<Long> values) { |
| 170 | addCriterion("ID in", values, "id"); | 169 | addCriterion("ID in", values, "id"); |
| 171 | return (Criteria) this; | 170 | return (Criteria) this; |
| 172 | } | 171 | } |
| 173 | 172 | ||
| 174 | - public Criteria andIdNotIn(List<BigDecimal> values) { | 173 | + public Criteria andIdNotIn(List<Long> values) { |
| 175 | addCriterion("ID not in", values, "id"); | 174 | addCriterion("ID not in", values, "id"); |
| 176 | return (Criteria) this; | 175 | return (Criteria) this; |
| 177 | } | 176 | } |
| 178 | 177 | ||
| 179 | - public Criteria andIdBetween(BigDecimal value1, BigDecimal value2) { | 178 | + public Criteria andIdBetween(Long value1, Long value2) { |
| 180 | addCriterion("ID between", value1, value2, "id"); | 179 | addCriterion("ID between", value1, value2, "id"); |
| 181 | return (Criteria) this; | 180 | return (Criteria) this; |
| 182 | } | 181 | } |
| 183 | 182 | ||
| 184 | - public Criteria andIdNotBetween(BigDecimal value1, BigDecimal value2) { | 183 | + public Criteria andIdNotBetween(Long value1, Long value2) { |
| 185 | addCriterion("ID not between", value1, value2, "id"); | 184 | addCriterion("ID not between", value1, value2, "id"); |
| 186 | return (Criteria) this; | 185 | return (Criteria) this; |
| 187 | } | 186 | } |
| ... | @@ -406,52 +405,52 @@ public class DictionaryExample { | ... | @@ -406,52 +405,52 @@ public class DictionaryExample { |
| 406 | return (Criteria) this; | 405 | return (Criteria) this; |
| 407 | } | 406 | } |
| 408 | 407 | ||
| 409 | - public Criteria andStatusEqualTo(BigDecimal value) { | 408 | + public Criteria andStatusEqualTo(Long value) { |
| 410 | addCriterion("STATUS =", value, "status"); | 409 | addCriterion("STATUS =", value, "status"); |
| 411 | return (Criteria) this; | 410 | return (Criteria) this; |
| 412 | } | 411 | } |
| 413 | 412 | ||
| 414 | - public Criteria andStatusNotEqualTo(BigDecimal value) { | 413 | + public Criteria andStatusNotEqualTo(Long value) { |
| 415 | addCriterion("STATUS <>", value, "status"); | 414 | addCriterion("STATUS <>", value, "status"); |
| 416 | return (Criteria) this; | 415 | return (Criteria) this; |
| 417 | } | 416 | } |
| 418 | 417 | ||
| 419 | - public Criteria andStatusGreaterThan(BigDecimal value) { | 418 | + public Criteria andStatusGreaterThan(Long value) { |
| 420 | addCriterion("STATUS >", value, "status"); | 419 | addCriterion("STATUS >", value, "status"); |
| 421 | return (Criteria) this; | 420 | return (Criteria) this; |
| 422 | } | 421 | } |
| 423 | 422 | ||
| 424 | - public Criteria andStatusGreaterThanOrEqualTo(BigDecimal value) { | 423 | + public Criteria andStatusGreaterThanOrEqualTo(Long value) { |
| 425 | addCriterion("STATUS >=", value, "status"); | 424 | addCriterion("STATUS >=", value, "status"); |
| 426 | return (Criteria) this; | 425 | return (Criteria) this; |
| 427 | } | 426 | } |
| 428 | 427 | ||
| 429 | - public Criteria andStatusLessThan(BigDecimal value) { | 428 | + public Criteria andStatusLessThan(Long value) { |
| 430 | addCriterion("STATUS <", value, "status"); | 429 | addCriterion("STATUS <", value, "status"); |
| 431 | return (Criteria) this; | 430 | return (Criteria) this; |
| 432 | } | 431 | } |
| 433 | 432 | ||
| 434 | - public Criteria andStatusLessThanOrEqualTo(BigDecimal value) { | 433 | + public Criteria andStatusLessThanOrEqualTo(Long value) { |
| 435 | addCriterion("STATUS <=", value, "status"); | 434 | addCriterion("STATUS <=", value, "status"); |
| 436 | return (Criteria) this; | 435 | return (Criteria) this; |
| 437 | } | 436 | } |
| 438 | 437 | ||
| 439 | - public Criteria andStatusIn(List<BigDecimal> values) { | 438 | + public Criteria andStatusIn(List<Long> values) { |
| 440 | addCriterion("STATUS in", values, "status"); | 439 | addCriterion("STATUS in", values, "status"); |
| 441 | return (Criteria) this; | 440 | return (Criteria) this; |
| 442 | } | 441 | } |
| 443 | 442 | ||
| 444 | - public Criteria andStatusNotIn(List<BigDecimal> values) { | 443 | + public Criteria andStatusNotIn(List<Long> values) { |
| 445 | addCriterion("STATUS not in", values, "status"); | 444 | addCriterion("STATUS not in", values, "status"); |
| 446 | return (Criteria) this; | 445 | return (Criteria) this; |
| 447 | } | 446 | } |
| 448 | 447 | ||
| 449 | - public Criteria andStatusBetween(BigDecimal value1, BigDecimal value2) { | 448 | + public Criteria andStatusBetween(Long value1, Long value2) { |
| 450 | addCriterion("STATUS between", value1, value2, "status"); | 449 | addCriterion("STATUS between", value1, value2, "status"); |
| 451 | return (Criteria) this; | 450 | return (Criteria) this; |
| 452 | } | 451 | } |
| 453 | 452 | ||
| 454 | - public Criteria andStatusNotBetween(BigDecimal value1, BigDecimal value2) { | 453 | + public Criteria andStatusNotBetween(Long value1, Long value2) { |
| 455 | addCriterion("STATUS not between", value1, value2, "status"); | 454 | addCriterion("STATUS not between", value1, value2, "status"); |
| 456 | return (Criteria) this; | 455 | return (Criteria) this; |
| 457 | } | 456 | } |
| ... | @@ -856,52 +855,52 @@ public class DictionaryExample { | ... | @@ -856,52 +855,52 @@ public class DictionaryExample { |
| 856 | return (Criteria) this; | 855 | return (Criteria) this; |
| 857 | } | 856 | } |
| 858 | 857 | ||
| 859 | - public Criteria andCreateUserIdEqualTo(BigDecimal value) { | 858 | + public Criteria andCreateUserIdEqualTo(Long value) { |
| 860 | addCriterion("CREATE_USER_ID =", value, "createUserId"); | 859 | addCriterion("CREATE_USER_ID =", value, "createUserId"); |
| 861 | return (Criteria) this; | 860 | return (Criteria) this; |
| 862 | } | 861 | } |
| 863 | 862 | ||
| 864 | - public Criteria andCreateUserIdNotEqualTo(BigDecimal value) { | 863 | + public Criteria andCreateUserIdNotEqualTo(Long value) { |
| 865 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); | 864 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); |
| 866 | return (Criteria) this; | 865 | return (Criteria) this; |
| 867 | } | 866 | } |
| 868 | 867 | ||
| 869 | - public Criteria andCreateUserIdGreaterThan(BigDecimal value) { | 868 | + public Criteria andCreateUserIdGreaterThan(Long value) { |
| 870 | addCriterion("CREATE_USER_ID >", value, "createUserId"); | 869 | addCriterion("CREATE_USER_ID >", value, "createUserId"); |
| 871 | return (Criteria) this; | 870 | return (Criteria) this; |
| 872 | } | 871 | } |
| 873 | 872 | ||
| 874 | - public Criteria andCreateUserIdGreaterThanOrEqualTo(BigDecimal value) { | 873 | + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) { |
| 875 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); | 874 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); |
| 876 | return (Criteria) this; | 875 | return (Criteria) this; |
| 877 | } | 876 | } |
| 878 | 877 | ||
| 879 | - public Criteria andCreateUserIdLessThan(BigDecimal value) { | 878 | + public Criteria andCreateUserIdLessThan(Long value) { |
| 880 | addCriterion("CREATE_USER_ID <", value, "createUserId"); | 879 | addCriterion("CREATE_USER_ID <", value, "createUserId"); |
| 881 | return (Criteria) this; | 880 | return (Criteria) this; |
| 882 | } | 881 | } |
| 883 | 882 | ||
| 884 | - public Criteria andCreateUserIdLessThanOrEqualTo(BigDecimal value) { | 883 | + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) { |
| 885 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); | 884 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); |
| 886 | return (Criteria) this; | 885 | return (Criteria) this; |
| 887 | } | 886 | } |
| 888 | 887 | ||
| 889 | - public Criteria andCreateUserIdIn(List<BigDecimal> values) { | 888 | + public Criteria andCreateUserIdIn(List<Long> values) { |
| 890 | addCriterion("CREATE_USER_ID in", values, "createUserId"); | 889 | addCriterion("CREATE_USER_ID in", values, "createUserId"); |
| 891 | return (Criteria) this; | 890 | return (Criteria) this; |
| 892 | } | 891 | } |
| 893 | 892 | ||
| 894 | - public Criteria andCreateUserIdNotIn(List<BigDecimal> values) { | 893 | + public Criteria andCreateUserIdNotIn(List<Long> values) { |
| 895 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); | 894 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); |
| 896 | return (Criteria) this; | 895 | return (Criteria) this; |
| 897 | } | 896 | } |
| 898 | 897 | ||
| 899 | - public Criteria andCreateUserIdBetween(BigDecimal value1, BigDecimal value2) { | 898 | + public Criteria andCreateUserIdBetween(Long value1, Long value2) { |
| 900 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); | 899 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); |
| 901 | return (Criteria) this; | 900 | return (Criteria) this; |
| 902 | } | 901 | } |
| 903 | 902 | ||
| 904 | - public Criteria andCreateUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 903 | + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) { |
| 905 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); | 904 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); |
| 906 | return (Criteria) this; | 905 | return (Criteria) this; |
| 907 | } | 906 | } |
| ... | @@ -1046,52 +1045,52 @@ public class DictionaryExample { | ... | @@ -1046,52 +1045,52 @@ public class DictionaryExample { |
| 1046 | return (Criteria) this; | 1045 | return (Criteria) this; |
| 1047 | } | 1046 | } |
| 1048 | 1047 | ||
| 1049 | - public Criteria andModifyUserIdEqualTo(BigDecimal value) { | 1048 | + public Criteria andModifyUserIdEqualTo(Long value) { |
| 1050 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); | 1049 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); |
| 1051 | return (Criteria) this; | 1050 | return (Criteria) this; |
| 1052 | } | 1051 | } |
| 1053 | 1052 | ||
| 1054 | - public Criteria andModifyUserIdNotEqualTo(BigDecimal value) { | 1053 | + public Criteria andModifyUserIdNotEqualTo(Long value) { |
| 1055 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); | 1054 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); |
| 1056 | return (Criteria) this; | 1055 | return (Criteria) this; |
| 1057 | } | 1056 | } |
| 1058 | 1057 | ||
| 1059 | - public Criteria andModifyUserIdGreaterThan(BigDecimal value) { | 1058 | + public Criteria andModifyUserIdGreaterThan(Long value) { |
| 1060 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); | 1059 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); |
| 1061 | return (Criteria) this; | 1060 | return (Criteria) this; |
| 1062 | } | 1061 | } |
| 1063 | 1062 | ||
| 1064 | - public Criteria andModifyUserIdGreaterThanOrEqualTo(BigDecimal value) { | 1063 | + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) { |
| 1065 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); | 1064 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); |
| 1066 | return (Criteria) this; | 1065 | return (Criteria) this; |
| 1067 | } | 1066 | } |
| 1068 | 1067 | ||
| 1069 | - public Criteria andModifyUserIdLessThan(BigDecimal value) { | 1068 | + public Criteria andModifyUserIdLessThan(Long value) { |
| 1070 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); | 1069 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); |
| 1071 | return (Criteria) this; | 1070 | return (Criteria) this; |
| 1072 | } | 1071 | } |
| 1073 | 1072 | ||
| 1074 | - public Criteria andModifyUserIdLessThanOrEqualTo(BigDecimal value) { | 1073 | + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) { |
| 1075 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); | 1074 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); |
| 1076 | return (Criteria) this; | 1075 | return (Criteria) this; |
| 1077 | } | 1076 | } |
| 1078 | 1077 | ||
| 1079 | - public Criteria andModifyUserIdIn(List<BigDecimal> values) { | 1078 | + public Criteria andModifyUserIdIn(List<Long> values) { |
| 1080 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); | 1079 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); |
| 1081 | return (Criteria) this; | 1080 | return (Criteria) this; |
| 1082 | } | 1081 | } |
| 1083 | 1082 | ||
| 1084 | - public Criteria andModifyUserIdNotIn(List<BigDecimal> values) { | 1083 | + public Criteria andModifyUserIdNotIn(List<Long> values) { |
| 1085 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); | 1084 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); |
| 1086 | return (Criteria) this; | 1085 | return (Criteria) this; |
| 1087 | } | 1086 | } |
| 1088 | 1087 | ||
| 1089 | - public Criteria andModifyUserIdBetween(BigDecimal value1, BigDecimal value2) { | 1088 | + public Criteria andModifyUserIdBetween(Long value1, Long value2) { |
| 1090 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); | 1089 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); |
| 1091 | return (Criteria) this; | 1090 | return (Criteria) this; |
| 1092 | } | 1091 | } |
| 1093 | 1092 | ||
| 1094 | - public Criteria andModifyUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 1093 | + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) { |
| 1095 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); | 1094 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); |
| 1096 | return (Criteria) this; | 1095 | return (Criteria) this; |
| 1097 | } | 1096 | } | ... | ... |
| 1 | package com.fedex.connect.common.model.sys; | 1 | package com.fedex.connect.common.model.sys; |
| 2 | 2 | ||
| 3 | import java.io.Serializable; | 3 | import java.io.Serializable; |
| 4 | -import java.math.BigDecimal; | ||
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | 5 | ||
| 7 | /** | 6 | /** |
| ... | @@ -12,7 +11,7 @@ public class Privilege implements Serializable { | ... | @@ -12,7 +11,7 @@ public class Privilege implements Serializable { |
| 12 | /** | 11 | /** |
| 13 | * ID,主键自增 | 12 | * ID,主键自增 |
| 14 | */ | 13 | */ |
| 15 | - private BigDecimal id; | 14 | + private Long id; |
| 16 | 15 | ||
| 17 | /** | 16 | /** |
| 18 | * 菜单编号 | 17 | * 菜单编号 |
| ... | @@ -27,7 +26,7 @@ public class Privilege implements Serializable { | ... | @@ -27,7 +26,7 @@ public class Privilege implements Serializable { |
| 27 | /** | 26 | /** |
| 28 | * 菜单级别(0,1,2)0为最顶级菜单 | 27 | * 菜单级别(0,1,2)0为最顶级菜单 |
| 29 | */ | 28 | */ |
| 30 | - private BigDecimal rank; | 29 | + private Long rank; |
| 31 | 30 | ||
| 32 | /** | 31 | /** |
| 33 | * 父级id | 32 | * 父级id |
| ... | @@ -68,9 +67,9 @@ C:BRANCH 分支 | ... | @@ -68,9 +67,9 @@ C:BRANCH 分支 |
| 68 | private Date createTime; | 67 | private Date createTime; |
| 69 | 68 | ||
| 70 | /** | 69 | /** |
| 71 | - * 创建人ID | 70 | + * 创建人ID,关联用户表ID |
| 72 | */ | 71 | */ |
| 73 | - private BigDecimal createUserId; | 72 | + private Long createUserId; |
| 74 | 73 | ||
| 75 | /** | 74 | /** |
| 76 | * 创建人名称 | 75 | * 创建人名称 |
| ... | @@ -83,9 +82,9 @@ C:BRANCH 分支 | ... | @@ -83,9 +82,9 @@ C:BRANCH 分支 |
| 83 | private Date modifyTime; | 82 | private Date modifyTime; |
| 84 | 83 | ||
| 85 | /** | 84 | /** |
| 86 | - * 修改人ID | 85 | + * 修改人ID,关联用户表ID |
| 87 | */ | 86 | */ |
| 88 | - private BigDecimal modifyUserId; | 87 | + private Long modifyUserId; |
| 89 | 88 | ||
| 90 | /** | 89 | /** |
| 91 | * 修改人名称 | 90 | * 修改人名称 |
| ... | @@ -94,11 +93,11 @@ C:BRANCH 分支 | ... | @@ -94,11 +93,11 @@ C:BRANCH 分支 |
| 94 | 93 | ||
| 95 | private static final long serialVersionUID = 1L; | 94 | private static final long serialVersionUID = 1L; |
| 96 | 95 | ||
| 97 | - public BigDecimal getId() { | 96 | + public Long getId() { |
| 98 | return id; | 97 | return id; |
| 99 | } | 98 | } |
| 100 | 99 | ||
| 101 | - public void setId(BigDecimal id) { | 100 | + public void setId(Long id) { |
| 102 | this.id = id; | 101 | this.id = id; |
| 103 | } | 102 | } |
| 104 | 103 | ||
| ... | @@ -118,11 +117,11 @@ C:BRANCH 分支 | ... | @@ -118,11 +117,11 @@ C:BRANCH 分支 |
| 118 | this.name = name == null ? null : name.trim(); | 117 | this.name = name == null ? null : name.trim(); |
| 119 | } | 118 | } |
| 120 | 119 | ||
| 121 | - public BigDecimal getRank() { | 120 | + public Long getRank() { |
| 122 | return rank; | 121 | return rank; |
| 123 | } | 122 | } |
| 124 | 123 | ||
| 125 | - public void setRank(BigDecimal rank) { | 124 | + public void setRank(Long rank) { |
| 126 | this.rank = rank; | 125 | this.rank = rank; |
| 127 | } | 126 | } |
| 128 | 127 | ||
| ... | @@ -182,11 +181,11 @@ C:BRANCH 分支 | ... | @@ -182,11 +181,11 @@ C:BRANCH 分支 |
| 182 | this.createTime = createTime; | 181 | this.createTime = createTime; |
| 183 | } | 182 | } |
| 184 | 183 | ||
| 185 | - public BigDecimal getCreateUserId() { | 184 | + public Long getCreateUserId() { |
| 186 | return createUserId; | 185 | return createUserId; |
| 187 | } | 186 | } |
| 188 | 187 | ||
| 189 | - public void setCreateUserId(BigDecimal createUserId) { | 188 | + public void setCreateUserId(Long createUserId) { |
| 190 | this.createUserId = createUserId; | 189 | this.createUserId = createUserId; |
| 191 | } | 190 | } |
| 192 | 191 | ||
| ... | @@ -206,11 +205,11 @@ C:BRANCH 分支 | ... | @@ -206,11 +205,11 @@ C:BRANCH 分支 |
| 206 | this.modifyTime = modifyTime; | 205 | this.modifyTime = modifyTime; |
| 207 | } | 206 | } |
| 208 | 207 | ||
| 209 | - public BigDecimal getModifyUserId() { | 208 | + public Long getModifyUserId() { |
| 210 | return modifyUserId; | 209 | return modifyUserId; |
| 211 | } | 210 | } |
| 212 | 211 | ||
| 213 | - public void setModifyUserId(BigDecimal modifyUserId) { | 212 | + public void setModifyUserId(Long modifyUserId) { |
| 214 | this.modifyUserId = modifyUserId; | 213 | this.modifyUserId = modifyUserId; |
| 215 | } | 214 | } |
| 216 | 215 | ... | ... |
| 1 | package com.fedex.connect.common.model.sys; | 1 | package com.fedex.connect.common.model.sys; |
| 2 | 2 | ||
| 3 | -import java.math.BigDecimal; | ||
| 4 | import java.util.ArrayList; | 3 | import java.util.ArrayList; |
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | import java.util.List; | 5 | import java.util.List; |
| ... | @@ -136,52 +135,52 @@ public class PrivilegeExample { | ... | @@ -136,52 +135,52 @@ public class PrivilegeExample { |
| 136 | return (Criteria) this; | 135 | return (Criteria) this; |
| 137 | } | 136 | } |
| 138 | 137 | ||
| 139 | - public Criteria andIdEqualTo(BigDecimal value) { | 138 | + public Criteria andIdEqualTo(Long value) { |
| 140 | addCriterion("ID =", value, "id"); | 139 | addCriterion("ID =", value, "id"); |
| 141 | return (Criteria) this; | 140 | return (Criteria) this; |
| 142 | } | 141 | } |
| 143 | 142 | ||
| 144 | - public Criteria andIdNotEqualTo(BigDecimal value) { | 143 | + public Criteria andIdNotEqualTo(Long value) { |
| 145 | addCriterion("ID <>", value, "id"); | 144 | addCriterion("ID <>", value, "id"); |
| 146 | return (Criteria) this; | 145 | return (Criteria) this; |
| 147 | } | 146 | } |
| 148 | 147 | ||
| 149 | - public Criteria andIdGreaterThan(BigDecimal value) { | 148 | + public Criteria andIdGreaterThan(Long value) { |
| 150 | addCriterion("ID >", value, "id"); | 149 | addCriterion("ID >", value, "id"); |
| 151 | return (Criteria) this; | 150 | return (Criteria) this; |
| 152 | } | 151 | } |
| 153 | 152 | ||
| 154 | - public Criteria andIdGreaterThanOrEqualTo(BigDecimal value) { | 153 | + public Criteria andIdGreaterThanOrEqualTo(Long value) { |
| 155 | addCriterion("ID >=", value, "id"); | 154 | addCriterion("ID >=", value, "id"); |
| 156 | return (Criteria) this; | 155 | return (Criteria) this; |
| 157 | } | 156 | } |
| 158 | 157 | ||
| 159 | - public Criteria andIdLessThan(BigDecimal value) { | 158 | + public Criteria andIdLessThan(Long value) { |
| 160 | addCriterion("ID <", value, "id"); | 159 | addCriterion("ID <", value, "id"); |
| 161 | return (Criteria) this; | 160 | return (Criteria) this; |
| 162 | } | 161 | } |
| 163 | 162 | ||
| 164 | - public Criteria andIdLessThanOrEqualTo(BigDecimal value) { | 163 | + public Criteria andIdLessThanOrEqualTo(Long value) { |
| 165 | addCriterion("ID <=", value, "id"); | 164 | addCriterion("ID <=", value, "id"); |
| 166 | return (Criteria) this; | 165 | return (Criteria) this; |
| 167 | } | 166 | } |
| 168 | 167 | ||
| 169 | - public Criteria andIdIn(List<BigDecimal> values) { | 168 | + public Criteria andIdIn(List<Long> values) { |
| 170 | addCriterion("ID in", values, "id"); | 169 | addCriterion("ID in", values, "id"); |
| 171 | return (Criteria) this; | 170 | return (Criteria) this; |
| 172 | } | 171 | } |
| 173 | 172 | ||
| 174 | - public Criteria andIdNotIn(List<BigDecimal> values) { | 173 | + public Criteria andIdNotIn(List<Long> values) { |
| 175 | addCriterion("ID not in", values, "id"); | 174 | addCriterion("ID not in", values, "id"); |
| 176 | return (Criteria) this; | 175 | return (Criteria) this; |
| 177 | } | 176 | } |
| 178 | 177 | ||
| 179 | - public Criteria andIdBetween(BigDecimal value1, BigDecimal value2) { | 178 | + public Criteria andIdBetween(Long value1, Long value2) { |
| 180 | addCriterion("ID between", value1, value2, "id"); | 179 | addCriterion("ID between", value1, value2, "id"); |
| 181 | return (Criteria) this; | 180 | return (Criteria) this; |
| 182 | } | 181 | } |
| 183 | 182 | ||
| 184 | - public Criteria andIdNotBetween(BigDecimal value1, BigDecimal value2) { | 183 | + public Criteria andIdNotBetween(Long value1, Long value2) { |
| 185 | addCriterion("ID not between", value1, value2, "id"); | 184 | addCriterion("ID not between", value1, value2, "id"); |
| 186 | return (Criteria) this; | 185 | return (Criteria) this; |
| 187 | } | 186 | } |
| ... | @@ -336,52 +335,52 @@ public class PrivilegeExample { | ... | @@ -336,52 +335,52 @@ public class PrivilegeExample { |
| 336 | return (Criteria) this; | 335 | return (Criteria) this; |
| 337 | } | 336 | } |
| 338 | 337 | ||
| 339 | - public Criteria andRankEqualTo(BigDecimal value) { | 338 | + public Criteria andRankEqualTo(Long value) { |
| 340 | addCriterion("RANK =", value, "rank"); | 339 | addCriterion("RANK =", value, "rank"); |
| 341 | return (Criteria) this; | 340 | return (Criteria) this; |
| 342 | } | 341 | } |
| 343 | 342 | ||
| 344 | - public Criteria andRankNotEqualTo(BigDecimal value) { | 343 | + public Criteria andRankNotEqualTo(Long value) { |
| 345 | addCriterion("RANK <>", value, "rank"); | 344 | addCriterion("RANK <>", value, "rank"); |
| 346 | return (Criteria) this; | 345 | return (Criteria) this; |
| 347 | } | 346 | } |
| 348 | 347 | ||
| 349 | - public Criteria andRankGreaterThan(BigDecimal value) { | 348 | + public Criteria andRankGreaterThan(Long value) { |
| 350 | addCriterion("RANK >", value, "rank"); | 349 | addCriterion("RANK >", value, "rank"); |
| 351 | return (Criteria) this; | 350 | return (Criteria) this; |
| 352 | } | 351 | } |
| 353 | 352 | ||
| 354 | - public Criteria andRankGreaterThanOrEqualTo(BigDecimal value) { | 353 | + public Criteria andRankGreaterThanOrEqualTo(Long value) { |
| 355 | addCriterion("RANK >=", value, "rank"); | 354 | addCriterion("RANK >=", value, "rank"); |
| 356 | return (Criteria) this; | 355 | return (Criteria) this; |
| 357 | } | 356 | } |
| 358 | 357 | ||
| 359 | - public Criteria andRankLessThan(BigDecimal value) { | 358 | + public Criteria andRankLessThan(Long value) { |
| 360 | addCriterion("RANK <", value, "rank"); | 359 | addCriterion("RANK <", value, "rank"); |
| 361 | return (Criteria) this; | 360 | return (Criteria) this; |
| 362 | } | 361 | } |
| 363 | 362 | ||
| 364 | - public Criteria andRankLessThanOrEqualTo(BigDecimal value) { | 363 | + public Criteria andRankLessThanOrEqualTo(Long value) { |
| 365 | addCriterion("RANK <=", value, "rank"); | 364 | addCriterion("RANK <=", value, "rank"); |
| 366 | return (Criteria) this; | 365 | return (Criteria) this; |
| 367 | } | 366 | } |
| 368 | 367 | ||
| 369 | - public Criteria andRankIn(List<BigDecimal> values) { | 368 | + public Criteria andRankIn(List<Long> values) { |
| 370 | addCriterion("RANK in", values, "rank"); | 369 | addCriterion("RANK in", values, "rank"); |
| 371 | return (Criteria) this; | 370 | return (Criteria) this; |
| 372 | } | 371 | } |
| 373 | 372 | ||
| 374 | - public Criteria andRankNotIn(List<BigDecimal> values) { | 373 | + public Criteria andRankNotIn(List<Long> values) { |
| 375 | addCriterion("RANK not in", values, "rank"); | 374 | addCriterion("RANK not in", values, "rank"); |
| 376 | return (Criteria) this; | 375 | return (Criteria) this; |
| 377 | } | 376 | } |
| 378 | 377 | ||
| 379 | - public Criteria andRankBetween(BigDecimal value1, BigDecimal value2) { | 378 | + public Criteria andRankBetween(Long value1, Long value2) { |
| 380 | addCriterion("RANK between", value1, value2, "rank"); | 379 | addCriterion("RANK between", value1, value2, "rank"); |
| 381 | return (Criteria) this; | 380 | return (Criteria) this; |
| 382 | } | 381 | } |
| 383 | 382 | ||
| 384 | - public Criteria andRankNotBetween(BigDecimal value1, BigDecimal value2) { | 383 | + public Criteria andRankNotBetween(Long value1, Long value2) { |
| 385 | addCriterion("RANK not between", value1, value2, "rank"); | 384 | addCriterion("RANK not between", value1, value2, "rank"); |
| 386 | return (Criteria) this; | 385 | return (Criteria) this; |
| 387 | } | 386 | } |
| ... | @@ -846,52 +845,52 @@ public class PrivilegeExample { | ... | @@ -846,52 +845,52 @@ public class PrivilegeExample { |
| 846 | return (Criteria) this; | 845 | return (Criteria) this; |
| 847 | } | 846 | } |
| 848 | 847 | ||
| 849 | - public Criteria andCreateUserIdEqualTo(BigDecimal value) { | 848 | + public Criteria andCreateUserIdEqualTo(Long value) { |
| 850 | addCriterion("CREATE_USER_ID =", value, "createUserId"); | 849 | addCriterion("CREATE_USER_ID =", value, "createUserId"); |
| 851 | return (Criteria) this; | 850 | return (Criteria) this; |
| 852 | } | 851 | } |
| 853 | 852 | ||
| 854 | - public Criteria andCreateUserIdNotEqualTo(BigDecimal value) { | 853 | + public Criteria andCreateUserIdNotEqualTo(Long value) { |
| 855 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); | 854 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); |
| 856 | return (Criteria) this; | 855 | return (Criteria) this; |
| 857 | } | 856 | } |
| 858 | 857 | ||
| 859 | - public Criteria andCreateUserIdGreaterThan(BigDecimal value) { | 858 | + public Criteria andCreateUserIdGreaterThan(Long value) { |
| 860 | addCriterion("CREATE_USER_ID >", value, "createUserId"); | 859 | addCriterion("CREATE_USER_ID >", value, "createUserId"); |
| 861 | return (Criteria) this; | 860 | return (Criteria) this; |
| 862 | } | 861 | } |
| 863 | 862 | ||
| 864 | - public Criteria andCreateUserIdGreaterThanOrEqualTo(BigDecimal value) { | 863 | + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) { |
| 865 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); | 864 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); |
| 866 | return (Criteria) this; | 865 | return (Criteria) this; |
| 867 | } | 866 | } |
| 868 | 867 | ||
| 869 | - public Criteria andCreateUserIdLessThan(BigDecimal value) { | 868 | + public Criteria andCreateUserIdLessThan(Long value) { |
| 870 | addCriterion("CREATE_USER_ID <", value, "createUserId"); | 869 | addCriterion("CREATE_USER_ID <", value, "createUserId"); |
| 871 | return (Criteria) this; | 870 | return (Criteria) this; |
| 872 | } | 871 | } |
| 873 | 872 | ||
| 874 | - public Criteria andCreateUserIdLessThanOrEqualTo(BigDecimal value) { | 873 | + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) { |
| 875 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); | 874 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); |
| 876 | return (Criteria) this; | 875 | return (Criteria) this; |
| 877 | } | 876 | } |
| 878 | 877 | ||
| 879 | - public Criteria andCreateUserIdIn(List<BigDecimal> values) { | 878 | + public Criteria andCreateUserIdIn(List<Long> values) { |
| 880 | addCriterion("CREATE_USER_ID in", values, "createUserId"); | 879 | addCriterion("CREATE_USER_ID in", values, "createUserId"); |
| 881 | return (Criteria) this; | 880 | return (Criteria) this; |
| 882 | } | 881 | } |
| 883 | 882 | ||
| 884 | - public Criteria andCreateUserIdNotIn(List<BigDecimal> values) { | 883 | + public Criteria andCreateUserIdNotIn(List<Long> values) { |
| 885 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); | 884 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); |
| 886 | return (Criteria) this; | 885 | return (Criteria) this; |
| 887 | } | 886 | } |
| 888 | 887 | ||
| 889 | - public Criteria andCreateUserIdBetween(BigDecimal value1, BigDecimal value2) { | 888 | + public Criteria andCreateUserIdBetween(Long value1, Long value2) { |
| 890 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); | 889 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); |
| 891 | return (Criteria) this; | 890 | return (Criteria) this; |
| 892 | } | 891 | } |
| 893 | 892 | ||
| 894 | - public Criteria andCreateUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 893 | + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) { |
| 895 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); | 894 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); |
| 896 | return (Criteria) this; | 895 | return (Criteria) this; |
| 897 | } | 896 | } |
| ... | @@ -1036,52 +1035,52 @@ public class PrivilegeExample { | ... | @@ -1036,52 +1035,52 @@ public class PrivilegeExample { |
| 1036 | return (Criteria) this; | 1035 | return (Criteria) this; |
| 1037 | } | 1036 | } |
| 1038 | 1037 | ||
| 1039 | - public Criteria andModifyUserIdEqualTo(BigDecimal value) { | 1038 | + public Criteria andModifyUserIdEqualTo(Long value) { |
| 1040 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); | 1039 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); |
| 1041 | return (Criteria) this; | 1040 | return (Criteria) this; |
| 1042 | } | 1041 | } |
| 1043 | 1042 | ||
| 1044 | - public Criteria andModifyUserIdNotEqualTo(BigDecimal value) { | 1043 | + public Criteria andModifyUserIdNotEqualTo(Long value) { |
| 1045 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); | 1044 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); |
| 1046 | return (Criteria) this; | 1045 | return (Criteria) this; |
| 1047 | } | 1046 | } |
| 1048 | 1047 | ||
| 1049 | - public Criteria andModifyUserIdGreaterThan(BigDecimal value) { | 1048 | + public Criteria andModifyUserIdGreaterThan(Long value) { |
| 1050 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); | 1049 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); |
| 1051 | return (Criteria) this; | 1050 | return (Criteria) this; |
| 1052 | } | 1051 | } |
| 1053 | 1052 | ||
| 1054 | - public Criteria andModifyUserIdGreaterThanOrEqualTo(BigDecimal value) { | 1053 | + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) { |
| 1055 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); | 1054 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); |
| 1056 | return (Criteria) this; | 1055 | return (Criteria) this; |
| 1057 | } | 1056 | } |
| 1058 | 1057 | ||
| 1059 | - public Criteria andModifyUserIdLessThan(BigDecimal value) { | 1058 | + public Criteria andModifyUserIdLessThan(Long value) { |
| 1060 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); | 1059 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); |
| 1061 | return (Criteria) this; | 1060 | return (Criteria) this; |
| 1062 | } | 1061 | } |
| 1063 | 1062 | ||
| 1064 | - public Criteria andModifyUserIdLessThanOrEqualTo(BigDecimal value) { | 1063 | + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) { |
| 1065 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); | 1064 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); |
| 1066 | return (Criteria) this; | 1065 | return (Criteria) this; |
| 1067 | } | 1066 | } |
| 1068 | 1067 | ||
| 1069 | - public Criteria andModifyUserIdIn(List<BigDecimal> values) { | 1068 | + public Criteria andModifyUserIdIn(List<Long> values) { |
| 1070 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); | 1069 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); |
| 1071 | return (Criteria) this; | 1070 | return (Criteria) this; |
| 1072 | } | 1071 | } |
| 1073 | 1072 | ||
| 1074 | - public Criteria andModifyUserIdNotIn(List<BigDecimal> values) { | 1073 | + public Criteria andModifyUserIdNotIn(List<Long> values) { |
| 1075 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); | 1074 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); |
| 1076 | return (Criteria) this; | 1075 | return (Criteria) this; |
| 1077 | } | 1076 | } |
| 1078 | 1077 | ||
| 1079 | - public Criteria andModifyUserIdBetween(BigDecimal value1, BigDecimal value2) { | 1078 | + public Criteria andModifyUserIdBetween(Long value1, Long value2) { |
| 1080 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); | 1079 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); |
| 1081 | return (Criteria) this; | 1080 | return (Criteria) this; |
| 1082 | } | 1081 | } |
| 1083 | 1082 | ||
| 1084 | - public Criteria andModifyUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 1083 | + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) { |
| 1085 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); | 1084 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); |
| 1086 | return (Criteria) this; | 1085 | return (Criteria) this; |
| 1087 | } | 1086 | } | ... | ... |
| 1 | package com.fedex.connect.common.model.sys; | 1 | package com.fedex.connect.common.model.sys; |
| 2 | 2 | ||
| 3 | import java.io.Serializable; | 3 | import java.io.Serializable; |
| 4 | -import java.math.BigDecimal; | ||
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | 5 | ||
| 7 | /** | 6 | /** |
| ... | @@ -12,7 +11,7 @@ public class Role implements Serializable { | ... | @@ -12,7 +11,7 @@ public class Role implements Serializable { |
| 12 | /** | 11 | /** |
| 13 | * ID,主键自增 | 12 | * ID,主键自增 |
| 14 | */ | 13 | */ |
| 15 | - private BigDecimal id; | 14 | + private Long id; |
| 16 | 15 | ||
| 17 | /** | 16 | /** |
| 18 | * 角色编号 | 17 | * 角色编号 |
| ... | @@ -33,7 +32,7 @@ public class Role implements Serializable { | ... | @@ -33,7 +32,7 @@ public class Role implements Serializable { |
| 33 | * 类型ID。 | 32 | * 类型ID。 |
| 34 | 关联数据字典表。指定KEY为:role_type | 33 | 关联数据字典表。指定KEY为:role_type |
| 35 | */ | 34 | */ |
| 36 | - private BigDecimal typeId; | 35 | + private Long typeId; |
| 37 | 36 | ||
| 38 | /** | 37 | /** |
| 39 | * 用户类型名称 | 38 | * 用户类型名称 |
| ... | @@ -43,7 +42,7 @@ public class Role implements Serializable { | ... | @@ -43,7 +42,7 @@ public class Role implements Serializable { |
| 43 | /** | 42 | /** |
| 44 | * 是否有效(1:有效[true]。0:无效[false]。) | 43 | * 是否有效(1:有效[true]。0:无效[false]。) |
| 45 | */ | 44 | */ |
| 46 | - private BigDecimal status; | 45 | + private Long status; |
| 47 | 46 | ||
| 48 | /** | 47 | /** |
| 49 | * 创建时间 | 48 | * 创建时间 |
| ... | @@ -51,9 +50,9 @@ public class Role implements Serializable { | ... | @@ -51,9 +50,9 @@ public class Role implements Serializable { |
| 51 | private Date createTime; | 50 | private Date createTime; |
| 52 | 51 | ||
| 53 | /** | 52 | /** |
| 54 | - * 创建人ID | 53 | + * 创建人ID,关联用户表ID |
| 55 | */ | 54 | */ |
| 56 | - private BigDecimal createUserId; | 55 | + private Long createUserId; |
| 57 | 56 | ||
| 58 | /** | 57 | /** |
| 59 | * 创建人名称 | 58 | * 创建人名称 |
| ... | @@ -66,9 +65,9 @@ public class Role implements Serializable { | ... | @@ -66,9 +65,9 @@ public class Role implements Serializable { |
| 66 | private Date modifyTime; | 65 | private Date modifyTime; |
| 67 | 66 | ||
| 68 | /** | 67 | /** |
| 69 | - * 修改人ID | 68 | + * 修改人ID,关联用户表ID |
| 70 | */ | 69 | */ |
| 71 | - private BigDecimal modifyUserId; | 70 | + private Long modifyUserId; |
| 72 | 71 | ||
| 73 | /** | 72 | /** |
| 74 | * 修改人名称 | 73 | * 修改人名称 |
| ... | @@ -77,11 +76,11 @@ public class Role implements Serializable { | ... | @@ -77,11 +76,11 @@ public class Role implements Serializable { |
| 77 | 76 | ||
| 78 | private static final long serialVersionUID = 1L; | 77 | private static final long serialVersionUID = 1L; |
| 79 | 78 | ||
| 80 | - public BigDecimal getId() { | 79 | + public Long getId() { |
| 81 | return id; | 80 | return id; |
| 82 | } | 81 | } |
| 83 | 82 | ||
| 84 | - public void setId(BigDecimal id) { | 83 | + public void setId(Long id) { |
| 85 | this.id = id; | 84 | this.id = id; |
| 86 | } | 85 | } |
| 87 | 86 | ||
| ... | @@ -109,11 +108,11 @@ public class Role implements Serializable { | ... | @@ -109,11 +108,11 @@ public class Role implements Serializable { |
| 109 | this.roleDesc = roleDesc == null ? null : roleDesc.trim(); | 108 | this.roleDesc = roleDesc == null ? null : roleDesc.trim(); |
| 110 | } | 109 | } |
| 111 | 110 | ||
| 112 | - public BigDecimal getTypeId() { | 111 | + public Long getTypeId() { |
| 113 | return typeId; | 112 | return typeId; |
| 114 | } | 113 | } |
| 115 | 114 | ||
| 116 | - public void setTypeId(BigDecimal typeId) { | 115 | + public void setTypeId(Long typeId) { |
| 117 | this.typeId = typeId; | 116 | this.typeId = typeId; |
| 118 | } | 117 | } |
| 119 | 118 | ||
| ... | @@ -125,11 +124,11 @@ public class Role implements Serializable { | ... | @@ -125,11 +124,11 @@ public class Role implements Serializable { |
| 125 | this.typeName = typeName == null ? null : typeName.trim(); | 124 | this.typeName = typeName == null ? null : typeName.trim(); |
| 126 | } | 125 | } |
| 127 | 126 | ||
| 128 | - public BigDecimal getStatus() { | 127 | + public Long getStatus() { |
| 129 | return status; | 128 | return status; |
| 130 | } | 129 | } |
| 131 | 130 | ||
| 132 | - public void setStatus(BigDecimal status) { | 131 | + public void setStatus(Long status) { |
| 133 | this.status = status; | 132 | this.status = status; |
| 134 | } | 133 | } |
| 135 | 134 | ||
| ... | @@ -141,11 +140,11 @@ public class Role implements Serializable { | ... | @@ -141,11 +140,11 @@ public class Role implements Serializable { |
| 141 | this.createTime = createTime; | 140 | this.createTime = createTime; |
| 142 | } | 141 | } |
| 143 | 142 | ||
| 144 | - public BigDecimal getCreateUserId() { | 143 | + public Long getCreateUserId() { |
| 145 | return createUserId; | 144 | return createUserId; |
| 146 | } | 145 | } |
| 147 | 146 | ||
| 148 | - public void setCreateUserId(BigDecimal createUserId) { | 147 | + public void setCreateUserId(Long createUserId) { |
| 149 | this.createUserId = createUserId; | 148 | this.createUserId = createUserId; |
| 150 | } | 149 | } |
| 151 | 150 | ||
| ... | @@ -165,11 +164,11 @@ public class Role implements Serializable { | ... | @@ -165,11 +164,11 @@ public class Role implements Serializable { |
| 165 | this.modifyTime = modifyTime; | 164 | this.modifyTime = modifyTime; |
| 166 | } | 165 | } |
| 167 | 166 | ||
| 168 | - public BigDecimal getModifyUserId() { | 167 | + public Long getModifyUserId() { |
| 169 | return modifyUserId; | 168 | return modifyUserId; |
| 170 | } | 169 | } |
| 171 | 170 | ||
| 172 | - public void setModifyUserId(BigDecimal modifyUserId) { | 171 | + public void setModifyUserId(Long modifyUserId) { |
| 173 | this.modifyUserId = modifyUserId; | 172 | this.modifyUserId = modifyUserId; |
| 174 | } | 173 | } |
| 175 | 174 | ... | ... |
This diff is collapsed. Click to expand it.
| 1 | package com.fedex.connect.common.model.sys; | 1 | package com.fedex.connect.common.model.sys; |
| 2 | 2 | ||
| 3 | import java.io.Serializable; | 3 | import java.io.Serializable; |
| 4 | -import java.math.BigDecimal; | ||
| 5 | import java.util.Date; | 4 | import java.util.Date; |
| 6 | 5 | ||
| 7 | /** | 6 | /** |
| ... | @@ -12,22 +11,22 @@ public class RolePrivilege implements Serializable { | ... | @@ -12,22 +11,22 @@ public class RolePrivilege implements Serializable { |
| 12 | /** | 11 | /** |
| 13 | * ID | 12 | * ID |
| 14 | */ | 13 | */ |
| 15 | - private BigDecimal id; | 14 | + private Long id; |
| 16 | 15 | ||
| 17 | /** | 16 | /** |
| 18 | * 角色ID | 17 | * 角色ID |
| 19 | */ | 18 | */ |
| 20 | - private BigDecimal roleId; | 19 | + private Long roleId; |
| 21 | 20 | ||
| 22 | /** | 21 | /** |
| 23 | * 权限ID | 22 | * 权限ID |
| 24 | */ | 23 | */ |
| 25 | - private BigDecimal privId; | 24 | + private Long privId; |
| 26 | 25 | ||
| 27 | /** | 26 | /** |
| 28 | * 是否有效(1:有效[true]。0:无效[false]。) | 27 | * 是否有效(1:有效[true]。0:无效[false]。) |
| 29 | */ | 28 | */ |
| 30 | - private BigDecimal status; | 29 | + private Long status; |
| 31 | 30 | ||
| 32 | /** | 31 | /** |
| 33 | * 创建时间 | 32 | * 创建时间 |
| ... | @@ -35,9 +34,9 @@ public class RolePrivilege implements Serializable { | ... | @@ -35,9 +34,9 @@ public class RolePrivilege implements Serializable { |
| 35 | private Date createTime; | 34 | private Date createTime; |
| 36 | 35 | ||
| 37 | /** | 36 | /** |
| 38 | - * 创建人ID | 37 | + * 创建人ID,关联用户表ID |
| 39 | */ | 38 | */ |
| 40 | - private BigDecimal createUserId; | 39 | + private Long createUserId; |
| 41 | 40 | ||
| 42 | /** | 41 | /** |
| 43 | * 创建人名称 | 42 | * 创建人名称 |
| ... | @@ -50,9 +49,9 @@ public class RolePrivilege implements Serializable { | ... | @@ -50,9 +49,9 @@ public class RolePrivilege implements Serializable { |
| 50 | private Date modifyTime; | 49 | private Date modifyTime; |
| 51 | 50 | ||
| 52 | /** | 51 | /** |
| 53 | - * 修改人ID | 52 | + * 修改人ID,关联用户表ID |
| 54 | */ | 53 | */ |
| 55 | - private BigDecimal modifyUserId; | 54 | + private Long modifyUserId; |
| 56 | 55 | ||
| 57 | /** | 56 | /** |
| 58 | * 修改人名称 | 57 | * 修改人名称 |
| ... | @@ -61,35 +60,35 @@ public class RolePrivilege implements Serializable { | ... | @@ -61,35 +60,35 @@ public class RolePrivilege implements Serializable { |
| 61 | 60 | ||
| 62 | private static final long serialVersionUID = 1L; | 61 | private static final long serialVersionUID = 1L; |
| 63 | 62 | ||
| 64 | - public BigDecimal getId() { | 63 | + public Long getId() { |
| 65 | return id; | 64 | return id; |
| 66 | } | 65 | } |
| 67 | 66 | ||
| 68 | - public void setId(BigDecimal id) { | 67 | + public void setId(Long id) { |
| 69 | this.id = id; | 68 | this.id = id; |
| 70 | } | 69 | } |
| 71 | 70 | ||
| 72 | - public BigDecimal getRoleId() { | 71 | + public Long getRoleId() { |
| 73 | return roleId; | 72 | return roleId; |
| 74 | } | 73 | } |
| 75 | 74 | ||
| 76 | - public void setRoleId(BigDecimal roleId) { | 75 | + public void setRoleId(Long roleId) { |
| 77 | this.roleId = roleId; | 76 | this.roleId = roleId; |
| 78 | } | 77 | } |
| 79 | 78 | ||
| 80 | - public BigDecimal getPrivId() { | 79 | + public Long getPrivId() { |
| 81 | return privId; | 80 | return privId; |
| 82 | } | 81 | } |
| 83 | 82 | ||
| 84 | - public void setPrivId(BigDecimal privId) { | 83 | + public void setPrivId(Long privId) { |
| 85 | this.privId = privId; | 84 | this.privId = privId; |
| 86 | } | 85 | } |
| 87 | 86 | ||
| 88 | - public BigDecimal getStatus() { | 87 | + public Long getStatus() { |
| 89 | return status; | 88 | return status; |
| 90 | } | 89 | } |
| 91 | 90 | ||
| 92 | - public void setStatus(BigDecimal status) { | 91 | + public void setStatus(Long status) { |
| 93 | this.status = status; | 92 | this.status = status; |
| 94 | } | 93 | } |
| 95 | 94 | ||
| ... | @@ -101,11 +100,11 @@ public class RolePrivilege implements Serializable { | ... | @@ -101,11 +100,11 @@ public class RolePrivilege implements Serializable { |
| 101 | this.createTime = createTime; | 100 | this.createTime = createTime; |
| 102 | } | 101 | } |
| 103 | 102 | ||
| 104 | - public BigDecimal getCreateUserId() { | 103 | + public Long getCreateUserId() { |
| 105 | return createUserId; | 104 | return createUserId; |
| 106 | } | 105 | } |
| 107 | 106 | ||
| 108 | - public void setCreateUserId(BigDecimal createUserId) { | 107 | + public void setCreateUserId(Long createUserId) { |
| 109 | this.createUserId = createUserId; | 108 | this.createUserId = createUserId; |
| 110 | } | 109 | } |
| 111 | 110 | ||
| ... | @@ -125,11 +124,11 @@ public class RolePrivilege implements Serializable { | ... | @@ -125,11 +124,11 @@ public class RolePrivilege implements Serializable { |
| 125 | this.modifyTime = modifyTime; | 124 | this.modifyTime = modifyTime; |
| 126 | } | 125 | } |
| 127 | 126 | ||
| 128 | - public BigDecimal getModifyUserId() { | 127 | + public Long getModifyUserId() { |
| 129 | return modifyUserId; | 128 | return modifyUserId; |
| 130 | } | 129 | } |
| 131 | 130 | ||
| 132 | - public void setModifyUserId(BigDecimal modifyUserId) { | 131 | + public void setModifyUserId(Long modifyUserId) { |
| 133 | this.modifyUserId = modifyUserId; | 132 | this.modifyUserId = modifyUserId; |
| 134 | } | 133 | } |
| 135 | 134 | ... | ... |
This diff is collapsed. Click to expand it.
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | sys:系统 系统相关表,例如kafka表 | 40 | sys:系统 系统相关表,例如kafka表 |
| 41 | log: 日志 日志记录表,例如邮件发送日志表 | 41 | log: 日志 日志记录表,例如邮件发送日志表 |
| 42 | --> | 42 | --> |
| 43 | - <javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java"> | 43 | + <javaModelGenerator targetPackage="com.fedex.connect.common.model.base" targetProject="src/main/java"> |
| 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> | 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> |
| 45 | <property name="enableSubPackages" value="false"/> | 45 | <property name="enableSubPackages" value="false"/> |
| 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> | 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> |
| ... | @@ -52,13 +52,13 @@ | ... | @@ -52,13 +52,13 @@ |
| 52 | </javaModelGenerator> | 52 | </javaModelGenerator> |
| 53 | 53 | ||
| 54 | <!-- 生成映射文件*.xml的位置--> | 54 | <!-- 生成映射文件*.xml的位置--> |
| 55 | - <sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common"> | 55 | + <sqlMapGenerator targetPackage="mapper.base" targetProject="src/main/java/com/fedex/connect/common"> |
| 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 57 | <property name="enableSubPackages" value="false"/> | 57 | <property name="enableSubPackages" value="false"/> |
| 58 | </sqlMapGenerator> | 58 | </sqlMapGenerator> |
| 59 | 59 | ||
| 60 | <!-- 生成DAO的包名和位置 --> | 60 | <!-- 生成DAO的包名和位置 --> |
| 61 | - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java"> | 61 | + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.base" targetProject="src/main/java"> |
| 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 63 | <property name="enableSubPackages" value="false"/> | 63 | <property name="enableSubPackages" value="false"/> |
| 64 | </javaClientGenerator> | 64 | </javaClientGenerator> |
| ... | @@ -73,68 +73,68 @@ | ... | @@ -73,68 +73,68 @@ |
| 73 | generatedKey 指定KEY,Oracle需要指定序列。 | 73 | generatedKey 指定KEY,Oracle需要指定序列。 |
| 74 | sqlStatement 指定序列名称 | 74 | sqlStatement 指定序列名称 |
| 75 | --> | 75 | --> |
| 76 | - <table tableName="T_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage" | 76 | +<!-- <table tableName="T_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"--> |
| 77 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 78 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 79 | - selectByExampleQueryId="true"> | ||
| 80 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" /> | ||
| 81 | - </table> | ||
| 82 | - <table tableName="T_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory" | ||
| 83 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 84 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 85 | - selectByExampleQueryId="true"> | ||
| 86 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" /> | ||
| 87 | - </table> | ||
| 88 | - <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig" | ||
| 89 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 90 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 91 | - selectByExampleQueryId="true"> | ||
| 92 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" /> | ||
| 93 | - </table> | ||
| 94 | - <table tableName="T_SYS_PRIVILEGE" domainObjectName="Privilege" | ||
| 95 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 96 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 97 | - selectByExampleQueryId="true"> | ||
| 98 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL" /> | ||
| 99 | - </table> | ||
| 100 | - <table tableName="T_SYS_ROLE" domainObjectName="Role" | ||
| 101 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 102 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 103 | - selectByExampleQueryId="true"> | ||
| 104 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL" /> | ||
| 105 | - </table> | ||
| 106 | - <table tableName="T_SYS_ROLE_PRIVILEGE" domainObjectName="RolePrivilege" | ||
| 107 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 108 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 109 | - selectByExampleQueryId="true"> | ||
| 110 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL" /> | ||
| 111 | - </table> | ||
| 112 | - <table tableName="T_SYS_USER" domainObjectName="User" | ||
| 113 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 114 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 115 | - selectByExampleQueryId="true"> | ||
| 116 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" /> | ||
| 117 | - </table> | ||
| 118 | - <table tableName="T_SYS_USER_ROLE" domainObjectName="UserRole" | ||
| 119 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 120 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 121 | - selectByExampleQueryId="true"> | ||
| 122 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" /> | ||
| 123 | - </table> | ||
| 124 | - | ||
| 125 | - | ||
| 126 | -<!-- <table tableName="T_BI_DICTIONARY_ENTRIES" domainObjectName="DictionaryEntries"--> | ||
| 127 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 77 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 128 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 78 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 129 | <!-- selectByExampleQueryId="true">--> | 79 | <!-- selectByExampleQueryId="true">--> |
| 130 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL" />--> | 80 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />--> |
| 131 | <!-- </table>--> | 81 | <!-- </table>--> |
| 132 | -<!-- <table tableName="T_BI_DICTIONARY" domainObjectName="Dictionary"--> | 82 | +<!-- <table tableName="T_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"--> |
| 133 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 83 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 134 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 84 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 135 | <!-- selectByExampleQueryId="true">--> | 85 | <!-- selectByExampleQueryId="true">--> |
| 136 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL" />--> | 86 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />--> |
| 137 | <!-- </table>--> | 87 | <!-- </table>--> |
| 88 | +<!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"--> | ||
| 89 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 90 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 91 | +<!-- selectByExampleQueryId="true">--> | ||
| 92 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" />--> | ||
| 93 | +<!-- </table>--> | ||
| 94 | +<!-- <table tableName="T_SYS_PRIVILEGE" domainObjectName="Privilege"--> | ||
| 95 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 96 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 97 | +<!-- selectByExampleQueryId="true">--> | ||
| 98 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL" />--> | ||
| 99 | +<!-- </table>--> | ||
| 100 | +<!-- <table tableName="T_SYS_ROLE" domainObjectName="Role"--> | ||
| 101 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 102 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 103 | +<!-- selectByExampleQueryId="true">--> | ||
| 104 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL" />--> | ||
| 105 | +<!-- </table>--> | ||
| 106 | +<!-- <table tableName="T_SYS_ROLE_PRIVILEGE" domainObjectName="RolePrivilege"--> | ||
| 107 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 108 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 109 | +<!-- selectByExampleQueryId="true">--> | ||
| 110 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL" />--> | ||
| 111 | +<!-- </table>--> | ||
| 112 | +<!-- <table tableName="T_SYS_USER" domainObjectName="User"--> | ||
| 113 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 114 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 115 | +<!-- selectByExampleQueryId="true">--> | ||
| 116 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" />--> | ||
| 117 | +<!-- </table>--> | ||
| 118 | +<!-- <table tableName="T_SYS_USER_ROLE" domainObjectName="UserRole"--> | ||
| 119 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 120 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 121 | +<!-- selectByExampleQueryId="true">--> | ||
| 122 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" />--> | ||
| 123 | +<!-- </table>--> | ||
| 124 | + | ||
| 125 | + | ||
| 126 | + <table tableName="T_BI_DICTIONARY_ENTRIES" domainObjectName="DictionaryEntries" | ||
| 127 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 128 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 129 | + selectByExampleQueryId="true"> | ||
| 130 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL" /> | ||
| 131 | + </table> | ||
| 132 | + <table tableName="T_BI_DICTIONARY" domainObjectName="Dictionary" | ||
| 133 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 134 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 135 | + selectByExampleQueryId="true"> | ||
| 136 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL" /> | ||
| 137 | + </table> | ||
| 138 | 138 | ||
| 139 | 139 | ||
| 140 | <!-- <table tableName="T_TASK_MANAGEMENT" domainObjectName="TaskManagement"--> | 140 | <!-- <table tableName="T_TASK_MANAGEMENT" domainObjectName="TaskManagement"--> | ... | ... |
-
Please register or login to post a comment