Commit ffd4e1a9 authored by hezhen's avatar hezhen

123

parent a44090da
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<select id="selectListByReceive" resultType="com.xxfc.platform.vehicle.pojo.vo.ReceiveVo" parameterType="com.xxfc.platform.vehicle.pojo.dto.VehiclePublishReceiveDTO"> <select id="selectListByReceive" resultType="com.xxfc.platform.vehicle.pojo.vo.ReceiveVo" parameterType="com.xxfc.platform.vehicle.pojo.dto.VehiclePublishFindDTO">
SELECT SELECT
r.receive_order_no as receiveOrderNo, r.receive_order_no as receiveOrderNo,
COUNT(r.id) as number, COUNT(r.id) as number,
...@@ -119,6 +119,17 @@ ...@@ -119,6 +119,17 @@
<if test="orderNo != null and orderNo != '' "> <if test="orderNo != null and orderNo != '' ">
AND r.receive_order_no= #{orderNo} AND r.receive_order_no= #{orderNo}
</if> </if>
<if test="status != null ' ">
<choose>
<when test=" status == 2">
AND r.status not in (0,1,4)
</when>
<otherwise>
AND r.status= #{status}
</otherwise>
</choose>
</if>
</where> </where>
GROUP BY r.receive_order_no GROUP BY r.receive_order_no
ORDER BY r.crt_time DESC ORDER BY r.crt_time DESC
......
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