fix
This commit is contained in:
parent
1d0a20aaae
commit
6a1174c58f
|
|
@ -44,16 +44,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectOrderInfoByOrderId" parameterType="Long" resultType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
|
<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
|
select d.*,o.code,o.time,o.order_status,o.reject_reason,s.file_url as contract_url
|
||||||
from ma_order_info o
|
from ma_order_info o
|
||||||
left join ma_order_details d on d.order_id = o.order_id
|
left join ma_order_details d on d.order_id = o.order_id
|
||||||
where o.order_id = #{orderId}
|
left join sys_file_info s on s.model_id = o.order_id
|
||||||
|
where s.dic_id = 21 and o.order_id = #{orderId}
|
||||||
</select>
|
</select>
|
||||||
<!-- select d.*,o.code,o.time as order_time,o.order_status,s.file_url as contract_url-->
|
|
||||||
<!-- 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 o.order_id = #{orderId} and s.dic_id = 21-->
|
|
||||||
|
|
||||||
<insert id="insertOrderInfo" parameterType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
|
<insert id="insertOrderInfo" parameterType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
|
||||||
insert into ma_order_info
|
insert into ma_order_info
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue