|
|
@ -4,11 +4,10 @@ |
|
|
|
<!-- <where> ${ew.sqlSegment} </where>--> |
|
|
|
<!-- ${ew.customSqlSegment} --> |
|
|
|
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.busvehicleorder.VehicleOrderListVo"> |
|
|
|
SELECT bvo.*, bvm.modelName |
|
|
|
SELECT bvo.*, bvm.modelName,bva.applicationCode |
|
|
|
FROM bus_vehicle_order bvo |
|
|
|
LEFT JOIN base_vehicle_model bvm ON bvo.purchaseApplyMediumModelSid = bvm.sid |
|
|
|
LEFT JOIN bus_vehicle_apply_detail bvad ON bvo.purchaseApplyMediumModelSid = bvad.sid |
|
|
|
LEFT JOIN bus_vehicle_apply bva ON bvad.applySid = bva.sid |
|
|
|
LEFT JOIN bus_vehicle_apply bva ON bva.sid = bvo.purchaseRequisitionSid |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|
</where> |
|
|
|