Showing
24 changed files
with
1284 additions
and
465 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 | ... | ... |
| ... | @@ -102,6 +102,450 @@ | ... | @@ -102,6 +102,450 @@ |
| 102 | </if> | 102 | </if> |
| 103 | <include refid="OracleDialectSuffix" /> | 103 | <include refid="OracleDialectSuffix" /> |
| 104 | </select> | 104 | </select> |
| 105 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> | ||
| 106 | + select | ||
| 107 | + <include refid="Base_Column_List" /> | ||
| 108 | + from T_BI_DICTIONARY_ENTRIES | ||
| 109 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 110 | + </select> | ||
| 111 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> | ||
| 112 | + delete from T_BI_DICTIONARY_ENTRIES | ||
| 113 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 114 | + </delete> | ||
| 115 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample"> | ||
| 116 | + delete from T_BI_DICTIONARY_ENTRIES | ||
| 117 | + <if test="_parameter != null"> | ||
| 118 | + <include refid="Example_Where_Clause" /> | ||
| 119 | + </if> | ||
| 120 | + </delete> | ||
| 121 | + <insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | ||
| 122 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 123 | + SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | ||
| 124 | + </selectKey> | ||
| 125 | + insert into T_BI_DICTIONARY_ENTRIES (ID, CODE, ENGLISH_NAME, | ||
| 126 | + DESCRIPTION, STATUS, PARENT_ID, | ||
| 127 | + DICT_ID, DICT_CODE, ORDINAL, | ||
| 128 | + EXT1, EXT2, EXT3, EXT4, | ||
| 129 | + CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, | ||
| 130 | + MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME | ||
| 131 | + ) | ||
| 132 | + values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR}, | ||
| 133 | + #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=NUMERIC}, | ||
| 134 | + #{dictId,jdbcType=NUMERIC}, #{dictCode,jdbcType=VARCHAR}, #{ordinal,jdbcType=NUMERIC}, | ||
| 135 | + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC}, | ||
| 136 | + #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, | ||
| 137 | + #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | ||
| 138 | + ) | ||
| 139 | + </insert> | ||
| 140 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | ||
| 141 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 142 | + SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | ||
| 143 | + </selectKey> | ||
| 144 | + insert into T_BI_DICTIONARY_ENTRIES | ||
| 145 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 146 | + ID, | ||
| 147 | + <if test="code != null"> | ||
| 148 | + CODE, | ||
| 149 | + </if> | ||
| 150 | + <if test="englishName != null"> | ||
| 151 | + ENGLISH_NAME, | ||
| 152 | + </if> | ||
| 153 | + <if test="description != null"> | ||
| 154 | + DESCRIPTION, | ||
| 155 | + </if> | ||
| 156 | + <if test="status != null"> | ||
| 157 | + STATUS, | ||
| 158 | + </if> | ||
| 159 | + <if test="parentId != null"> | ||
| 160 | + PARENT_ID, | ||
| 161 | + </if> | ||
| 162 | + <if test="dictId != null"> | ||
| 163 | + DICT_ID, | ||
| 164 | + </if> | ||
| 165 | + <if test="dictCode != null"> | ||
| 166 | + DICT_CODE, | ||
| 167 | + </if> | ||
| 168 | + <if test="ordinal != null"> | ||
| 169 | + ORDINAL, | ||
| 170 | + </if> | ||
| 171 | + <if test="ext1 != null"> | ||
| 172 | + EXT1, | ||
| 173 | + </if> | ||
| 174 | + <if test="ext2 != null"> | ||
| 175 | + EXT2, | ||
| 176 | + </if> | ||
| 177 | + <if test="ext3 != null"> | ||
| 178 | + EXT3, | ||
| 179 | + </if> | ||
| 180 | + <if test="ext4 != null"> | ||
| 181 | + EXT4, | ||
| 182 | + </if> | ||
| 183 | + <if test="createTime != null"> | ||
| 184 | + CREATE_TIME, | ||
| 185 | + </if> | ||
| 186 | + <if test="createUserId != null"> | ||
| 187 | + CREATE_USER_ID, | ||
| 188 | + </if> | ||
| 189 | + <if test="createUserName != null"> | ||
| 190 | + CREATE_USER_NAME, | ||
| 191 | + </if> | ||
| 192 | + <if test="modifyTime != null"> | ||
| 193 | + MODIFY_TIME, | ||
| 194 | + </if> | ||
| 195 | + <if test="modifyUserId != null"> | ||
| 196 | + MODIFY_USER_ID, | ||
| 197 | + </if> | ||
| 198 | + <if test="modifyUserName != null"> | ||
| 199 | + MODIFY_USER_NAME, | ||
| 200 | + </if> | ||
| 201 | + </trim> | ||
| 202 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 203 | + #{id,jdbcType=NUMERIC}, | ||
| 204 | + <if test="code != null"> | ||
| 205 | + #{code,jdbcType=VARCHAR}, | ||
| 206 | + </if> | ||
| 207 | + <if test="englishName != null"> | ||
| 208 | + #{englishName,jdbcType=VARCHAR}, | ||
| 209 | + </if> | ||
| 210 | + <if test="description != null"> | ||
| 211 | + #{description,jdbcType=VARCHAR}, | ||
| 212 | + </if> | ||
| 213 | + <if test="status != null"> | ||
| 214 | + #{status,jdbcType=NUMERIC}, | ||
| 215 | + </if> | ||
| 216 | + <if test="parentId != null"> | ||
| 217 | + #{parentId,jdbcType=NUMERIC}, | ||
| 218 | + </if> | ||
| 219 | + <if test="dictId != null"> | ||
| 220 | + #{dictId,jdbcType=NUMERIC}, | ||
| 221 | + </if> | ||
| 222 | + <if test="dictCode != null"> | ||
| 223 | + #{dictCode,jdbcType=VARCHAR}, | ||
| 224 | + </if> | ||
| 225 | + <if test="ordinal != null"> | ||
| 226 | + #{ordinal,jdbcType=NUMERIC}, | ||
| 227 | + </if> | ||
| 228 | + <if test="ext1 != null"> | ||
| 229 | + #{ext1,jdbcType=VARCHAR}, | ||
| 230 | + </if> | ||
| 231 | + <if test="ext2 != null"> | ||
| 232 | + #{ext2,jdbcType=VARCHAR}, | ||
| 233 | + </if> | ||
| 234 | + <if test="ext3 != null"> | ||
| 235 | + #{ext3,jdbcType=NUMERIC}, | ||
| 236 | + </if> | ||
| 237 | + <if test="ext4 != null"> | ||
| 238 | + #{ext4,jdbcType=NUMERIC}, | ||
| 239 | + </if> | ||
| 240 | + <if test="createTime != null"> | ||
| 241 | + #{createTime,jdbcType=TIMESTAMP}, | ||
| 242 | + </if> | ||
| 243 | + <if test="createUserId != null"> | ||
| 244 | + #{createUserId,jdbcType=NUMERIC}, | ||
| 245 | + </if> | ||
| 246 | + <if test="createUserName != null"> | ||
| 247 | + #{createUserName,jdbcType=VARCHAR}, | ||
| 248 | + </if> | ||
| 249 | + <if test="modifyTime != null"> | ||
| 250 | + #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 251 | + </if> | ||
| 252 | + <if test="modifyUserId != null"> | ||
| 253 | + #{modifyUserId,jdbcType=NUMERIC}, | ||
| 254 | + </if> | ||
| 255 | + <if test="modifyUserName != null"> | ||
| 256 | + #{modifyUserName,jdbcType=VARCHAR}, | ||
| 257 | + </if> | ||
| 258 | + </trim> | ||
| 259 | + </insert> | ||
| 260 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long"> | ||
| 261 | + select count(*) from T_BI_DICTIONARY_ENTRIES | ||
| 262 | + <if test="_parameter != null"> | ||
| 263 | + <include refid="Example_Where_Clause" /> | ||
| 264 | + </if> | ||
| 265 | + </select> | ||
| 266 | + <update id="updateByExampleSelective" parameterType="map"> | ||
| 267 | + update T_BI_DICTIONARY_ENTRIES | ||
| 268 | + <set> | ||
| 269 | + <if test="record.id != null"> | ||
| 270 | + ID = #{record.id,jdbcType=NUMERIC}, | ||
| 271 | + </if> | ||
| 272 | + <if test="record.code != null"> | ||
| 273 | + CODE = #{record.code,jdbcType=VARCHAR}, | ||
| 274 | + </if> | ||
| 275 | + <if test="record.englishName != null"> | ||
| 276 | + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR}, | ||
| 277 | + </if> | ||
| 278 | + <if test="record.description != null"> | ||
| 279 | + DESCRIPTION = #{record.description,jdbcType=VARCHAR}, | ||
| 280 | + </if> | ||
| 281 | + <if test="record.status != null"> | ||
| 282 | + STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 283 | + </if> | ||
| 284 | + <if test="record.parentId != null"> | ||
| 285 | + PARENT_ID = #{record.parentId,jdbcType=NUMERIC}, | ||
| 286 | + </if> | ||
| 287 | + <if test="record.dictId != null"> | ||
| 288 | + DICT_ID = #{record.dictId,jdbcType=NUMERIC}, | ||
| 289 | + </if> | ||
| 290 | + <if test="record.dictCode != null"> | ||
| 291 | + DICT_CODE = #{record.dictCode,jdbcType=VARCHAR}, | ||
| 292 | + </if> | ||
| 293 | + <if test="record.ordinal != null"> | ||
| 294 | + ORDINAL = #{record.ordinal,jdbcType=NUMERIC}, | ||
| 295 | + </if> | ||
| 296 | + <if test="record.ext1 != null"> | ||
| 297 | + EXT1 = #{record.ext1,jdbcType=VARCHAR}, | ||
| 298 | + </if> | ||
| 299 | + <if test="record.ext2 != null"> | ||
| 300 | + EXT2 = #{record.ext2,jdbcType=VARCHAR}, | ||
| 301 | + </if> | ||
| 302 | + <if test="record.ext3 != null"> | ||
| 303 | + EXT3 = #{record.ext3,jdbcType=NUMERIC}, | ||
| 304 | + </if> | ||
| 305 | + <if test="record.ext4 != null"> | ||
| 306 | + EXT4 = #{record.ext4,jdbcType=NUMERIC}, | ||
| 307 | + </if> | ||
| 308 | + <if test="record.createTime != null"> | ||
| 309 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 310 | + </if> | ||
| 311 | + <if test="record.createUserId != null"> | ||
| 312 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 313 | + </if> | ||
| 314 | + <if test="record.createUserName != null"> | ||
| 315 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 316 | + </if> | ||
| 317 | + <if test="record.modifyTime != null"> | ||
| 318 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 319 | + </if> | ||
| 320 | + <if test="record.modifyUserId != null"> | ||
| 321 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 322 | + </if> | ||
| 323 | + <if test="record.modifyUserName != null"> | ||
| 324 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, | ||
| 325 | + </if> | ||
| 326 | + </set> | ||
| 327 | + <if test="_parameter != null"> | ||
| 328 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 329 | + </if> | ||
| 330 | + </update> | ||
| 331 | + <update id="updateByExample" parameterType="map"> | ||
| 332 | + update T_BI_DICTIONARY_ENTRIES | ||
| 333 | + set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 334 | + CODE = #{record.code,jdbcType=VARCHAR}, | ||
| 335 | + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR}, | ||
| 336 | + DESCRIPTION = #{record.description,jdbcType=VARCHAR}, | ||
| 337 | + STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 338 | + PARENT_ID = #{record.parentId,jdbcType=NUMERIC}, | ||
| 339 | + DICT_ID = #{record.dictId,jdbcType=NUMERIC}, | ||
| 340 | + DICT_CODE = #{record.dictCode,jdbcType=VARCHAR}, | ||
| 341 | + ORDINAL = #{record.ordinal,jdbcType=NUMERIC}, | ||
| 342 | + EXT1 = #{record.ext1,jdbcType=VARCHAR}, | ||
| 343 | + EXT2 = #{record.ext2,jdbcType=VARCHAR}, | ||
| 344 | + EXT3 = #{record.ext3,jdbcType=NUMERIC}, | ||
| 345 | + EXT4 = #{record.ext4,jdbcType=NUMERIC}, | ||
| 346 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 347 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 348 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 349 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 350 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 351 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR} | ||
| 352 | + <if test="_parameter != null"> | ||
| 353 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 354 | + </if> | ||
| 355 | + </update> | ||
| 356 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | ||
| 357 | + update T_BI_DICTIONARY_ENTRIES | ||
| 358 | + <set> | ||
| 359 | + <if test="code != null"> | ||
| 360 | + CODE = #{code,jdbcType=VARCHAR}, | ||
| 361 | + </if> | ||
| 362 | + <if test="englishName != null"> | ||
| 363 | + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ||
| 364 | + </if> | ||
| 365 | + <if test="description != null"> | ||
| 366 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 367 | + </if> | ||
| 368 | + <if test="status != null"> | ||
| 369 | + STATUS = #{status,jdbcType=NUMERIC}, | ||
| 370 | + </if> | ||
| 371 | + <if test="parentId != null"> | ||
| 372 | + PARENT_ID = #{parentId,jdbcType=NUMERIC}, | ||
| 373 | + </if> | ||
| 374 | + <if test="dictId != null"> | ||
| 375 | + DICT_ID = #{dictId,jdbcType=NUMERIC}, | ||
| 376 | + </if> | ||
| 377 | + <if test="dictCode != null"> | ||
| 378 | + DICT_CODE = #{dictCode,jdbcType=VARCHAR}, | ||
| 379 | + </if> | ||
| 380 | + <if test="ordinal != null"> | ||
| 381 | + ORDINAL = #{ordinal,jdbcType=NUMERIC}, | ||
| 382 | + </if> | ||
| 383 | + <if test="ext1 != null"> | ||
| 384 | + EXT1 = #{ext1,jdbcType=VARCHAR}, | ||
| 385 | + </if> | ||
| 386 | + <if test="ext2 != null"> | ||
| 387 | + EXT2 = #{ext2,jdbcType=VARCHAR}, | ||
| 388 | + </if> | ||
| 389 | + <if test="ext3 != null"> | ||
| 390 | + EXT3 = #{ext3,jdbcType=NUMERIC}, | ||
| 391 | + </if> | ||
| 392 | + <if test="ext4 != null"> | ||
| 393 | + EXT4 = #{ext4,jdbcType=NUMERIC}, | ||
| 394 | + </if> | ||
| 395 | + <if test="createTime != null"> | ||
| 396 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 397 | + </if> | ||
| 398 | + <if test="createUserId != null"> | ||
| 399 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 400 | + </if> | ||
| 401 | + <if test="createUserName != null"> | ||
| 402 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 403 | + </if> | ||
| 404 | + <if test="modifyTime != null"> | ||
| 405 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 406 | + </if> | ||
| 407 | + <if test="modifyUserId != null"> | ||
| 408 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 409 | + </if> | ||
| 410 | + <if test="modifyUserName != null"> | ||
| 411 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, | ||
| 412 | + </if> | ||
| 413 | + </set> | ||
| 414 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 415 | + </update> | ||
| 416 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | ||
| 417 | + update T_BI_DICTIONARY_ENTRIES | ||
| 418 | + set CODE = #{code,jdbcType=VARCHAR}, | ||
| 419 | + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ||
| 420 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 421 | + STATUS = #{status,jdbcType=NUMERIC}, | ||
| 422 | + PARENT_ID = #{parentId,jdbcType=NUMERIC}, | ||
| 423 | + DICT_ID = #{dictId,jdbcType=NUMERIC}, | ||
| 424 | + DICT_CODE = #{dictCode,jdbcType=VARCHAR}, | ||
| 425 | + ORDINAL = #{ordinal,jdbcType=NUMERIC}, | ||
| 426 | + EXT1 = #{ext1,jdbcType=VARCHAR}, | ||
| 427 | + EXT2 = #{ext2,jdbcType=VARCHAR}, | ||
| 428 | + EXT3 = #{ext3,jdbcType=NUMERIC}, | ||
| 429 | + EXT4 = #{ext4,jdbcType=NUMERIC}, | ||
| 430 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 431 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 432 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 433 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 434 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 435 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR} | ||
| 436 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 437 | + </update> | ||
| 438 | + <sql id="OracleDialectPrefix"> | ||
| 439 | + <if test="limitStart != null and limitStart>=0"> | ||
| 440 | + select * from ( select row_.*, rownum rownum_ from ( | ||
| 441 | + </if> | ||
| 442 | + </sql> | ||
| 443 | + <sql id="OracleDialectSuffix"> | ||
| 444 | + <if test="limitStart != null and limitStart>=0"> | ||
| 445 | + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | ||
| 446 | + </if> | ||
| 447 | + </sql> | ||
| 448 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries"> | ||
| 449 | + <id column="ID" jdbcType="NUMERIC" property="id" /> | ||
| 450 | + <result column="CODE" jdbcType="VARCHAR" property="code" /> | ||
| 451 | + <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | ||
| 452 | + <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" /> | ||
| 453 | + <result column="STATUS" jdbcType="NUMERIC" property="status" /> | ||
| 454 | + <result column="PARENT_ID" jdbcType="NUMERIC" property="parentId" /> | ||
| 455 | + <result column="DICT_ID" jdbcType="NUMERIC" property="dictId" /> | ||
| 456 | + <result column="DICT_CODE" jdbcType="VARCHAR" property="dictCode" /> | ||
| 457 | + <result column="ORDINAL" jdbcType="NUMERIC" property="ordinal" /> | ||
| 458 | + <result column="EXT1" jdbcType="VARCHAR" property="ext1" /> | ||
| 459 | + <result column="EXT2" jdbcType="VARCHAR" property="ext2" /> | ||
| 460 | + <result column="EXT3" jdbcType="NUMERIC" property="ext3" /> | ||
| 461 | + <result column="EXT4" jdbcType="NUMERIC" property="ext4" /> | ||
| 462 | + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> | ||
| 463 | + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" /> | ||
| 464 | + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" /> | ||
| 465 | + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" /> | ||
| 466 | + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" /> | ||
| 467 | + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" /> | ||
| 468 | + </resultMap> | ||
| 469 | + <sql id="Example_Where_Clause"> | ||
| 470 | + <where> | ||
| 471 | + <foreach collection="oredCriteria" item="criteria" separator="or"> | ||
| 472 | + <if test="criteria.valid"> | ||
| 473 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 474 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 475 | + <choose> | ||
| 476 | + <when test="criterion.noValue"> | ||
| 477 | + and ${criterion.condition} | ||
| 478 | + </when> | ||
| 479 | + <when test="criterion.singleValue"> | ||
| 480 | + and ${criterion.condition} #{criterion.value} | ||
| 481 | + </when> | ||
| 482 | + <when test="criterion.betweenValue"> | ||
| 483 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 484 | + </when> | ||
| 485 | + <when test="criterion.listValue"> | ||
| 486 | + and ${criterion.condition} | ||
| 487 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 488 | + #{listItem} | ||
| 489 | + </foreach> | ||
| 490 | + </when> | ||
| 491 | + </choose> | ||
| 492 | + </foreach> | ||
| 493 | + </trim> | ||
| 494 | + </if> | ||
| 495 | + </foreach> | ||
| 496 | + </where> | ||
| 497 | + </sql> | ||
| 498 | + <sql id="Update_By_Example_Where_Clause"> | ||
| 499 | + <where> | ||
| 500 | + <foreach collection="example.oredCriteria" item="criteria" separator="or"> | ||
| 501 | + <if test="criteria.valid"> | ||
| 502 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 503 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 504 | + <choose> | ||
| 505 | + <when test="criterion.noValue"> | ||
| 506 | + and ${criterion.condition} | ||
| 507 | + </when> | ||
| 508 | + <when test="criterion.singleValue"> | ||
| 509 | + and ${criterion.condition} #{criterion.value} | ||
| 510 | + </when> | ||
| 511 | + <when test="criterion.betweenValue"> | ||
| 512 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 513 | + </when> | ||
| 514 | + <when test="criterion.listValue"> | ||
| 515 | + and ${criterion.condition} | ||
| 516 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 517 | + #{listItem} | ||
| 518 | + </foreach> | ||
| 519 | + </when> | ||
| 520 | + </choose> | ||
| 521 | + </foreach> | ||
| 522 | + </trim> | ||
| 523 | + </if> | ||
| 524 | + </foreach> | ||
| 525 | + </where> | ||
| 526 | + </sql> | ||
| 527 | + <sql id="Base_Column_List"> | ||
| 528 | + ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, DICT_ID, DICT_CODE, ORDINAL, | ||
| 529 | + EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, | ||
| 530 | + MODIFY_USER_ID, MODIFY_USER_NAME | ||
| 531 | + </sql> | ||
| 532 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap"> | ||
| 533 | + <include refid="OracleDialectPrefix" /> | ||
| 534 | + select | ||
| 535 | + <if test="distinct"> | ||
| 536 | + distinct | ||
| 537 | + </if> | ||
| 538 | + 'true' as QUERYID, | ||
| 539 | + <include refid="Base_Column_List" /> | ||
| 540 | + from T_BI_DICTIONARY_ENTRIES | ||
| 541 | + <if test="_parameter != null"> | ||
| 542 | + <include refid="Example_Where_Clause" /> | ||
| 543 | + </if> | ||
| 544 | + <if test="orderByClause != null"> | ||
| 545 | + order by ${orderByClause} | ||
| 546 | + </if> | ||
| 547 | + <include refid="OracleDialectSuffix" /> | ||
| 548 | + </select> | ||
| 105 | <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> | 549 | <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> |
| 106 | select | 550 | select |
| 107 | <include refid="Base_Column_List" /> | 551 | <include refid="Base_Column_List" /> |
| ... | @@ -436,12 +880,12 @@ | ... | @@ -436,12 +880,12 @@ |
| 436 | where ID = #{id,jdbcType=NUMERIC} | 880 | where ID = #{id,jdbcType=NUMERIC} |
| 437 | </update> | 881 | </update> |
| 438 | <sql id="OracleDialectPrefix"> | 882 | <sql id="OracleDialectPrefix"> |
| 439 | - <if test="limitStart != null and limitStart>=0"> | 883 | + <if test="limitStart != null and limitStart>=0"> |
| 440 | select * from ( select row_.*, rownum rownum_ from ( | 884 | select * from ( select row_.*, rownum rownum_ from ( |
| 441 | </if> | 885 | </if> |
| 442 | </sql> | 886 | </sql> |
| 443 | <sql id="OracleDialectSuffix"> | 887 | <sql id="OracleDialectSuffix"> |
| 444 | - <if test="limitStart != null and limitStart>=0"> | 888 | + <if test="limitStart != null and limitStart>=0"> |
| 445 | <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | 889 | <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> |
| 446 | </if> | 890 | </if> |
| 447 | </sql> | 891 | </sql> | ... | ... |
| ... | @@ -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_BI_DICTIONARY | 104 | from T_BI_DICTIONARY |
| 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_BI_DICTIONARY | 108 | delete from T_BI_DICTIONARY |
| 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.base.Dictionary"> | 117 | <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary"> |
| 118 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 118 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 120 | </selectKey> | 120 | </selectKey> |
| 121 | insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME, | 121 | insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME, |
| ... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
| 132 | ) | 132 | ) |
| 133 | </insert> | 133 | </insert> |
| 134 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 134 | <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> |
| 135 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | 135 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 137 | </selectKey> | 137 | </selectKey> |
| 138 | insert into T_BI_DICTIONARY | 138 | insert into T_BI_DICTIONARY |
| ... | @@ -388,12 +388,399 @@ | ... | @@ -388,12 +388,399 @@ |
| 388 | where ID = #{id,jdbcType=NUMERIC} | 388 | where ID = #{id,jdbcType=NUMERIC} |
| 389 | </update> | 389 | </update> |
| 390 | <sql id="OracleDialectPrefix"> | 390 | <sql id="OracleDialectPrefix"> |
| 391 | - <if test="limitStart != null and limitStart>=0"> | 391 | + <if test="limitStart != null and limitStart>=0"> |
| 392 | select * from ( select row_.*, rownum rownum_ from ( | 392 | select * from ( select row_.*, rownum rownum_ from ( |
| 393 | </if> | 393 | </if> |
| 394 | </sql> | 394 | </sql> |
| 395 | <sql id="OracleDialectSuffix"> | 395 | <sql id="OracleDialectSuffix"> |
| 396 | - <if test="limitStart != null and limitStart>=0"> | 396 | + <if test="limitStart != null and limitStart>=0"> |
| 397 | + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | ||
| 398 | + </if> | ||
| 399 | + </sql> | ||
| 400 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary"> | ||
| 401 | + <id column="ID" jdbcType="NUMERIC" property="id" /> | ||
| 402 | + <result column="CODE" jdbcType="VARCHAR" property="code" /> | ||
| 403 | + <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | ||
| 404 | + <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" /> | ||
| 405 | + <result column="STATUS" jdbcType="NUMERIC" property="status" /> | ||
| 406 | + <result column="PARENT_ID" jdbcType="VARCHAR" property="parentId" /> | ||
| 407 | + <result column="EXT1" jdbcType="VARCHAR" property="ext1" /> | ||
| 408 | + <result column="EXT2" jdbcType="VARCHAR" property="ext2" /> | ||
| 409 | + <result column="EXT3" jdbcType="NUMERIC" property="ext3" /> | ||
| 410 | + <result column="EXT4" jdbcType="NUMERIC" property="ext4" /> | ||
| 411 | + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> | ||
| 412 | + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" /> | ||
| 413 | + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" /> | ||
| 414 | + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" /> | ||
| 415 | + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" /> | ||
| 416 | + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" /> | ||
| 417 | + </resultMap> | ||
| 418 | + <sql id="Example_Where_Clause"> | ||
| 419 | + <where> | ||
| 420 | + <foreach collection="oredCriteria" item="criteria" separator="or"> | ||
| 421 | + <if test="criteria.valid"> | ||
| 422 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 423 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 424 | + <choose> | ||
| 425 | + <when test="criterion.noValue"> | ||
| 426 | + and ${criterion.condition} | ||
| 427 | + </when> | ||
| 428 | + <when test="criterion.singleValue"> | ||
| 429 | + and ${criterion.condition} #{criterion.value} | ||
| 430 | + </when> | ||
| 431 | + <when test="criterion.betweenValue"> | ||
| 432 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 433 | + </when> | ||
| 434 | + <when test="criterion.listValue"> | ||
| 435 | + and ${criterion.condition} | ||
| 436 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 437 | + #{listItem} | ||
| 438 | + </foreach> | ||
| 439 | + </when> | ||
| 440 | + </choose> | ||
| 441 | + </foreach> | ||
| 442 | + </trim> | ||
| 443 | + </if> | ||
| 444 | + </foreach> | ||
| 445 | + </where> | ||
| 446 | + </sql> | ||
| 447 | + <sql id="Update_By_Example_Where_Clause"> | ||
| 448 | + <where> | ||
| 449 | + <foreach collection="example.oredCriteria" item="criteria" separator="or"> | ||
| 450 | + <if test="criteria.valid"> | ||
| 451 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 452 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 453 | + <choose> | ||
| 454 | + <when test="criterion.noValue"> | ||
| 455 | + and ${criterion.condition} | ||
| 456 | + </when> | ||
| 457 | + <when test="criterion.singleValue"> | ||
| 458 | + and ${criterion.condition} #{criterion.value} | ||
| 459 | + </when> | ||
| 460 | + <when test="criterion.betweenValue"> | ||
| 461 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 462 | + </when> | ||
| 463 | + <when test="criterion.listValue"> | ||
| 464 | + and ${criterion.condition} | ||
| 465 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 466 | + #{listItem} | ||
| 467 | + </foreach> | ||
| 468 | + </when> | ||
| 469 | + </choose> | ||
| 470 | + </foreach> | ||
| 471 | + </trim> | ||
| 472 | + </if> | ||
| 473 | + </foreach> | ||
| 474 | + </where> | ||
| 475 | + </sql> | ||
| 476 | + <sql id="Base_Column_List"> | ||
| 477 | + ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME, | ||
| 478 | + CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME | ||
| 479 | + </sql> | ||
| 480 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap"> | ||
| 481 | + <include refid="OracleDialectPrefix" /> | ||
| 482 | + select | ||
| 483 | + <if test="distinct"> | ||
| 484 | + distinct | ||
| 485 | + </if> | ||
| 486 | + 'true' as QUERYID, | ||
| 487 | + <include refid="Base_Column_List" /> | ||
| 488 | + from T_BI_DICTIONARY | ||
| 489 | + <if test="_parameter != null"> | ||
| 490 | + <include refid="Example_Where_Clause" /> | ||
| 491 | + </if> | ||
| 492 | + <if test="orderByClause != null"> | ||
| 493 | + order by ${orderByClause} | ||
| 494 | + </if> | ||
| 495 | + <include refid="OracleDialectSuffix" /> | ||
| 496 | + </select> | ||
| 497 | + | ||
| 498 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample"> | ||
| 499 | + delete from T_BI_DICTIONARY | ||
| 500 | + <if test="_parameter != null"> | ||
| 501 | + <include refid="Example_Where_Clause" /> | ||
| 502 | + </if> | ||
| 503 | + </delete> | ||
| 504 | + <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary"> | ||
| 505 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | ||
| 506 | + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | ||
| 507 | + </selectKey> | ||
| 508 | + insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME, | ||
| 509 | + DESCRIPTION, STATUS, PARENT_ID, | ||
| 510 | + EXT1, EXT2, EXT3, EXT4, | ||
| 511 | + CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, | ||
| 512 | + MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME | ||
| 513 | + ) | ||
| 514 | + values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR}, | ||
| 515 | + #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=VARCHAR}, | ||
| 516 | + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC}, | ||
| 517 | + #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, | ||
| 518 | + #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | ||
| 519 | + ) | ||
| 520 | + </insert> | ||
| 521 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | ||
| 522 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal"> | ||
| 523 | + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | ||
| 524 | + </selectKey> | ||
| 525 | + insert into T_BI_DICTIONARY | ||
| 526 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 527 | + ID, | ||
| 528 | + <if test="code != null"> | ||
| 529 | + CODE, | ||
| 530 | + </if> | ||
| 531 | + <if test="englishName != null"> | ||
| 532 | + ENGLISH_NAME, | ||
| 533 | + </if> | ||
| 534 | + <if test="description != null"> | ||
| 535 | + DESCRIPTION, | ||
| 536 | + </if> | ||
| 537 | + <if test="status != null"> | ||
| 538 | + STATUS, | ||
| 539 | + </if> | ||
| 540 | + <if test="parentId != null"> | ||
| 541 | + PARENT_ID, | ||
| 542 | + </if> | ||
| 543 | + <if test="ext1 != null"> | ||
| 544 | + EXT1, | ||
| 545 | + </if> | ||
| 546 | + <if test="ext2 != null"> | ||
| 547 | + EXT2, | ||
| 548 | + </if> | ||
| 549 | + <if test="ext3 != null"> | ||
| 550 | + EXT3, | ||
| 551 | + </if> | ||
| 552 | + <if test="ext4 != null"> | ||
| 553 | + EXT4, | ||
| 554 | + </if> | ||
| 555 | + <if test="createTime != null"> | ||
| 556 | + CREATE_TIME, | ||
| 557 | + </if> | ||
| 558 | + <if test="createUserId != null"> | ||
| 559 | + CREATE_USER_ID, | ||
| 560 | + </if> | ||
| 561 | + <if test="createUserName != null"> | ||
| 562 | + CREATE_USER_NAME, | ||
| 563 | + </if> | ||
| 564 | + <if test="modifyTime != null"> | ||
| 565 | + MODIFY_TIME, | ||
| 566 | + </if> | ||
| 567 | + <if test="modifyUserId != null"> | ||
| 568 | + MODIFY_USER_ID, | ||
| 569 | + </if> | ||
| 570 | + <if test="modifyUserName != null"> | ||
| 571 | + MODIFY_USER_NAME, | ||
| 572 | + </if> | ||
| 573 | + </trim> | ||
| 574 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 575 | + #{id,jdbcType=NUMERIC}, | ||
| 576 | + <if test="code != null"> | ||
| 577 | + #{code,jdbcType=VARCHAR}, | ||
| 578 | + </if> | ||
| 579 | + <if test="englishName != null"> | ||
| 580 | + #{englishName,jdbcType=VARCHAR}, | ||
| 581 | + </if> | ||
| 582 | + <if test="description != null"> | ||
| 583 | + #{description,jdbcType=VARCHAR}, | ||
| 584 | + </if> | ||
| 585 | + <if test="status != null"> | ||
| 586 | + #{status,jdbcType=NUMERIC}, | ||
| 587 | + </if> | ||
| 588 | + <if test="parentId != null"> | ||
| 589 | + #{parentId,jdbcType=VARCHAR}, | ||
| 590 | + </if> | ||
| 591 | + <if test="ext1 != null"> | ||
| 592 | + #{ext1,jdbcType=VARCHAR}, | ||
| 593 | + </if> | ||
| 594 | + <if test="ext2 != null"> | ||
| 595 | + #{ext2,jdbcType=VARCHAR}, | ||
| 596 | + </if> | ||
| 597 | + <if test="ext3 != null"> | ||
| 598 | + #{ext3,jdbcType=NUMERIC}, | ||
| 599 | + </if> | ||
| 600 | + <if test="ext4 != null"> | ||
| 601 | + #{ext4,jdbcType=NUMERIC}, | ||
| 602 | + </if> | ||
| 603 | + <if test="createTime != null"> | ||
| 604 | + #{createTime,jdbcType=TIMESTAMP}, | ||
| 605 | + </if> | ||
| 606 | + <if test="createUserId != null"> | ||
| 607 | + #{createUserId,jdbcType=NUMERIC}, | ||
| 608 | + </if> | ||
| 609 | + <if test="createUserName != null"> | ||
| 610 | + #{createUserName,jdbcType=VARCHAR}, | ||
| 611 | + </if> | ||
| 612 | + <if test="modifyTime != null"> | ||
| 613 | + #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 614 | + </if> | ||
| 615 | + <if test="modifyUserId != null"> | ||
| 616 | + #{modifyUserId,jdbcType=NUMERIC}, | ||
| 617 | + </if> | ||
| 618 | + <if test="modifyUserName != null"> | ||
| 619 | + #{modifyUserName,jdbcType=VARCHAR}, | ||
| 620 | + </if> | ||
| 621 | + </trim> | ||
| 622 | + </insert> | ||
| 623 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long"> | ||
| 624 | + select count(*) from T_BI_DICTIONARY | ||
| 625 | + <if test="_parameter != null"> | ||
| 626 | + <include refid="Example_Where_Clause" /> | ||
| 627 | + </if> | ||
| 628 | + </select> | ||
| 629 | + <update id="updateByExampleSelective" parameterType="map"> | ||
| 630 | + update T_BI_DICTIONARY | ||
| 631 | + <set> | ||
| 632 | + <if test="record.id != null"> | ||
| 633 | + ID = #{record.id,jdbcType=NUMERIC}, | ||
| 634 | + </if> | ||
| 635 | + <if test="record.code != null"> | ||
| 636 | + CODE = #{record.code,jdbcType=VARCHAR}, | ||
| 637 | + </if> | ||
| 638 | + <if test="record.englishName != null"> | ||
| 639 | + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR}, | ||
| 640 | + </if> | ||
| 641 | + <if test="record.description != null"> | ||
| 642 | + DESCRIPTION = #{record.description,jdbcType=VARCHAR}, | ||
| 643 | + </if> | ||
| 644 | + <if test="record.status != null"> | ||
| 645 | + STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 646 | + </if> | ||
| 647 | + <if test="record.parentId != null"> | ||
| 648 | + PARENT_ID = #{record.parentId,jdbcType=VARCHAR}, | ||
| 649 | + </if> | ||
| 650 | + <if test="record.ext1 != null"> | ||
| 651 | + EXT1 = #{record.ext1,jdbcType=VARCHAR}, | ||
| 652 | + </if> | ||
| 653 | + <if test="record.ext2 != null"> | ||
| 654 | + EXT2 = #{record.ext2,jdbcType=VARCHAR}, | ||
| 655 | + </if> | ||
| 656 | + <if test="record.ext3 != null"> | ||
| 657 | + EXT3 = #{record.ext3,jdbcType=NUMERIC}, | ||
| 658 | + </if> | ||
| 659 | + <if test="record.ext4 != null"> | ||
| 660 | + EXT4 = #{record.ext4,jdbcType=NUMERIC}, | ||
| 661 | + </if> | ||
| 662 | + <if test="record.createTime != null"> | ||
| 663 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 664 | + </if> | ||
| 665 | + <if test="record.createUserId != null"> | ||
| 666 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 667 | + </if> | ||
| 668 | + <if test="record.createUserName != null"> | ||
| 669 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 670 | + </if> | ||
| 671 | + <if test="record.modifyTime != null"> | ||
| 672 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 673 | + </if> | ||
| 674 | + <if test="record.modifyUserId != null"> | ||
| 675 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 676 | + </if> | ||
| 677 | + <if test="record.modifyUserName != null"> | ||
| 678 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, | ||
| 679 | + </if> | ||
| 680 | + </set> | ||
| 681 | + <if test="_parameter != null"> | ||
| 682 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 683 | + </if> | ||
| 684 | + </update> | ||
| 685 | + <update id="updateByExample" parameterType="map"> | ||
| 686 | + update T_BI_DICTIONARY | ||
| 687 | + set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 688 | + CODE = #{record.code,jdbcType=VARCHAR}, | ||
| 689 | + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR}, | ||
| 690 | + DESCRIPTION = #{record.description,jdbcType=VARCHAR}, | ||
| 691 | + STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 692 | + PARENT_ID = #{record.parentId,jdbcType=VARCHAR}, | ||
| 693 | + EXT1 = #{record.ext1,jdbcType=VARCHAR}, | ||
| 694 | + EXT2 = #{record.ext2,jdbcType=VARCHAR}, | ||
| 695 | + EXT3 = #{record.ext3,jdbcType=NUMERIC}, | ||
| 696 | + EXT4 = #{record.ext4,jdbcType=NUMERIC}, | ||
| 697 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 698 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 699 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 700 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 701 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 702 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR} | ||
| 703 | + <if test="_parameter != null"> | ||
| 704 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 705 | + </if> | ||
| 706 | + </update> | ||
| 707 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | ||
| 708 | + update T_BI_DICTIONARY | ||
| 709 | + <set> | ||
| 710 | + <if test="code != null"> | ||
| 711 | + CODE = #{code,jdbcType=VARCHAR}, | ||
| 712 | + </if> | ||
| 713 | + <if test="englishName != null"> | ||
| 714 | + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ||
| 715 | + </if> | ||
| 716 | + <if test="description != null"> | ||
| 717 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 718 | + </if> | ||
| 719 | + <if test="status != null"> | ||
| 720 | + STATUS = #{status,jdbcType=NUMERIC}, | ||
| 721 | + </if> | ||
| 722 | + <if test="parentId != null"> | ||
| 723 | + PARENT_ID = #{parentId,jdbcType=VARCHAR}, | ||
| 724 | + </if> | ||
| 725 | + <if test="ext1 != null"> | ||
| 726 | + EXT1 = #{ext1,jdbcType=VARCHAR}, | ||
| 727 | + </if> | ||
| 728 | + <if test="ext2 != null"> | ||
| 729 | + EXT2 = #{ext2,jdbcType=VARCHAR}, | ||
| 730 | + </if> | ||
| 731 | + <if test="ext3 != null"> | ||
| 732 | + EXT3 = #{ext3,jdbcType=NUMERIC}, | ||
| 733 | + </if> | ||
| 734 | + <if test="ext4 != null"> | ||
| 735 | + EXT4 = #{ext4,jdbcType=NUMERIC}, | ||
| 736 | + </if> | ||
| 737 | + <if test="createTime != null"> | ||
| 738 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 739 | + </if> | ||
| 740 | + <if test="createUserId != null"> | ||
| 741 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 742 | + </if> | ||
| 743 | + <if test="createUserName != null"> | ||
| 744 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 745 | + </if> | ||
| 746 | + <if test="modifyTime != null"> | ||
| 747 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 748 | + </if> | ||
| 749 | + <if test="modifyUserId != null"> | ||
| 750 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 751 | + </if> | ||
| 752 | + <if test="modifyUserName != null"> | ||
| 753 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, | ||
| 754 | + </if> | ||
| 755 | + </set> | ||
| 756 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 757 | + </update> | ||
| 758 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary"> | ||
| 759 | + update T_BI_DICTIONARY | ||
| 760 | + set CODE = #{code,jdbcType=VARCHAR}, | ||
| 761 | + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ||
| 762 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 763 | + STATUS = #{status,jdbcType=NUMERIC}, | ||
| 764 | + PARENT_ID = #{parentId,jdbcType=VARCHAR}, | ||
| 765 | + EXT1 = #{ext1,jdbcType=VARCHAR}, | ||
| 766 | + EXT2 = #{ext2,jdbcType=VARCHAR}, | ||
| 767 | + EXT3 = #{ext3,jdbcType=NUMERIC}, | ||
| 768 | + EXT4 = #{ext4,jdbcType=NUMERIC}, | ||
| 769 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 770 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 771 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 772 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 773 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 774 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR} | ||
| 775 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 776 | + </update> | ||
| 777 | + <sql id="OracleDialectPrefix"> | ||
| 778 | + <if test="limitStart != null and limitStart>=0"> | ||
| 779 | + select * from ( select row_.*, rownum rownum_ from ( | ||
| 780 | + </if> | ||
| 781 | + </sql> | ||
| 782 | + <sql id="OracleDialectSuffix"> | ||
| 783 | + <if test="limitStart != null and limitStart>=0"> | ||
| 397 | <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | 784 | <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> |
| 398 | </if> | 785 | </if> |
| 399 | </sql> | 786 | </sql> | ... | ... |
| ... | @@ -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 | ... | ... |
| 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 DictionaryEntriesExample { | ... | @@ -136,52 +135,52 @@ public class DictionaryEntriesExample { |
| 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 DictionaryEntriesExample { | ... | @@ -406,52 +405,52 @@ public class DictionaryEntriesExample { |
| 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 | } |
| ... | @@ -466,52 +465,52 @@ public class DictionaryEntriesExample { | ... | @@ -466,52 +465,52 @@ public class DictionaryEntriesExample { |
| 466 | return (Criteria) this; | 465 | return (Criteria) this; |
| 467 | } | 466 | } |
| 468 | 467 | ||
| 469 | - public Criteria andParentIdEqualTo(BigDecimal value) { | 468 | + public Criteria andParentIdEqualTo(Long value) { |
| 470 | addCriterion("PARENT_ID =", value, "parentId"); | 469 | addCriterion("PARENT_ID =", value, "parentId"); |
| 471 | return (Criteria) this; | 470 | return (Criteria) this; |
| 472 | } | 471 | } |
| 473 | 472 | ||
| 474 | - public Criteria andParentIdNotEqualTo(BigDecimal value) { | 473 | + public Criteria andParentIdNotEqualTo(Long value) { |
| 475 | addCriterion("PARENT_ID <>", value, "parentId"); | 474 | addCriterion("PARENT_ID <>", value, "parentId"); |
| 476 | return (Criteria) this; | 475 | return (Criteria) this; |
| 477 | } | 476 | } |
| 478 | 477 | ||
| 479 | - public Criteria andParentIdGreaterThan(BigDecimal value) { | 478 | + public Criteria andParentIdGreaterThan(Long value) { |
| 480 | addCriterion("PARENT_ID >", value, "parentId"); | 479 | addCriterion("PARENT_ID >", value, "parentId"); |
| 481 | return (Criteria) this; | 480 | return (Criteria) this; |
| 482 | } | 481 | } |
| 483 | 482 | ||
| 484 | - public Criteria andParentIdGreaterThanOrEqualTo(BigDecimal value) { | 483 | + public Criteria andParentIdGreaterThanOrEqualTo(Long value) { |
| 485 | addCriterion("PARENT_ID >=", value, "parentId"); | 484 | addCriterion("PARENT_ID >=", value, "parentId"); |
| 486 | return (Criteria) this; | 485 | return (Criteria) this; |
| 487 | } | 486 | } |
| 488 | 487 | ||
| 489 | - public Criteria andParentIdLessThan(BigDecimal value) { | 488 | + public Criteria andParentIdLessThan(Long value) { |
| 490 | addCriterion("PARENT_ID <", value, "parentId"); | 489 | addCriterion("PARENT_ID <", value, "parentId"); |
| 491 | return (Criteria) this; | 490 | return (Criteria) this; |
| 492 | } | 491 | } |
| 493 | 492 | ||
| 494 | - public Criteria andParentIdLessThanOrEqualTo(BigDecimal value) { | 493 | + public Criteria andParentIdLessThanOrEqualTo(Long value) { |
| 495 | addCriterion("PARENT_ID <=", value, "parentId"); | 494 | addCriterion("PARENT_ID <=", value, "parentId"); |
| 496 | return (Criteria) this; | 495 | return (Criteria) this; |
| 497 | } | 496 | } |
| 498 | 497 | ||
| 499 | - public Criteria andParentIdIn(List<BigDecimal> values) { | 498 | + public Criteria andParentIdIn(List<Long> values) { |
| 500 | addCriterion("PARENT_ID in", values, "parentId"); | 499 | addCriterion("PARENT_ID in", values, "parentId"); |
| 501 | return (Criteria) this; | 500 | return (Criteria) this; |
| 502 | } | 501 | } |
| 503 | 502 | ||
| 504 | - public Criteria andParentIdNotIn(List<BigDecimal> values) { | 503 | + public Criteria andParentIdNotIn(List<Long> values) { |
| 505 | addCriterion("PARENT_ID not in", values, "parentId"); | 504 | addCriterion("PARENT_ID not in", values, "parentId"); |
| 506 | return (Criteria) this; | 505 | return (Criteria) this; |
| 507 | } | 506 | } |
| 508 | 507 | ||
| 509 | - public Criteria andParentIdBetween(BigDecimal value1, BigDecimal value2) { | 508 | + public Criteria andParentIdBetween(Long value1, Long value2) { |
| 510 | addCriterion("PARENT_ID between", value1, value2, "parentId"); | 509 | addCriterion("PARENT_ID between", value1, value2, "parentId"); |
| 511 | return (Criteria) this; | 510 | return (Criteria) this; |
| 512 | } | 511 | } |
| 513 | 512 | ||
| 514 | - public Criteria andParentIdNotBetween(BigDecimal value1, BigDecimal value2) { | 513 | + public Criteria andParentIdNotBetween(Long value1, Long value2) { |
| 515 | addCriterion("PARENT_ID not between", value1, value2, "parentId"); | 514 | addCriterion("PARENT_ID not between", value1, value2, "parentId"); |
| 516 | return (Criteria) this; | 515 | return (Criteria) this; |
| 517 | } | 516 | } |
| ... | @@ -526,52 +525,52 @@ public class DictionaryEntriesExample { | ... | @@ -526,52 +525,52 @@ public class DictionaryEntriesExample { |
| 526 | return (Criteria) this; | 525 | return (Criteria) this; |
| 527 | } | 526 | } |
| 528 | 527 | ||
| 529 | - public Criteria andDictIdEqualTo(BigDecimal value) { | 528 | + public Criteria andDictIdEqualTo(Long value) { |
| 530 | addCriterion("DICT_ID =", value, "dictId"); | 529 | addCriterion("DICT_ID =", value, "dictId"); |
| 531 | return (Criteria) this; | 530 | return (Criteria) this; |
| 532 | } | 531 | } |
| 533 | 532 | ||
| 534 | - public Criteria andDictIdNotEqualTo(BigDecimal value) { | 533 | + public Criteria andDictIdNotEqualTo(Long value) { |
| 535 | addCriterion("DICT_ID <>", value, "dictId"); | 534 | addCriterion("DICT_ID <>", value, "dictId"); |
| 536 | return (Criteria) this; | 535 | return (Criteria) this; |
| 537 | } | 536 | } |
| 538 | 537 | ||
| 539 | - public Criteria andDictIdGreaterThan(BigDecimal value) { | 538 | + public Criteria andDictIdGreaterThan(Long value) { |
| 540 | addCriterion("DICT_ID >", value, "dictId"); | 539 | addCriterion("DICT_ID >", value, "dictId"); |
| 541 | return (Criteria) this; | 540 | return (Criteria) this; |
| 542 | } | 541 | } |
| 543 | 542 | ||
| 544 | - public Criteria andDictIdGreaterThanOrEqualTo(BigDecimal value) { | 543 | + public Criteria andDictIdGreaterThanOrEqualTo(Long value) { |
| 545 | addCriterion("DICT_ID >=", value, "dictId"); | 544 | addCriterion("DICT_ID >=", value, "dictId"); |
| 546 | return (Criteria) this; | 545 | return (Criteria) this; |
| 547 | } | 546 | } |
| 548 | 547 | ||
| 549 | - public Criteria andDictIdLessThan(BigDecimal value) { | 548 | + public Criteria andDictIdLessThan(Long value) { |
| 550 | addCriterion("DICT_ID <", value, "dictId"); | 549 | addCriterion("DICT_ID <", value, "dictId"); |
| 551 | return (Criteria) this; | 550 | return (Criteria) this; |
| 552 | } | 551 | } |
| 553 | 552 | ||
| 554 | - public Criteria andDictIdLessThanOrEqualTo(BigDecimal value) { | 553 | + public Criteria andDictIdLessThanOrEqualTo(Long value) { |
| 555 | addCriterion("DICT_ID <=", value, "dictId"); | 554 | addCriterion("DICT_ID <=", value, "dictId"); |
| 556 | return (Criteria) this; | 555 | return (Criteria) this; |
| 557 | } | 556 | } |
| 558 | 557 | ||
| 559 | - public Criteria andDictIdIn(List<BigDecimal> values) { | 558 | + public Criteria andDictIdIn(List<Long> values) { |
| 560 | addCriterion("DICT_ID in", values, "dictId"); | 559 | addCriterion("DICT_ID in", values, "dictId"); |
| 561 | return (Criteria) this; | 560 | return (Criteria) this; |
| 562 | } | 561 | } |
| 563 | 562 | ||
| 564 | - public Criteria andDictIdNotIn(List<BigDecimal> values) { | 563 | + public Criteria andDictIdNotIn(List<Long> values) { |
| 565 | addCriterion("DICT_ID not in", values, "dictId"); | 564 | addCriterion("DICT_ID not in", values, "dictId"); |
| 566 | return (Criteria) this; | 565 | return (Criteria) this; |
| 567 | } | 566 | } |
| 568 | 567 | ||
| 569 | - public Criteria andDictIdBetween(BigDecimal value1, BigDecimal value2) { | 568 | + public Criteria andDictIdBetween(Long value1, Long value2) { |
| 570 | addCriterion("DICT_ID between", value1, value2, "dictId"); | 569 | addCriterion("DICT_ID between", value1, value2, "dictId"); |
| 571 | return (Criteria) this; | 570 | return (Criteria) this; |
| 572 | } | 571 | } |
| 573 | 572 | ||
| 574 | - public Criteria andDictIdNotBetween(BigDecimal value1, BigDecimal value2) { | 573 | + public Criteria andDictIdNotBetween(Long value1, Long value2) { |
| 575 | addCriterion("DICT_ID not between", value1, value2, "dictId"); | 574 | addCriterion("DICT_ID not between", value1, value2, "dictId"); |
| 576 | return (Criteria) this; | 575 | return (Criteria) this; |
| 577 | } | 576 | } |
| ... | @@ -656,52 +655,52 @@ public class DictionaryEntriesExample { | ... | @@ -656,52 +655,52 @@ public class DictionaryEntriesExample { |
| 656 | return (Criteria) this; | 655 | return (Criteria) this; |
| 657 | } | 656 | } |
| 658 | 657 | ||
| 659 | - public Criteria andOrdinalEqualTo(BigDecimal value) { | 658 | + public Criteria andOrdinalEqualTo(Long value) { |
| 660 | addCriterion("ORDINAL =", value, "ordinal"); | 659 | addCriterion("ORDINAL =", value, "ordinal"); |
| 661 | return (Criteria) this; | 660 | return (Criteria) this; |
| 662 | } | 661 | } |
| 663 | 662 | ||
| 664 | - public Criteria andOrdinalNotEqualTo(BigDecimal value) { | 663 | + public Criteria andOrdinalNotEqualTo(Long value) { |
| 665 | addCriterion("ORDINAL <>", value, "ordinal"); | 664 | addCriterion("ORDINAL <>", value, "ordinal"); |
| 666 | return (Criteria) this; | 665 | return (Criteria) this; |
| 667 | } | 666 | } |
| 668 | 667 | ||
| 669 | - public Criteria andOrdinalGreaterThan(BigDecimal value) { | 668 | + public Criteria andOrdinalGreaterThan(Long value) { |
| 670 | addCriterion("ORDINAL >", value, "ordinal"); | 669 | addCriterion("ORDINAL >", value, "ordinal"); |
| 671 | return (Criteria) this; | 670 | return (Criteria) this; |
| 672 | } | 671 | } |
| 673 | 672 | ||
| 674 | - public Criteria andOrdinalGreaterThanOrEqualTo(BigDecimal value) { | 673 | + public Criteria andOrdinalGreaterThanOrEqualTo(Long value) { |
| 675 | addCriterion("ORDINAL >=", value, "ordinal"); | 674 | addCriterion("ORDINAL >=", value, "ordinal"); |
| 676 | return (Criteria) this; | 675 | return (Criteria) this; |
| 677 | } | 676 | } |
| 678 | 677 | ||
| 679 | - public Criteria andOrdinalLessThan(BigDecimal value) { | 678 | + public Criteria andOrdinalLessThan(Long value) { |
| 680 | addCriterion("ORDINAL <", value, "ordinal"); | 679 | addCriterion("ORDINAL <", value, "ordinal"); |
| 681 | return (Criteria) this; | 680 | return (Criteria) this; |
| 682 | } | 681 | } |
| 683 | 682 | ||
| 684 | - public Criteria andOrdinalLessThanOrEqualTo(BigDecimal value) { | 683 | + public Criteria andOrdinalLessThanOrEqualTo(Long value) { |
| 685 | addCriterion("ORDINAL <=", value, "ordinal"); | 684 | addCriterion("ORDINAL <=", value, "ordinal"); |
| 686 | return (Criteria) this; | 685 | return (Criteria) this; |
| 687 | } | 686 | } |
| 688 | 687 | ||
| 689 | - public Criteria andOrdinalIn(List<BigDecimal> values) { | 688 | + public Criteria andOrdinalIn(List<Long> values) { |
| 690 | addCriterion("ORDINAL in", values, "ordinal"); | 689 | addCriterion("ORDINAL in", values, "ordinal"); |
| 691 | return (Criteria) this; | 690 | return (Criteria) this; |
| 692 | } | 691 | } |
| 693 | 692 | ||
| 694 | - public Criteria andOrdinalNotIn(List<BigDecimal> values) { | 693 | + public Criteria andOrdinalNotIn(List<Long> values) { |
| 695 | addCriterion("ORDINAL not in", values, "ordinal"); | 694 | addCriterion("ORDINAL not in", values, "ordinal"); |
| 696 | return (Criteria) this; | 695 | return (Criteria) this; |
| 697 | } | 696 | } |
| 698 | 697 | ||
| 699 | - public Criteria andOrdinalBetween(BigDecimal value1, BigDecimal value2) { | 698 | + public Criteria andOrdinalBetween(Long value1, Long value2) { |
| 700 | addCriterion("ORDINAL between", value1, value2, "ordinal"); | 699 | addCriterion("ORDINAL between", value1, value2, "ordinal"); |
| 701 | return (Criteria) this; | 700 | return (Criteria) this; |
| 702 | } | 701 | } |
| 703 | 702 | ||
| 704 | - public Criteria andOrdinalNotBetween(BigDecimal value1, BigDecimal value2) { | 703 | + public Criteria andOrdinalNotBetween(Long value1, Long value2) { |
| 705 | addCriterion("ORDINAL not between", value1, value2, "ordinal"); | 704 | addCriterion("ORDINAL not between", value1, value2, "ordinal"); |
| 706 | return (Criteria) this; | 705 | return (Criteria) this; |
| 707 | } | 706 | } |
| ... | @@ -1036,52 +1035,52 @@ public class DictionaryEntriesExample { | ... | @@ -1036,52 +1035,52 @@ public class DictionaryEntriesExample { |
| 1036 | return (Criteria) this; | 1035 | return (Criteria) this; |
| 1037 | } | 1036 | } |
| 1038 | 1037 | ||
| 1039 | - public Criteria andCreateUserIdEqualTo(BigDecimal value) { | 1038 | + public Criteria andCreateUserIdEqualTo(Long value) { |
| 1040 | addCriterion("CREATE_USER_ID =", value, "createUserId"); | 1039 | addCriterion("CREATE_USER_ID =", value, "createUserId"); |
| 1041 | return (Criteria) this; | 1040 | return (Criteria) this; |
| 1042 | } | 1041 | } |
| 1043 | 1042 | ||
| 1044 | - public Criteria andCreateUserIdNotEqualTo(BigDecimal value) { | 1043 | + public Criteria andCreateUserIdNotEqualTo(Long value) { |
| 1045 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); | 1044 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); |
| 1046 | return (Criteria) this; | 1045 | return (Criteria) this; |
| 1047 | } | 1046 | } |
| 1048 | 1047 | ||
| 1049 | - public Criteria andCreateUserIdGreaterThan(BigDecimal value) { | 1048 | + public Criteria andCreateUserIdGreaterThan(Long value) { |
| 1050 | addCriterion("CREATE_USER_ID >", value, "createUserId"); | 1049 | addCriterion("CREATE_USER_ID >", value, "createUserId"); |
| 1051 | return (Criteria) this; | 1050 | return (Criteria) this; |
| 1052 | } | 1051 | } |
| 1053 | 1052 | ||
| 1054 | - public Criteria andCreateUserIdGreaterThanOrEqualTo(BigDecimal value) { | 1053 | + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) { |
| 1055 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); | 1054 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); |
| 1056 | return (Criteria) this; | 1055 | return (Criteria) this; |
| 1057 | } | 1056 | } |
| 1058 | 1057 | ||
| 1059 | - public Criteria andCreateUserIdLessThan(BigDecimal value) { | 1058 | + public Criteria andCreateUserIdLessThan(Long value) { |
| 1060 | addCriterion("CREATE_USER_ID <", value, "createUserId"); | 1059 | addCriterion("CREATE_USER_ID <", value, "createUserId"); |
| 1061 | return (Criteria) this; | 1060 | return (Criteria) this; |
| 1062 | } | 1061 | } |
| 1063 | 1062 | ||
| 1064 | - public Criteria andCreateUserIdLessThanOrEqualTo(BigDecimal value) { | 1063 | + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) { |
| 1065 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); | 1064 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); |
| 1066 | return (Criteria) this; | 1065 | return (Criteria) this; |
| 1067 | } | 1066 | } |
| 1068 | 1067 | ||
| 1069 | - public Criteria andCreateUserIdIn(List<BigDecimal> values) { | 1068 | + public Criteria andCreateUserIdIn(List<Long> values) { |
| 1070 | addCriterion("CREATE_USER_ID in", values, "createUserId"); | 1069 | addCriterion("CREATE_USER_ID in", values, "createUserId"); |
| 1071 | return (Criteria) this; | 1070 | return (Criteria) this; |
| 1072 | } | 1071 | } |
| 1073 | 1072 | ||
| 1074 | - public Criteria andCreateUserIdNotIn(List<BigDecimal> values) { | 1073 | + public Criteria andCreateUserIdNotIn(List<Long> values) { |
| 1075 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); | 1074 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); |
| 1076 | return (Criteria) this; | 1075 | return (Criteria) this; |
| 1077 | } | 1076 | } |
| 1078 | 1077 | ||
| 1079 | - public Criteria andCreateUserIdBetween(BigDecimal value1, BigDecimal value2) { | 1078 | + public Criteria andCreateUserIdBetween(Long value1, Long value2) { |
| 1080 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); | 1079 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); |
| 1081 | return (Criteria) this; | 1080 | return (Criteria) this; |
| 1082 | } | 1081 | } |
| 1083 | 1082 | ||
| 1084 | - public Criteria andCreateUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 1083 | + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) { |
| 1085 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); | 1084 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); |
| 1086 | return (Criteria) this; | 1085 | return (Criteria) this; |
| 1087 | } | 1086 | } |
| ... | @@ -1226,52 +1225,52 @@ public class DictionaryEntriesExample { | ... | @@ -1226,52 +1225,52 @@ public class DictionaryEntriesExample { |
| 1226 | return (Criteria) this; | 1225 | return (Criteria) this; |
| 1227 | } | 1226 | } |
| 1228 | 1227 | ||
| 1229 | - public Criteria andModifyUserIdEqualTo(BigDecimal value) { | 1228 | + public Criteria andModifyUserIdEqualTo(Long value) { |
| 1230 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); | 1229 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); |
| 1231 | return (Criteria) this; | 1230 | return (Criteria) this; |
| 1232 | } | 1231 | } |
| 1233 | 1232 | ||
| 1234 | - public Criteria andModifyUserIdNotEqualTo(BigDecimal value) { | 1233 | + public Criteria andModifyUserIdNotEqualTo(Long value) { |
| 1235 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); | 1234 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); |
| 1236 | return (Criteria) this; | 1235 | return (Criteria) this; |
| 1237 | } | 1236 | } |
| 1238 | 1237 | ||
| 1239 | - public Criteria andModifyUserIdGreaterThan(BigDecimal value) { | 1238 | + public Criteria andModifyUserIdGreaterThan(Long value) { |
| 1240 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); | 1239 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); |
| 1241 | return (Criteria) this; | 1240 | return (Criteria) this; |
| 1242 | } | 1241 | } |
| 1243 | 1242 | ||
| 1244 | - public Criteria andModifyUserIdGreaterThanOrEqualTo(BigDecimal value) { | 1243 | + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) { |
| 1245 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); | 1244 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); |
| 1246 | return (Criteria) this; | 1245 | return (Criteria) this; |
| 1247 | } | 1246 | } |
| 1248 | 1247 | ||
| 1249 | - public Criteria andModifyUserIdLessThan(BigDecimal value) { | 1248 | + public Criteria andModifyUserIdLessThan(Long value) { |
| 1250 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); | 1249 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); |
| 1251 | return (Criteria) this; | 1250 | return (Criteria) this; |
| 1252 | } | 1251 | } |
| 1253 | 1252 | ||
| 1254 | - public Criteria andModifyUserIdLessThanOrEqualTo(BigDecimal value) { | 1253 | + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) { |
| 1255 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); | 1254 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); |
| 1256 | return (Criteria) this; | 1255 | return (Criteria) this; |
| 1257 | } | 1256 | } |
| 1258 | 1257 | ||
| 1259 | - public Criteria andModifyUserIdIn(List<BigDecimal> values) { | 1258 | + public Criteria andModifyUserIdIn(List<Long> values) { |
| 1260 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); | 1259 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); |
| 1261 | return (Criteria) this; | 1260 | return (Criteria) this; |
| 1262 | } | 1261 | } |
| 1263 | 1262 | ||
| 1264 | - public Criteria andModifyUserIdNotIn(List<BigDecimal> values) { | 1263 | + public Criteria andModifyUserIdNotIn(List<Long> values) { |
| 1265 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); | 1264 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); |
| 1266 | return (Criteria) this; | 1265 | return (Criteria) this; |
| 1267 | } | 1266 | } |
| 1268 | 1267 | ||
| 1269 | - public Criteria andModifyUserIdBetween(BigDecimal value1, BigDecimal value2) { | 1268 | + public Criteria andModifyUserIdBetween(Long value1, Long value2) { |
| 1270 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); | 1269 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); |
| 1271 | return (Criteria) this; | 1270 | return (Criteria) this; |
| 1272 | } | 1271 | } |
| 1273 | 1272 | ||
| 1274 | - public Criteria andModifyUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 1273 | + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) { |
| 1275 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); | 1274 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); |
| 1276 | return (Criteria) this; | 1275 | return (Criteria) this; |
| 1277 | } | 1276 | } | ... | ... |
| 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 | ... | ... |
| 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 RoleExample { | ... | @@ -136,52 +135,52 @@ public class RoleExample { |
| 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 RoleExample { | ... | @@ -406,52 +405,52 @@ public class RoleExample { |
| 406 | return (Criteria) this; | 405 | return (Criteria) this; |
| 407 | } | 406 | } |
| 408 | 407 | ||
| 409 | - public Criteria andTypeIdEqualTo(BigDecimal value) { | 408 | + public Criteria andTypeIdEqualTo(Long value) { |
| 410 | addCriterion("TYPE_ID =", value, "typeId"); | 409 | addCriterion("TYPE_ID =", value, "typeId"); |
| 411 | return (Criteria) this; | 410 | return (Criteria) this; |
| 412 | } | 411 | } |
| 413 | 412 | ||
| 414 | - public Criteria andTypeIdNotEqualTo(BigDecimal value) { | 413 | + public Criteria andTypeIdNotEqualTo(Long value) { |
| 415 | addCriterion("TYPE_ID <>", value, "typeId"); | 414 | addCriterion("TYPE_ID <>", value, "typeId"); |
| 416 | return (Criteria) this; | 415 | return (Criteria) this; |
| 417 | } | 416 | } |
| 418 | 417 | ||
| 419 | - public Criteria andTypeIdGreaterThan(BigDecimal value) { | 418 | + public Criteria andTypeIdGreaterThan(Long value) { |
| 420 | addCriterion("TYPE_ID >", value, "typeId"); | 419 | addCriterion("TYPE_ID >", value, "typeId"); |
| 421 | return (Criteria) this; | 420 | return (Criteria) this; |
| 422 | } | 421 | } |
| 423 | 422 | ||
| 424 | - public Criteria andTypeIdGreaterThanOrEqualTo(BigDecimal value) { | 423 | + public Criteria andTypeIdGreaterThanOrEqualTo(Long value) { |
| 425 | addCriterion("TYPE_ID >=", value, "typeId"); | 424 | addCriterion("TYPE_ID >=", value, "typeId"); |
| 426 | return (Criteria) this; | 425 | return (Criteria) this; |
| 427 | } | 426 | } |
| 428 | 427 | ||
| 429 | - public Criteria andTypeIdLessThan(BigDecimal value) { | 428 | + public Criteria andTypeIdLessThan(Long value) { |
| 430 | addCriterion("TYPE_ID <", value, "typeId"); | 429 | addCriterion("TYPE_ID <", value, "typeId"); |
| 431 | return (Criteria) this; | 430 | return (Criteria) this; |
| 432 | } | 431 | } |
| 433 | 432 | ||
| 434 | - public Criteria andTypeIdLessThanOrEqualTo(BigDecimal value) { | 433 | + public Criteria andTypeIdLessThanOrEqualTo(Long value) { |
| 435 | addCriterion("TYPE_ID <=", value, "typeId"); | 434 | addCriterion("TYPE_ID <=", value, "typeId"); |
| 436 | return (Criteria) this; | 435 | return (Criteria) this; |
| 437 | } | 436 | } |
| 438 | 437 | ||
| 439 | - public Criteria andTypeIdIn(List<BigDecimal> values) { | 438 | + public Criteria andTypeIdIn(List<Long> values) { |
| 440 | addCriterion("TYPE_ID in", values, "typeId"); | 439 | addCriterion("TYPE_ID in", values, "typeId"); |
| 441 | return (Criteria) this; | 440 | return (Criteria) this; |
| 442 | } | 441 | } |
| 443 | 442 | ||
| 444 | - public Criteria andTypeIdNotIn(List<BigDecimal> values) { | 443 | + public Criteria andTypeIdNotIn(List<Long> values) { |
| 445 | addCriterion("TYPE_ID not in", values, "typeId"); | 444 | addCriterion("TYPE_ID not in", values, "typeId"); |
| 446 | return (Criteria) this; | 445 | return (Criteria) this; |
| 447 | } | 446 | } |
| 448 | 447 | ||
| 449 | - public Criteria andTypeIdBetween(BigDecimal value1, BigDecimal value2) { | 448 | + public Criteria andTypeIdBetween(Long value1, Long value2) { |
| 450 | addCriterion("TYPE_ID between", value1, value2, "typeId"); | 449 | addCriterion("TYPE_ID between", value1, value2, "typeId"); |
| 451 | return (Criteria) this; | 450 | return (Criteria) this; |
| 452 | } | 451 | } |
| 453 | 452 | ||
| 454 | - public Criteria andTypeIdNotBetween(BigDecimal value1, BigDecimal value2) { | 453 | + public Criteria andTypeIdNotBetween(Long value1, Long value2) { |
| 455 | addCriterion("TYPE_ID not between", value1, value2, "typeId"); | 454 | addCriterion("TYPE_ID not between", value1, value2, "typeId"); |
| 456 | return (Criteria) this; | 455 | return (Criteria) this; |
| 457 | } | 456 | } |
| ... | @@ -536,52 +535,52 @@ public class RoleExample { | ... | @@ -536,52 +535,52 @@ public class RoleExample { |
| 536 | return (Criteria) this; | 535 | return (Criteria) this; |
| 537 | } | 536 | } |
| 538 | 537 | ||
| 539 | - public Criteria andStatusEqualTo(BigDecimal value) { | 538 | + public Criteria andStatusEqualTo(Long value) { |
| 540 | addCriterion("STATUS =", value, "status"); | 539 | addCriterion("STATUS =", value, "status"); |
| 541 | return (Criteria) this; | 540 | return (Criteria) this; |
| 542 | } | 541 | } |
| 543 | 542 | ||
| 544 | - public Criteria andStatusNotEqualTo(BigDecimal value) { | 543 | + public Criteria andStatusNotEqualTo(Long value) { |
| 545 | addCriterion("STATUS <>", value, "status"); | 544 | addCriterion("STATUS <>", value, "status"); |
| 546 | return (Criteria) this; | 545 | return (Criteria) this; |
| 547 | } | 546 | } |
| 548 | 547 | ||
| 549 | - public Criteria andStatusGreaterThan(BigDecimal value) { | 548 | + public Criteria andStatusGreaterThan(Long value) { |
| 550 | addCriterion("STATUS >", value, "status"); | 549 | addCriterion("STATUS >", value, "status"); |
| 551 | return (Criteria) this; | 550 | return (Criteria) this; |
| 552 | } | 551 | } |
| 553 | 552 | ||
| 554 | - public Criteria andStatusGreaterThanOrEqualTo(BigDecimal value) { | 553 | + public Criteria andStatusGreaterThanOrEqualTo(Long value) { |
| 555 | addCriterion("STATUS >=", value, "status"); | 554 | addCriterion("STATUS >=", value, "status"); |
| 556 | return (Criteria) this; | 555 | return (Criteria) this; |
| 557 | } | 556 | } |
| 558 | 557 | ||
| 559 | - public Criteria andStatusLessThan(BigDecimal value) { | 558 | + public Criteria andStatusLessThan(Long value) { |
| 560 | addCriterion("STATUS <", value, "status"); | 559 | addCriterion("STATUS <", value, "status"); |
| 561 | return (Criteria) this; | 560 | return (Criteria) this; |
| 562 | } | 561 | } |
| 563 | 562 | ||
| 564 | - public Criteria andStatusLessThanOrEqualTo(BigDecimal value) { | 563 | + public Criteria andStatusLessThanOrEqualTo(Long value) { |
| 565 | addCriterion("STATUS <=", value, "status"); | 564 | addCriterion("STATUS <=", value, "status"); |
| 566 | return (Criteria) this; | 565 | return (Criteria) this; |
| 567 | } | 566 | } |
| 568 | 567 | ||
| 569 | - public Criteria andStatusIn(List<BigDecimal> values) { | 568 | + public Criteria andStatusIn(List<Long> values) { |
| 570 | addCriterion("STATUS in", values, "status"); | 569 | addCriterion("STATUS in", values, "status"); |
| 571 | return (Criteria) this; | 570 | return (Criteria) this; |
| 572 | } | 571 | } |
| 573 | 572 | ||
| 574 | - public Criteria andStatusNotIn(List<BigDecimal> values) { | 573 | + public Criteria andStatusNotIn(List<Long> values) { |
| 575 | addCriterion("STATUS not in", values, "status"); | 574 | addCriterion("STATUS not in", values, "status"); |
| 576 | return (Criteria) this; | 575 | return (Criteria) this; |
| 577 | } | 576 | } |
| 578 | 577 | ||
| 579 | - public Criteria andStatusBetween(BigDecimal value1, BigDecimal value2) { | 578 | + public Criteria andStatusBetween(Long value1, Long value2) { |
| 580 | addCriterion("STATUS between", value1, value2, "status"); | 579 | addCriterion("STATUS between", value1, value2, "status"); |
| 581 | return (Criteria) this; | 580 | return (Criteria) this; |
| 582 | } | 581 | } |
| 583 | 582 | ||
| 584 | - public Criteria andStatusNotBetween(BigDecimal value1, BigDecimal value2) { | 583 | + public Criteria andStatusNotBetween(Long value1, Long value2) { |
| 585 | addCriterion("STATUS not between", value1, value2, "status"); | 584 | addCriterion("STATUS not between", value1, value2, "status"); |
| 586 | return (Criteria) this; | 585 | return (Criteria) this; |
| 587 | } | 586 | } |
| ... | @@ -656,52 +655,52 @@ public class RoleExample { | ... | @@ -656,52 +655,52 @@ public class RoleExample { |
| 656 | return (Criteria) this; | 655 | return (Criteria) this; |
| 657 | } | 656 | } |
| 658 | 657 | ||
| 659 | - public Criteria andCreateUserIdEqualTo(BigDecimal value) { | 658 | + public Criteria andCreateUserIdEqualTo(Long value) { |
| 660 | addCriterion("CREATE_USER_ID =", value, "createUserId"); | 659 | addCriterion("CREATE_USER_ID =", value, "createUserId"); |
| 661 | return (Criteria) this; | 660 | return (Criteria) this; |
| 662 | } | 661 | } |
| 663 | 662 | ||
| 664 | - public Criteria andCreateUserIdNotEqualTo(BigDecimal value) { | 663 | + public Criteria andCreateUserIdNotEqualTo(Long value) { |
| 665 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); | 664 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); |
| 666 | return (Criteria) this; | 665 | return (Criteria) this; |
| 667 | } | 666 | } |
| 668 | 667 | ||
| 669 | - public Criteria andCreateUserIdGreaterThan(BigDecimal value) { | 668 | + public Criteria andCreateUserIdGreaterThan(Long value) { |
| 670 | addCriterion("CREATE_USER_ID >", value, "createUserId"); | 669 | addCriterion("CREATE_USER_ID >", value, "createUserId"); |
| 671 | return (Criteria) this; | 670 | return (Criteria) this; |
| 672 | } | 671 | } |
| 673 | 672 | ||
| 674 | - public Criteria andCreateUserIdGreaterThanOrEqualTo(BigDecimal value) { | 673 | + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) { |
| 675 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); | 674 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); |
| 676 | return (Criteria) this; | 675 | return (Criteria) this; |
| 677 | } | 676 | } |
| 678 | 677 | ||
| 679 | - public Criteria andCreateUserIdLessThan(BigDecimal value) { | 678 | + public Criteria andCreateUserIdLessThan(Long value) { |
| 680 | addCriterion("CREATE_USER_ID <", value, "createUserId"); | 679 | addCriterion("CREATE_USER_ID <", value, "createUserId"); |
| 681 | return (Criteria) this; | 680 | return (Criteria) this; |
| 682 | } | 681 | } |
| 683 | 682 | ||
| 684 | - public Criteria andCreateUserIdLessThanOrEqualTo(BigDecimal value) { | 683 | + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) { |
| 685 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); | 684 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); |
| 686 | return (Criteria) this; | 685 | return (Criteria) this; |
| 687 | } | 686 | } |
| 688 | 687 | ||
| 689 | - public Criteria andCreateUserIdIn(List<BigDecimal> values) { | 688 | + public Criteria andCreateUserIdIn(List<Long> values) { |
| 690 | addCriterion("CREATE_USER_ID in", values, "createUserId"); | 689 | addCriterion("CREATE_USER_ID in", values, "createUserId"); |
| 691 | return (Criteria) this; | 690 | return (Criteria) this; |
| 692 | } | 691 | } |
| 693 | 692 | ||
| 694 | - public Criteria andCreateUserIdNotIn(List<BigDecimal> values) { | 693 | + public Criteria andCreateUserIdNotIn(List<Long> values) { |
| 695 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); | 694 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); |
| 696 | return (Criteria) this; | 695 | return (Criteria) this; |
| 697 | } | 696 | } |
| 698 | 697 | ||
| 699 | - public Criteria andCreateUserIdBetween(BigDecimal value1, BigDecimal value2) { | 698 | + public Criteria andCreateUserIdBetween(Long value1, Long value2) { |
| 700 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); | 699 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); |
| 701 | return (Criteria) this; | 700 | return (Criteria) this; |
| 702 | } | 701 | } |
| 703 | 702 | ||
| 704 | - public Criteria andCreateUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 703 | + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) { |
| 705 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); | 704 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); |
| 706 | return (Criteria) this; | 705 | return (Criteria) this; |
| 707 | } | 706 | } |
| ... | @@ -846,52 +845,52 @@ public class RoleExample { | ... | @@ -846,52 +845,52 @@ public class RoleExample { |
| 846 | return (Criteria) this; | 845 | return (Criteria) this; |
| 847 | } | 846 | } |
| 848 | 847 | ||
| 849 | - public Criteria andModifyUserIdEqualTo(BigDecimal value) { | 848 | + public Criteria andModifyUserIdEqualTo(Long value) { |
| 850 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); | 849 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); |
| 851 | return (Criteria) this; | 850 | return (Criteria) this; |
| 852 | } | 851 | } |
| 853 | 852 | ||
| 854 | - public Criteria andModifyUserIdNotEqualTo(BigDecimal value) { | 853 | + public Criteria andModifyUserIdNotEqualTo(Long value) { |
| 855 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); | 854 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); |
| 856 | return (Criteria) this; | 855 | return (Criteria) this; |
| 857 | } | 856 | } |
| 858 | 857 | ||
| 859 | - public Criteria andModifyUserIdGreaterThan(BigDecimal value) { | 858 | + public Criteria andModifyUserIdGreaterThan(Long value) { |
| 860 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); | 859 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); |
| 861 | return (Criteria) this; | 860 | return (Criteria) this; |
| 862 | } | 861 | } |
| 863 | 862 | ||
| 864 | - public Criteria andModifyUserIdGreaterThanOrEqualTo(BigDecimal value) { | 863 | + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) { |
| 865 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); | 864 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); |
| 866 | return (Criteria) this; | 865 | return (Criteria) this; |
| 867 | } | 866 | } |
| 868 | 867 | ||
| 869 | - public Criteria andModifyUserIdLessThan(BigDecimal value) { | 868 | + public Criteria andModifyUserIdLessThan(Long value) { |
| 870 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); | 869 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); |
| 871 | return (Criteria) this; | 870 | return (Criteria) this; |
| 872 | } | 871 | } |
| 873 | 872 | ||
| 874 | - public Criteria andModifyUserIdLessThanOrEqualTo(BigDecimal value) { | 873 | + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) { |
| 875 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); | 874 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); |
| 876 | return (Criteria) this; | 875 | return (Criteria) this; |
| 877 | } | 876 | } |
| 878 | 877 | ||
| 879 | - public Criteria andModifyUserIdIn(List<BigDecimal> values) { | 878 | + public Criteria andModifyUserIdIn(List<Long> values) { |
| 880 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); | 879 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); |
| 881 | return (Criteria) this; | 880 | return (Criteria) this; |
| 882 | } | 881 | } |
| 883 | 882 | ||
| 884 | - public Criteria andModifyUserIdNotIn(List<BigDecimal> values) { | 883 | + public Criteria andModifyUserIdNotIn(List<Long> values) { |
| 885 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); | 884 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); |
| 886 | return (Criteria) this; | 885 | return (Criteria) this; |
| 887 | } | 886 | } |
| 888 | 887 | ||
| 889 | - public Criteria andModifyUserIdBetween(BigDecimal value1, BigDecimal value2) { | 888 | + public Criteria andModifyUserIdBetween(Long value1, Long value2) { |
| 890 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); | 889 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); |
| 891 | return (Criteria) this; | 890 | return (Criteria) this; |
| 892 | } | 891 | } |
| 893 | 892 | ||
| 894 | - public Criteria andModifyUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 893 | + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) { |
| 895 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); | 894 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); |
| 896 | return (Criteria) this; | 895 | return (Criteria) this; |
| 897 | } | 896 | } | ... | ... |
| 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 | ... | ... |
| 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 RolePrivilegeExample { | ... | @@ -136,52 +135,52 @@ public class RolePrivilegeExample { |
| 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 | } |
| ... | @@ -196,52 +195,52 @@ public class RolePrivilegeExample { | ... | @@ -196,52 +195,52 @@ public class RolePrivilegeExample { |
| 196 | return (Criteria) this; | 195 | return (Criteria) this; |
| 197 | } | 196 | } |
| 198 | 197 | ||
| 199 | - public Criteria andRoleIdEqualTo(BigDecimal value) { | 198 | + public Criteria andRoleIdEqualTo(Long value) { |
| 200 | addCriterion("ROLE_ID =", value, "roleId"); | 199 | addCriterion("ROLE_ID =", value, "roleId"); |
| 201 | return (Criteria) this; | 200 | return (Criteria) this; |
| 202 | } | 201 | } |
| 203 | 202 | ||
| 204 | - public Criteria andRoleIdNotEqualTo(BigDecimal value) { | 203 | + public Criteria andRoleIdNotEqualTo(Long value) { |
| 205 | addCriterion("ROLE_ID <>", value, "roleId"); | 204 | addCriterion("ROLE_ID <>", value, "roleId"); |
| 206 | return (Criteria) this; | 205 | return (Criteria) this; |
| 207 | } | 206 | } |
| 208 | 207 | ||
| 209 | - public Criteria andRoleIdGreaterThan(BigDecimal value) { | 208 | + public Criteria andRoleIdGreaterThan(Long value) { |
| 210 | addCriterion("ROLE_ID >", value, "roleId"); | 209 | addCriterion("ROLE_ID >", value, "roleId"); |
| 211 | return (Criteria) this; | 210 | return (Criteria) this; |
| 212 | } | 211 | } |
| 213 | 212 | ||
| 214 | - public Criteria andRoleIdGreaterThanOrEqualTo(BigDecimal value) { | 213 | + public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { |
| 215 | addCriterion("ROLE_ID >=", value, "roleId"); | 214 | addCriterion("ROLE_ID >=", value, "roleId"); |
| 216 | return (Criteria) this; | 215 | return (Criteria) this; |
| 217 | } | 216 | } |
| 218 | 217 | ||
| 219 | - public Criteria andRoleIdLessThan(BigDecimal value) { | 218 | + public Criteria andRoleIdLessThan(Long value) { |
| 220 | addCriterion("ROLE_ID <", value, "roleId"); | 219 | addCriterion("ROLE_ID <", value, "roleId"); |
| 221 | return (Criteria) this; | 220 | return (Criteria) this; |
| 222 | } | 221 | } |
| 223 | 222 | ||
| 224 | - public Criteria andRoleIdLessThanOrEqualTo(BigDecimal value) { | 223 | + public Criteria andRoleIdLessThanOrEqualTo(Long value) { |
| 225 | addCriterion("ROLE_ID <=", value, "roleId"); | 224 | addCriterion("ROLE_ID <=", value, "roleId"); |
| 226 | return (Criteria) this; | 225 | return (Criteria) this; |
| 227 | } | 226 | } |
| 228 | 227 | ||
| 229 | - public Criteria andRoleIdIn(List<BigDecimal> values) { | 228 | + public Criteria andRoleIdIn(List<Long> values) { |
| 230 | addCriterion("ROLE_ID in", values, "roleId"); | 229 | addCriterion("ROLE_ID in", values, "roleId"); |
| 231 | return (Criteria) this; | 230 | return (Criteria) this; |
| 232 | } | 231 | } |
| 233 | 232 | ||
| 234 | - public Criteria andRoleIdNotIn(List<BigDecimal> values) { | 233 | + public Criteria andRoleIdNotIn(List<Long> values) { |
| 235 | addCriterion("ROLE_ID not in", values, "roleId"); | 234 | addCriterion("ROLE_ID not in", values, "roleId"); |
| 236 | return (Criteria) this; | 235 | return (Criteria) this; |
| 237 | } | 236 | } |
| 238 | 237 | ||
| 239 | - public Criteria andRoleIdBetween(BigDecimal value1, BigDecimal value2) { | 238 | + public Criteria andRoleIdBetween(Long value1, Long value2) { |
| 240 | addCriterion("ROLE_ID between", value1, value2, "roleId"); | 239 | addCriterion("ROLE_ID between", value1, value2, "roleId"); |
| 241 | return (Criteria) this; | 240 | return (Criteria) this; |
| 242 | } | 241 | } |
| 243 | 242 | ||
| 244 | - public Criteria andRoleIdNotBetween(BigDecimal value1, BigDecimal value2) { | 243 | + public Criteria andRoleIdNotBetween(Long value1, Long value2) { |
| 245 | addCriterion("ROLE_ID not between", value1, value2, "roleId"); | 244 | addCriterion("ROLE_ID not between", value1, value2, "roleId"); |
| 246 | return (Criteria) this; | 245 | return (Criteria) this; |
| 247 | } | 246 | } |
| ... | @@ -256,52 +255,52 @@ public class RolePrivilegeExample { | ... | @@ -256,52 +255,52 @@ public class RolePrivilegeExample { |
| 256 | return (Criteria) this; | 255 | return (Criteria) this; |
| 257 | } | 256 | } |
| 258 | 257 | ||
| 259 | - public Criteria andPrivIdEqualTo(BigDecimal value) { | 258 | + public Criteria andPrivIdEqualTo(Long value) { |
| 260 | addCriterion("PRIV_ID =", value, "privId"); | 259 | addCriterion("PRIV_ID =", value, "privId"); |
| 261 | return (Criteria) this; | 260 | return (Criteria) this; |
| 262 | } | 261 | } |
| 263 | 262 | ||
| 264 | - public Criteria andPrivIdNotEqualTo(BigDecimal value) { | 263 | + public Criteria andPrivIdNotEqualTo(Long value) { |
| 265 | addCriterion("PRIV_ID <>", value, "privId"); | 264 | addCriterion("PRIV_ID <>", value, "privId"); |
| 266 | return (Criteria) this; | 265 | return (Criteria) this; |
| 267 | } | 266 | } |
| 268 | 267 | ||
| 269 | - public Criteria andPrivIdGreaterThan(BigDecimal value) { | 268 | + public Criteria andPrivIdGreaterThan(Long value) { |
| 270 | addCriterion("PRIV_ID >", value, "privId"); | 269 | addCriterion("PRIV_ID >", value, "privId"); |
| 271 | return (Criteria) this; | 270 | return (Criteria) this; |
| 272 | } | 271 | } |
| 273 | 272 | ||
| 274 | - public Criteria andPrivIdGreaterThanOrEqualTo(BigDecimal value) { | 273 | + public Criteria andPrivIdGreaterThanOrEqualTo(Long value) { |
| 275 | addCriterion("PRIV_ID >=", value, "privId"); | 274 | addCriterion("PRIV_ID >=", value, "privId"); |
| 276 | return (Criteria) this; | 275 | return (Criteria) this; |
| 277 | } | 276 | } |
| 278 | 277 | ||
| 279 | - public Criteria andPrivIdLessThan(BigDecimal value) { | 278 | + public Criteria andPrivIdLessThan(Long value) { |
| 280 | addCriterion("PRIV_ID <", value, "privId"); | 279 | addCriterion("PRIV_ID <", value, "privId"); |
| 281 | return (Criteria) this; | 280 | return (Criteria) this; |
| 282 | } | 281 | } |
| 283 | 282 | ||
| 284 | - public Criteria andPrivIdLessThanOrEqualTo(BigDecimal value) { | 283 | + public Criteria andPrivIdLessThanOrEqualTo(Long value) { |
| 285 | addCriterion("PRIV_ID <=", value, "privId"); | 284 | addCriterion("PRIV_ID <=", value, "privId"); |
| 286 | return (Criteria) this; | 285 | return (Criteria) this; |
| 287 | } | 286 | } |
| 288 | 287 | ||
| 289 | - public Criteria andPrivIdIn(List<BigDecimal> values) { | 288 | + public Criteria andPrivIdIn(List<Long> values) { |
| 290 | addCriterion("PRIV_ID in", values, "privId"); | 289 | addCriterion("PRIV_ID in", values, "privId"); |
| 291 | return (Criteria) this; | 290 | return (Criteria) this; |
| 292 | } | 291 | } |
| 293 | 292 | ||
| 294 | - public Criteria andPrivIdNotIn(List<BigDecimal> values) { | 293 | + public Criteria andPrivIdNotIn(List<Long> values) { |
| 295 | addCriterion("PRIV_ID not in", values, "privId"); | 294 | addCriterion("PRIV_ID not in", values, "privId"); |
| 296 | return (Criteria) this; | 295 | return (Criteria) this; |
| 297 | } | 296 | } |
| 298 | 297 | ||
| 299 | - public Criteria andPrivIdBetween(BigDecimal value1, BigDecimal value2) { | 298 | + public Criteria andPrivIdBetween(Long value1, Long value2) { |
| 300 | addCriterion("PRIV_ID between", value1, value2, "privId"); | 299 | addCriterion("PRIV_ID between", value1, value2, "privId"); |
| 301 | return (Criteria) this; | 300 | return (Criteria) this; |
| 302 | } | 301 | } |
| 303 | 302 | ||
| 304 | - public Criteria andPrivIdNotBetween(BigDecimal value1, BigDecimal value2) { | 303 | + public Criteria andPrivIdNotBetween(Long value1, Long value2) { |
| 305 | addCriterion("PRIV_ID not between", value1, value2, "privId"); | 304 | addCriterion("PRIV_ID not between", value1, value2, "privId"); |
| 306 | return (Criteria) this; | 305 | return (Criteria) this; |
| 307 | } | 306 | } |
| ... | @@ -316,52 +315,52 @@ public class RolePrivilegeExample { | ... | @@ -316,52 +315,52 @@ public class RolePrivilegeExample { |
| 316 | return (Criteria) this; | 315 | return (Criteria) this; |
| 317 | } | 316 | } |
| 318 | 317 | ||
| 319 | - public Criteria andStatusEqualTo(BigDecimal value) { | 318 | + public Criteria andStatusEqualTo(Long value) { |
| 320 | addCriterion("STATUS =", value, "status"); | 319 | addCriterion("STATUS =", value, "status"); |
| 321 | return (Criteria) this; | 320 | return (Criteria) this; |
| 322 | } | 321 | } |
| 323 | 322 | ||
| 324 | - public Criteria andStatusNotEqualTo(BigDecimal value) { | 323 | + public Criteria andStatusNotEqualTo(Long value) { |
| 325 | addCriterion("STATUS <>", value, "status"); | 324 | addCriterion("STATUS <>", value, "status"); |
| 326 | return (Criteria) this; | 325 | return (Criteria) this; |
| 327 | } | 326 | } |
| 328 | 327 | ||
| 329 | - public Criteria andStatusGreaterThan(BigDecimal value) { | 328 | + public Criteria andStatusGreaterThan(Long value) { |
| 330 | addCriterion("STATUS >", value, "status"); | 329 | addCriterion("STATUS >", value, "status"); |
| 331 | return (Criteria) this; | 330 | return (Criteria) this; |
| 332 | } | 331 | } |
| 333 | 332 | ||
| 334 | - public Criteria andStatusGreaterThanOrEqualTo(BigDecimal value) { | 333 | + public Criteria andStatusGreaterThanOrEqualTo(Long value) { |
| 335 | addCriterion("STATUS >=", value, "status"); | 334 | addCriterion("STATUS >=", value, "status"); |
| 336 | return (Criteria) this; | 335 | return (Criteria) this; |
| 337 | } | 336 | } |
| 338 | 337 | ||
| 339 | - public Criteria andStatusLessThan(BigDecimal value) { | 338 | + public Criteria andStatusLessThan(Long value) { |
| 340 | addCriterion("STATUS <", value, "status"); | 339 | addCriterion("STATUS <", value, "status"); |
| 341 | return (Criteria) this; | 340 | return (Criteria) this; |
| 342 | } | 341 | } |
| 343 | 342 | ||
| 344 | - public Criteria andStatusLessThanOrEqualTo(BigDecimal value) { | 343 | + public Criteria andStatusLessThanOrEqualTo(Long value) { |
| 345 | addCriterion("STATUS <=", value, "status"); | 344 | addCriterion("STATUS <=", value, "status"); |
| 346 | return (Criteria) this; | 345 | return (Criteria) this; |
| 347 | } | 346 | } |
| 348 | 347 | ||
| 349 | - public Criteria andStatusIn(List<BigDecimal> values) { | 348 | + public Criteria andStatusIn(List<Long> values) { |
| 350 | addCriterion("STATUS in", values, "status"); | 349 | addCriterion("STATUS in", values, "status"); |
| 351 | return (Criteria) this; | 350 | return (Criteria) this; |
| 352 | } | 351 | } |
| 353 | 352 | ||
| 354 | - public Criteria andStatusNotIn(List<BigDecimal> values) { | 353 | + public Criteria andStatusNotIn(List<Long> values) { |
| 355 | addCriterion("STATUS not in", values, "status"); | 354 | addCriterion("STATUS not in", values, "status"); |
| 356 | return (Criteria) this; | 355 | return (Criteria) this; |
| 357 | } | 356 | } |
| 358 | 357 | ||
| 359 | - public Criteria andStatusBetween(BigDecimal value1, BigDecimal value2) { | 358 | + public Criteria andStatusBetween(Long value1, Long value2) { |
| 360 | addCriterion("STATUS between", value1, value2, "status"); | 359 | addCriterion("STATUS between", value1, value2, "status"); |
| 361 | return (Criteria) this; | 360 | return (Criteria) this; |
| 362 | } | 361 | } |
| 363 | 362 | ||
| 364 | - public Criteria andStatusNotBetween(BigDecimal value1, BigDecimal value2) { | 363 | + public Criteria andStatusNotBetween(Long value1, Long value2) { |
| 365 | addCriterion("STATUS not between", value1, value2, "status"); | 364 | addCriterion("STATUS not between", value1, value2, "status"); |
| 366 | return (Criteria) this; | 365 | return (Criteria) this; |
| 367 | } | 366 | } |
| ... | @@ -436,52 +435,52 @@ public class RolePrivilegeExample { | ... | @@ -436,52 +435,52 @@ public class RolePrivilegeExample { |
| 436 | return (Criteria) this; | 435 | return (Criteria) this; |
| 437 | } | 436 | } |
| 438 | 437 | ||
| 439 | - public Criteria andCreateUserIdEqualTo(BigDecimal value) { | 438 | + public Criteria andCreateUserIdEqualTo(Long value) { |
| 440 | addCriterion("CREATE_USER_ID =", value, "createUserId"); | 439 | addCriterion("CREATE_USER_ID =", value, "createUserId"); |
| 441 | return (Criteria) this; | 440 | return (Criteria) this; |
| 442 | } | 441 | } |
| 443 | 442 | ||
| 444 | - public Criteria andCreateUserIdNotEqualTo(BigDecimal value) { | 443 | + public Criteria andCreateUserIdNotEqualTo(Long value) { |
| 445 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); | 444 | addCriterion("CREATE_USER_ID <>", value, "createUserId"); |
| 446 | return (Criteria) this; | 445 | return (Criteria) this; |
| 447 | } | 446 | } |
| 448 | 447 | ||
| 449 | - public Criteria andCreateUserIdGreaterThan(BigDecimal value) { | 448 | + public Criteria andCreateUserIdGreaterThan(Long value) { |
| 450 | addCriterion("CREATE_USER_ID >", value, "createUserId"); | 449 | addCriterion("CREATE_USER_ID >", value, "createUserId"); |
| 451 | return (Criteria) this; | 450 | return (Criteria) this; |
| 452 | } | 451 | } |
| 453 | 452 | ||
| 454 | - public Criteria andCreateUserIdGreaterThanOrEqualTo(BigDecimal value) { | 453 | + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) { |
| 455 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); | 454 | addCriterion("CREATE_USER_ID >=", value, "createUserId"); |
| 456 | return (Criteria) this; | 455 | return (Criteria) this; |
| 457 | } | 456 | } |
| 458 | 457 | ||
| 459 | - public Criteria andCreateUserIdLessThan(BigDecimal value) { | 458 | + public Criteria andCreateUserIdLessThan(Long value) { |
| 460 | addCriterion("CREATE_USER_ID <", value, "createUserId"); | 459 | addCriterion("CREATE_USER_ID <", value, "createUserId"); |
| 461 | return (Criteria) this; | 460 | return (Criteria) this; |
| 462 | } | 461 | } |
| 463 | 462 | ||
| 464 | - public Criteria andCreateUserIdLessThanOrEqualTo(BigDecimal value) { | 463 | + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) { |
| 465 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); | 464 | addCriterion("CREATE_USER_ID <=", value, "createUserId"); |
| 466 | return (Criteria) this; | 465 | return (Criteria) this; |
| 467 | } | 466 | } |
| 468 | 467 | ||
| 469 | - public Criteria andCreateUserIdIn(List<BigDecimal> values) { | 468 | + public Criteria andCreateUserIdIn(List<Long> values) { |
| 470 | addCriterion("CREATE_USER_ID in", values, "createUserId"); | 469 | addCriterion("CREATE_USER_ID in", values, "createUserId"); |
| 471 | return (Criteria) this; | 470 | return (Criteria) this; |
| 472 | } | 471 | } |
| 473 | 472 | ||
| 474 | - public Criteria andCreateUserIdNotIn(List<BigDecimal> values) { | 473 | + public Criteria andCreateUserIdNotIn(List<Long> values) { |
| 475 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); | 474 | addCriterion("CREATE_USER_ID not in", values, "createUserId"); |
| 476 | return (Criteria) this; | 475 | return (Criteria) this; |
| 477 | } | 476 | } |
| 478 | 477 | ||
| 479 | - public Criteria andCreateUserIdBetween(BigDecimal value1, BigDecimal value2) { | 478 | + public Criteria andCreateUserIdBetween(Long value1, Long value2) { |
| 480 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); | 479 | addCriterion("CREATE_USER_ID between", value1, value2, "createUserId"); |
| 481 | return (Criteria) this; | 480 | return (Criteria) this; |
| 482 | } | 481 | } |
| 483 | 482 | ||
| 484 | - public Criteria andCreateUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 483 | + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) { |
| 485 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); | 484 | addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId"); |
| 486 | return (Criteria) this; | 485 | return (Criteria) this; |
| 487 | } | 486 | } |
| ... | @@ -626,52 +625,52 @@ public class RolePrivilegeExample { | ... | @@ -626,52 +625,52 @@ public class RolePrivilegeExample { |
| 626 | return (Criteria) this; | 625 | return (Criteria) this; |
| 627 | } | 626 | } |
| 628 | 627 | ||
| 629 | - public Criteria andModifyUserIdEqualTo(BigDecimal value) { | 628 | + public Criteria andModifyUserIdEqualTo(Long value) { |
| 630 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); | 629 | addCriterion("MODIFY_USER_ID =", value, "modifyUserId"); |
| 631 | return (Criteria) this; | 630 | return (Criteria) this; |
| 632 | } | 631 | } |
| 633 | 632 | ||
| 634 | - public Criteria andModifyUserIdNotEqualTo(BigDecimal value) { | 633 | + public Criteria andModifyUserIdNotEqualTo(Long value) { |
| 635 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); | 634 | addCriterion("MODIFY_USER_ID <>", value, "modifyUserId"); |
| 636 | return (Criteria) this; | 635 | return (Criteria) this; |
| 637 | } | 636 | } |
| 638 | 637 | ||
| 639 | - public Criteria andModifyUserIdGreaterThan(BigDecimal value) { | 638 | + public Criteria andModifyUserIdGreaterThan(Long value) { |
| 640 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); | 639 | addCriterion("MODIFY_USER_ID >", value, "modifyUserId"); |
| 641 | return (Criteria) this; | 640 | return (Criteria) this; |
| 642 | } | 641 | } |
| 643 | 642 | ||
| 644 | - public Criteria andModifyUserIdGreaterThanOrEqualTo(BigDecimal value) { | 643 | + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) { |
| 645 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); | 644 | addCriterion("MODIFY_USER_ID >=", value, "modifyUserId"); |
| 646 | return (Criteria) this; | 645 | return (Criteria) this; |
| 647 | } | 646 | } |
| 648 | 647 | ||
| 649 | - public Criteria andModifyUserIdLessThan(BigDecimal value) { | 648 | + public Criteria andModifyUserIdLessThan(Long value) { |
| 650 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); | 649 | addCriterion("MODIFY_USER_ID <", value, "modifyUserId"); |
| 651 | return (Criteria) this; | 650 | return (Criteria) this; |
| 652 | } | 651 | } |
| 653 | 652 | ||
| 654 | - public Criteria andModifyUserIdLessThanOrEqualTo(BigDecimal value) { | 653 | + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) { |
| 655 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); | 654 | addCriterion("MODIFY_USER_ID <=", value, "modifyUserId"); |
| 656 | return (Criteria) this; | 655 | return (Criteria) this; |
| 657 | } | 656 | } |
| 658 | 657 | ||
| 659 | - public Criteria andModifyUserIdIn(List<BigDecimal> values) { | 658 | + public Criteria andModifyUserIdIn(List<Long> values) { |
| 660 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); | 659 | addCriterion("MODIFY_USER_ID in", values, "modifyUserId"); |
| 661 | return (Criteria) this; | 660 | return (Criteria) this; |
| 662 | } | 661 | } |
| 663 | 662 | ||
| 664 | - public Criteria andModifyUserIdNotIn(List<BigDecimal> values) { | 663 | + public Criteria andModifyUserIdNotIn(List<Long> values) { |
| 665 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); | 664 | addCriterion("MODIFY_USER_ID not in", values, "modifyUserId"); |
| 666 | return (Criteria) this; | 665 | return (Criteria) this; |
| 667 | } | 666 | } |
| 668 | 667 | ||
| 669 | - public Criteria andModifyUserIdBetween(BigDecimal value1, BigDecimal value2) { | 668 | + public Criteria andModifyUserIdBetween(Long value1, Long value2) { |
| 670 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); | 669 | addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId"); |
| 671 | return (Criteria) this; | 670 | return (Criteria) this; |
| 672 | } | 671 | } |
| 673 | 672 | ||
| 674 | - public Criteria andModifyUserIdNotBetween(BigDecimal value1, BigDecimal value2) { | 673 | + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) { |
| 675 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); | 674 | addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId"); |
| 676 | return (Criteria) this; | 675 | return (Criteria) this; |
| 677 | } | 676 | } | ... | ... |
| ... | @@ -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