|
@@ -17,6 +17,7 @@ import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
@@ -558,6 +559,8 @@ public class SupplyServiceImpl implements ISupplyService {
|
|
|
vo.setSupplyType(supplyType.toString());
|
|
vo.setSupplyType(supplyType.toString());
|
|
|
vo.setDateType(supplyType.toString());
|
|
vo.setDateType(supplyType.toString());
|
|
|
vo.setGeom(item.getGeom());
|
|
vo.setGeom(item.getGeom());
|
|
|
|
|
+ String area = String.format("%.2f", item.getMjMu() == null ? BigDecimal.ZERO : item.getMjMu());
|
|
|
|
|
+ vo.setArea(area);
|
|
|
return vo;
|
|
return vo;
|
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
|
}else if(supplyType == 2){
|
|
}else if(supplyType == 2){
|