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
7d882a41
Commit
7d882a41
authored
Aug 06, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into dev
parents
96f12926
3e3c1988
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
MakeBillOfLadingServiceImpl.java
...service/makeBillOfLading/MakeBillOfLadingServiceImpl.java
+6
-0
MakeBillOfLadingListBackVO.java
...pment/vo/makeBillOfLading/MakeBillOfLadingListBackVO.java
+4
-0
MakeBillOfLadingMapper.xml
...core/src/main/resources/mapper/MakeBillOfLadingMapper.xml
+3
-1
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/makeBillOfLading/MakeBillOfLadingServiceImpl.java
View file @
7d882a41
...
@@ -829,6 +829,12 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
...
@@ -829,6 +829,12 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
if
(
makeBillOfLadingListBackVO
.
getSpecialPriceCount
()
>
0L
)
{
if
(
makeBillOfLadingListBackVO
.
getSpecialPriceCount
()
>
0L
)
{
stringBuffer
.
append
(
"申请特价"
).
append
(
","
);
stringBuffer
.
append
(
"申请特价"
).
append
(
","
);
}
}
if
(
makeBillOfLadingListBackVO
.
getAdminDiscountCount
()
>
0L
)
{
stringBuffer
.
append
(
"申请管理折扣"
).
append
(
","
);
}
if
(
makeBillOfLadingListBackVO
.
getBubbleDiscount
()
>
0L
)
{
stringBuffer
.
append
(
"申请泡货优惠"
).
append
(
","
);
}
if
(
makeBillOfLadingListBackVO
.
getHeavyDiscount
()
>
0L
)
{
if
(
makeBillOfLadingListBackVO
.
getHeavyDiscount
()
>
0L
)
{
stringBuffer
.
append
(
"申请重货优惠"
).
append
(
","
);
stringBuffer
.
append
(
"申请重货优惠"
).
append
(
","
);
}
}
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/vo/makeBillOfLading/MakeBillOfLadingListBackVO.java
View file @
7d882a41
...
@@ -78,6 +78,10 @@ public class MakeBillOfLadingListBackVO {
...
@@ -78,6 +78,10 @@ public class MakeBillOfLadingListBackVO {
private
Integer
specialPriceCount
;
private
Integer
specialPriceCount
;
private
Integer
adminDiscountCount
;
private
Integer
bubbleDiscount
;
private
Integer
heavyDiscount
;
private
Integer
heavyDiscount
;
private
String
orderStatusString
;
private
String
orderStatusString
;
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/resources/mapper/MakeBillOfLadingMapper.xml
View file @
7d882a41
...
@@ -15,7 +15,9 @@
...
@@ -15,7 +15,9 @@
t.customs_type,
t.customs_type,
t.drawee as draweeCode,
t.drawee as draweeCode,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (1,31) and c.deleted=0) as specialPriceCount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (1,31) and c.deleted=0) as specialPriceCount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=4 and c.deleted=0) as heavyDiscount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (2,32) and c.deleted=0) as adminDiscountCount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=4 and c.deleted=0) as bubbleDiscount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=5 and c.deleted=0) as heavyDiscount,
t.is_cargo_control as isCargoControl,
t.is_cargo_control as isCargoControl,
t.sum_num as num,(
t.sum_num as num,(
SELECT
SELECT
...
...
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