Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
caoyan
6 years ago
Commit
4a00a0325f8dd3bafd2bb7c0efa11382a9813958
2 parents
c293f498
9d42579f
Merge branch 'dev_确认收货优化' into test6.9.7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
dal/src/main/resources/META-INF/mybatis/AbnormalPackageMapper.xml
order/src/main/java/com/yoho/ufo/order/service/impl/BuyerOrderServiceImpl.java
dal/src/main/resources/META-INF/mybatis/AbnormalPackageMapper.xml
View file @
4a00a03
...
...
@@ -15,13 +15,16 @@
</sql>
<select
id=
"selectValidCnt"
resultType=
"java.lang.Integer"
>
select count(1) from abnormal_package where is_del = 0 and seller_waybillCode= #{sellerWaybillCode}
select count(1) from abnormal_package where is_del = 0
<if
test=
"buyerOrderReq.sellerWaybillCode!=null and buyerOrderReq.sellerWaybillCode != ''"
>
and seller_waybillCode = #{buyerOrderReq.sellerWaybillCode}
</if>
</select>
<select
id=
"selectValidSellerWaybillCodeList"
resultType=
"java.lang.String"
parameterType=
"com.yoho.order.model.BuyerOrderReq"
>
select seller_waybillCode from abnormal_package where is_del=0
<if
test=
"buyerOrderReq.sellerWaybillCode!=null and buyerOrderReq.sellerWaybillCode != ''"
>
seller_waybillCode = #{buyerOrderReq.sellerWaybillCode}
and
seller_waybillCode = #{buyerOrderReq.sellerWaybillCode}
</if>
<if
test=
"buyerOrderReq.start!=null and buyerOrderReq.size != null"
>
limit #{buyerOrderReq.start},#{buyerOrderReq.size}
...
...
order/src/main/java/com/yoho/ufo/order/service/impl/BuyerOrderServiceImpl.java
View file @
4a00a03
...
...
@@ -388,7 +388,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
resultMap
.
put
(
"problemNum"
,
problemNum
);
//查询异常包裹
resultMap
.
put
(
"exceptionNum"
,
abnormalPackageMapper
.
selectValidCnt
(
req
.
getQueryStr
()
));
resultMap
.
put
(
"exceptionNum"
,
abnormalPackageMapper
.
selectValidCnt
(
null
));
return
resultMap
;
}
...
...
@@ -424,6 +424,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
resultMap
.
put
(
"processingNum"
,
processingNum
);
resultMap
.
put
(
"alreadyDeliverNum"
,
alreadyDeliverNum
);
resultMap
.
put
(
"problemNum"
,
problemNum
);
//查询异常包裹
resultMap
.
put
(
"exceptionNum"
,
abnormalPackageMapper
.
selectValidCnt
(
queryStr
));
return
resultMap
;
}
...
...
Please
register
or
login
to post a comment