fix: 完善批量上传

This commit is contained in:
XiaoYan 2021-07-27 10:29:34 +08:00
parent ba6364d55b
commit d8d3288545

View File

@ -106,7 +106,12 @@ public class PoiSaveUtils {
* 保存数据到服务
* */
public int savePoiNet(PoiEntity poiEntity) {
if (poiEntity.getTaskStatus() >= 3) {
return 200;
}
HttpParams httpParams = new HttpParams();
httpParams.put("taskId", poiEntity.getTaskId());
httpParams.put("name", poiEntity.getName());
httpParams.put("address", poiEntity.getAddress());