This commit is contained in:
sxu 2023-12-09 22:56:18 +08:00
parent cfce3204ba
commit a4b700cd3b
1 changed files with 2 additions and 3 deletions

View File

@ -44,11 +44,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectOrderInfoByOrderId" parameterType="Long" resultType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
select d.*,o.code,o.time,o.order_status,o.reject_reason,s.file_url as contract_url
select d.*,o.code,o.time,o.order_status,o.reject_reason
from ma_order_info o
left join ma_order_details d on d.order_id = o.order_id
left join sys_file_info s on s.model_id = o.order_id
where s.dic_id = 21 and o.order_id = #{orderId}
where o.order_id = #{orderId}
</select>
<insert id="insertOrderInfo" parameterType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">