mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 05:25:12 +08:00
查询站点订单日报详情
This commit is contained in:
@@ -294,4 +294,15 @@
|
||||
del_flag = #{delFlag,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
<select id="queryRecordList" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from adapay_callback_record
|
||||
where del_flag = '0'
|
||||
and order_code in
|
||||
<foreach collection="orderCodeList" item="orderCode" open="(" separator="," close=")">
|
||||
#{orderCode,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -295,4 +295,12 @@
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<select id="selectClearingBillCode" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from clearing_bill_detail
|
||||
where del_flag = '0'
|
||||
and order_code = #{orderCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user