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
538b8789
Commit
538b8789
authored
Sep 13, 2024
by
chenjiuping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常订单备案查询条件错误
parent
b16f8722
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
OrderExceptionMapper.java
.../order/dal/mysql/orderException/OrderExceptionMapper.java
+2
-5
OrderExceptionServiceImpl.java
...der/service/orderException/OrderExceptionServiceImpl.java
+3
-3
OrderExceptionQueryVO.java
...module/order/vo/orderException/OrderExceptionQueryVO.java
+1
-1
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/mysql/orderException/OrderExceptionMapper.java
View file @
538b8789
...
@@ -5,8 +5,6 @@ import cn.iocoder.yudao.framework.mybatis.core.mapper.AbstractMapper;
...
@@ -5,8 +5,6 @@ import cn.iocoder.yudao.framework.mybatis.core.mapper.AbstractMapper;
import
cn.iocoder.yudao.framework.mybatis.core.query.LambdaQuery
;
import
cn.iocoder.yudao.framework.mybatis.core.query.LambdaQuery
;
import
cn.iocoder.yudao.framework.mybatis.core.vo.PageVO
;
import
cn.iocoder.yudao.framework.mybatis.core.vo.PageVO
;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderException.OrderExceptionDO
;
import
cn.iocoder.yudao.module.order.dal.dataobject.orderException.OrderExceptionDO
;
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.StatisticsOrderVO
;
import
cn.iocoder.yudao.module.order.vo.order.StatisticsOrderVO
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderBackVO
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderBackVO
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionBackVO
;
import
cn.iocoder.yudao.module.order.vo.orderException.OrderExceptionBackVO
;
...
@@ -17,7 +15,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -17,7 +15,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.ResultType
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
import
java.util.List
;
import
java.util.List
;
...
@@ -40,7 +37,7 @@ public interface OrderExceptionMapper extends AbstractMapper<OrderExceptionDO> {
...
@@ -40,7 +37,7 @@ public interface OrderExceptionMapper extends AbstractMapper<OrderExceptionDO> {
//.eqIfPresent(OrderExceptionDO::getOrderExceptionRemark, vo.getOrderExceptionRemark())
//.eqIfPresent(OrderExceptionDO::getOrderExceptionRemark, vo.getOrderExceptionRemark())
//.eqIfPresent(OrderExceptionDO::getOrderExceptionAmount, vo.getOrderExceptionAmount())
//.eqIfPresent(OrderExceptionDO::getOrderExceptionAmount, vo.getOrderExceptionAmount())
//.eqIfPresent(OrderExceptionDO::getOrderExceptionAttr, vo.getOrderExceptionAttr())
//.eqIfPresent(OrderExceptionDO::getOrderExceptionAttr, vo.getOrderExceptionAttr())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionStatus
,
vo
.
getOrderExceptionStatus
())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionStatus
,
vo
.
getOrderExceptionStatus
List
())
.
betweenIfPresent
(
OrderExceptionDO:
:
getCreateTime
,
vo
.
getBeginCreateTime
(),
vo
.
getEndCreateTime
())
.
betweenIfPresent
(
OrderExceptionDO:
:
getCreateTime
,
vo
.
getBeginCreateTime
(),
vo
.
getEndCreateTime
())
.
orderByDesc
(
OrderExceptionDO:
:
getId
));
.
orderByDesc
(
OrderExceptionDO:
:
getId
));
}
}
...
@@ -56,7 +53,7 @@ public interface OrderExceptionMapper extends AbstractMapper<OrderExceptionDO> {
...
@@ -56,7 +53,7 @@ public interface OrderExceptionMapper extends AbstractMapper<OrderExceptionDO> {
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderId
,
vo
.
getOrderId
())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderId
,
vo
.
getOrderId
())
//.eqIfPresent(OrderExceptionDO::getOrderNumber, vo.getOrderNumber())
//.eqIfPresent(OrderExceptionDO::getOrderNumber, vo.getOrderNumber())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionType
,
vo
.
getOrderExceptionType
())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionType
,
vo
.
getOrderExceptionType
())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionStatus
,
vo
.
getOrderExceptionStatus
())
.
eqIfPresent
(
OrderExceptionDO:
:
getOrderExceptionStatus
,
vo
.
getOrderExceptionStatus
List
())
.
betweenIfPresent
(
OrderExceptionDO:
:
getCreateTime
,
vo
.
getBeginCreateTime
(),
vo
.
getEndCreateTime
())
.
betweenIfPresent
(
OrderExceptionDO:
:
getCreateTime
,
vo
.
getBeginCreateTime
(),
vo
.
getEndCreateTime
())
.
orderByDesc
(
OrderExceptionDO:
:
getId
));
.
orderByDesc
(
OrderExceptionDO:
:
getId
));
}
}
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderException/OrderExceptionServiceImpl.java
View file @
538b8789
...
@@ -433,7 +433,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
...
@@ -433,7 +433,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
queryWrapper
.
inIfPresent
(
"e.order_exception_type"
,
reqVo
.
getOrderExceptionType
());
queryWrapper
.
inIfPresent
(
"e.order_exception_type"
,
reqVo
.
getOrderExceptionType
());
}
}
queryWrapper
.
eqIfPresent
(
"tot.order_exception_status"
,
reqVo
.
getOrderExceptionStatus
());
queryWrapper
.
inIfPresent
(
"tot.order_exception_status"
,
reqVo
.
getOrderExceptionStatusList
());
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
queryWrapper
.
eq
(
"r.customer_id"
,
reqVo
.
getConsignor
());
queryWrapper
.
eq
(
"r.customer_id"
,
reqVo
.
getConsignor
());
}
}
...
@@ -2534,7 +2534,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
...
@@ -2534,7 +2534,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
queryWrapper
.
inIfPresent
(
"eo.objective_country_id"
,
reqVo
.
getDestCountryIds
());
queryWrapper
.
inIfPresent
(
"eo.objective_country_id"
,
reqVo
.
getDestCountryIds
());
}
}
queryWrapper
.
eqIfPresent
(
"s.order_exception_status"
,
reqVo
.
getOrderExceptionStatus
());
queryWrapper
.
inIfPresent
(
"s.order_exception_status"
,
reqVo
.
getOrderExceptionStatusList
());
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
queryWrapper
.
eq
(
"oc.customer_id"
,
reqVo
.
getConsignor
());
queryWrapper
.
eq
(
"oc.customer_id"
,
reqVo
.
getConsignor
());
}
}
...
@@ -2664,7 +2664,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
...
@@ -2664,7 +2664,7 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
queryWrapper
.
inIfPresent
(
"eo.objective_country_id"
,
reqVo
.
getDestCountryIds
());
queryWrapper
.
inIfPresent
(
"eo.objective_country_id"
,
reqVo
.
getDestCountryIds
());
}
}
queryWrapper
.
eqIfPresent
(
"s.order_exception_status"
,
reqVo
.
getOrderExceptionStatus
());
queryWrapper
.
inIfPresent
(
"s.order_exception_status"
,
reqVo
.
getOrderExceptionStatusList
());
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
if
(
StringUtils
.
isNotBlank
(
reqVo
.
getConsignor
()))
{
queryWrapper
.
eq
(
"oc.customer_id"
,
reqVo
.
getConsignor
());
queryWrapper
.
eq
(
"oc.customer_id"
,
reqVo
.
getConsignor
());
}
}
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderException/OrderExceptionQueryVO.java
View file @
538b8789
...
@@ -48,7 +48,7 @@ public class OrderExceptionQueryVO {
...
@@ -48,7 +48,7 @@ public class OrderExceptionQueryVO {
private
List
<
String
>
orderExceptionType
;
private
List
<
String
>
orderExceptionType
;
@ApiModelProperty
(
value
=
"异常状态"
)
@ApiModelProperty
(
value
=
"异常状态"
)
private
Integer
orderExceptionStatus
;
private
List
<
Integer
>
orderExceptionStatusList
;
@ApiModelProperty
(
value
=
"发货人"
)
@ApiModelProperty
(
value
=
"发货人"
)
private
String
consignor
;
private
String
consignor
;
...
...
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