|
|
@ -232,6 +232,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD |
|
|
|
HouseInfoDTO houseInfoDTO=houseInfoRes.getData().get(NumConstant.ZERO); |
|
|
|
insertEntity.setServiceLocation(houseInfoDTO.getNeighborAddress(). |
|
|
|
concat(houseInfoDTO.getNeighborHoodName())); |
|
|
|
insertEntity.setLocationDetail(houseInfoDTO.getBuildingName().concat(StrConstant.HYPHEN).concat(houseInfoDTO.getUnitName()).concat(StrConstant.HYPHEN).concat(houseInfoDTO.getDoorName())); |
|
|
|
insertEntity.setLongitude(houseInfoDTO.getBuildingLongitude()); |
|
|
|
insertEntity.setLatitude(houseInfoDTO.getBuildingLatitude()); |
|
|
|
baseDao.insert(insertEntity); |
|
|
@ -465,6 +466,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD |
|
|
|
} |
|
|
|
String content = entity.getContent().length() > 100 ? entity.getContent().substring(0, 99) : entity.getContent(); |
|
|
|
finishResultDTO.setRemark(String.format(UserDemandConstant.GRANT_POINT_REMARK,entity.getDemandUserName(),content)); |
|
|
|
finishResultDTO.setFinishResult(formDTO.getFinishResult()); |
|
|
|
} |
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
|
@ -1106,6 +1108,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD |
|
|
|
String content = entity.getContent().length() > 100 ? entity.getContent().substring(0, 99) : entity.getContent(); |
|
|
|
finishResultDTO.setRemark(String.format(UserDemandConstant.GRANT_POINT_REMARK,entity.getDemandUserName(),content)); |
|
|
|
finishResultDTO.setCategoryCode(entity.getCategoryCode()); |
|
|
|
finishResultDTO.setFinishResult(formDTO.getFinishResult()); |
|
|
|
//5、我的需求-评价:如果服务方是志愿者,通知它: 您收到来自XXX(需求人姓名)的评价,请查看。
|
|
|
|
sendVolunnterEvaluated(entity); |
|
|
|
return finishResultDTO; |
|
|
|