|
|
@ -46,6 +46,7 @@ import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.transaction.interceptor.TransactionAspectSupport; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.text.DecimalFormat; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
@ -297,7 +298,8 @@ public class ActUserClockLogServiceImpl extends BaseServiceImpl<ActUserClockLogD |
|
|
|
String kindnessTime = df.format((float) actInfoDTO.getActEndTime().getTime() / actInfoDTO.getActStartTime().getTime()); |
|
|
|
|
|
|
|
EpdcVolunteerKindnessTimeFormDTO formDto = new EpdcVolunteerKindnessTimeFormDTO(); |
|
|
|
formDto.setKindnessTime(Float.valueOf(kindnessTime)); |
|
|
|
BigDecimal b = new BigDecimal(kindnessTime); |
|
|
|
formDto.setKindnessTime(b); |
|
|
|
formDto.setUserId(actUserRelationDto.getUserId()); |
|
|
|
return userInfoFeignClient.addKindnessTime(formDto); |
|
|
|
} catch (Exception e) { |
|
|
|