|
|
|
@@ -63,11 +63,29 @@ public class WxEnergyReadingCalcute extends TenantEntity { |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "importSuccess", name = "importSuccess") |
|
|
|
private Integer importSuccess; |
|
|
|
@TableField(exist = false) |
|
|
|
private String importSuccessName; |
|
|
|
public String getImportSuccessName() { |
|
|
|
if (null != importSuccess && importSuccess.intValue() == EnumYesOrNo.YES.getCode().intValue()) { |
|
|
|
return "成功"; |
|
|
|
}else { |
|
|
|
return "部分失败"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "isCalcuted", name = "isCalcuted") |
|
|
|
private Integer isCalcuted; |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "importSuccess", name = "importSuccess") |
|
|
|
private Integer calcuteSuccess; |
|
|
|
@TableField(exist = false) |
|
|
|
private String calcuteSuccessName; |
|
|
|
private String getCalcuteSuccessName() { |
|
|
|
if (null != calcuteSuccess && calcuteSuccess.intValue() == EnumYesOrNo.YES.getCode().intValue()) { |
|
|
|
return "成功"; |
|
|
|
}else { |
|
|
|
return "部分失败"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |