cjl
2023-07-26 0ce061d9ed37a6c25fff70e4734fa8cc8747237c
screen-manage/src/main/java/com/moral/api/pojo/form/version/VersionSensorUnitForm.java
@@ -16,10 +16,12 @@
@Data
public class VersionSensorUnitForm {
    private Integer versionId;
    private List<VersionSensorUnit> sensorUnits;
    public boolean valid(){
        if(sensorUnits==null)
        if(sensorUnits==null||ObjectUtils.isEmpty(versionId))
            return false;
        return true;
    }