update 根据订单号列表查询订单分账信息

This commit is contained in:
Guoqs
2025-02-21 15:34:48 +08:00
parent edf7a54afb
commit d1ed633e19
2 changed files with 12 additions and 1 deletions

View File

@@ -1431,7 +1431,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
// 根据交易日期查询运营商下面所有站点的交易日报 // 根据交易日期查询运营商下面所有站点的交易日报
List<SettleOrderReport> stationReportList = settleOrderReportService.selectByMerchantIdAndDate(merchantId, tradeDate); List<SettleOrderReport> stationReportList = settleOrderReportService.selectByMerchantIdAndDate(merchantId, tradeDate);
if (CollectionUtils.isEmpty(stationReportList)) { if (CollectionUtils.isEmpty(stationReportList)) {
logger.error("订单分账逻辑error-stationReportList为空"); logger.error("生成运营商日账单error-stationReportList为空");
return; return;
} }

View File

@@ -779,4 +779,15 @@
and adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR} and adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}
and trade_date between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR} and trade_date between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
</select> </select>
<select id="queryByOrderCodeList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from order_split_record
where del_flag = '0'
and order_code in
<foreach collection="orderCodeList" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</select>
</mapper> </mapper>