Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
223f7574
Commit
223f7574
authored
Dec 25, 2024
by
Smile
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/jd_dev' into jd_dev
parents
11eec742
42310b42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
OrderWarehouseInServiceImpl.java
...service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
+17
-12
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
View file @
223f7574
...
@@ -2669,8 +2669,13 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -2669,8 +2669,13 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 查询仓库
// 查询仓库
LogisticsInfoDto
logisticsInfoDto
=
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
orderDO
.
getLineId
());
LogisticsInfoDto
logisticsInfoDto
=
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
orderDO
.
getLineId
());
String
startWarehouseName
=
I18nMessage
.
getLang
()
==
0
?
logisticsInfoDto
.
getStartTitleZh
()
:
logisticsInfoDto
.
getStartTitleEn
();
String
startWarehouseName
=
logisticsInfoDto
.
getStartTitleZh
();
String
destWearehouseName
=
I18nMessage
.
getLang
()
==
0
?
logisticsInfoDto
.
getDestTitleZh
()
:
logisticsInfoDto
.
getDestTitleEn
();
String
startWarehouseNameEn
=
logisticsInfoDto
.
getStartTitleEn
();
String
startWarehouseNameFr
=
logisticsInfoDto
.
getStartTitleFr
();
String
destWearehouseName
=
logisticsInfoDto
.
getDestTitleZh
()
;
String
destWearehouseNameEn
=
logisticsInfoDto
.
getDestTitleEn
();
String
destWearehouseNameFr
=
logisticsInfoDto
.
getDestTitleFr
();
DateTime
ruchang
=
DateTime
.
of
(
orderDO
.
getRucangTime
());
DateTime
ruchang
=
DateTime
.
of
(
orderDO
.
getRucangTime
());
String
marks
=
orderDO
.
getMarks
();
String
marks
=
orderDO
.
getMarks
();
...
@@ -2719,16 +2724,16 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -2719,16 +2724,16 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 尊敬的 %s(先生/女士),捷道货运通知您:您的唛头为%s,%s箱, %sCBM, %sKg, 入仓号为%s的货物已于%s 送到%s(起运港仓库),如有疑问请于工作时间内(9:00--18:00)与我司客服联系:400-900-9962
// 尊敬的 %s(先生/女士),捷道货运通知您:您的唛头为%s,%s箱, %sCBM, %sKg, 入仓号为%s的货物已于%s 送到%s(起运港仓库),如有疑问请于工作时间内(9:00--18:00)与我司客服联系:400-900-9962
content
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
ZH
.
getLang
()),
content
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
ZH
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
);
contentEn
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
EN
.
getLang
()),
contentEn
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
EN
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
En
);
contentFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
FR
.
getLang
()),
contentFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.air.warehousein.content"
,
LangEnum
.
FR
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
Fr
);
}
}
}
else
{
}
else
{
title
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.title"
,
LangEnum
.
ZH
.
getLang
()),
orderDO
.
getOrderNo
());
title
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.title"
,
LangEnum
.
ZH
.
getLang
()),
orderDO
.
getOrderNo
());
...
@@ -2736,16 +2741,16 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -2736,16 +2741,16 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
titleFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.title"
,
LangEnum
.
FR
.
getLang
()),
orderDO
.
getOrderNo
());
titleFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.title"
,
LangEnum
.
FR
.
getLang
()),
orderDO
.
getOrderNo
());
content
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
ZH
.
getLang
()),
content
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
ZH
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
);
contentEn
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
EN
.
getLang
()),
contentEn
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
EN
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
En
);
contentFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
FR
.
getLang
()),
contentFr
=
String
.
format
(
I18nMessage
.
getMessage
(
"app.message.warehousein.content"
,
LangEnum
.
FR
.
getLang
()),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
user
.
getNickname
(),
orderDO
.
getMarks
(),
orderDO
.
getSumNum
(),
orderDO
.
getSumVolume
().
toPlainString
(),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
年MM月dd日
"
),
orderDO
.
getSumWeight
().
toPlainString
(),
orderDO
.
getOrderNo
(),
DateUtil
.
format
(
ruchang
,
"yyyy
-MM-dd
"
),
startWarehouseName
);
startWarehouseName
Fr
);
}
}
// 发送站内信
// 发送站内信
InternalMessageCreateDto
dto
=
InternalMessageCreateDto
.
builder
().
toIdList
(
Arrays
.
asList
(
userId
))
InternalMessageCreateDto
dto
=
InternalMessageCreateDto
.
builder
().
toIdList
(
Arrays
.
asList
(
userId
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment