Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
5b58e670
Commit
5b58e670
authored
Dec 26, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
寄售单详情时间线
parent
83907fa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
...n/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
+4
-4
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ConsignSaleServiceImpl.java
View file @
5b58e670
...
@@ -205,9 +205,11 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
...
@@ -205,9 +205,11 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
consignSaleRecords
.
forEach
(
consignSaleRecord
->
{
consignSaleRecords
.
forEach
(
consignSaleRecord
->
{
ConsignSaleRecordVo
consignSaleRecordVo
=
new
ConsignSaleRecordVo
();
ConsignSaleRecordVo
consignSaleRecordVo
=
new
ConsignSaleRecordVo
();
EntityMapper
.
copyAttribute
(
consignSaleRecord
,
consignSaleRecordVo
);
EntityMapper
.
copyAttribute
(
consignSaleRecord
,
consignSaleRecordVo
);
if
(
consignSaleRecordVo
.
getType
()
.
intValue
()
==
ConsignSaleEnum
.
OperateTypeEnum
.
SYS_CANCEL
.
getCode
()
if
(
consignSaleRecordVo
.
getType
()
==
ConsignSaleEnum
.
OperateTypeEnum
.
SYS_CANCEL
.
getCode
()
||
consignSaleRecordVo
.
getType
()
.
intValue
()
==
ConsignSaleEnum
.
OperateTypeEnum
.
CUSTOM_CANCEL
.
getCode
())
{
||
consignSaleRecordVo
.
getType
()
==
ConsignSaleEnum
.
OperateTypeEnum
.
CUSTOM_CANCEL
.
getCode
())
{
consignSaleRecordVo
.
setTypeName
(
"寄售单取消"
);
consignSaleRecordVo
.
setTypeName
(
"寄售单取消"
);
}
else
if
(
consignSaleRecordVo
.
getType
()
==
ConsignSaleEnum
.
OperateTypeEnum
.
SALED
.
getCode
())
{
consignSaleRecordVo
.
setRemark
(
consignSaleRecordVo
.
getRemark
()
+
";货品售出后,请在20天内向用户完成结款。如果实际售出的价格低于建议零售价,请及时通知用户。"
);
}
else
{
}
else
{
consignSaleRecordVo
.
setTypeName
(
ConsignSaleEnum
.
OperateTypeEnum
.
getNameByCode
(
consignSaleRecord
.
getType
()));
consignSaleRecordVo
.
setTypeName
(
ConsignSaleEnum
.
OperateTypeEnum
.
getNameByCode
(
consignSaleRecord
.
getType
()));
}
}
...
@@ -378,8 +380,6 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
...
@@ -378,8 +380,6 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
consignSaleRecord
.
setCreateTime
(
new
Date
());
consignSaleRecord
.
setCreateTime
(
new
Date
());
consignSaleRecord
.
setContent
(
"成交金额: "
+
dto
.
getDealPrice
()
+
" 元"
);
consignSaleRecord
.
setContent
(
"成交金额: "
+
dto
.
getDealPrice
()
+
" 元"
);
consignSaleRecord
.
setRemark
(
"成交平台: "
+
(
dto
.
getRemark
()
==
null
?
""
:
dto
.
getRemark
()));
consignSaleRecord
.
setRemark
(
"成交平台: "
+
(
dto
.
getRemark
()
==
null
?
""
:
dto
.
getRemark
()));
consignSaleRecord
.
setType
(
ConsignSaleEnum
.
OperateTypeEnum
.
FINISH
.
getCode
());
consignSaleRecord
.
setRemark
(
"成交平台: "
+
(
dto
.
getRemark
()
==
null
?
""
:
dto
.
getRemark
()));
consignSaleRecord
.
setType
(
ConsignSaleEnum
.
OperateTypeEnum
.
SALED
.
getCode
());
consignSaleRecord
.
setType
(
ConsignSaleEnum
.
OperateTypeEnum
.
SALED
.
getCode
());
consignSaleRecordDao
.
insert
(
consignSaleRecord
);
consignSaleRecordDao
.
insert
(
consignSaleRecord
);
/* //发送公众号消息
/* //发送公众号消息
...
...
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