zelong.shao

dao|初始化

Showing 43 changed files with 493 additions and 205 deletions
package com.fedex.connect.common.dao.biz;
import com.fedex.connect.common.model.biz.CeInfo;
import com.fedex.connect.common.model.biz.CeInfoExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface CeInfoMapper {
long countByExample(CeInfoExample example);
int deleteByExample(CeInfoExample example);
int deleteByPrimaryKey(Long id);
int insert(CeInfo record);
int insertSelective(CeInfo record);
List<CeInfo> selectByExample(CeInfoExample example);
CeInfo selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") CeInfo record, @Param("example") CeInfoExample example);
int updateByExample(@Param("record") CeInfo record, @Param("example") CeInfoExample example);
int updateByPrimaryKeySelective(CeInfo record);
int updateByPrimaryKey(CeInfo record);
}
\ No newline at end of file
......@@ -5,7 +5,7 @@ import java.util.Date;
/**
* DESC: 操作日志
* TABLE: T_LOG_OPERATION
* TABLE: ICLEARIMP.T_LOG_OPERATION
*/
public class Operation implements Serializable {
/**
......@@ -19,6 +19,11 @@ public class Operation implements Serializable {
private Long userId;
/**
* 操作人登录账号
*/
private String loginName;
/**
* 操作人名称
*/
private String userName;
......@@ -34,11 +39,6 @@ public class Operation implements Serializable {
private String describe;
/**
* 操作时间
*/
private Date createTime;
/**
* 请求路径
*/
private String url;
......@@ -54,11 +54,41 @@ public class Operation implements Serializable {
private String result;
/**
* 状态 0-不展示 1-展示
* 状态(0:展示、1:不展示)
*/
private Long status;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID,关联用户表ID
*/
private Long createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID,关联用户表ID
*/
private Long modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
/**
* 备注
*/
private String remark;
......@@ -81,6 +111,14 @@ public class Operation implements Serializable {
this.userId = userId;
}
public String getLoginName() {
return loginName;
}
public void setLoginName(String loginName) {
this.loginName = loginName == null ? null : loginName.trim();
}
public String getUserName() {
return userName;
}
......@@ -105,14 +143,6 @@ public class Operation implements Serializable {
this.describe = describe == null ? null : describe.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getUrl() {
return url;
}
......@@ -145,6 +175,54 @@ public class Operation implements Serializable {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Long getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Long getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
public String getRemark() {
return remark;
}
......@@ -161,14 +239,20 @@ public class Operation implements Serializable {
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", userId=").append(userId);
sb.append(", loginName=").append(loginName);
sb.append(", userName=").append(userName);
sb.append(", module=").append(module);
sb.append(", describe=").append(describe);
sb.append(", createTime=").append(createTime);
sb.append(", url=").append(url);
sb.append(", requestParameters=").append(requestParameters);
sb.append(", result=").append(result);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", remark=").append(remark);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
......
......@@ -5,7 +5,7 @@ import java.util.Date;
/**
* DESC: KAFKA数据历史表
* TABLE: T_SYS_KAFKA_STORAGE_HISTORY
* TABLE: ICLEARIMP.T_SYS_KAFKA_STORAGE_HISTORY
*/
public class KafkaStorageHistory implements Serializable {
/**
......
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: null
* TABLE: T_SYS_PARAM_CONFIG
* DESC: 系统参数配置表
* TABLE: ICLEARIMP.T_SYS_PARAM_CONFIG
*/
public class ParamConfig implements Serializable {
/**
* ID自增
* ID,主键自增
*/
private Long id;
/**
* 参数组KEY
* 参数编码
*/
private String codeGroup;
private String code;
/**
* 组中对应不同分区的KEY
* 参数名称
*/
private String codeValue;
private String name;
/**
* 参数值
*/
private String paramValue;
private String value;
/**
* null
* 参数类型ID,关联数据字典表。指定字典目录CODE:PARAM_CONFIG_TYPE
*/
private Long typeId;
/**
* 参数类型名称
*/
private String typeName;
/**
* 状态(0:无效、1:有效)
*/
private Long status;
/**
* 参数说明
*/
private String description;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID,关联用户表ID
*/
private Long createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID,关联用户表ID
*/
private Long modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
public Long getId() {
......@@ -42,28 +88,44 @@ public class ParamConfig implements Serializable {
this.id = id;
}
public String getCodeGroup() {
return codeGroup;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code == null ? null : code.trim();
}
public String getName() {
return name;
}
public void setCodeGroup(String codeGroup) {
this.codeGroup = codeGroup == null ? null : codeGroup.trim();
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getCodeValue() {
return codeValue;
public String getValue() {
return value;
}
public void setCodeValue(String codeValue) {
this.codeValue = codeValue == null ? null : codeValue.trim();
public void setValue(String value) {
this.value = value == null ? null : value.trim();
}
public String getParamValue() {
return paramValue;
public Long getTypeId() {
return typeId;
}
public void setParamValue(String paramValue) {
this.paramValue = paramValue == null ? null : paramValue.trim();
public void setTypeId(Long typeId) {
this.typeId = typeId;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName == null ? null : typeName.trim();
}
public Long getStatus() {
......@@ -74,6 +136,62 @@ public class ParamConfig implements Serializable {
this.status = status;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Long getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Long getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
......@@ -81,10 +199,19 @@ public class ParamConfig implements Serializable {
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", codeGroup=").append(codeGroup);
sb.append(", codeValue=").append(codeValue);
sb.append(", paramValue=").append(paramValue);
sb.append(", code=").append(code);
sb.append(", name=").append(name);
sb.append(", value=").append(value);
sb.append(", typeId=").append(typeId);
sb.append(", typeName=").append(typeName);
sb.append(", status=").append(status);
sb.append(", description=").append(description);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
......
......@@ -5,36 +5,36 @@ import java.util.Date;
/**
* DESC: 用户表
* TABLE: T_SYS_USER
* TABLE: ICLEARIMP.T_SYS_USER
*/
public class User implements Serializable {
/**
* ID
* ID,主键自增
*/
private Long id;
/**
* 用户账号
*/
private String accNo;
private String loginName;
/**
* 姓名
* 用户姓名
*/
private String userName;
/**
* 密码
* 用户密码
*/
private String password;
/**
* FedEx账户
* 用户UUID
*/
private String fedexAccNo;
private String userUuid;
/**
* 邮箱
* 用户邮箱
*/
private String email;
......@@ -46,7 +46,12 @@ public class User implements Serializable {
/**
* 公司名称
*/
private String companyName;
private String compannyName;
/**
* 计费账号
*/
private String accountNo;
/**
* 营利事业统一编号
......@@ -59,40 +64,55 @@ public class User implements Serializable {
private String customsSerialNum;
/**
* 创建时间
* 用户类型ID。
关联数据字典表。指定字典目录CODE:USER_TYPE
*/
private Date createTime;
private Long typeId;
/**
* 修改时间
* 用户类型名称(本地账号、FCL账号)
*/
private Date updateTime;
private String typeName;
/**
* 密码上次修改时间
* 状态(0:无效、1:有效)
*/
private Date pwdLastUpdTime;
private Long status;
/**
* 用户类型ID。
关联数据字典表。指定KEY为:user_type
* 备注
*/
private Long typeId;
private String remark;
/**
* 是否有效(1:有效[true]。0:无效[false]。)
* 创建时间
*/
private Long status;
private Date createTime;
/**
* 备注
* 创建人ID,关联用户表ID
*/
private String remark;
private Long createUserId;
/**
* 用户信息来源。1:台湾项目注册。2:FCL
* 创建人名称
*/
private Long userSource;
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID,关联用户表ID
*/
private Long modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
......@@ -104,12 +124,12 @@ public class User implements Serializable {
this.id = id;
}
public String getAccNo() {
return accNo;
public String getLoginName() {
return loginName;
}
public void setAccNo(String accNo) {
this.accNo = accNo == null ? null : accNo.trim();
public void setLoginName(String loginName) {
this.loginName = loginName == null ? null : loginName.trim();
}
public String getUserName() {
......@@ -128,12 +148,12 @@ public class User implements Serializable {
this.password = password == null ? null : password.trim();
}
public String getFedexAccNo() {
return fedexAccNo;
public String getUserUuid() {
return userUuid;
}
public void setFedexAccNo(String fedexAccNo) {
this.fedexAccNo = fedexAccNo == null ? null : fedexAccNo.trim();
public void setUserUuid(String userUuid) {
this.userUuid = userUuid == null ? null : userUuid.trim();
}
public String getEmail() {
......@@ -152,12 +172,20 @@ public class User implements Serializable {
this.phone = phone == null ? null : phone.trim();
}
public String getCompanyName() {
return companyName;
public String getCompannyName() {
return compannyName;
}
public void setCompannyName(String compannyName) {
this.compannyName = compannyName == null ? null : compannyName.trim();
}
public void setCompanyName(String companyName) {
this.companyName = companyName == null ? null : companyName.trim();
public String getAccountNo() {
return accountNo;
}
public void setAccountNo(String accountNo) {
this.accountNo = accountNo == null ? null : accountNo.trim();
}
public String getUnifiedBusinessNum() {
......@@ -176,30 +204,6 @@ public class User implements Serializable {
this.customsSerialNum = customsSerialNum == null ? null : customsSerialNum.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Date getPwdLastUpdTime() {
return pwdLastUpdTime;
}
public void setPwdLastUpdTime(Date pwdLastUpdTime) {
this.pwdLastUpdTime = pwdLastUpdTime;
}
public Long getTypeId() {
return typeId;
}
......@@ -208,6 +212,14 @@ public class User implements Serializable {
this.typeId = typeId;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName == null ? null : typeName.trim();
}
public Long getStatus() {
return status;
}
......@@ -224,12 +236,52 @@ public class User implements Serializable {
this.remark = remark == null ? null : remark.trim();
}
public Long getUserSource() {
return userSource;
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public void setUserSource(Long userSource) {
this.userSource = userSource;
public Long getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Long getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
......@@ -239,22 +291,26 @@ public class User implements Serializable {
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", accNo=").append(accNo);
sb.append(", loginName=").append(loginName);
sb.append(", userName=").append(userName);
sb.append(", password=").append(password);
sb.append(", fedexAccNo=").append(fedexAccNo);
sb.append(", userUuid=").append(userUuid);
sb.append(", email=").append(email);
sb.append(", phone=").append(phone);
sb.append(", companyName=").append(companyName);
sb.append(", compannyName=").append(compannyName);
sb.append(", accountNo=").append(accountNo);
sb.append(", unifiedBusinessNum=").append(unifiedBusinessNum);
sb.append(", customsSerialNum=").append(customsSerialNum);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", pwdLastUpdTime=").append(pwdLastUpdTime);
sb.append(", typeId=").append(typeId);
sb.append(", typeName=").append(typeName);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", userSource=").append(userSource);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
......
......@@ -5,7 +5,7 @@ import java.util.Date;
/**
* DESC: 用户角色表
* TABLE: T_SYS_USER_ROLE
* TABLE: ICLEARIMP.T_SYS_USER_ROLE
*/
public class UserRole implements Serializable {
/**
......@@ -34,19 +34,29 @@ public class UserRole implements Serializable {
private Date createTime;
/**
* 创建人,对应用户表id
* 创建人ID,关联用户表ID
*/
private Long createName;
private Long createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date updateTime;
private Date modifyTime;
/**
* 修改人,对应用户表id
* 修改人ID,关联用户表ID
*/
private Long updateName;
private Long modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
private static final long serialVersionUID = 1L;
......@@ -90,28 +100,44 @@ public class UserRole implements Serializable {
this.createTime = createTime;
}
public Long getCreateName() {
return createName;
public Long getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setCreateName(Long createName) {
this.createName = createName;
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Date getUpdateTime() {
return updateTime;
public Long getModifyUserId() {
return modifyUserId;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
public void setModifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
}
public Long getUpdateName() {
return updateName;
public String getModifyUserName() {
return modifyUserName;
}
public void setUpdateName(Long updateName) {
this.updateName = updateName;
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
@Override
......@@ -125,9 +151,11 @@ public class UserRole implements Serializable {
sb.append(", roleId=").append(roleId);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createName=").append(createName);
sb.append(", updateTime=").append(updateTime);
sb.append(", updateName=").append(updateName);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
......
......@@ -40,7 +40,7 @@
sys:系统 系统相关表,例如kafka表
log: 日志 日志记录表,例如邮件发送日志表
-->
<javaModelGenerator targetPackage="com.fedex.connect.common.model.biz" targetProject="src/main/java">
<javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java">
<!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性-->
<property name="enableSubPackages" value="false"/>
<!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false-->
......@@ -52,13 +52,13 @@
</javaModelGenerator>
<!-- 生成映射文件*.xml的位置-->
<sqlMapGenerator targetPackage="mapper.biz" targetProject="src/main/java/com/fedex/connect/common">
<sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common">
<!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
<property name="enableSubPackages" value="false"/>
</sqlMapGenerator>
<!-- 生成DAO的包名和位置 -->
<javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.biz" targetProject="src/main/java">
<javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java">
<!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
<property name="enableSubPackages" value="false"/>
</javaClientGenerator>
......@@ -73,7 +73,7 @@
generatedKey 指定KEY,Oracle需要指定序列。
sqlStatement 指定序列名称
-->
<!-- <table tableName="T_LOG_OPERATION" domainObjectName="Operation"-->
<!-- <table schema="ICLEARIMP" tableName="T_LOG_OPERATION" domainObjectName="Operation"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
......@@ -91,12 +91,12 @@
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />
</table>
<!-- <table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
......@@ -137,24 +137,24 @@
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<table schema="ICLEARIMP" tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<table schema="ICLEARIMP" tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_SYS_PRIVILEGE" domainObjectName="Privilege"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
......@@ -173,18 +173,18 @@
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_SYS_USER" domainObjectName="User"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_SYS_USER_ROLE" domainObjectName="UserRole"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<table schema="ICLEARIMP" tableName="T_SYS_USER" domainObjectName="User"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" />
</table>
<table schema="ICLEARIMP" tableName="T_SYS_USER_ROLE" domainObjectName="UserRole"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_BI_DICTIONARY_ENTRIES" domainObjectName="DictionaryEntries"-->
......
package com.fedex.connect.common.dependencies.date.dto;
import com.fedex.connect.common.model.sys.User;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
......
package com.fedex.connect.common.dependencies.repository.dao;
import com.fedex.connect.common.model.sys.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
......
package com.fedex.connect.common.dependencies.repository.repo.sys;
import com.fedex.connect.common.model.sys.User;
public interface IUserRepository {
User findOne(Long id);
}
\ No newline at end of file
......
......@@ -2,7 +2,6 @@ package com.fedex.connect.common.dependencies.repository.repo.sys.impl;
import com.fedex.connect.common.dependencies.repository.base.BaseDao;
import com.fedex.connect.common.dependencies.repository.repo.sys.IUserRepository;
import com.fedex.connect.common.model.sys.User;
import org.springframework.stereotype.Repository;
@Repository
......
package com.fedex.connect.common.dependencies.util;
import com.fedex.connect.common.dependencies.date.dto.SecurityUserDetails;
import com.fedex.connect.common.model.sys.User;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
......
......@@ -4,7 +4,6 @@ import com.fedex.connect.common.dependencies.authentication.SecurityConstants;
import com.fedex.connect.common.dependencies.contants.RedisConstants;
import com.fedex.connect.common.dependencies.date.dto.SecurityUserDetails;
import com.fedex.connect.common.dependencies.repository.repo.sys.IUserRepository;
import com.fedex.connect.common.model.sys.User;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
......
package com.fedex.connect.kafka.listener.dmlistener;
import com.alibaba.fastjson.JSONObject;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
import com.fedex.connect.kafka.data.dto.DmProcessResults;
import com.fedex.connect.kafka.listener.DmListenerInterface;
......
package com.fedex.connect.kafka.repository.base;
import com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper;
import com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper;
import com.fedex.connect.kafka.repository.dao.CeInfoMapperExt;
import com.fedex.connect.kafka.repository.dao.KafkaTemporaryStorageMapperExt;
......
package com.fedex.connect.kafka.repository.repo;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import java.util.List;
/**
......
package com.fedex.connect.kafka.repository.repo.impl;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.kafka.repository.base.AbstractDaoRepository;
import com.fedex.connect.kafka.repository.repo.IKafkaStorageHistoryRepository;
import org.springframework.stereotype.Repository;
......
package com.fedex.connect.kafka.service;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
import com.fedex.connect.kafka.data.dto.DmProcessResults;
......
......@@ -2,7 +2,6 @@ package com.fedex.connect.kafka.service.impl;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
import com.fedex.connect.kafka.data.dto.DmProcessResults;
import com.fedex.connect.kafka.listener.DmListenerInterface;
......
......@@ -6,7 +6,6 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseResultVo;
import com.fedex.connect.common.dependencies.util.GsonUtils;
import com.fedex.connect.common.dependencies.util.StringExtUtil;
import com.fedex.connect.common.dependencies.util.Utils;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.manager.common.enums.FCLSessionInfoEnum;
import com.fedex.connect.manager.controller.AbstractEtController;
import com.fedex.connect.manager.controller.system.ISysAuthController;
......
......@@ -7,7 +7,6 @@ import com.fedex.connect.common.dependencies.enums.ResponseCode;
import com.fedex.connect.common.dependencies.util.BytesUtils;
import com.fedex.connect.common.dependencies.util.StringExtUtil;
import com.fedex.connect.common.dependencies.util.Utils;
import com.fedex.connect.common.model.sys.User;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
......
......@@ -4,8 +4,6 @@ import com.fedex.connect.common.dao.bi.DictionaryEntriesMapper;
import com.fedex.connect.common.dao.log.UserLoginInfoMapper;
import com.fedex.connect.common.dao.sys.RedisSlabMapper;
import com.fedex.connect.common.dao.sys.RoleMapper;
import com.fedex.connect.common.dao.sys.UserMapper;
import com.fedex.connect.common.dao.sys.UserRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
public class BaseDao {
......
package com.fedex.connect.manager.repository.repo.sys;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.common.model.sys.UserExample;
import java.util.List;
public interface IUserRepository {
......
package com.fedex.connect.manager.repository.repo.sys;
import com.fedex.connect.common.model.sys.UserRole;
import com.fedex.connect.common.model.sys.UserRoleExample;
import java.util.List;
public interface IUserRoleRepository {
......
package com.fedex.connect.manager.repository.repo.sys.impl;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.common.model.sys.UserExample;
import com.fedex.connect.manager.repository.base.BaseDao;
import com.fedex.connect.manager.repository.repo.sys.IUserRepository;
import org.springframework.stereotype.Repository;
......
package com.fedex.connect.manager.repository.repo.sys.impl;
import com.fedex.connect.common.model.sys.UserRole;
import com.fedex.connect.common.model.sys.UserRoleExample;
import com.fedex.connect.manager.repository.base.BaseDao;
import com.fedex.connect.manager.repository.repo.sys.IUserRoleRepository;
import org.springframework.stereotype.Repository;
......
......@@ -3,8 +3,6 @@ package com.fedex.connect.manager.service.base;
import com.fedex.connect.common.dao.log.UserLoginInfoMapper;
import com.fedex.connect.common.dao.sys.RoleMapper;
import com.fedex.connect.common.dao.sys.UserMapper;
import com.fedex.connect.common.dao.sys.UserRoleMapper;
import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil;
import com.fedex.connect.manager.repository.repo.log.IUserLoginLogRepository;
import com.fedex.connect.manager.repository.repo.sys.*;
......
package com.fedex.connect.manager.service.sys;
import com.fedex.connect.common.dependencies.date.vo.ResponseResultVo;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.manager.data.dto.LoginRequest;
import com.google.gson.JsonObject;
......
package com.fedex.connect.manager.service.sys;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.manager.data.dto.SysUserDto;
public interface ISysUserService {
......
......@@ -9,7 +9,6 @@ import com.fedex.connect.common.dependencies.util.GsonUtils;
import com.fedex.connect.common.dependencies.util.JwtTokenUtils;
import com.fedex.connect.common.model.sys.RedisSlab;
import com.fedex.connect.common.model.sys.Role;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.manager.data.dto.LoginRequest;
import com.fedex.connect.manager.service.base.AbstractEtService;
import com.fedex.connect.manager.service.sys.IRedisUtilService;
......
......@@ -6,8 +6,6 @@ import com.fedex.connect.common.dependencies.util.Utils;
import com.fedex.connect.common.model.bi.DictionaryEntries;
import com.fedex.connect.common.model.sys.Role;
import com.fedex.connect.common.model.sys.RoleExample;
import com.fedex.connect.common.model.sys.UserRole;
import com.fedex.connect.common.model.sys.UserRoleExample;
import com.fedex.connect.manager.data.model.LogShowModel;
import com.fedex.connect.manager.service.base.AbstractEtService;
import com.fedex.connect.manager.service.sys.ISysRoleService;
......
package com.fedex.connect.manager.service.sys.impl;
import com.fedex.connect.common.dependencies.contants.DatabaseConstants;
import com.fedex.connect.common.model.sys.UserRole;
import com.fedex.connect.manager.data.model.LogShowModel;
import com.fedex.connect.manager.service.base.AbstractEtService;
import com.fedex.connect.manager.service.sys.ISysUserRoleService;
......
......@@ -7,8 +7,6 @@ import com.fedex.connect.common.dependencies.contants.DatabaseConstants;
import com.fedex.connect.common.dependencies.util.Utils;
import com.fedex.connect.common.model.bi.DictionaryEntries;
import com.fedex.connect.common.model.sys.Role;
import com.fedex.connect.common.model.sys.User;
import com.fedex.connect.common.model.sys.UserExample;
import com.fedex.connect.manager.data.dto.SysUserDto;
import com.fedex.connect.manager.data.model.LogShowModel;
import com.fedex.connect.manager.service.base.AbstractEtService;
......