查询时间段内的订单分账记录

This commit is contained in:
Guoqs
2025-01-17 15:13:53 +08:00
parent 363a5b62cc
commit 2785d91b4f
8 changed files with 273 additions and 5 deletions

View File

@@ -729,4 +729,16 @@
where del_flag = '0'
and order_code = #{orderCode,jdbcType=VARCHAR}
</select>
<select id="queryOrderSplitDataList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from order_split_record
where del_flag = '0'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
<if test="stationId != null and stationId != ''">
and station_id = #{stationId,jdbcType=VARCHAR}
</if>
and trade_date between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
</select>
</mapper>