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
ac35445a
Commit
ac35445a
authored
Dec 24, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'jd_dev'
Release代码合并到jd分支20241224 See merge request
!54
parents
472125ca
437b6337
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
46 deletions
+51
-46
BpmTaskController.java
...o/module/bpm/controller/admin/task/BpmTaskController.java
+2
-1
OrderDO.java
...oder/yudao/module/order/dal/dataobject/order/OrderDO.java
+1
-1
MergeServiceImpl.java
...er/yudao/module/order/service/merge/MergeServiceImpl.java
+3
-1
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+45
-43
No files found.
yudao-module-bpm/yudao-module-bpm-impl-flowable/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/BpmTaskController.java
View file @
ac35445a
...
@@ -25,6 +25,7 @@ import javax.annotation.Resource;
...
@@ -25,6 +25,7 @@ import javax.annotation.Resource;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
java.util.Comparator
;
import
java.util.Comparator
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
pojo
.
CommonResult
.
success
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
pojo
.
CommonResult
.
success
;
...
@@ -148,7 +149,7 @@ public class BpmTaskController {
...
@@ -148,7 +149,7 @@ public class BpmTaskController {
taskExtMapper
.
selectListByProcessInstanceId
(
reqVO
.
getId
());
taskExtMapper
.
selectListByProcessInstanceId
(
reqVO
.
getId
());
if
(
taskList1
==
null
||
taskList1
.
size
()
==
0
)
continue
;
if
(
taskList1
==
null
||
taskList1
.
size
()
==
0
)
continue
;
List
<
BpmTaskExtDO
>
taskList
=
taskList1
.
stream
().
filter
(
t
->
t
.
getAssigneeUserId
()
==
l
.
getId
(
)).
List
<
BpmTaskExtDO
>
taskList
=
taskList1
.
stream
().
filter
(
t
->
Objects
.
equals
(
t
.
getAssigneeUserId
(),
l
.
getId
()
)).
sorted
(
Comparator
.
comparingLong
(
BpmTaskExtDO:
:
getId
).
reversed
()).
sorted
(
Comparator
.
comparingLong
(
BpmTaskExtDO:
:
getId
).
reversed
()).
collect
(
Collectors
.
toList
());
collect
(
Collectors
.
toList
());
if
(
taskList
==
null
)
continue
;
if
(
taskList
==
null
)
continue
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/dataobject/order/OrderDO.java
View file @
ac35445a
...
@@ -586,7 +586,7 @@ public class OrderDO extends BaseDO {
...
@@ -586,7 +586,7 @@ public class OrderDO extends BaseDO {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
@ApiModelProperty
(
value
=
"收货人信息"
)
@ApiModelProperty
(
value
=
"收货人信息"
)
@NotNull
(
message
=
"收货人信息不能为空"
)
//
@NotNull(message = "收货人信息不能为空")
private
OrderConsigneeDO
orderConsigneeDO
;
private
OrderConsigneeDO
orderConsigneeDO
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/merge/MergeServiceImpl.java
View file @
ac35445a
...
@@ -517,7 +517,9 @@ public class MergeServiceImpl extends AbstractService<MergeMapper, MergeDO> impl
...
@@ -517,7 +517,9 @@ public class MergeServiceImpl extends AbstractService<MergeMapper, MergeDO> impl
orderDO
.
setOrderNo
(
newOrderNo
);
orderDO
.
setOrderNo
(
newOrderNo
);
//将几个id设置成空 生成新的收货 发货人和始发 目的信息
//将几个id设置成空 生成新的收货 发货人和始发 目的信息
orderDO
.
getOrderDepartureDO
().
setId
(
null
);
orderDO
.
getOrderDepartureDO
().
setId
(
null
);
if
(
Objects
.
nonNull
(
orderDO
.
getOrderConsigneeDO
()))
{
orderDO
.
getOrderConsigneeDO
().
setId
(
null
);
orderDO
.
getOrderConsigneeDO
().
setId
(
null
);
}
orderDO
.
getOrderConsignorDO
().
setId
(
null
);
orderDO
.
getOrderConsignorDO
().
setId
(
null
);
orderDO
.
getOrderObjectiveDO
().
setId
(
null
);
orderDO
.
getOrderObjectiveDO
().
setId
(
null
);
orderDO
.
setGuanLianOrderStatus
(
null
);
orderDO
.
setGuanLianOrderStatus
(
null
);
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
ac35445a
This diff is collapsed.
Click to expand it.
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