|
|
|
@ -24,6 +24,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
@ -99,6 +100,11 @@ public class LandToListServiceImpl extends ServiceImpl<LandToListMapper, LandToL
|
|
|
|
|
return landDtos; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public Integer selectId() { |
|
|
|
|
return baseMapper.selectId(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private List<String> entityToList(LandToList data) { |
|
|
|
|
List<String> list = new ArrayList<>(); |
|
|
|
|
list.add(data.getProposedseriaId()); |
|
|
|
@ -179,72 +185,73 @@ public class LandToListServiceImpl extends ServiceImpl<LandToListMapper, LandToL
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private LandToList listToEntity(List<String> data) { |
|
|
|
|
LandToList landListed = new LandToList(); |
|
|
|
|
landListed.setAnnoId(data.get(0)); |
|
|
|
|
landListed.setLandCode(data.get(1)); |
|
|
|
|
landListed.setLandPosition(data.get(2)); |
|
|
|
|
landListed.setLandUsage(data.get(3)); |
|
|
|
|
landListed.setLandTransferSquare(data.get(4)); |
|
|
|
|
landListed.setLandTransferMu(data.get(5)); |
|
|
|
|
landListed.setTotalConsArea(data.get(6)); |
|
|
|
|
landListed.setPlotRatio(data.get(7)); |
|
|
|
|
landListed.setBuildingDensity(data.get(8)); |
|
|
|
|
landListed.setGreenSpaceRatio(data.get(9)); |
|
|
|
|
landListed.setHeighPermitted(data.get(10)); |
|
|
|
|
landListed.setRemiseYears(data.get(11)); |
|
|
|
|
landListed.setTransferPrice(data.get(12)); |
|
|
|
|
landListed.setStartingFloorPrice(data.get(13)); |
|
|
|
|
landListed.setBidMargin(data.get(14)); |
|
|
|
|
landListed.setBizRemark(data.get(15)); |
|
|
|
|
landListed.setAnnoDate(DateUtil.fromLocalDate(data.get(16),"yyyy-MM-dd")); |
|
|
|
|
landListed.setAuctionDate(DateUtil.fromLocalDate(data.get(17),"yyyy-MM-dd")); |
|
|
|
|
landListed.setLicensedArea(data.get(18)); |
|
|
|
|
landListed.setBizSpace(data.get(19)); |
|
|
|
|
landListed.setCommerceSpace(data.get(20)); |
|
|
|
|
landListed.setRemark(data.get(21)); |
|
|
|
|
landListed.setAllocationCapacity(data.get(22)); |
|
|
|
|
landListed.setAllocationNotCapacity(data.get(23)); |
|
|
|
|
landListed.setGeologicHazard(data.get(24)); |
|
|
|
|
landListed.setCivilAirDefence(data.get(25)); |
|
|
|
|
landListed.setSpecialPlan(data.get(26)); |
|
|
|
|
landListed.setAssemblyBuilding(data.get(27)); |
|
|
|
|
landListed.setGreenBuilding(data.get(28)); |
|
|
|
|
landListed.setOtherConditions(data.get(29)); |
|
|
|
|
landListed.setPercentFinishedHousing(data.get(30)); |
|
|
|
|
landListed.setBiddingConditions(data.get(31)); |
|
|
|
|
landListed.setHookForm(data.get(32)); |
|
|
|
|
landListed.setFirstGovernance(data.get(33)); |
|
|
|
|
landListed.setLandEnterprises(data.get(33)); |
|
|
|
|
landListed.setPaymentRhythm(data.get(34)); |
|
|
|
|
landListed.setBargainor(data.get(35)); |
|
|
|
|
landListed.setCity(data.get(36)); |
|
|
|
|
landListed.setCanton(data.get(37)); |
|
|
|
|
landListed.setSpecialZone(data.get(38)); |
|
|
|
|
landListed.setLoopWire(data.get(39)); |
|
|
|
|
landListed.setBigGroup(data.get(40)); |
|
|
|
|
landListed.setSmallGroup(data.get(41)); |
|
|
|
|
landListed.setOvePosition(data.get(42)); |
|
|
|
|
landListed.setLonLatBd(data.get(43)); |
|
|
|
|
landListed.setAnnoId(data.get(44)); |
|
|
|
|
landListed.setLandPosition(data.get(45)); |
|
|
|
|
landListed.setTransferMode(data.get(46)); |
|
|
|
|
landListed.setAssignee(data.get(47)); |
|
|
|
|
landListed.setLandEnterpriseShort(data.get(48)); |
|
|
|
|
landListed.setDealPrice(data.get(49)); |
|
|
|
|
landListed.setPremiumRate(data.get(50)); |
|
|
|
|
landListed.setCommercialSelfRatio(data.get(51)); |
|
|
|
|
landListed.setHomeSelfRatio(data.get(52)); |
|
|
|
|
landListed.setPercentUnpaid(data.get(53)); |
|
|
|
|
landListed.setTalenApartmentArea(data.get(54)); |
|
|
|
|
landListed.setParticipatingEnterprises(data.get(55)); |
|
|
|
|
landListed.setProjectStatus(data.get(56)); |
|
|
|
|
landListed.setBuildingName(data.get(57)); |
|
|
|
|
landListed.setProjectCompany(data.get(58)); |
|
|
|
|
landListed.setConfirmationTime(DateUtil.fromLocalDate(data.get(59),"yyyy-MM-dd")); |
|
|
|
|
landListed.setTradingEnterprises(data.get(60)); |
|
|
|
|
landListed.setPartner(data.get(61)); |
|
|
|
|
landListed.setConductEnterprise(data.get(62)); |
|
|
|
|
landListed.setFirstOpenTime(DateUtil.fromLocalDate(data.get(63),"yyyy-MM-dd")); |
|
|
|
|
return landListed; |
|
|
|
|
LandToList landToList = new LandToList(); |
|
|
|
|
landToList.setAnnoId(data.get(0)); |
|
|
|
|
landToList.setLandCode(data.get(1)); |
|
|
|
|
landToList.setLandPosition(data.get(2)); |
|
|
|
|
landToList.setLandUsage(data.get(3)); |
|
|
|
|
landToList.setLandTransferSquare(data.get(4)); |
|
|
|
|
landToList.setLandTransferMu(data.get(5)); |
|
|
|
|
landToList.setTotalConsArea(data.get(6)); |
|
|
|
|
landToList.setPlotRatio(data.get(7)); |
|
|
|
|
landToList.setBuildingDensity(data.get(8)); |
|
|
|
|
landToList.setGreenSpaceRatio(data.get(9)); |
|
|
|
|
landToList.setHeighPermitted(data.get(10)); |
|
|
|
|
landToList.setRemiseYears(data.get(11)); |
|
|
|
|
landToList.setTransferPrice(data.get(12)); |
|
|
|
|
landToList.setStartingFloorPrice(data.get(13)); |
|
|
|
|
landToList.setBidMargin(data.get(14)); |
|
|
|
|
landToList.setBizRemark(data.get(15)); |
|
|
|
|
landToList.setAnnoDate(DateUtil.fromLocalDate(data.get(16),"yyyy-MM-dd")); |
|
|
|
|
landToList.setAuctionDate(DateUtil.fromLocalDate(data.get(17),"yyyy-MM-dd")); |
|
|
|
|
landToList.setLicensedArea(data.get(18)); |
|
|
|
|
landToList.setBizSpace(data.get(19)); |
|
|
|
|
landToList.setCommerceSpace(data.get(20)); |
|
|
|
|
landToList.setRemark(data.get(21)); |
|
|
|
|
landToList.setAllocationCapacity(data.get(22)); |
|
|
|
|
landToList.setAllocationNotCapacity(data.get(23)); |
|
|
|
|
landToList.setGeologicHazard(data.get(24)); |
|
|
|
|
landToList.setCivilAirDefence(data.get(25)); |
|
|
|
|
landToList.setSpecialPlan(data.get(26)); |
|
|
|
|
landToList.setAssemblyBuilding(data.get(27)); |
|
|
|
|
landToList.setGreenBuilding(data.get(28)); |
|
|
|
|
landToList.setOtherConditions(data.get(29)); |
|
|
|
|
landToList.setPercentFinishedHousing(data.get(30)); |
|
|
|
|
landToList.setBiddingConditions(data.get(31)); |
|
|
|
|
landToList.setHookForm(data.get(32)); |
|
|
|
|
landToList.setFirstGovernance(data.get(33)); |
|
|
|
|
landToList.setLandEnterprises(data.get(33)); |
|
|
|
|
landToList.setPaymentRhythm(data.get(34)); |
|
|
|
|
landToList.setBargainor(data.get(35)); |
|
|
|
|
landToList.setCity(data.get(36)); |
|
|
|
|
landToList.setCanton(data.get(37)); |
|
|
|
|
landToList.setSpecialZone(data.get(38)); |
|
|
|
|
landToList.setLoopWire(data.get(39)); |
|
|
|
|
landToList.setBigGroup(data.get(40)); |
|
|
|
|
landToList.setSmallGroup(data.get(41)); |
|
|
|
|
landToList.setOvePosition(data.get(42)); |
|
|
|
|
landToList.setLonLatBd(data.get(43)); |
|
|
|
|
landToList.setAnnoId(data.get(44)); |
|
|
|
|
landToList.setLandPosition(data.get(45)); |
|
|
|
|
landToList.setTransferMode(data.get(46)); |
|
|
|
|
landToList.setAssignee(data.get(47)); |
|
|
|
|
landToList.setLandEnterpriseShort(data.get(48)); |
|
|
|
|
landToList.setDealPrice(data.get(49)); |
|
|
|
|
landToList.setPremiumRate(data.get(50)); |
|
|
|
|
landToList.setCommercialSelfRatio(data.get(51)); |
|
|
|
|
landToList.setHomeSelfRatio(data.get(52)); |
|
|
|
|
landToList.setPercentUnpaid(data.get(53)); |
|
|
|
|
landToList.setTalenApartmentArea(data.get(54)); |
|
|
|
|
landToList.setParticipatingEnterprises(data.get(55)); |
|
|
|
|
landToList.setProjectStatus(data.get(56)); |
|
|
|
|
landToList.setBuildingName(data.get(57)); |
|
|
|
|
landToList.setProjectCompany(data.get(58)); |
|
|
|
|
landToList.setConfirmationTime(DateUtil.fromLocalDate(data.get(59),"yyyy-MM-dd")); |
|
|
|
|
landToList.setTradingEnterprises(data.get(60)); |
|
|
|
|
landToList.setPartner(data.get(61)); |
|
|
|
|
landToList.setConductEnterprise(data.get(62)); |
|
|
|
|
landToList.setFirstOpenTime(DateUtil.fromLocalDate(data.get(63),"yyyy-MM-dd")); |
|
|
|
|
landToList.setProposedseriaId(DateUtil.landToListIdfromDate(LocalDateTime.now(), "yyyyMMdd",this.selectId())); |
|
|
|
|
return landToList; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|