Showing
3 changed files
with
6 additions
and
5 deletions
| ... | @@ -10,6 +10,7 @@ import com.fedex.connect.common.dependencies.util.AssignmentFieldUtils; | ... | @@ -10,6 +10,7 @@ import com.fedex.connect.common.dependencies.util.AssignmentFieldUtils; |
| 10 | import com.fedex.connect.common.dependencies.util.CurrentUserInfo; | 10 | import com.fedex.connect.common.dependencies.util.CurrentUserInfo; |
| 11 | import com.fedex.connect.common.dependencies.util.JsonUtils; | 11 | import com.fedex.connect.common.dependencies.util.JsonUtils; |
| 12 | import com.fedex.connect.common.model.log.Operation; | 12 | import com.fedex.connect.common.model.log.Operation; |
| 13 | +import com.fedex.connect.common.model.log.OperationWithBLOBs; | ||
| 13 | import com.fedex.connect.common.model.sys.User; | 14 | import com.fedex.connect.common.model.sys.User; |
| 14 | import org.aspectj.lang.JoinPoint; | 15 | import org.aspectj.lang.JoinPoint; |
| 15 | import org.aspectj.lang.ProceedingJoinPoint; | 16 | import org.aspectj.lang.ProceedingJoinPoint; |
| ... | @@ -119,7 +120,7 @@ public class OperationLogAspect { | ... | @@ -119,7 +120,7 @@ public class OperationLogAspect { |
| 119 | String describe = localeMessageUtil.getMessage(operationMethodLog.describe()); | 120 | String describe = localeMessageUtil.getMessage(operationMethodLog.describe()); |
| 120 | String method = request.getMethod(); | 121 | String method = request.getMethod(); |
| 121 | 122 | ||
| 122 | - Operation log = new Operation(); | 123 | + OperationWithBLOBs log = new OperationWithBLOBs(); |
| 123 | log.setRequestParameters(requestParameters); | 124 | log.setRequestParameters(requestParameters); |
| 124 | log.setUrl(url); | 125 | log.setUrl(url); |
| 125 | log.setDescribe(describe); | 126 | log.setDescribe(describe); | ... | ... |
| 1 | package com.fedex.connect.common.dependencies.repository.repo.log; | 1 | package com.fedex.connect.common.dependencies.repository.repo.log; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.log.Operation; | 3 | +import com.fedex.connect.common.model.log.OperationWithBLOBs; |
| 4 | 4 | ||
| 5 | /** | 5 | /** |
| 6 | * @Author mt | 6 | * @Author mt |
| ... | @@ -8,5 +8,5 @@ import com.fedex.connect.common.model.log.Operation; | ... | @@ -8,5 +8,5 @@ import com.fedex.connect.common.model.log.Operation; |
| 8 | * @Date 2024/11/6 | 8 | * @Date 2024/11/6 |
| 9 | */ | 9 | */ |
| 10 | public interface IOperationRepository { | 10 | public interface IOperationRepository { |
| 11 | - void insert(Operation record); | 11 | + void insert(OperationWithBLOBs record); |
| 12 | } | 12 | } | ... | ... |
| ... | @@ -2,7 +2,7 @@ package com.fedex.connect.common.dependencies.repository.repo.log.impl; | ... | @@ -2,7 +2,7 @@ package com.fedex.connect.common.dependencies.repository.repo.log.impl; |
| 2 | 2 | ||
| 3 | import com.fedex.connect.common.dependencies.repository.base.BaseDao; | 3 | import com.fedex.connect.common.dependencies.repository.base.BaseDao; |
| 4 | import com.fedex.connect.common.dependencies.repository.repo.log.IOperationRepository; | 4 | import com.fedex.connect.common.dependencies.repository.repo.log.IOperationRepository; |
| 5 | -import com.fedex.connect.common.model.log.Operation; | 5 | +import com.fedex.connect.common.model.log.OperationWithBLOBs; |
| 6 | import org.springframework.stereotype.Repository; | 6 | import org.springframework.stereotype.Repository; |
| 7 | 7 | ||
| 8 | /** | 8 | /** |
| ... | @@ -12,7 +12,7 @@ import org.springframework.stereotype.Repository; | ... | @@ -12,7 +12,7 @@ import org.springframework.stereotype.Repository; |
| 12 | */ | 12 | */ |
| 13 | @Repository | 13 | @Repository |
| 14 | public class OperationRepositoryImpl extends BaseDao implements IOperationRepository { | 14 | public class OperationRepositoryImpl extends BaseDao implements IOperationRepository { |
| 15 | - public void insert(Operation record){ | 15 | + public void insert(OperationWithBLOBs record){ |
| 16 | operationMapper.insert(record); | 16 | operationMapper.insert(record); |
| 17 | } | 17 | } |
| 18 | } | 18 | } | ... | ... |
-
Please register or login to post a comment