|
|
@ -5,9 +5,9 @@ |
|
|
|
<!-- ${ew.customSqlSegment} --> |
|
|
|
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basevehmodelconfig.BaseVehmodelConfigVo"> |
|
|
|
SELECT bvc.*, |
|
|
|
bvm.modelName, |
|
|
|
bvm.`vehicleVersionValue`, |
|
|
|
bvm.`vehicleTypeCode`, |
|
|
|
bvm.modelName, |
|
|
|
bvm.`vehicleVersionValue`, |
|
|
|
bvm.`vehicleTypeCode`, |
|
|
|
<!--车身颜色--> |
|
|
|
bmc.carColor, |
|
|
|
<!--驾驶室规格--> |
|
|
@ -52,10 +52,10 @@ |
|
|
|
bmc.bumper, |
|
|
|
bmc.configName |
|
|
|
FROM base_vehmodel_config bvc |
|
|
|
LEFT JOIN base_vehicle_model bvm |
|
|
|
ON bvc.modelSid = bvm.sid |
|
|
|
LEFT JOIN base_model_config bmc |
|
|
|
ON bvc.configurationItemsSid = bmc.sid |
|
|
|
LEFT JOIN base_vehicle_model bvm |
|
|
|
ON bvc.modelSid = bvm.sid |
|
|
|
LEFT JOIN base_model_config bmc |
|
|
|
ON bvc.configurationItemsSid = bmc.sid |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|
</where> |
|
|
@ -72,14 +72,14 @@ |
|
|
|
<select id="getAppCommonlyUsedModelsByPageList" |
|
|
|
resultType="com.yxt.anrui.base.api.basevehmodelconfig.AppCommonlyUsedModelsByPageListVo"> |
|
|
|
SELECT bvm.sid AS modelSid, |
|
|
|
bvm.vehicleAlias, |
|
|
|
bvm.brandName, |
|
|
|
bvm.vehicleVersionValue, |
|
|
|
bvm.fuelTypeValue, |
|
|
|
bvm.gearboxTypeValue |
|
|
|
bvm.vehicleAlias, |
|
|
|
bvm.brandName, |
|
|
|
bvm.vehicleVersionValue, |
|
|
|
bvm.fuelTypeValue, |
|
|
|
bvm.gearboxTypeValue |
|
|
|
FROM base_vehmodel_config bvc |
|
|
|
LEFT JOIN base_vehicle_model bvm ON bvc.modelSid = bvm.sid |
|
|
|
LEFT JOIN base_model_config bmc ON bvc.configurationItemsSid = bmc.sid |
|
|
|
LEFT JOIN base_vehicle_model bvm ON bvc.modelSid = bvm.sid |
|
|
|
LEFT JOIN base_model_config bmc ON bvc.configurationItemsSid = bmc.sid |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|
</where> |
|
|
@ -209,10 +209,12 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectO" resultType="com.yxt.anrui.base.api.basevehmodelconfig.BaseVehmodelVo"> |
|
|
|
select guidedPrice |
|
|
|
from base_vehmodel_config |
|
|
|
where modelSid = #{modelSid} |
|
|
|
and configurationItemsSid = #{configSid} |
|
|
|
select bvc.guidedPrice, bm.modelName, bmc.otherConfig |
|
|
|
from base_vehmodel_config bvc |
|
|
|
left join base_vehicle_model bm on bvc.modelSid = bm.sid |
|
|
|
left join base_model_config bmc on bvc.configurationItemsSid = bmc.sid |
|
|
|
where bvc.modelSid = #{modelSid} |
|
|
|
and bvc.configurationItemsSid = #{configSid} |
|
|
|
</select> |
|
|
|
<select id="selectCarConfigSummary" |
|
|
|
resultType="com.yxt.anrui.base.api.basemodelconfig.AppModelConfigListVo"> |
|
|
|