Ota状态统计带匹配--去掉VDR状态为Discard的
This commit is contained in:
+2
-4
@@ -1,14 +1,12 @@
|
||||
package com.jero.modules.ota.enums;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public enum OtaHomoImpactEnum {
|
||||
|
||||
YES("Yes", "Yes"),
|
||||
INTER_VALID("Internal Validation", "Internal Validation"),
|
||||
HOMOEX_RETEST("Homo Extension - Retest", "Homo Extension - Retest"),
|
||||
HOMOEX_PAPERWORK("Homo Extension - Paperwork", "Homo Extension - Paperwork");
|
||||
HOMOEX_PAPERWORK("Homo Extension - Paperwork", "Homo Extension - Paperwork"),
|
||||
STATUS("Discard", "Discard");
|
||||
|
||||
String name;
|
||||
String value;
|
||||
|
||||
+1
-1
@@ -132,7 +132,7 @@
|
||||
<if test="otaManageApplyEO.homologation != null and otaManageApplyEO.homologation != ''">
|
||||
and omr.homologation LIKE CONCAT(CONCAT('%',#{otaManageApplyEO.homologation}),'%')
|
||||
</if>
|
||||
and omr.is_del is null
|
||||
and omr.is_del is null and omr.status !='Discard'
|
||||
</where>
|
||||
order by omr.id desc
|
||||
</select>
|
||||
|
||||
+2
-1
@@ -905,7 +905,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
|
||||
manageApplyEO.setDisabled(true);
|
||||
}
|
||||
if ((StringUtils.isNotBlank(manageApplyEO.getIsDel()) && manageApplyEO.getIsDel().equals("1"))
|
||||
|| (StringUtils.isNotBlank(manageApplyEO.getStatus()) && manageApplyEO.getStatus().equals("Discard"))) {
|
||||
|| (StringUtils.isNotBlank(manageApplyEO.getStatus()) && manageApplyEO.getStatus().equals(OtaHomoImpactEnum.STATUS.getValue()))) {
|
||||
manageApplyEO.setDiscard(true);
|
||||
manageApplyEO.setDisabled(true);
|
||||
}
|
||||
@@ -2188,6 +2188,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
|
||||
}
|
||||
LambdaQueryWrapper<OtaManageReceive> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.isNull(OtaManageReceive::getIsDel);
|
||||
wrapper.ne(OtaManageReceive::getStatus,OtaHomoImpactEnum.STATUS.getValue());
|
||||
List<OtaManageReceive> otaManageReceiveList = otaManageReceiveService.list(wrapper);
|
||||
List<String> plannedBpLaunchBatchList = new ArrayList<>();
|
||||
List<OtaManageApplyEO> otaManageApplyEOList = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user