update 查询未开发票订单,新增站点id条件

This commit is contained in:
2023-05-18 17:07:02 +08:00
parent 1cd9c7d770
commit d0dc2e64c2
5 changed files with 23 additions and 6 deletions

View File

@@ -743,6 +743,9 @@
join pile_station_info t3 on t1.station_id = t3.id
where t1.del_flag = '0'
and t1.member_id = #{memberId,jdbcType=VARCHAR}
<if test="stationId != null and stationId != ''">
and t1.station_id = #{stationId,jdbcType=VARCHAR}
</if>
<if test="orderStatusList != null and orderStatusList.size() != 0">
and t1.order_status in
<foreach collection="orderStatusList" item="orderStatus" open="(" separator="," close=")">
@@ -753,7 +756,6 @@
and t1.create_time <![CDATA[ >= ]]> #{dateTime,jdbcType=VARCHAR}
</if>
order by t1.create_time desc
</select>
<update id="updateOrderStatusByOrderCode">