生态流量监控接口增加返回属性

master
cxw 2024-09-14 14:41:37 +08:00
parent 3d4d591d89
commit 57510912f4
2 changed files with 3 additions and 3 deletions

View File

@ -154,7 +154,7 @@ public class StWaterRController {
BigDecimal value = monthFlow.getValue();
list.stream().forEach(w -> {
w.setApprovalV(value);
w.setIsStandard(w.getQ().compareTo(value) >= 0 ? "0" : "1");
w.setIsStandard(w.getQ().compareTo(value) >= 0 ? true : false);
});
}
return R.ok(list);

View File

@ -70,8 +70,8 @@ public class StWaterR extends GenericPageParams implements Serializable {
*
*/
@TableField(exist = false)
@Schema(description="是否达标(0是1否)")
private String isStandard;
@Schema(description="是否达标")
private Boolean isStandard;
/**
*