glj-代码提交
This commit is contained in:
parent
e700b9e004
commit
9dca8104d7
|
@ -118,20 +118,48 @@ public class RemoteSensingSourceDataServiceImpl extends ServiceImpl<RemoteSensin
|
||||||
}
|
}
|
||||||
remoteSensingSourceData.setProductTime(dateStr);
|
remoteSensingSourceData.setProductTime(dateStr);
|
||||||
}
|
}
|
||||||
remoteSensingSourceData.setProductResolution(Double.parseDouble(product_resolution));
|
if (product_resolution!=null){
|
||||||
|
remoteSensingSourceData.setProductResolution(Double.parseDouble(product_resolution));
|
||||||
|
}
|
||||||
|
if (cloud_cover!=null){
|
||||||
remoteSensingSourceData.setCloudCover(Integer.parseInt(cloud_cover));
|
remoteSensingSourceData.setCloudCover(Integer.parseInt(cloud_cover));
|
||||||
|
}
|
||||||
|
if (satellite_code!=null){
|
||||||
remoteSensingSourceData.setSatelliteCode(satellite_code);
|
remoteSensingSourceData.setSatelliteCode(satellite_code);
|
||||||
|
}
|
||||||
|
if (upper_left_lat!=null){
|
||||||
remoteSensingSourceData.setUpperLeftLat(Double.parseDouble(upper_left_lat));
|
remoteSensingSourceData.setUpperLeftLat(Double.parseDouble(upper_left_lat));
|
||||||
|
}
|
||||||
|
if (upper_left_lon!=null){
|
||||||
remoteSensingSourceData.setUpperLeftLon(Double.parseDouble(upper_left_lon));
|
remoteSensingSourceData.setUpperLeftLon(Double.parseDouble(upper_left_lon));
|
||||||
|
}
|
||||||
|
if (upper_right_lat!=null){
|
||||||
remoteSensingSourceData.setUpperRightLat(Double.parseDouble(upper_right_lat));
|
remoteSensingSourceData.setUpperRightLat(Double.parseDouble(upper_right_lat));
|
||||||
|
}
|
||||||
|
if (upper_right_lon!=null){
|
||||||
remoteSensingSourceData.setUpperRightLon(Double.parseDouble(upper_right_lon));
|
remoteSensingSourceData.setUpperRightLon(Double.parseDouble(upper_right_lon));
|
||||||
|
}
|
||||||
|
if (view_center_lat!=null){
|
||||||
remoteSensingSourceData.setViewCenterLat(Double.parseDouble(view_center_lat));
|
remoteSensingSourceData.setViewCenterLat(Double.parseDouble(view_center_lat));
|
||||||
|
}
|
||||||
|
if (view_center_lon!=null){
|
||||||
remoteSensingSourceData.setViewCenterLon(Double.parseDouble(view_center_lon));
|
remoteSensingSourceData.setViewCenterLon(Double.parseDouble(view_center_lon));
|
||||||
|
}
|
||||||
|
if (lower_right_lat!=null){
|
||||||
remoteSensingSourceData.setLowerRightLat(Double.parseDouble(lower_right_lat));
|
remoteSensingSourceData.setLowerRightLat(Double.parseDouble(lower_right_lat));
|
||||||
|
}
|
||||||
|
if (lower_right_lon!=null){
|
||||||
remoteSensingSourceData.setLowerRightLon(Double.parseDouble(lower_right_lon));
|
remoteSensingSourceData.setLowerRightLon(Double.parseDouble(lower_right_lon));
|
||||||
|
}
|
||||||
|
if (lower_left_lat!=null){
|
||||||
remoteSensingSourceData.setLowerLeftLat(Double.parseDouble(lower_left_lat));
|
remoteSensingSourceData.setLowerLeftLat(Double.parseDouble(lower_left_lat));
|
||||||
|
}
|
||||||
|
if (lower_left_lon!=null){
|
||||||
remoteSensingSourceData.setLowerLeftLon(Double.parseDouble(lower_left_lon));
|
remoteSensingSourceData.setLowerLeftLon(Double.parseDouble(lower_left_lon));
|
||||||
|
}
|
||||||
|
if (source_organization!=null){
|
||||||
remoteSensingSourceData.setSourceOrganization(source_organization);
|
remoteSensingSourceData.setSourceOrganization(source_organization);
|
||||||
|
}
|
||||||
remoteSensingSourceData.setDisasterId(disasterId);
|
remoteSensingSourceData.setDisasterId(disasterId);
|
||||||
remoteSensingSourceData.setCreateTime(new Date());
|
remoteSensingSourceData.setCreateTime(new Date());
|
||||||
remoteSensingSourceData.setStatus(3);
|
remoteSensingSourceData.setStatus(3);
|
||||||
|
|
Loading…
Reference in New Issue