查询语句添加del_flag校验

This commit is contained in:
Lemon
2023-10-14 11:33:57 +08:00
parent 5a14be81e6
commit 89e9713781

View File

@@ -928,7 +928,8 @@
JOIN pile_station_info t2 ON t1.station_id = t2.id
join order_detail t3 on t1.order_code = t3.order_code
join member_basic_info t4 on t1.member_id = t4.member_id
where t1.order_code = #{orderCode,jdbcType=VARCHAR}
where t1.del_flag = '0'
and t1.order_code = #{orderCode,jdbcType=VARCHAR}
</select>
<select id="getOrderBasicInfo" resultMap="OrderBasicInfoResult">