add 收入分类统计返回值增加金额
This commit is contained in:
@@ -220,6 +220,7 @@ public class IndexService {
|
||||
.multiply(new BigDecimal(100))
|
||||
.setScale(1, RoundingMode.UNNECESSARY);
|
||||
pieChartVO.setValue(String.valueOf(divide));
|
||||
pieChartVO.setMoney(String.valueOf(amountClassDTO.getMoney()));
|
||||
pieChartVOS.add(pieChartVO);
|
||||
}
|
||||
return pieChartVOS;
|
||||
|
||||
@@ -5,6 +5,8 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
* @date 2022-09-02 11:30
|
||||
@@ -16,4 +18,6 @@ public class PieChartVO {
|
||||
private String name;
|
||||
@ApiModelProperty(value = "值")
|
||||
private String value;
|
||||
@ApiModelProperty(value = "金额")
|
||||
private String money;
|
||||
}
|
||||
|
||||
+1
-1
@@ -2319,6 +2319,6 @@
|
||||
<where>
|
||||
DATE_FORMAT(pcpr.payment_date, '%Y') like concat(#{year}, '%')
|
||||
</where>
|
||||
GROUP BY chargeUse;
|
||||
GROUP BY chargeUse
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user