update 优化计算订单日报

This commit is contained in:
2023-07-14 13:55:35 +08:00
parent 648e10d8f7
commit 3584672da7
5 changed files with 28 additions and 5 deletions

View File

@@ -153,4 +153,12 @@
and t1.trade_date <![CDATA[ <= ]]> #{dto.endTime,jdbcType=VARCHAR}
</if>
</select>
<select id="selectByStationIdAndDate" resultMap="SettleOrderReportResult">
select <include refid="Base_Column_List"/>
from settle_order_report
where del_flag = '0'
and station_id = #{stationId,jdbcType=VARCHAR}
and trade_date = #{date,jdbcType=VARCHAR}
</select>
</mapper>