修改OTA版本号字段

This commit is contained in:
高嵩
2023-08-24 09:41:36 +08:00
parent dd7539c666
commit b401518b83
4 changed files with 11 additions and 6 deletions
@@ -15,6 +15,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
public interface OtaManageReceiveMapper extends BaseMapper<OtaManageReceive> { public interface OtaManageReceiveMapper extends BaseMapper<OtaManageReceive> {
List<OtaManageReceive> getReceiveByVdr(@Param("vdrList") List<String> vdrList); List<OtaManageReceive> getReceiveByVdr(@Param("vdrList") List<String> vdrList);
List<OtaManageReceive> getReceiveList();
List<OtaManageReceive> getReceiveSync(); List<OtaManageReceive> getReceiveSync();
} }
@@ -21,7 +21,7 @@
<where> <where>
ota_manage_apply.project_version =#{projectId} ota_manage_apply.project_version =#{projectId}
<if test="plannedBpLaunchBatch != null and plannedBpLaunchBatch != ''"> <if test="plannedBpLaunchBatch != null and plannedBpLaunchBatch != ''">
and ota_manage_receive.planned_bp_launch_batch_ =#{plannedBpLaunchBatch} and ota_manage_receive.planned_bp_launch_batch =#{plannedBpLaunchBatch}
</if> </if>
</where> </where>
</select> </select>
@@ -30,7 +30,7 @@
select * from ota_manage_receive select * from ota_manage_receive
<where> <where>
<if test="otaManageApplyEO.plannedBpLaunchBatch != null and otaManageApplyEO.plannedBpLaunchBatch != ''"> <if test="otaManageApplyEO.plannedBpLaunchBatch != null and otaManageApplyEO.plannedBpLaunchBatch != ''">
planned_bp_launch_batch_ =#{otaManageApplyEO.plannedBpLaunchBatch} planned_bp_launch_batch =#{otaManageApplyEO.plannedBpLaunchBatch}
</if> </if>
<if test="otaManageApplyEO.appliedVehicleProject != null and otaManageApplyEO.appliedVehicleProject != ''"> <if test="otaManageApplyEO.appliedVehicleProject != null and otaManageApplyEO.appliedVehicleProject != ''">
@@ -56,7 +56,7 @@
</select> </select>
<select id="getOtaCarPage" resultType="com.jero.modules.ota.entity.OtaManageApplyEO"> <select id="getOtaCarPage" resultType="com.jero.modules.ota.entity.OtaManageApplyEO">
select omr.id as vdr,omr.planned_bp_launch_batch_,omr.update_date, select omr.id as vdr,omr.planned_bp_launch_batch,omr.update_date,
omr.summary,omr.status, omr.summary,omr.status,
omr.homologation_impact,omr.homologation, omr.homologation_impact,omr.homologation,
omr.impact_cn_homo,omr.impact_eu_homo, omr.impact_cn_homo,omr.impact_eu_homo,
@@ -67,7 +67,7 @@
<where> <where>
1=1 1=1
<if test="otaManageApplyEO.plannedBpLaunchBatch != null and otaManageApplyEO.plannedBpLaunchBatch != ''"> <if test="otaManageApplyEO.plannedBpLaunchBatch != null and otaManageApplyEO.plannedBpLaunchBatch != ''">
and omr.planned_bp_launch_batch_ =#{otaManageApplyEO.plannedBpLaunchBatch} and omr.planned_bp_launch_batch =#{otaManageApplyEO.plannedBpLaunchBatch}
</if> </if>
<if test="otaManageApplyEO.vdr != null and otaManageApplyEO.vdr != ''"> <if test="otaManageApplyEO.vdr != null and otaManageApplyEO.vdr != ''">
@@ -8,7 +8,7 @@
<result column="update_by" property="updateBy" /> <result column="update_by" property="updateBy" />
<result column="update_time" property="updateTime" /> <result column="update_time" property="updateTime" />
<result column="sys_org_code" property="sysOrgCode" /> <result column="sys_org_code" property="sysOrgCode" />
<result column="planned_bp_launch_batch_" property="plannedBpLaunchBatch" /> <result column="planned_bp_launch_batch" property="plannedBpLaunchBatch" />
<result column="update_date" property="updateDate" /> <result column="update_date" property="updateDate" />
<result column="summary" property="summary" /> <result column="summary" property="summary" />
<result column="status" property="status" /> <result column="status" property="status" />
@@ -28,6 +28,10 @@
</foreach> </foreach>
</select> </select>
<select id="getReceiveList" resultType="com.jero.modules.ota.entity.OtaManageReceive">
select * from ota_manage_receive
</select>
<select id="getReceiveSync" resultType="com.jero.modules.ota.entity.OtaManageReceive"> <select id="getReceiveSync" resultType="com.jero.modules.ota.entity.OtaManageReceive">
select * from ota_manage_receive_sync select * from ota_manage_receive_sync
</select> </select>
@@ -85,7 +85,7 @@ public class OtaManageReceiveServiceImpl extends ServiceImpl<OtaManageReceiveMap
*/ */
@Override @Override
public List<OtaManageReceive> queryList() { public List<OtaManageReceive> queryList() {
return list(); return this.getBaseMapper().getReceiveList();
} }
@Override @Override