This commit is contained in:
2023-10-12 09:46:38 +08:00
parent 60dcf51013
commit 34f748374d
2 changed files with 9 additions and 4 deletions

View File

@@ -42,7 +42,6 @@ import org.apache.commons.lang.StringUtils;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
@@ -334,7 +333,7 @@ public class CsEquipmentDeliveryServiceImpl extends ServiceImpl<CsEquipmentDeliv
@Override
public CsEquipmentDeliveryPO findDevByNDid(String nDid) {
return this.lambdaQuery().eq(CsEquipmentDeliveryPO::getNdid,nDid).one();
return this.lambdaQuery().eq(CsEquipmentDeliveryPO::getNdid,nDid).ne(CsEquipmentDeliveryPO::getRunStatus,0).one();
}
@Override

View File

@@ -97,10 +97,16 @@ public class CsEventPO extends BaseEntity {
*/
@TableField(value = "location")
private String location;
/**
* 用于数据控制 1:设备登记2功能调试3出厂调试 4设备投运)
* 流程信息(用于数据控制 1:设备登记2功能调试3出厂调试 4设备投运)
*/
@TableField(value = "process")
private String process;
private Integer process;
/**
* 告警故障编码一般显示为Hex
*/
@TableField(value = "code")
private String code;
}