修改VDR搜索条件

This commit is contained in:
高嵩
2023-09-08 17:39:49 +08:00
parent b63582e5d1
commit d647d5adc2
3 changed files with 14 additions and 1 deletions
@@ -46,6 +46,12 @@
<if test="otaManageApplyEO.market != null and otaManageApplyEO.market != ''"> <if test="otaManageApplyEO.market != null and otaManageApplyEO.market != ''">
and applied_vehicle_project LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.market}),'%') and applied_vehicle_project LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.market}),'%')
</if> </if>
<if test="otaManageApplyEO.homologationImpact != null and otaManageApplyEO.homologationImpact != ''">
and homologation_impact LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.homologationImpact}),'%')
</if>
<if test="otaManageApplyEO.homologation != null and otaManageApplyEO.homologation != ''">
and homologation LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.homologation}),'%')
</if>
<if test="otaManageApplyEO.vdr != null and otaManageApplyEO.vdr != ''"> <if test="otaManageApplyEO.vdr != null and otaManageApplyEO.vdr != ''">
and id LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.vdr}),'%') and id LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.vdr}),'%')
@@ -89,6 +95,12 @@
<if test="otaManageApplyEO.appliedVehicleProject != null and otaManageApplyEO.appliedVehicleProject != ''"> <if test="otaManageApplyEO.appliedVehicleProject != null and otaManageApplyEO.appliedVehicleProject != ''">
and omr.applied_vehicle_project LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.appliedVehicleProject}),'%') and omr.applied_vehicle_project LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.appliedVehicleProject}),'%')
</if> </if>
<if test="otaManageApplyEO.homologationImpact != null and otaManageApplyEO.homologationImpact != ''">
and omr.homologation_impact LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.homologationImpact}),'%')
</if>
<if test="otaManageApplyEO.homologation != null and otaManageApplyEO.homologation != ''">
and omr.homologation LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.homologation}),'%')
</if>
</where> </where>
order by omr.id desc order by omr.id desc
</select> </select>
@@ -1132,6 +1132,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
} }
} }
versionVO.setVersionName(versionVO.getCar() + "-" + versionVO.getYearName() + "-" + targetMarket + "-" + versionVO.getVersionNumber()); versionVO.setVersionName(versionVO.getCar() + "-" + versionVO.getYearName() + "-" + targetMarket + "-" + versionVO.getVersionNumber());
versionVO.setAttestationEndTime(new Date());
} }
//ComplianceFlowStatusEnum //ComplianceFlowStatusEnum
@@ -36,7 +36,7 @@
showSearch showSearch
optionFilterProp="label" optionFilterProp="label"
:autoClearSearchValue="false" :autoClearSearchValue="false"
v-model="queryParam.appliedVehicleProject"> v-model="queryParam.homologationImpact">
<a-select-option v-for="(item, key) in authenticationimpactList" <a-select-option v-for="(item, key) in authenticationimpactList"
:label='item' :label='item'
:key="key" :key="key"