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
520d3838
Commit
520d3838
authored
Aug 31, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release-org' into dev
parents
36d49522
8835dae9
Changes
19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
64 additions
and
1215 deletions
+64
-1215
OrderMapper.java
...coder/yudao/module/order/dal/mysql/order/OrderMapper.java
+13
-14
OrderQueryDTO.java
...java/cn/iocoder/yudao/module/order/dto/OrderQueryDTO.java
+0
-796
AdvanceOrderExcelExportListener.java
...rder/listener/export/AdvanceOrderExcelExportListener.java
+1
-2
ContainerNumberOrderExcelExportListener.java
...tener/export/ContainerNumberOrderExcelExportListener.java
+0
-1
CustomsOrderExcelExportListener.java
...rder/listener/export/CustomsOrderExcelExportListener.java
+1
-2
ExceptionOrderStatisticsExcelExportListener.java
...r/export/ExceptionOrderStatisticsExcelExportListener.java
+1
-2
HeavyOrderExcelExportListener.java
.../order/listener/export/HeavyOrderExcelExportListener.java
+1
-2
OrderCargoControlExcelExportListener.java
...listener/export/OrderCargoControlExcelExportListener.java
+1
-2
OrderExcelExportListener.java
...odule/order/listener/export/OrderExcelExportListener.java
+1
-2
ReturnOrderExcelExportListener.java
...order/listener/export/ReturnOrderExcelExportListener.java
+1
-3
SaleRepayOrderExcelExportListener.java
...er/listener/export/SaleRepayOrderExcelExportListener.java
+1
-2
ShippingOrderExcelExportListener.java
...der/listener/export/ShippingOrderExcelExportListener.java
+1
-2
OrderQueryService.java
...r/yudao/module/order/service/order/OrderQueryService.java
+10
-10
OrderQueryServiceImpl.java
...odule/order/service/order/impl/OrderQueryServiceImpl.java
+10
-176
OrderCargoControlService.java
...r/service/orderCargoControl/OrderCargoControlService.java
+1
-4
OrderCargoControlServiceImpl.java
...rvice/orderCargoControl/OrderCargoControlServiceImpl.java
+1
-2
OrderQueryVO.java
.../cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
+0
-2
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+1
-1
OrderExportController.java
...e/order/controller/admin/order/OrderExportController.java
+19
-190
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/mysql/order/OrderMapper.java
View file @
520d3838
...
@@ -8,7 +8,6 @@ import cn.iocoder.yudao.module.order.dal.dataobject.order.OrderDO;
...
@@ -8,7 +8,6 @@ import cn.iocoder.yudao.module.order.dal.dataobject.order.OrderDO;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderItem.OrderItemDO
;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderItem.OrderItemDO
;
import
cn.iocoder.yudao.module.order.dto.OrderExportBackDTO
;
import
cn.iocoder.yudao.module.order.dto.OrderExportBackDTO
;
import
cn.iocoder.yudao.module.order.dto.OrderBackInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderBackInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.dto.SearchBackDto
;
import
cn.iocoder.yudao.module.order.dto.SearchBackDto
;
import
cn.iocoder.yudao.module.order.vo.order.*
;
import
cn.iocoder.yudao.module.order.vo.order.*
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionStatisticsExcelVo
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionStatisticsExcelVo
;
...
@@ -662,11 +661,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -662,11 +661,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderExcelVO
>
exportMyOrderExcelList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderExcelVO
>
exportMyOrderExcelList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
V
O
query
);
long
exportOrderExcelCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
exportOrderExcelCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
exportMyOrderExcelCount
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
long
exportMyOrderExcelCount
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
@ResultType
(
OrderBackPageVO
.
class
)
@ResultType
(
OrderBackPageVO
.
class
)
@Select
({
@Select
({
...
@@ -1091,11 +1090,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -1091,11 +1090,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
List
<
OrderBackPageVO
>
deptOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQueryVO
query
);
List
<
OrderBackPageVO
>
deptOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQueryVO
query
);
List
<
OrderBackPageVO
>
deptOrderList1
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderBackPageVO
>
deptOrderList1
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
V
O
query
);
long
deptOrderCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
deptOrderCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
deptOrderCount1
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
long
deptOrderCount1
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
@ResultType
(
OrderBackPageVO
.
class
)
@ResultType
(
OrderBackPageVO
.
class
)
@Select
({
@Select
({
...
@@ -1922,11 +1921,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -1922,11 +1921,11 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
List
<
OrderBackPageVO
>
adminCargoControlOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQueryVO
query
);
List
<
OrderBackPageVO
>
adminCargoControlOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQueryVO
query
);
List
<
OrderBackPageVO
>
adminCargoControlMyOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderBackPageVO
>
adminCargoControlMyOrderList
(
@Param
(
"start"
)
int
start
,
@Param
(
"size"
)
int
size
,
@Param
(
"query"
)
OrderQuery
V
O
query
);
long
adminCargoControlOrderCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
adminCargoControlOrderCount
(
@Param
(
"query"
)
OrderQueryVO
query
);
long
adminCargoControlMyOrderCount
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
long
adminCargoControlMyOrderCount
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
@ResultType
(
OrderBackPageVO
.
class
)
@ResultType
(
OrderBackPageVO
.
class
)
@Select
({
@Select
({
"<script>"
,
"<script>"
,
...
@@ -3842,7 +3841,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3842,7 +3841,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderExceptionStatisticsExcelVo
>
getOrderExceptionStatisticsList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderExceptionStatisticsExcelVo
>
getOrderExceptionStatisticsList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 重货统计
* 重货统计
...
@@ -3850,7 +3849,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3850,7 +3849,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderHeavyExcelVo
>
getHeavyOrderExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderHeavyExcelVo
>
getHeavyOrderExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 退仓统计
* 退仓统计
...
@@ -3858,7 +3857,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3858,7 +3857,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderReturnOrderExcelVo
>
getReturnOrderExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderReturnOrderExcelVo
>
getReturnOrderExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 售后赔付
* 售后赔付
...
@@ -3866,7 +3865,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3866,7 +3865,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderSaleRepayExcelVo
>
getSaleRepayExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderSaleRepayExcelVo
>
getSaleRepayExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 报关数据
* 报关数据
...
@@ -3874,7 +3873,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3874,7 +3873,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderCustomsDatasExcelVo
>
getCustomsDatasExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderCustomsDatasExcelVo
>
getCustomsDatasExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 出货量
* 出货量
...
@@ -3882,7 +3881,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3882,7 +3881,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderShipDataExcelVo
>
getShipDatasExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderShipDataExcelVo
>
getShipDatasExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
/**
/**
* 预付运费
* 预付运费
...
@@ -3890,7 +3889,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
...
@@ -3890,7 +3889,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
* @param query
* @param query
* @return
* @return
*/
*/
List
<
OrderShipFeeExcelVo
>
getShipFeeExcelList
(
@Param
(
"query"
)
OrderQuery
DT
O
query
);
List
<
OrderShipFeeExcelVo
>
getShipFeeExcelList
(
@Param
(
"query"
)
OrderQuery
V
O
query
);
@ResultType
(
OrderDO
.
class
)
@ResultType
(
OrderDO
.
class
)
@Select
({
@Select
({
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dto/OrderQueryDTO.java
deleted
100644 → 0
View file @
36d49522
This diff is collapsed.
Click to expand it.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/AdvanceOrderExcelExportListener.java
View file @
520d3838
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderShipDataExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderShipDataExcelVo
;
...
@@ -52,7 +51,7 @@ public class AdvanceOrderExcelExportListener {
...
@@ -52,7 +51,7 @@ public class AdvanceOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderShipFeeExcelVo
>
list
=
orderQueryService
.
getShipFeeExcelList
(
query
);
List
<
OrderShipFeeExcelVo
>
list
=
orderQueryService
.
getShipFeeExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"预付运费统计"
:
"advance fee statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"预付运费统计"
:
"advance fee statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/ContainerNumberOrderExcelExportListener.java
View file @
520d3838
...
@@ -10,7 +10,6 @@ import cn.iocoder.yudao.framework.mybatis.core.vo.PageVO;
...
@@ -10,7 +10,6 @@ import cn.iocoder.yudao.framework.mybatis.core.vo.PageVO;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderCostSummaryDto
;
import
cn.iocoder.yudao.module.order.dto.OrderCostSummaryDto
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/CustomsOrderExcelExportListener.java
View file @
520d3838
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderCustomsDatasExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderCustomsDatasExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
...
@@ -51,7 +50,7 @@ public class CustomsOrderExcelExportListener {
...
@@ -51,7 +50,7 @@ public class CustomsOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderCustomsDatasExcelVo
>
list
=
orderQueryService
.
getCustomsDatasExcelList
(
query
);
List
<
OrderCustomsDatasExcelVo
>
list
=
orderQueryService
.
getCustomsDatasExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"报关数据统计"
:
"customs data statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"报关数据统计"
:
"customs data statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/ExceptionOrderStatisticsExcelExportListener.java
View file @
520d3838
...
@@ -5,7 +5,6 @@ import cn.iocoder.yudao.framework.apollo.core.event.export.ExceptionOrderStatist
...
@@ -5,7 +5,6 @@ import cn.iocoder.yudao.framework.apollo.core.event.export.ExceptionOrderStatist
import
cn.iocoder.yudao.framework.excel.util.ExcelUtils
;
import
cn.iocoder.yudao.framework.excel.util.ExcelUtils
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionStatisticsExcelVo
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionStatisticsExcelVo
;
...
@@ -51,7 +50,7 @@ public class ExceptionOrderStatisticsExcelExportListener {
...
@@ -51,7 +50,7 @@ public class ExceptionOrderStatisticsExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderExceptionStatisticsExcelVo
>
list
=
orderQueryService
.
getOrderExceptionStatisticsExcel
(
query
);
List
<
OrderExceptionStatisticsExcelVo
>
list
=
orderQueryService
.
getOrderExceptionStatisticsExcel
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"异常单统计"
:
"Order exception statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"异常单统计"
:
"Order exception statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/HeavyOrderExcelExportListener.java
View file @
520d3838
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderHeavyExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderHeavyExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
...
@@ -51,7 +50,7 @@ public class HeavyOrderExcelExportListener {
...
@@ -51,7 +50,7 @@ public class HeavyOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderHeavyExcelVo
>
list
=
orderQueryService
.
getHeavyOrderExcelList
(
query
);
List
<
OrderHeavyExcelVo
>
list
=
orderQueryService
.
getHeavyOrderExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"重货单统计"
:
"heavy order statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"重货单统计"
:
"heavy order statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/OrderCargoControlExcelExportListener.java
View file @
520d3838
...
@@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.order.listener.export;
...
@@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.order.listener.export;
import
cn.iocoder.yudao.framework.apollo.core.event.export.OrderCargoControlExcelExportEvent
;
import
cn.iocoder.yudao.framework.apollo.core.event.export.OrderCargoControlExcelExportEvent
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.orderCargoControl.OrderCargoControlService
;
import
cn.iocoder.yudao.module.order.service.orderCargoControl.OrderCargoControlService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
...
@@ -33,7 +32,7 @@ public class OrderCargoControlExcelExportListener {
...
@@ -33,7 +32,7 @@ public class OrderCargoControlExcelExportListener {
public
void
orderCargoControlExcelExportEvent
(
OrderCargoControlExcelExportEvent
event
)
{
public
void
orderCargoControlExcelExportEvent
(
OrderCargoControlExcelExportEvent
event
)
{
if
(
StringUtils
.
isNotBlank
(
event
.
getRequestParams
())){
if
(
StringUtils
.
isNotBlank
(
event
.
getRequestParams
())){
try
{
try
{
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
FileDO
fileDO
=
orderCargoControlService
.
makeCargoControlOrderExcelFile
(
event
.
getUserId
(),
event
.
getUserType
(),
query
);
FileDO
fileDO
=
orderCargoControlService
.
makeCargoControlOrderExcelFile
(
event
.
getUserId
(),
event
.
getUserType
(),
query
);
event
.
setPath
(
fileDO
.
getPath
());
event
.
setPath
(
fileDO
.
getPath
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/OrderExcelExportListener.java
View file @
520d3838
...
@@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.order.listener.export;
...
@@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.order.listener.export;
import
cn.iocoder.yudao.framework.apollo.core.event.export.OrderExcelExportEvent
;
import
cn.iocoder.yudao.framework.apollo.core.event.export.OrderExcelExportEvent
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
...
@@ -59,7 +58,7 @@ public class OrderExcelExportListener {
...
@@ -59,7 +58,7 @@ public class OrderExcelExportListener {
public
void
MyOrderExcelExportEvent
(
OrderExcelExportEvent
event
)
throws
IOException
{
public
void
MyOrderExcelExportEvent
(
OrderExcelExportEvent
event
)
throws
IOException
{
if
(
StringUtils
.
isNotBlank
(
event
.
getRequestParams
())){
if
(
StringUtils
.
isNotBlank
(
event
.
getRequestParams
())){
try
{
try
{
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
FileDO
fileDO
=
orderQueryService
.
makeMyOrderExcelFile
(
event
.
getUserId
(),
event
.
getUserType
(),
query
);
FileDO
fileDO
=
orderQueryService
.
makeMyOrderExcelFile
(
event
.
getUserId
(),
event
.
getUserType
(),
query
);
event
.
setPath
(
fileDO
.
getPath
());
event
.
setPath
(
fileDO
.
getPath
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/ReturnOrderExcelExportListener.java
View file @
520d3838
...
@@ -3,10 +3,8 @@ package cn.iocoder.yudao.module.order.listener.export;
...
@@ -3,10 +3,8 @@ package cn.iocoder.yudao.module.order.listener.export;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.iocoder.yudao.framework.apollo.core.event.export.ReturnOrderExcelExportEvent
;
import
cn.iocoder.yudao.framework.apollo.core.event.export.ReturnOrderExcelExportEvent
;
import
cn.iocoder.yudao.framework.excel.util.ExcelUtils
;
import
cn.iocoder.yudao.framework.excel.util.ExcelUtils
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderReturnOrderExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderReturnOrderExcelVo
;
...
@@ -51,7 +49,7 @@ public class ReturnOrderExcelExportListener {
...
@@ -51,7 +49,7 @@ public class ReturnOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderReturnOrderExcelVo
>
list
=
orderQueryService
.
getReturnOrderExcelList
(
query
);
List
<
OrderReturnOrderExcelVo
>
list
=
orderQueryService
.
getReturnOrderExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"重货单统计"
:
"heavy order statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"重货单统计"
:
"heavy order statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/SaleRepayOrderExcelExportListener.java
View file @
520d3838
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSaleRepayExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSaleRepayExcelVo
;
...
@@ -51,7 +50,7 @@ public class SaleRepayOrderExcelExportListener {
...
@@ -51,7 +50,7 @@ public class SaleRepayOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderSaleRepayExcelVo
>
list
=
orderQueryService
.
getSaleRepayExcelList
(
query
);
List
<
OrderSaleRepayExcelVo
>
list
=
orderQueryService
.
getSaleRepayExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"售后赔偿金额统计"
:
"sale repay statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"售后赔偿金额统计"
:
"sale repay statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/listener/export/ShippingOrderExcelExportListener.java
View file @
520d3838
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
...
@@ -6,7 +6,6 @@ import cn.iocoder.yudao.framework.excel.util.ExcelUtils;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.framework.i18n.core.I18nMessage
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.infra.service.file.FileService
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.service.order.OrderQueryService
;
import
cn.iocoder.yudao.module.order.vo.order.OrderCustomsDatasExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderCustomsDatasExcelVo
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
...
@@ -52,7 +51,7 @@ public class ShippingOrderExcelExportListener {
...
@@ -52,7 +51,7 @@ public class ShippingOrderExcelExportListener {
try
{
try
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
OrderQuery
DTO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryDT
O
.
class
);
OrderQuery
VO
query
=
JSONObject
.
parseObject
(
event
.
getRequestParams
(),
OrderQueryV
O
.
class
);
query
.
setLang
(
event
.
getLang
());
query
.
setLang
(
event
.
getLang
());
List
<
OrderShipDataExcelVo
>
list
=
orderQueryService
.
getShipDatasExcelList
(
query
);
List
<
OrderShipDataExcelVo
>
list
=
orderQueryService
.
getShipDatasExcelList
(
query
);
String
sheetName
=
event
.
getLang
()
==
0
?
"客户出货量统计"
:
"shipping data statistics"
;
String
sheetName
=
event
.
getLang
()
==
0
?
"客户出货量统计"
:
"shipping data statistics"
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/OrderQueryService.java
View file @
520d3838
...
@@ -161,7 +161,7 @@ public interface OrderQueryService {
...
@@ -161,7 +161,7 @@ public interface OrderQueryService {
PageResult
<
OrderBackPageVO
>
deptOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
deptOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
deptOrderPage1
(
OrderQuery
DT
O
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
deptOrderPage1
(
OrderQuery
V
O
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
myIssuedOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
myIssuedOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
...
@@ -186,7 +186,7 @@ public interface OrderQueryService {
...
@@ -186,7 +186,7 @@ public interface OrderQueryService {
PageResult
<
OrderBackPageVO
>
adminCargoControlOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
adminCargoControlOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
adminCargoControlMyOrderPage
(
OrderQuery
DT
O
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
adminCargoControlMyOrderPage
(
OrderQuery
V
O
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
appCargoControlOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
PageResult
<
OrderBackPageVO
>
appCargoControlOrderPage
(
OrderQueryVO
query
,
PageVO
page
);
...
@@ -320,21 +320,21 @@ public interface OrderQueryService {
...
@@ -320,21 +320,21 @@ public interface OrderQueryService {
FileDO
makeOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQueryVO
query
)
throws
Exception
;
FileDO
makeOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQueryVO
query
)
throws
Exception
;
FileDO
makeMyOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
DT
O
query
)
throws
Exception
;
FileDO
makeMyOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
V
O
query
)
throws
Exception
;
List
<
OrderExceptionStatisticsExcelVo
>
getOrderExceptionStatisticsExcel
(
OrderQuery
DT
O
query
);
List
<
OrderExceptionStatisticsExcelVo
>
getOrderExceptionStatisticsExcel
(
OrderQuery
V
O
query
);
List
<
OrderHeavyExcelVo
>
getHeavyOrderExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderHeavyExcelVo
>
getHeavyOrderExcelList
(
OrderQuery
V
O
query
);
List
<
OrderReturnOrderExcelVo
>
getReturnOrderExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderReturnOrderExcelVo
>
getReturnOrderExcelList
(
OrderQuery
V
O
query
);
List
<
OrderSaleRepayExcelVo
>
getSaleRepayExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderSaleRepayExcelVo
>
getSaleRepayExcelList
(
OrderQuery
V
O
query
);
List
<
OrderCustomsDatasExcelVo
>
getCustomsDatasExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderCustomsDatasExcelVo
>
getCustomsDatasExcelList
(
OrderQuery
V
O
query
);
List
<
OrderShipDataExcelVo
>
getShipDatasExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderShipDataExcelVo
>
getShipDatasExcelList
(
OrderQuery
V
O
query
);
List
<
OrderShipFeeExcelVo
>
getShipFeeExcelList
(
OrderQuery
DT
O
query
);
List
<
OrderShipFeeExcelVo
>
getShipFeeExcelList
(
OrderQuery
V
O
query
);
/**
/**
* 查询订单的身份信息
* 查询订单的身份信息
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderQueryServiceImpl.java
View file @
520d3838
This diff is collapsed.
Click to expand it.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlService.java
View file @
520d3838
...
@@ -7,17 +7,14 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO;
...
@@ -7,17 +7,14 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.file.FileDO;
import
cn.iocoder.yudao.module.member.dal.dataobject.user.MemberUserDO
;
import
cn.iocoder.yudao.module.member.dal.dataobject.user.MemberUserDO
;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderCargoControl.OrderCargoControlDO
;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderCargoControl.OrderCargoControlDO
;
import
cn.iocoder.yudao.module.order.dto.OrderCargoControlReleaseInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderCargoControlReleaseInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderQueryVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSendSmsReqVO
;
import
cn.iocoder.yudao.module.order.vo.order.OrderSendSmsReqVO
;
import
cn.iocoder.yudao.module.order.vo.orderCargoControl.*
;
import
cn.iocoder.yudao.module.order.vo.orderCargoControl.*
;
import
cn.iocoder.yudao.module.order.vo.orderCargoControlPick.OrderCargoControlPickApplyVO
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.UnsupportedEncodingException
;
import
java.util.Collection
;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.List
;
...
@@ -123,7 +120,7 @@ public interface OrderCargoControlService extends IService<OrderCargoControlDO>
...
@@ -123,7 +120,7 @@ public interface OrderCargoControlService extends IService<OrderCargoControlDO>
// FileDO makeCargoControlOrderExcelFile(Long userId, Integer userType, OrderQueryVO query) throws Exception;
// FileDO makeCargoControlOrderExcelFile(Long userId, Integer userType, OrderQueryVO query) throws Exception;
FileDO
makeCargoControlOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
DT
O
query
)
throws
Exception
;
FileDO
makeCargoControlOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
V
O
query
)
throws
Exception
;
/**
/**
* 判断是否控货人是否设置了控货密码
* 判断是否控货人是否设置了控货密码
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlServiceImpl.java
View file @
520d3838
...
@@ -30,7 +30,6 @@ import cn.iocoder.yudao.module.order.dal.dataobject.orderConsignor.OrderConsigno
...
@@ -30,7 +30,6 @@ import cn.iocoder.yudao.module.order.dal.dataobject.orderConsignor.OrderConsigno
import
cn.iocoder.yudao.module.order.dal.mysql.approval.OrderApprovalMapper
;
import
cn.iocoder.yudao.module.order.dal.mysql.approval.OrderApprovalMapper
;
import
cn.iocoder.yudao.module.order.dal.mysql.orderCargoControl.OrderCargoControlMapper
;
import
cn.iocoder.yudao.module.order.dal.mysql.orderCargoControl.OrderCargoControlMapper
;
import
cn.iocoder.yudao.module.order.dto.OrderCargoControlReleaseInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderCargoControlReleaseInfoDto
;
import
cn.iocoder.yudao.module.order.dto.OrderQueryDTO
;
import
cn.iocoder.yudao.module.order.enums.OrderApprovalTypeResultEnum
;
import
cn.iocoder.yudao.module.order.enums.OrderApprovalTypeResultEnum
;
import
cn.iocoder.yudao.module.order.enums.OrderStatusEnum
;
import
cn.iocoder.yudao.module.order.enums.OrderStatusEnum
;
import
cn.iocoder.yudao.module.order.service.order.OrderBusinessService
;
import
cn.iocoder.yudao.module.order.service.order.OrderBusinessService
;
...
@@ -407,7 +406,7 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
...
@@ -407,7 +406,7 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
}
}
@Override
@Override
public
FileDO
makeCargoControlOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
DT
O
query
)
throws
Exception
{
public
FileDO
makeCargoControlOrderExcelFile
(
Long
userId
,
Integer
userType
,
OrderQuery
V
O
query
)
throws
Exception
{
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
DATA_FORMAT
);
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
String
nowTime
=
formatter
.
format
(
LocalDateTime
.
now
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
View file @
520d3838
...
@@ -590,8 +590,6 @@ public class OrderQueryVO {
...
@@ -590,8 +590,6 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
private
List
<
Integer
>
asStatusList
;
private
List
<
Integer
>
asStatusList
;
@ApiModelProperty
(
value
=
"是否预警控货订单: 1 是"
)
@ApiModelProperty
(
value
=
"是否预警控货订单: 1 是"
)
private
Integer
warningOrder
;
private
Integer
warningOrder
;
...
...
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
520d3838
...
@@ -1214,7 +1214,7 @@
...
@@ -1214,7 +1214,7 @@
limit #{start}, #{size}
limit #{start}, #{size}
</select>
</select>
<select
id=
"myOrderPageList"
resultType=
"cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO"
parameterType=
"cn.iocoder.yudao.module.order.
dto.OrderQueryDT
O"
>
<select
id=
"myOrderPageList"
resultType=
"cn.iocoder.yudao.module.order.vo.order.OrderBackPageVO"
parameterType=
"cn.iocoder.yudao.module.order.
vo.OrderQueryV
O"
>
select o.order_id,
select o.order_id,
o.package_type as advance_type,
o.package_type as advance_type,
o.package_remarks,
o.package_remarks,
...
...
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/order/OrderExportController.java
View file @
520d3838
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