Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
33d9e989
提交
33d9e989
authored
10月 24, 2024
作者:
马路路
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
订单报价-货主运单计费--列表、导出-新增开票配置
上级
2fa9fef9
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
3 行删除
+24
-3
SettlementOwnerDetailServiceImpl.java
...service/impl/settle/SettlementOwnerDetailServiceImpl.java
+5
-3
SettlementOwnerEnum.java
...com/clx/performance/enums/settle/SettlementOwnerEnum.java
+17
-0
CarrierPageSettlementOwnerDetailVO.java
...pc/carrier/settle/CarrierPageSettlementOwnerDetailVO.java
+2
-0
没有找到文件。
clx-performance-web/src/main/java/com/clx/performance/service/impl/settle/SettlementOwnerDetailServiceImpl.java
浏览文件 @
33d9e989
...
@@ -554,9 +554,10 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
...
@@ -554,9 +554,10 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
fieldList
.
add
(
new
ExcelField
(
16
,
"开票金额"
,
"invoiceFreight"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
16
,
"开票金额"
,
"invoiceFreight"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
17
,
"开票公司"
,
"invoicingCompanyShorterName"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
17
,
"开票公司"
,
"invoicingCompanyShorterName"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
18
,
"开票标识"
,
"invoiceType"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
18
,
"开票标识"
,
"invoiceType"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
19
,
"订单编号"
,
"orderNo"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
19
,
"开票配置"
,
"invoiceConfigType"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
20
,
"结算单号"
,
"settlementNo"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
20
,
"订单编号"
,
"orderNo"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
21
,
"创建时间"
,
"createTime"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
21
,
"结算单号"
,
"settlementNo"
,
5000
));
fieldList
.
add
(
new
ExcelField
(
22
,
"创建时间"
,
"createTime"
,
5000
));
// 组装数据
// 组装数据
List
<
List
<
ExcelData
>>
dataList
=
new
ArrayList
<>();
List
<
List
<
ExcelData
>>
dataList
=
new
ArrayList
<>();
...
@@ -584,6 +585,7 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
...
@@ -584,6 +585,7 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoiceFreight
()==
null
?
null
:
dto
.
getInvoiceFreight
().
movePointLeft
(
2
)));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoiceFreight
()==
null
?
null
:
dto
.
getInvoiceFreight
().
movePointLeft
(
2
)));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoicingCompanyShorterName
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoicingCompanyShorterName
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoiceType
()==
null
?
null
:
SettlementOwnerEnum
.
InvoiceType
.
getMsgByCode
(
dto
.
getInvoiceType
())));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoiceType
()==
null
?
null
:
SettlementOwnerEnum
.
InvoiceType
.
getMsgByCode
(
dto
.
getInvoiceType
())));
rowData
.
add
(
new
ExcelData
(
dto
.
getInvoicingConfigType
()==
null
?
null
:
SettlementOwnerEnum
.
InvoiceConfigType
.
getMsgByCode
(
dto
.
getInvoicingConfigType
())));
rowData
.
add
(
new
ExcelData
(
dto
.
getOrderNo
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getOrderNo
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getSettlementNo
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getSettlementNo
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateTime
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateTime
()));
...
...
performance-api/src/main/java/com/clx/performance/enums/settle/SettlementOwnerEnum.java
浏览文件 @
33d9e989
...
@@ -134,7 +134,24 @@ public enum SettlementOwnerEnum {
...
@@ -134,7 +134,24 @@ public enum SettlementOwnerEnum {
}
}
}
}
@Getter
@AllArgsConstructor
public
enum
InvoiceConfigType
{
NO
(
0
,
"否"
),
YES
(
1
,
"是"
),
;
private
final
Integer
code
;
private
final
String
msg
;
public
static
Optional
<
InvoiceConfigType
>
getByCode
(
int
code
)
{
return
Arrays
.
stream
(
values
()).
filter
(
e
->
e
.
code
==
code
).
findFirst
();
}
public
static
String
getMsgByCode
(
int
code
)
{
return
getByCode
(
code
).
map
(
InvoiceConfigType:
:
getMsg
).
orElse
(
null
);
}
}
...
...
performance-api/src/main/java/com/clx/performance/vo/pc/carrier/settle/CarrierPageSettlementOwnerDetailVO.java
浏览文件 @
33d9e989
...
@@ -74,6 +74,8 @@ public class CarrierPageSettlementOwnerDetailVO {
...
@@ -74,6 +74,8 @@ public class CarrierPageSettlementOwnerDetailVO {
private
BigDecimal
invoiceServiceFee
;
private
BigDecimal
invoiceServiceFee
;
@Schema
(
description
=
"开票服务率"
)
@Schema
(
description
=
"开票服务率"
)
private
BigDecimal
invoiceServiceFeeRate
;
private
BigDecimal
invoiceServiceFeeRate
;
@Schema
(
description
=
"开票配置:0-否,1-是"
)
private
Integer
invoicingConfigType
;
@MoneyOutConvert
@MoneyOutConvert
@Schema
(
description
=
"借款抵扣金额"
)
@Schema
(
description
=
"借款抵扣金额"
)
private
BigDecimal
loanFreight
;
private
BigDecimal
loanFreight
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论