Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
5ab0a0aa
提交
5ab0a0aa
authored
10月 24, 2024
作者:
刘海泉
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加日志相关类
上级
895122da
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
64 行增加
和
0 行删除
+64
-0
OrderChildExceptionReportOperationLogDao.java
...ormance/dao/OrderChildExceptionReportOperationLogDao.java
+14
-0
OrderChildExceptionReportOperationLogDaoImpl.java
...ao/impl/OrderChildExceptionReportOperationLogDaoImpl.java
+17
-0
OrderChildExceptionReportOperationLogMapper.java
...e/mapper/OrderChildExceptionReportOperationLogMapper.java
+18
-0
OrderChildExceptionReportServiceImpl.java
...ce/service/impl/OrderChildExceptionReportServiceImpl.java
+15
-0
没有找到文件。
clx-performance-web/src/main/java/com/clx/performance/dao/OrderChildExceptionReportOperationLogDao.java
0 → 100644
浏览文件 @
5ab0a0aa
package
com
.
clx
.
performance
.
dao
;
import
com.clx.performance.mapper.OrderChildExceptionReportOperationLogMapper
;
import
com.clx.performance.model.OrderChildExceptionReportOperationLog
;
import
com.msl.common.dao.BaseDao
;
/**
* @Author: aiqinguo
* @Description: 运单日志
* @Date: 2023/09/18 11:34:50
* @Version: 1.0
*/
public
interface
OrderChildExceptionReportOperationLogDao
extends
BaseDao
<
OrderChildExceptionReportOperationLogMapper
,
OrderChildExceptionReportOperationLog
,
Integer
>
{
}
clx-performance-web/src/main/java/com/clx/performance/dao/impl/OrderChildExceptionReportOperationLogDaoImpl.java
0 → 100644
浏览文件 @
5ab0a0aa
package
com
.
clx
.
performance
.
dao
.
impl
;
import
com.clx.performance.dao.OrderChildExceptionReportOperationLogDao
;
import
com.clx.performance.mapper.OrderChildExceptionReportOperationLogMapper
;
import
com.clx.performance.model.OrderChildExceptionReportOperationLog
;
import
com.msl.common.dao.impl.BaseDaoImpl
;
import
org.springframework.stereotype.Repository
;
/**
* @Author: aiqinguo
* @Description: 运单图片
* @Date: 2023/09/18 11:34:50
* @Version: 1.0
*/
@Repository
public
class
OrderChildExceptionReportOperationLogDaoImpl
extends
BaseDaoImpl
<
OrderChildExceptionReportOperationLogMapper
,
OrderChildExceptionReportOperationLog
,
Integer
>
implements
OrderChildExceptionReportOperationLogDao
{
}
clx-performance-web/src/main/java/com/clx/performance/mapper/OrderChildExceptionReportOperationLogMapper.java
0 → 100644
浏览文件 @
5ab0a0aa
package
com
.
clx
.
performance
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.clx.performance.model.OrderChildExceptionReportOperationLog
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @Author: aiqinguo
* @Description: 运单日志
* @Date: 2023/09/18 11:34:50
* @Version: 1.0
*/
@Mapper
public
interface
OrderChildExceptionReportOperationLogMapper
extends
BaseMapper
<
OrderChildExceptionReportOperationLog
>
{
}
\ No newline at end of file
clx-performance-web/src/main/java/com/clx/performance/service/impl/OrderChildExceptionReportServiceImpl.java
浏览文件 @
5ab0a0aa
...
...
@@ -13,11 +13,14 @@ import com.clx.performance.config.ThirdAppConfig;
import
com.clx.performance.constant.RedisConstants
;
import
com.clx.performance.dao.OrderChildExceptionReportDao
;
import
com.clx.performance.dao.OrderChildExceptionReportDealLogDao
;
import
com.clx.performance.dao.OrderChildExceptionReportOperationLogDao
;
import
com.clx.performance.enums.CarrierExceptionLogEnum
;
import
com.clx.performance.enums.CarrierExceptionReportEnum
;
import
com.clx.performance.enums.ResultEnum
;
import
com.clx.performance.enums.SyncPlatformEnum
;
import
com.clx.performance.model.OrderChildExceptionReport
;
import
com.clx.performance.model.OrderChildExceptionReportDealLog
;
import
com.clx.performance.model.OrderChildExceptionReportOperationLog
;
import
com.clx.performance.param.pc.DealExceptionReportParam
;
import
com.clx.performance.param.pc.PageExceptionReportParam
;
import
com.clx.performance.param.pc.TransferDriverBreakContractParam
;
...
...
@@ -64,6 +67,7 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
private
final
OrderChildExceptionReportDealLogDao
orderChildExceptionReportDealLogDao
;
private
final
RedisTemplate
<
String
,
Integer
>
redisTemplate
;
private
final
ThirdAppConfig
thirdAppConfig
;
private
final
OrderChildExceptionReportOperationLogDao
orderChildExceptionReportOperationLogDao
;
@Override
public
Result
<
String
>
smbSyncExceptionReportInfo
(
SmbSyncExceptionReportInfoAction
action
)
{
...
...
@@ -148,6 +152,7 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
report
.
setSource
(
source
);
report
.
setStatus
(
CarrierExceptionReportEnum
.
Status
.
WAIT_DEAL
.
getCode
());
orderChildExceptionReportDao
.
saveEntity
(
report
);
saveOperationLog
(
report
.
getReportNo
(),
CarrierExceptionLogEnum
.
Type
.
CREATE
,
null
,
null
,
SyncPlatformEnum
.
Source
.
getNameByCode
(
source
));
return
report
.
getReportNo
();
}
...
...
@@ -357,4 +362,14 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
report
.
setTransferDriverBreakContract
(
1
);
orderChildExceptionReportDao
.
updateEntityByKey
(
report
);
}
public
void
saveOperationLog
(
String
reportNo
,
CarrierExceptionLogEnum
.
Type
type
,
String
result
,
Long
createBy
,
String
createName
){
OrderChildExceptionReportOperationLog
operationLog
=
new
OrderChildExceptionReportOperationLog
();
operationLog
.
setReportNo
(
reportNo
);
operationLog
.
setType
(
type
.
getCode
());
operationLog
.
setResult
(
result
);
operationLog
.
setCreateBy
(
createBy
);
operationLog
.
setCreateName
(
createName
);
orderChildExceptionReportOperationLogDao
.
saveEntity
(
operationLog
);
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论