查询站点订单日报详情

This commit is contained in:
2023-08-22 09:42:30 +08:00
parent 0bbde0245d
commit 36fe313a82
22 changed files with 321 additions and 21 deletions

View File

@@ -436,4 +436,16 @@
where del_flag = '0'
and withdraw_code = #{withdrawCode,jdbcType=VARCHAR}
</select>
<select id="selectWithdrawInfoByOrderCode" resultType="com.jsowell.pile.vo.web.ClearingBillVO">
select
t1.clearing_bill_code as clearingBillCode,
t3.withdraw_code as withdrawCode,
t3.withdraw_status as withdrawStatus
from clearing_bill_info t1
left join clearing_bill_detail t2 on t2.clearing_bill_code = t1.clearing_bill_code and t2.del_flag = '0'
left join clearing_withdraw_info t3 on t3.withdraw_code = t1.withdraw_code and t3.del_flag = '0'
where t1.del_flag = '0'
and t2.order_code = #{orderCode,jdbcType=VARCHAR}
</select>
</mapper>