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
b19d216b
Commit
b19d216b
authored
Sep 05, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
估价发送短信2
parent
79a72e9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
...va/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
+5
-2
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
View file @
b19d216b
...
@@ -484,8 +484,8 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
...
@@ -484,8 +484,8 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
SupplierItem
item
=
supplierItemDao
.
findById
(
dto
.
getId
());
SupplierItem
item
=
supplierItemDao
.
findById
(
dto
.
getId
());
if
(
CommConsts
.
SYSTEM_ACCOUNT
.
longValue
()
!=
item
.
getCreatorId
()
&&
CommConsts
.
SELF_SUPPORT_ACCOUNT
.
longValue
()
!=
item
.
getCreatorId
())
{
if
(
CommConsts
.
SYSTEM_ACCOUNT
.
longValue
()
!=
item
.
getCreatorId
()
&&
CommConsts
.
SELF_SUPPORT_ACCOUNT
.
longValue
()
!=
item
.
getCreatorId
())
{
String
buyerOpenId
=
sendMsgService
.
getOpenIdByUserId
(
item
.
getCreatorId
());
String
buyerOpenId
=
sendMsgService
.
getOpenIdByUserId
(
item
.
getCreatorId
());
String
officialEstimatedPrice
=
PriceUtil
.
convertPriceFenToYuan
(
item
.
getOfficialEstimatedPrice
());
if
(
com
.
xxdxxs
.
utils
.
StringUtils
.
hasLength
(
buyerOpenId
))
{
if
(
com
.
xxdxxs
.
utils
.
StringUtils
.
hasLength
(
buyerOpenId
))
{
String
officialEstimatedPrice
=
PriceUtil
.
convertPriceFenToYuan
(
item
.
getOfficialEstimatedPrice
());
ExchangeNoticeMsg
exchangeNoticeMsg
=
new
ExchangeNoticeMsg
();
ExchangeNoticeMsg
exchangeNoticeMsg
=
new
ExchangeNoticeMsg
();
exchangeNoticeMsg
.
setItemId
(
item
.
getId
());
exchangeNoticeMsg
.
setItemId
(
item
.
getId
());
exchangeNoticeMsg
.
setItemName
(
item
.
getName
());
exchangeNoticeMsg
.
setItemName
(
item
.
getName
());
...
@@ -499,7 +499,10 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
...
@@ -499,7 +499,10 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
aliSmsSender
.
sendSms
(
item
.
getCreatorId
(),
msg
);
aliSmsSender
.
sendSms
(
item
.
getCreatorId
(),
msg
);
}
}
}
else
{
}
else
{
logger
.
info
(
">>>>> 买家openid为空, 发送消息失败 <<<<<"
);
logger
.
info
(
">>>>> 买家openid为空, 改为发送短信 <<<<<"
);
String
url
=
wxAppletApi
.
getUrlLink
(
"/pages/detail/index"
,
"itemId="
+
dto
.
getId
());
String
msg
=
"您上传的商品"
+
item
.
getName
()
+
"已完成估价,估价金额为"
+
officialEstimatedPrice
+
"元, 请前往"
+
url
+
"查看"
;
aliSmsSender
.
sendSms
(
item
.
getCreatorId
(),
msg
);
}
}
}
}
return
Result
.
success
();
return
Result
.
success
();
...
...
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