Showing
9 changed files
with
586 additions
and
31 deletions
| 1 | +package com.fedex.connect.common.dao.log; | ||
| 2 | + | ||
| 3 | +import com.fedex.connect.common.model.log.EmailHistory; | ||
| 4 | +import com.fedex.connect.common.model.log.EmailHistoryExample; | ||
| 5 | +import org.apache.ibatis.annotations.Param; | ||
| 6 | + | ||
| 7 | +import java.util.List; | ||
| 8 | + | ||
| 9 | +public interface EmailHistoryMapper { | ||
| 10 | + long countByExample(EmailHistoryExample example); | ||
| 11 | + | ||
| 12 | + int deleteByExample(EmailHistoryExample example); | ||
| 13 | + | ||
| 14 | + int deleteByPrimaryKey(Long id); | ||
| 15 | + | ||
| 16 | + int insert(EmailHistory record); | ||
| 17 | + | ||
| 18 | + int insertSelective(EmailHistory record); | ||
| 19 | + | ||
| 20 | + List<EmailHistory> selectByExampleWithBLOBs(EmailHistoryExample example); | ||
| 21 | + | ||
| 22 | + List<EmailHistory> selectByExample(EmailHistoryExample example); | ||
| 23 | + | ||
| 24 | + EmailHistory selectByPrimaryKey(Long id); | ||
| 25 | + | ||
| 26 | + int updateByExampleSelective(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example); | ||
| 27 | + | ||
| 28 | + int updateByExampleWithBLOBs(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example); | ||
| 29 | + | ||
| 30 | + int updateByExample(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example); | ||
| 31 | + | ||
| 32 | + int updateByPrimaryKeySelective(EmailHistory record); | ||
| 33 | + | ||
| 34 | + int updateByPrimaryKeyWithBLOBs(EmailHistory record); | ||
| 35 | + | ||
| 36 | + int updateByPrimaryKey(EmailHistory record); | ||
| 37 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +package com.fedex.connect.common.dao.log; | ||
| 2 | + | ||
| 3 | +import com.fedex.connect.common.model.log.Operation; | ||
| 4 | +import com.fedex.connect.common.model.log.OperationExample; | ||
| 5 | +import java.util.List; | ||
| 6 | +import org.apache.ibatis.annotations.Param; | ||
| 7 | + | ||
| 8 | +public interface OperationMapper { | ||
| 9 | + long countByExample(OperationExample example); | ||
| 10 | + | ||
| 11 | + int deleteByExample(OperationExample example); | ||
| 12 | + | ||
| 13 | + int deleteByPrimaryKey(Long id); | ||
| 14 | + | ||
| 15 | + int insert(Operation record); | ||
| 16 | + | ||
| 17 | + int insertSelective(Operation record); | ||
| 18 | + | ||
| 19 | + List<Operation> selectByExampleWithBLOBs(OperationExample example); | ||
| 20 | + | ||
| 21 | + List<Operation> selectByExample(OperationExample example); | ||
| 22 | + | ||
| 23 | + Operation selectByPrimaryKey(Long id); | ||
| 24 | + | ||
| 25 | + int updateByExampleSelective(@Param("record") Operation record, @Param("example") OperationExample example); | ||
| 26 | + | ||
| 27 | + int updateByExampleWithBLOBs(@Param("record") Operation record, @Param("example") OperationExample example); | ||
| 28 | + | ||
| 29 | + int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example); | ||
| 30 | + | ||
| 31 | + int updateByPrimaryKeySelective(Operation record); | ||
| 32 | + | ||
| 33 | + int updateByPrimaryKeyWithBLOBs(Operation record); | ||
| 34 | + | ||
| 35 | + int updateByPrimaryKey(Operation record); | ||
| 36 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/common-dao/src/main/java/com/fedex/connect/common/mapper/log/EmailHistoryMapper.xml
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
| 1 | +package com.fedex.connect.common.model.log; | ||
| 2 | + | ||
| 3 | +import java.io.Serializable; | ||
| 4 | +import java.util.Date; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * DESC: 邮件发送历史日志表 | ||
| 8 | + * TABLE: T_LOG_EMAIL_HISTORY | ||
| 9 | + */ | ||
| 10 | +public class EmailHistory implements Serializable { | ||
| 11 | + /** | ||
| 12 | + * ID,主键自增 | ||
| 13 | + */ | ||
| 14 | + private Long id; | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * 业务ID | ||
| 18 | + */ | ||
| 19 | + private Long bizId; | ||
| 20 | + | ||
| 21 | + /** | ||
| 22 | + * 业务编号(业务相关的编号:例如运单号) | ||
| 23 | + */ | ||
| 24 | + private String bizCode; | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * 收件人邮箱 | ||
| 28 | + */ | ||
| 29 | + private String toAddress; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * 抄送人邮箱 | ||
| 33 | + */ | ||
| 34 | + private String ccAddress; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * 邮件标题 | ||
| 38 | + */ | ||
| 39 | + private String subject; | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * 邮件类型ID,关联数据字典表。指定字典目录CODE:EMAIL_TYPE | ||
| 43 | + */ | ||
| 44 | + private Long typeId; | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 邮件类型名称 | ||
| 48 | + */ | ||
| 49 | + private String typeName; | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * 邮件状态ID,关联数据字典表。指定字典目录CODE:EMAIL_STATUS | ||
| 53 | + */ | ||
| 54 | + private Long statusId; | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * 邮件状态名称 | ||
| 58 | + */ | ||
| 59 | + private String statusName; | ||
| 60 | + | ||
| 61 | + /** | ||
| 62 | + * 发送次数(0-3次) | ||
| 63 | + */ | ||
| 64 | + private Long sendNum; | ||
| 65 | + | ||
| 66 | + /** | ||
| 67 | + * 邮件发送时间 | ||
| 68 | + */ | ||
| 69 | + private Date sendTime; | ||
| 70 | + | ||
| 71 | + /** | ||
| 72 | + * 创建时间 | ||
| 73 | + */ | ||
| 74 | + private Date createTime; | ||
| 75 | + | ||
| 76 | + /** | ||
| 77 | + * 创建人ID,关联用户表ID | ||
| 78 | + */ | ||
| 79 | + private Long createUserId; | ||
| 80 | + | ||
| 81 | + /** | ||
| 82 | + * 创建人名称 | ||
| 83 | + */ | ||
| 84 | + private String createUserName; | ||
| 85 | + | ||
| 86 | + /** | ||
| 87 | + * 修改时间 | ||
| 88 | + */ | ||
| 89 | + private Date modifyTime; | ||
| 90 | + | ||
| 91 | + /** | ||
| 92 | + * 修改人ID,关联用户表ID | ||
| 93 | + */ | ||
| 94 | + private Long modifyUserId; | ||
| 95 | + | ||
| 96 | + /** | ||
| 97 | + * 修改人名称 | ||
| 98 | + */ | ||
| 99 | + private String modifyUserName; | ||
| 100 | + | ||
| 101 | + /** | ||
| 102 | + * 邮件内容 | ||
| 103 | + */ | ||
| 104 | + private String body; | ||
| 105 | + | ||
| 106 | + private static final long serialVersionUID = 1L; | ||
| 107 | + | ||
| 108 | + public Long getId() { | ||
| 109 | + return id; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public void setId(Long id) { | ||
| 113 | + this.id = id; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + public Long getBizId() { | ||
| 117 | + return bizId; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public void setBizId(Long bizId) { | ||
| 121 | + this.bizId = bizId; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public String getBizCode() { | ||
| 125 | + return bizCode; | ||
| 126 | + } | ||
| 127 | + | ||
| 128 | + public void setBizCode(String bizCode) { | ||
| 129 | + this.bizCode = bizCode == null ? null : bizCode.trim(); | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + public String getToAddress() { | ||
| 133 | + return toAddress; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + public void setToAddress(String toAddress) { | ||
| 137 | + this.toAddress = toAddress == null ? null : toAddress.trim(); | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + public String getCcAddress() { | ||
| 141 | + return ccAddress; | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + public void setCcAddress(String ccAddress) { | ||
| 145 | + this.ccAddress = ccAddress == null ? null : ccAddress.trim(); | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + public String getSubject() { | ||
| 149 | + return subject; | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + public void setSubject(String subject) { | ||
| 153 | + this.subject = subject == null ? null : subject.trim(); | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + public Long getTypeId() { | ||
| 157 | + return typeId; | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + public void setTypeId(Long typeId) { | ||
| 161 | + this.typeId = typeId; | ||
| 162 | + } | ||
| 163 | + | ||
| 164 | + public String getTypeName() { | ||
| 165 | + return typeName; | ||
| 166 | + } | ||
| 167 | + | ||
| 168 | + public void setTypeName(String typeName) { | ||
| 169 | + this.typeName = typeName == null ? null : typeName.trim(); | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + public Long getStatusId() { | ||
| 173 | + return statusId; | ||
| 174 | + } | ||
| 175 | + | ||
| 176 | + public void setStatusId(Long statusId) { | ||
| 177 | + this.statusId = statusId; | ||
| 178 | + } | ||
| 179 | + | ||
| 180 | + public String getStatusName() { | ||
| 181 | + return statusName; | ||
| 182 | + } | ||
| 183 | + | ||
| 184 | + public void setStatusName(String statusName) { | ||
| 185 | + this.statusName = statusName == null ? null : statusName.trim(); | ||
| 186 | + } | ||
| 187 | + | ||
| 188 | + public Long getSendNum() { | ||
| 189 | + return sendNum; | ||
| 190 | + } | ||
| 191 | + | ||
| 192 | + public void setSendNum(Long sendNum) { | ||
| 193 | + this.sendNum = sendNum; | ||
| 194 | + } | ||
| 195 | + | ||
| 196 | + public Date getSendTime() { | ||
| 197 | + return sendTime; | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + public void setSendTime(Date sendTime) { | ||
| 201 | + this.sendTime = sendTime; | ||
| 202 | + } | ||
| 203 | + | ||
| 204 | + public Date getCreateTime() { | ||
| 205 | + return createTime; | ||
| 206 | + } | ||
| 207 | + | ||
| 208 | + public void setCreateTime(Date createTime) { | ||
| 209 | + this.createTime = createTime; | ||
| 210 | + } | ||
| 211 | + | ||
| 212 | + public Long getCreateUserId() { | ||
| 213 | + return createUserId; | ||
| 214 | + } | ||
| 215 | + | ||
| 216 | + public void setCreateUserId(Long createUserId) { | ||
| 217 | + this.createUserId = createUserId; | ||
| 218 | + } | ||
| 219 | + | ||
| 220 | + public String getCreateUserName() { | ||
| 221 | + return createUserName; | ||
| 222 | + } | ||
| 223 | + | ||
| 224 | + public void setCreateUserName(String createUserName) { | ||
| 225 | + this.createUserName = createUserName == null ? null : createUserName.trim(); | ||
| 226 | + } | ||
| 227 | + | ||
| 228 | + public Date getModifyTime() { | ||
| 229 | + return modifyTime; | ||
| 230 | + } | ||
| 231 | + | ||
| 232 | + public void setModifyTime(Date modifyTime) { | ||
| 233 | + this.modifyTime = modifyTime; | ||
| 234 | + } | ||
| 235 | + | ||
| 236 | + public Long getModifyUserId() { | ||
| 237 | + return modifyUserId; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + public void setModifyUserId(Long modifyUserId) { | ||
| 241 | + this.modifyUserId = modifyUserId; | ||
| 242 | + } | ||
| 243 | + | ||
| 244 | + public String getModifyUserName() { | ||
| 245 | + return modifyUserName; | ||
| 246 | + } | ||
| 247 | + | ||
| 248 | + public void setModifyUserName(String modifyUserName) { | ||
| 249 | + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim(); | ||
| 250 | + } | ||
| 251 | + | ||
| 252 | + public String getBody() { | ||
| 253 | + return body; | ||
| 254 | + } | ||
| 255 | + | ||
| 256 | + public void setBody(String body) { | ||
| 257 | + this.body = body == null ? null : body.trim(); | ||
| 258 | + } | ||
| 259 | + | ||
| 260 | + @Override | ||
| 261 | + public String toString() { | ||
| 262 | + StringBuilder sb = new StringBuilder(); | ||
| 263 | + sb.append(getClass().getSimpleName()); | ||
| 264 | + sb.append(" ["); | ||
| 265 | + sb.append("Hash = ").append(hashCode()); | ||
| 266 | + sb.append(", id=").append(id); | ||
| 267 | + sb.append(", bizId=").append(bizId); | ||
| 268 | + sb.append(", bizCode=").append(bizCode); | ||
| 269 | + sb.append(", toAddress=").append(toAddress); | ||
| 270 | + sb.append(", ccAddress=").append(ccAddress); | ||
| 271 | + sb.append(", subject=").append(subject); | ||
| 272 | + sb.append(", typeId=").append(typeId); | ||
| 273 | + sb.append(", typeName=").append(typeName); | ||
| 274 | + sb.append(", statusId=").append(statusId); | ||
| 275 | + sb.append(", statusName=").append(statusName); | ||
| 276 | + sb.append(", sendNum=").append(sendNum); | ||
| 277 | + sb.append(", sendTime=").append(sendTime); | ||
| 278 | + sb.append(", createTime=").append(createTime); | ||
| 279 | + sb.append(", createUserId=").append(createUserId); | ||
| 280 | + sb.append(", createUserName=").append(createUserName); | ||
| 281 | + sb.append(", modifyTime=").append(modifyTime); | ||
| 282 | + sb.append(", modifyUserId=").append(modifyUserId); | ||
| 283 | + sb.append(", modifyUserName=").append(modifyUserName); | ||
| 284 | + sb.append(", body=").append(body); | ||
| 285 | + sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 286 | + sb.append("]"); | ||
| 287 | + return sb.toString(); | ||
| 288 | + } | ||
| 289 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/common-dao/src/main/java/com/fedex/connect/common/model/log/EmailHistoryExample.java
0 → 100644
This diff is collapsed. Click to expand it.
| 1 | +package com.fedex.connect.common.model.log; | ||
| 2 | + | ||
| 3 | +import java.io.Serializable; | ||
| 4 | +import java.util.Date; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * DESC: 操作日志 | ||
| 8 | + * TABLE: T_LOG_OPERATION | ||
| 9 | + */ | ||
| 10 | +public class Operation implements Serializable { | ||
| 11 | + /** | ||
| 12 | + * ID | ||
| 13 | + */ | ||
| 14 | + private Long id; | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * 操作人id | ||
| 18 | + */ | ||
| 19 | + private Long userId; | ||
| 20 | + | ||
| 21 | + /** | ||
| 22 | + * 操作人名称 | ||
| 23 | + */ | ||
| 24 | + private String userName; | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * 操作模块 | ||
| 28 | + */ | ||
| 29 | + private String module; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * 操作描述 | ||
| 33 | + */ | ||
| 34 | + private String describe; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * 操作时间 | ||
| 38 | + */ | ||
| 39 | + private Date createTime; | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * 请求路径 | ||
| 43 | + */ | ||
| 44 | + private String url; | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 请求参数 | ||
| 48 | + */ | ||
| 49 | + private String requestParameters; | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * 操作结果 | ||
| 53 | + */ | ||
| 54 | + private String result; | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * 状态 0-不展示 1-展示 | ||
| 58 | + */ | ||
| 59 | + private Long status; | ||
| 60 | + | ||
| 61 | + /** | ||
| 62 | + * 备注 | ||
| 63 | + */ | ||
| 64 | + private String remark; | ||
| 65 | + | ||
| 66 | + private static final long serialVersionUID = 1L; | ||
| 67 | + | ||
| 68 | + public Long getId() { | ||
| 69 | + return id; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void setId(Long id) { | ||
| 73 | + this.id = id; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public Long getUserId() { | ||
| 77 | + return userId; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public void setUserId(Long userId) { | ||
| 81 | + this.userId = userId; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public String getUserName() { | ||
| 85 | + return userName; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public void setUserName(String userName) { | ||
| 89 | + this.userName = userName == null ? null : userName.trim(); | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public String getModule() { | ||
| 93 | + return module; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public void setModule(String module) { | ||
| 97 | + this.module = module == null ? null : module.trim(); | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public String getDescribe() { | ||
| 101 | + return describe; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + public void setDescribe(String describe) { | ||
| 105 | + this.describe = describe == null ? null : describe.trim(); | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public Date getCreateTime() { | ||
| 109 | + return createTime; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public void setCreateTime(Date createTime) { | ||
| 113 | + this.createTime = createTime; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + public String getUrl() { | ||
| 117 | + return url; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public void setUrl(String url) { | ||
| 121 | + this.url = url == null ? null : url.trim(); | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public String getRequestParameters() { | ||
| 125 | + return requestParameters; | ||
| 126 | + } | ||
| 127 | + | ||
| 128 | + public void setRequestParameters(String requestParameters) { | ||
| 129 | + this.requestParameters = requestParameters == null ? null : requestParameters.trim(); | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + public String getResult() { | ||
| 133 | + return result; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + public void setResult(String result) { | ||
| 137 | + this.result = result == null ? null : result.trim(); | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + public Long getStatus() { | ||
| 141 | + return status; | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + public void setStatus(Long status) { | ||
| 145 | + this.status = status; | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + public String getRemark() { | ||
| 149 | + return remark; | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + public void setRemark(String remark) { | ||
| 153 | + this.remark = remark == null ? null : remark.trim(); | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + @Override | ||
| 157 | + public String toString() { | ||
| 158 | + StringBuilder sb = new StringBuilder(); | ||
| 159 | + sb.append(getClass().getSimpleName()); | ||
| 160 | + sb.append(" ["); | ||
| 161 | + sb.append("Hash = ").append(hashCode()); | ||
| 162 | + sb.append(", id=").append(id); | ||
| 163 | + sb.append(", userId=").append(userId); | ||
| 164 | + sb.append(", userName=").append(userName); | ||
| 165 | + sb.append(", module=").append(module); | ||
| 166 | + sb.append(", describe=").append(describe); | ||
| 167 | + sb.append(", createTime=").append(createTime); | ||
| 168 | + sb.append(", url=").append(url); | ||
| 169 | + sb.append(", requestParameters=").append(requestParameters); | ||
| 170 | + sb.append(", result=").append(result); | ||
| 171 | + sb.append(", status=").append(status); | ||
| 172 | + sb.append(", remark=").append(remark); | ||
| 173 | + sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 174 | + sb.append("]"); | ||
| 175 | + return sb.toString(); | ||
| 176 | + } | ||
| 177 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | sys:系统 系统相关表,例如kafka表 | 40 | sys:系统 系统相关表,例如kafka表 |
| 41 | log: 日志 日志记录表,例如邮件发送日志表 | 41 | log: 日志 日志记录表,例如邮件发送日志表 |
| 42 | --> | 42 | --> |
| 43 | - <javaModelGenerator targetPackage="com.fedex.connect.common.model.biz" targetProject="src/main/java"> | 43 | + <javaModelGenerator targetPackage="com.fedex.connect.common.model.log" 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.biz" targetProject="src/main/java/com/fedex/connect/common"> | 55 | + <sqlMapGenerator targetPackage="mapper.log" 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.biz" targetProject="src/main/java"> | 61 | + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.log" 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,45 +73,61 @@ | ... | @@ -73,45 +73,61 @@ |
| 73 | generatedKey 指定KEY,Oracle需要指定序列。 | 73 | generatedKey 指定KEY,Oracle需要指定序列。 |
| 74 | sqlStatement 指定序列名称 | 74 | sqlStatement 指定序列名称 |
| 75 | --> | 75 | --> |
| 76 | - <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment" | 76 | + <table tableName="T_LOG_OPERATION" domainObjectName="Operation" |
| 77 | enableCountByExample="true" enableUpdateByExample="true" | 77 | enableCountByExample="true" enableUpdateByExample="true" |
| 78 | enableDeleteByExample="true" enableSelectByExample="true" | 78 | enableDeleteByExample="true" enableSelectByExample="true" |
| 79 | selectByExampleQueryId="true"> | 79 | selectByExampleQueryId="true"> |
| 80 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" /> | 80 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL" /> |
| 81 | </table> | 81 | </table> |
| 82 | - <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" | 82 | + <table tableName="T_LOG_EMAIL_HISTORY" domainObjectName="EmailHistory" |
| 83 | enableCountByExample="true" enableUpdateByExample="true" | 83 | enableCountByExample="true" enableUpdateByExample="true" |
| 84 | enableDeleteByExample="true" enableSelectByExample="true" | 84 | enableDeleteByExample="true" enableSelectByExample="true" |
| 85 | selectByExampleQueryId="true"> | 85 | selectByExampleQueryId="true"> |
| 86 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" /> | 86 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" /> |
| 87 | - </table> | ||
| 88 | - <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment" | ||
| 89 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 90 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 91 | - selectByExampleQueryId="true"> | ||
| 92 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" /> | ||
| 93 | - </table> | ||
| 94 | - <table tableName="T_BIZ_EMAIL" domainObjectName="Email" | ||
| 95 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 96 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 97 | - selectByExampleQueryId="true"> | ||
| 98 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" /> | ||
| 99 | - </table> | ||
| 100 | - <table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb" | ||
| 101 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 102 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 103 | - selectByExampleQueryId="true"> | ||
| 104 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" /> | ||
| 105 | - </table> | ||
| 106 | - <table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail" | ||
| 107 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 108 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 109 | - selectByExampleQueryId="true"> | ||
| 110 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" /> | ||
| 111 | </table> | 87 | </table> |
| 112 | 88 | ||
| 113 | 89 | ||
| 114 | 90 | ||
| 91 | + | ||
| 92 | +<!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"--> | ||
| 93 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 94 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 95 | +<!-- selectByExampleQueryId="true">--> | ||
| 96 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> | ||
| 97 | +<!-- </table>--> | ||
| 98 | +<!-- <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"--> | ||
| 99 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 100 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 101 | +<!-- selectByExampleQueryId="true">--> | ||
| 102 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />--> | ||
| 103 | +<!-- </table>--> | ||
| 104 | +<!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"--> | ||
| 105 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 106 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 107 | +<!-- selectByExampleQueryId="true">--> | ||
| 108 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />--> | ||
| 109 | +<!-- </table>--> | ||
| 110 | +<!-- <table tableName="T_BIZ_EMAIL" domainObjectName="Email"--> | ||
| 111 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 112 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 113 | +<!-- selectByExampleQueryId="true">--> | ||
| 114 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" />--> | ||
| 115 | +<!-- </table>--> | ||
| 116 | +<!-- <table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb"--> | ||
| 117 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 118 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 119 | +<!-- selectByExampleQueryId="true">--> | ||
| 120 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" />--> | ||
| 121 | +<!-- </table>--> | ||
| 122 | +<!-- <table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail"--> | ||
| 123 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 124 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 125 | +<!-- selectByExampleQueryId="true">--> | ||
| 126 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />--> | ||
| 127 | +<!-- </table>--> | ||
| 128 | + | ||
| 129 | + | ||
| 130 | + | ||
| 115 | <!-- <table tableName="T_BI_PORTCLEAR_EMAIL_MAPPING" domainObjectName="PortclearEmailMapping"--> | 131 | <!-- <table tableName="T_BI_PORTCLEAR_EMAIL_MAPPING" domainObjectName="PortclearEmailMapping"--> |
| 116 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 132 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 117 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 133 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ... | ... |
-
Please register or login to post a comment