微调
This commit is contained in:
@@ -42,7 +42,6 @@ import org.apache.commons.lang.StringUtils;
|
|||||||
import org.apache.poi.ss.usermodel.Workbook;
|
import org.apache.poi.ss.usermodel.Workbook;
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Propagation;
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
@@ -334,7 +333,7 @@ public class CsEquipmentDeliveryServiceImpl extends ServiceImpl<CsEquipmentDeliv
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CsEquipmentDeliveryPO findDevByNDid(String nDid) {
|
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
|
@Override
|
||||||
|
|||||||
@@ -97,10 +97,16 @@ public class CsEventPO extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
@TableField(value = "location")
|
@TableField(value = "location")
|
||||||
private String location;
|
private String location;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用于数据控制 1:设备登记,2:功能调试,3:出厂调试 4:设备投运)
|
* 流程信息(用于数据控制 1:设备登记,2:功能调试,3:出厂调试 4:设备投运)
|
||||||
*/
|
*/
|
||||||
@TableField(value = "process")
|
@TableField(value = "process")
|
||||||
private String process;
|
private Integer process;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 告警故障编码(一般显示为Hex)
|
||||||
|
*/
|
||||||
|
@TableField(value = "code")
|
||||||
|
private String code;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user