|
|
@ -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> |
|
|
@ -186,8 +186,8 @@ |
|
|
|
resultType="com.yxt.anrui.base.api.basevehmodelconfig.AppModelVeDetailVo"> |
|
|
|
SELECT bvm.vehicleAlias AS modelName, |
|
|
|
bvm.brandName, |
|
|
|
bvm.carBrand AS brandSid, |
|
|
|
bvc.guidedPrice AS saleReferencePrice |
|
|
|
bvm.carBrand AS brandSid, |
|
|
|
bvc.guidedPrice AS saleReferencePrice |
|
|
|
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 |
|
|
@ -249,14 +249,18 @@ |
|
|
|
LEFT JOIN base_vehicle_model bvm ON bvc.modelSid = bvm.sid |
|
|
|
WHERE bvc.modelSid = #{modelSid} |
|
|
|
AND bvc.configurationItemsSid = #{configSid} |
|
|
|
AND bvc.useOrgSid LIKE concat('%', #{orgSid}, '%') |
|
|
|
AND bvc.useOrgSid = #{orgSid} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getListByConfigSid" resultType="com.yxt.anrui.base.api.basevehmodelconfig.BaseVehmodelConfigVo"> |
|
|
|
SELECT * FROM base_vehmodel_config WHERE configurationItemsSid = #{sid} |
|
|
|
SELECT * |
|
|
|
FROM base_vehmodel_config |
|
|
|
WHERE configurationItemsSid = #{sid} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getVehModByModelSid" resultType="com.yxt.anrui.base.api.basevehmodelconfig.BaseVehmodelConfigVo"> |
|
|
|
SELECT * FROM base_vehmodel_config WHERE modelSid = #{sid} |
|
|
|
SELECT * |
|
|
|
FROM base_vehmodel_config |
|
|
|
WHERE modelSid = #{sid} |
|
|
|
</select> |
|
|
|
</mapper> |