|
|
@ -256,8 +256,6 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
IcVolunteerPolyCategoryEntity category = new IcVolunteerPolyCategoryEntity(); |
|
|
|
category.setCustomerId(item.getCustomerId()); |
|
|
|
category.setIdCard(item.getIdCard()); |
|
|
|
category.setLatitude(item.getLatitude()); |
|
|
|
category.setLongitude(item.getLongitude()); |
|
|
|
category.setVolunteerCategory(o); |
|
|
|
return category; |
|
|
|
}).collect(Collectors.toList()); |
|
|
@ -346,10 +344,6 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
IcVolunteerPolyCategoryEntity category = new IcVolunteerPolyCategoryEntity(); |
|
|
|
category.setCustomerId(entity.getCustomerId()); |
|
|
|
category.setIdCard(entity.getIdCard()); |
|
|
|
if (null != volunteer) { |
|
|
|
category.setLatitude(volunteer.getLatitude()); |
|
|
|
category.setLongitude(volunteer.getLongitude()); |
|
|
|
} |
|
|
|
category.setVolunteerCategory(o); |
|
|
|
return category; |
|
|
|
}).collect(Collectors.toList()); |
|
|
@ -387,10 +381,6 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
IcVolunteerPolyCategoryEntity category = new IcVolunteerPolyCategoryEntity(); |
|
|
|
category.setCustomerId(entity.getCustomerId()); |
|
|
|
category.setIdCard(entity.getIdCard()); |
|
|
|
if (null != volunteer) { |
|
|
|
category.setLatitude(volunteer.getLatitude()); |
|
|
|
category.setLongitude(volunteer.getLongitude()); |
|
|
|
} |
|
|
|
category.setVolunteerCategory("dangyuanzhongxinhu"); |
|
|
|
icVolunteerPolyCategoryDao.delete(categoryWrapper); |
|
|
|
icVolunteerPolyCategoryService.insert(category); |
|
|
|