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
f1954200
Commit
f1954200
authored
Apr 29, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制价格包装数据复制
parent
3f1e4bd4
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
437 additions
and
7 deletions
+437
-7
WarehouseMapper.java
...odule/depository/dal/mysql/warehouse/WarehouseMapper.java
+9
-1
WarehouseService.java
...module/depository/service/warehouse/WarehouseService.java
+1
-1
WarehouseServiceImpl.java
...pository/service/warehouse/impl/WarehouseServiceImpl.java
+2
-2
WarehouseController.java
...itory/controller/admin/warehouse/WarehouseController.java
+3
-2
ProductPriceSpecialDO.java
...product/dal/dataobject/product/ProductPriceSpecialDO.java
+3
-0
ProductPriceServiceImpl.java
...product/service/product/impl/ProductPriceServiceImpl.java
+419
-1
No files found.
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/dal/mysql/warehouse/WarehouseMapper.java
View file @
f1954200
...
...
@@ -159,7 +159,15 @@ public interface WarehouseMapper extends BaseMapperX<WarehouseDO> {
"</if>"
,
"GROUP BY w.title_zh"
,
"</when>"
,
"<when test = 'type == 4'>"
,
"GROUP BY w.shi"
,
"</when>"
,
"<when test = 'type == 5'>"
,
"GROUP BY w.title_zh"
,
"</when>"
,
"</script>"
})
List
<
WarehouseTreeRegionVO
>
getRegionList
(
@Param
(
"type"
)
Integer
type
,
@Param
(
"regionId"
)
String
regionId
);
List
<
WarehouseTreeRegionVO
>
getRegionList
(
@Param
(
"type"
)
Integer
type
,
@Param
(
"regionId"
)
String
regionId
,
@Param
(
"destCountryId"
)
String
destCountryId
,
@Param
(
"objectiveId"
)
String
objectiveId
,
@Param
(
"destWarehouseId"
)
String
destWarehouseId
);
}
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/service/warehouse/WarehouseService.java
View file @
f1954200
...
...
@@ -171,5 +171,5 @@ public interface WarehouseService {
List
<
WarehouseTreeRegionVO
>
getWarehouseTreeRegionList
(
Integer
tradeType
);
List
<
WarehouseTreeRegionVO
>
getRegionList
(
Integer
type
,
String
regionId
);
List
<
WarehouseTreeRegionVO
>
getRegionList
(
Integer
type
,
String
regionId
,
String
destCountryId
,
String
objectiveId
,
String
destWarehouseId
);
}
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/service/warehouse/impl/WarehouseServiceImpl.java
View file @
f1954200
...
...
@@ -514,11 +514,11 @@ public class WarehouseServiceImpl implements WarehouseService {
}
@Override
public
List
<
WarehouseTreeRegionVO
>
getRegionList
(
Integer
type
,
String
regionId
)
{
public
List
<
WarehouseTreeRegionVO
>
getRegionList
(
Integer
type
,
String
regionId
,
String
destCountryId
,
String
objectiveId
,
String
destWarehouseId
)
{
if
(
regionId
.
equals
(
""
)){
return
new
ArrayList
();
}
List
<
WarehouseTreeRegionVO
>
list
=
warehouseMapper
.
getRegionList
(
type
,
regionId
);
List
<
WarehouseTreeRegionVO
>
list
=
warehouseMapper
.
getRegionList
(
type
,
regionId
,
destCountryId
,
objectiveId
,
destWarehouseId
);
return
list
;
}
}
yudao-module-depository/yudao-module-depository-rest/src/main/java/cn/iocoder/yudao/module/depository/controller/admin/warehouse/WarehouseController.java
View file @
f1954200
...
...
@@ -101,8 +101,9 @@ public class WarehouseController {
}
@GetMapping
(
"/getRegionList"
)
public
CommonResult
<
List
<
WarehouseTreeRegionVO
>>
getRegionList
(
@RequestParam
(
value
=
"type"
,
required
=
false
)
Integer
type
,
String
regionId
){
List
<
WarehouseTreeRegionVO
>
list
=
warehouseService
.
getRegionList
(
type
,
regionId
);
public
CommonResult
<
List
<
WarehouseTreeRegionVO
>>
getRegionList
(
@RequestParam
(
value
=
"type"
,
required
=
false
)
Integer
type
,
String
regionId
,
String
destCountryId
,
String
objectiveId
,
String
destWarehouseId
){
List
<
WarehouseTreeRegionVO
>
list
=
warehouseService
.
getRegionList
(
type
,
regionId
,
destCountryId
,
objectiveId
,
destWarehouseId
);
return
success
(
list
);
}
...
...
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/dal/dataobject/product/ProductPriceSpecialDO.java
View file @
f1954200
...
...
@@ -7,6 +7,9 @@ import lombok.*;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 线路价格特需
*/
@TableName
(
"ecw_product_price_special"
)
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/service/product/impl/ProductPriceServiceImpl.java
View file @
f1954200
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