Commit c0a3c963 authored by 周健威's avatar 周健威

修改

parent dee2930e
...@@ -50,4 +50,6 @@ public class QueryOrderDTO extends PageParam { ...@@ -50,4 +50,6 @@ public class QueryOrderDTO extends PageParam {
private Integer orderSign; private Integer orderSign;
private String multiOrderSign;
} }
\ No newline at end of file
...@@ -432,6 +432,8 @@ public class BaseOrderController extends CommonBaseController implements UserRes ...@@ -432,6 +432,8 @@ public class BaseOrderController extends CommonBaseController implements UserRes
Integer bizType; Integer bizType;
private String multiOrderSign;
} }
@RequestMapping(value = "/app/unauth/refund/{no}/{refundAmount}", method = RequestMethod.POST) @RequestMapping(value = "/app/unauth/refund/{no}/{refundAmount}", method = RequestMethod.POST)
......
...@@ -62,6 +62,14 @@ ...@@ -62,6 +62,14 @@
select * select *
from base_order from base_order
<where> <where>
<if test="multiOrderSign != null">
and
(
<foreach collection="multiOrderSign.split(',')" index="sIndex" item="signEntity" separator=" or ">
order_sign = #{signEntity}
</foreach>
)
</if>
<if test="orderSign != null"> <if test="orderSign != null">
and order_sign = #{orderSign} and order_sign = #{orderSign}
</if> </if>
...@@ -260,6 +268,14 @@ ...@@ -260,6 +268,14 @@
<select id="getAllOrderList" parameterType="Map" resultType="com.xxfc.platform.order.pojo.bg.BgOrderListVo"> <select id="getAllOrderList" parameterType="Map" resultType="com.xxfc.platform.order.pojo.bg.BgOrderListVo">
SELECT * from order_list_info SELECT * from order_list_info
<where> <where>
<if test="multiOrderSign != null">
and
(
<foreach collection="multiOrderSign.split(',')" index="sIndex" item="signEntity" separator=" or ">
order_sign = #{signEntity}
</foreach>
)
</if>
<if test="userIds != null and userIds.size() > 0"> <if test="userIds != null and userIds.size() > 0">
and userId in and userId in
<foreach collection="userIds" item="item" open="(" separator="," close=")"> <foreach collection="userIds" item="item" open="(" separator="," close=")">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment