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
721443f8
Commit
721443f8
authored
Dec 25, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'jd_dev'
Release分支合并到jd分支20241225 See merge request
!56
parents
81ec732b
44b395c2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
10 deletions
+6
-10
BulksmsHttp.java
...java/cn/iocoder/yudao/framework/http/sms/BulksmsHttp.java
+0
-2
SendChampHttp.java
...va/cn/iocoder/yudao/framework/http/sms/SendChampHttp.java
+0
-1
OrderFeeApplicationServiceImpl.java
...er/service/order/impl/OrderFeeApplicationServiceImpl.java
+2
-2
BoxApprovalMapper.java
...er/yudao/module/shipment/dal/mysql/BoxApprovalMapper.java
+1
-1
SmsSendServiceImpl.java
...r/yudao/module/system/service/sms/SmsSendServiceImpl.java
+3
-4
No files found.
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/http/sms/BulksmsHttp.java
View file @
721443f8
...
@@ -4,7 +4,6 @@ import cn.iocoder.yudao.framework.http.core.Request;
...
@@ -4,7 +4,6 @@ import cn.iocoder.yudao.framework.http.core.Request;
import
cn.iocoder.yudao.framework.http.core.Response
;
import
cn.iocoder.yudao.framework.http.core.Response
;
import
cn.iocoder.yudao.framework.http.util.HttpUtils
;
import
cn.iocoder.yudao.framework.http.util.HttpUtils
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jetbrains.annotations.NotNull
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -46,7 +45,6 @@ public class BulksmsHttp {
...
@@ -46,7 +45,6 @@ public class BulksmsHttp {
* @param password 密码
* @param password 密码
* @return 参数映射
* @return 参数映射
*/
*/
@NotNull
public
Map
<
String
,
Object
>
setParams
(
String
mobiles
,
String
message
,
String
senderName
,
String
username
,
String
password
)
{
public
Map
<
String
,
Object
>
setParams
(
String
mobiles
,
String
message
,
String
senderName
,
String
username
,
String
password
)
{
Map
<
String
,
Object
>
param
=
new
HashMap
<>();
Map
<
String
,
Object
>
param
=
new
HashMap
<>();
param
.
put
(
"username"
,
username
);
param
.
put
(
"username"
,
username
);
...
...
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/http/sms/SendChampHttp.java
View file @
721443f8
...
@@ -52,7 +52,6 @@ public class SendChampHttp {
...
@@ -52,7 +52,6 @@ public class SendChampHttp {
* @param apiKey SendChamp API密钥
* @param apiKey SendChamp API密钥
* @return 返回构造好的请求头Map对象
* @return 返回构造好的请求头Map对象
*/
*/
@NotNull
public
Map
<
String
,
String
>
setHeader
(
String
apiKey
)
{
public
Map
<
String
,
String
>
setHeader
(
String
apiKey
)
{
Map
<
String
,
String
>
header
=
new
HashMap
<>();
Map
<
String
,
String
>
header
=
new
HashMap
<>();
header
.
put
(
"Accept"
,
"application/json,text/plain,*/*"
);
header
.
put
(
"Accept"
,
"application/json,text/plain,*/*"
);
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderFeeApplicationServiceImpl.java
View file @
721443f8
...
@@ -581,7 +581,7 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
...
@@ -581,7 +581,7 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
if
(
result
==
ApprovalResultStatusEnum
.
reject
.
getValue
())
{
if
(
result
==
ApprovalResultStatusEnum
.
reject
.
getValue
())
{
LambdaUpdateWrapper
<
OrderFeeApplicationDO
>
lambdaUpdateWrapper
=
new
LambdaUpdateWrapper
();
LambdaUpdateWrapper
<
OrderFeeApplicationDO
>
lambdaUpdateWrapper
=
new
LambdaUpdateWrapper
();
lambdaUpdateWrapper
.
eq
(
OrderFeeApplicationDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
());
lambdaUpdateWrapper
.
eq
(
OrderFeeApplicationDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
());
lambdaUpdateWrapper
.
eq
(
OrderFeeApplicationDO:
:
getBatchBpmBusinessId
,
orderApprovalDO
.
get
OrderApproval
Id
());
lambdaUpdateWrapper
.
eq
(
OrderFeeApplicationDO:
:
getBatchBpmBusinessId
,
orderApprovalDO
.
get
Form
Id
());
lambdaUpdateWrapper
.
set
(
OrderFeeApplicationDO:
:
getStatus
,
ApprovalResultStatusEnum
.
reject
.
getValue
());
lambdaUpdateWrapper
.
set
(
OrderFeeApplicationDO:
:
getStatus
,
ApprovalResultStatusEnum
.
reject
.
getValue
());
this
.
update
(
lambdaUpdateWrapper
);
this
.
update
(
lambdaUpdateWrapper
);
orderService
.
updateStatus
(
orderApprovalDO
.
getOrderId
(),
null
,
null
,
null
,
null
,
null
,
0
,
OrderApprovalTypeResultEnum
.
expense_apply_reject
.
getDesc
());
orderService
.
updateStatus
(
orderApprovalDO
.
getOrderId
(),
null
,
null
,
null
,
null
,
null
,
0
,
OrderApprovalTypeResultEnum
.
expense_apply_reject
.
getDesc
());
...
@@ -590,7 +590,7 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
...
@@ -590,7 +590,7 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
if
(
result
==
ApprovalResultStatusEnum
.
cancel
.
getValue
())
{
if
(
result
==
ApprovalResultStatusEnum
.
cancel
.
getValue
())
{
LambdaQueryWrapper
<
OrderFeeApplicationDO
>
lambdaQueryWrapper
=
new
LambdaQueryWrapper
();
LambdaQueryWrapper
<
OrderFeeApplicationDO
>
lambdaQueryWrapper
=
new
LambdaQueryWrapper
();
lambdaQueryWrapper
.
eq
(
OrderFeeApplicationDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
());
lambdaQueryWrapper
.
eq
(
OrderFeeApplicationDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
());
lambdaQueryWrapper
.
eq
(
OrderFeeApplicationDO:
:
getBatchBpmBusinessId
,
orderApprovalDO
.
get
OrderApproval
Id
());
lambdaQueryWrapper
.
eq
(
OrderFeeApplicationDO:
:
getBatchBpmBusinessId
,
orderApprovalDO
.
get
Form
Id
());
this
.
remove
(
lambdaQueryWrapper
);
this
.
remove
(
lambdaQueryWrapper
);
orderService
.
updateStatus
(
orderApprovalDO
.
getOrderId
(),
null
,
null
,
null
,
null
,
null
,
0
,
OrderApprovalTypeResultEnum
.
expense_apply_cancel
.
getDesc
());
orderService
.
updateStatus
(
orderApprovalDO
.
getOrderId
(),
null
,
null
,
null
,
null
,
null
,
0
,
OrderApprovalTypeResultEnum
.
expense_apply_cancel
.
getDesc
());
}
}
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/dal/mysql/BoxApprovalMapper.java
View file @
721443f8
...
@@ -57,7 +57,7 @@ public interface BoxApprovalMapper extends AbstractMapper<BoxApprovalDO> {
...
@@ -57,7 +57,7 @@ public interface BoxApprovalMapper extends AbstractMapper<BoxApprovalDO> {
"from ecw_box_approval a"
,
"from ecw_box_approval a"
,
"where "
,
"where "
,
"a.shipment_id = #{shipmentId}"
,
"a.shipment_id = #{shipmentId}"
,
"a
.
status = 0"
,
"a
nd a.approval_
status = 0"
,
"and (a.order_id is null or (a.order_id is not null and a.order_id = #{orderId}) )"
,
"and (a.order_id is null or (a.order_id is not null and a.order_id = #{orderId}) )"
,
"order by a.id desc"
,
"order by a.id desc"
,
"</script>"
"</script>"
...
...
yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/service/sms/SmsSendServiceImpl.java
View file @
721443f8
...
@@ -387,10 +387,9 @@ public class SmsSendServiceImpl implements SmsSendService {
...
@@ -387,10 +387,9 @@ public class SmsSendServiceImpl implements SmsSendService {
throw
exception
(
SMS_CHANNEL_NOT_EXISTS
);
throw
exception
(
SMS_CHANNEL_NOT_EXISTS
);
}
}
//根据debug配置决定是否发送短信
//根据debug配置决定是否发送短信
// if ((Objects.isNull(businessProperties) || !businessProperties.isDebug()) && smsChannel.getStatus() == 0) {
if
((
Objects
.
isNull
(
businessProperties
)
||
!
businessProperties
.
isDebug
())
&&
smsChannel
.
getStatus
()
==
0
)
{
// smsProducer.sendSmsSendMessageV2(smsSendMessage);
// }
smsProducer
.
sendSmsSendMessageV2
(
smsSendMessage
);
smsProducer
.
sendSmsSendMessageV2
(
smsSendMessage
);
}
return
sendLogId
;
return
sendLogId
;
}
}
...
...
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