|
@@ -469,7 +469,7 @@ public class FodderServiceImpl extends IBaseServiceImpl<FodderEntity, Long> impl
|
|
|
*/
|
|
|
@Override
|
|
|
public Integer getVolume(String unit) {
|
|
|
- String volume = entityMapper.countSize();
|
|
|
+ String volume = entityMapper.sumSize();
|
|
|
BigDecimal decimal = new BigDecimal(volume);
|
|
|
if ("KB".equals(unit) || StrUtil.isBlank(unit)){
|
|
|
log.info("KB: {}", volume);
|