Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
49f19d3e
提交
49f19d3e
authored
12月 05, 2023
作者:
huyufan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
结算单相关
上级
1c54ecd2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
2 行删除
+10
-2
SettlementDriverDetail.java
.../clx/performance/model/settle/SettlementDriverDetail.java
+1
-0
SettlementServiceImpl.java
...erformance/service/impl/settle/SettlementServiceImpl.java
+9
-2
没有找到文件。
performance-web/src/main/java/com/clx/performance/model/settle/SettlementDriverDetail.java
浏览文件 @
49f19d3e
...
@@ -43,6 +43,7 @@ public class SettlementDriverDetail implements HasKey<Integer> {
...
@@ -43,6 +43,7 @@ public class SettlementDriverDetail implements HasKey<Integer> {
private
BigDecimal
lossWeight
;
//货损吨数
private
BigDecimal
lossWeight
;
//货损吨数
private
BigDecimal
lossFreight
;
//货损金额(分)
private
BigDecimal
lossFreight
;
//货损金额(分)
private
BigDecimal
prepayFreight
;
//预付运费金额(分)
private
BigDecimal
prepayFreight
;
//预付运费金额(分)
private
Integer
prepayFreightFlag
;
//预付运费标示 0:未预付 1:已预付
private
BigDecimal
settlementFreight
;
//结算金额(分)
private
BigDecimal
settlementFreight
;
//结算金额(分)
private
Integer
invoiceType
;
//开票标识:1网运单 2普通单
private
Integer
invoiceType
;
//开票标识:1网运单 2普通单
private
Integer
status
;
//状态
private
Integer
status
;
//状态
...
...
performance-web/src/main/java/com/clx/performance/service/impl/settle/SettlementServiceImpl.java
浏览文件 @
49f19d3e
...
@@ -42,9 +42,16 @@ public class SettlementServiceImpl implements SettlementService {
...
@@ -42,9 +42,16 @@ public class SettlementServiceImpl implements SettlementService {
if
(
settlementOwnerDetail
.
getInvoiceType
()
!=
null
)
{
return
;}
if
(
settlementOwnerDetail
.
getInvoiceType
()
!=
null
)
{
return
;}
// 结算金额<0走普通单
//
货主
结算金额<0走普通单
if
(
settlement
Driv
erDetail
.
getSettlementFreight
().
compareTo
(
BigDecimal
.
ZERO
)
<
0
){
if
(
settlement
Own
erDetail
.
getSettlementFreight
().
compareTo
(
BigDecimal
.
ZERO
)
<
0
){
invoiceType
=
SettlementOwnerEnum
.
InvoiceType
.
ORDINARY
.
getCode
();
invoiceType
=
SettlementOwnerEnum
.
InvoiceType
.
ORDINARY
.
getCode
();
settlementDriverDetail
.
setPrepayFreightFlag
(
0
);
}
else
{
//是否通过风控,调用网络货运
//设置预付运费标示
if
(
SettlementOwnerEnum
.
InvoiceType
.
ONLINE
.
getCode
().
equals
(
invoiceType
)
&&
settlementOwnerDetail
.
getPrepayFreight
().
compareTo
(
BigDecimal
.
ZERO
)
>
0
)
{
settlementDriverDetail
.
setPrepayFreightFlag
(
1
);
}
}
}
settlementOwnerDetail
.
setInvoiceType
(
invoiceType
);
settlementOwnerDetail
.
setInvoiceType
(
invoiceType
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论