Commit 20ad529a8bdc796b3774734a3732b21eb67cc958
1 parent
3d8b560f
修复日期计算错误的bug
Showing
1 changed file
with
1 additions
and
1 deletions
fw-valhalla-service/src/main/java/cn/fw/valhalla/component/InsuranceConsumer.java
... | ... | @@ -63,7 +63,7 @@ public class InsuranceConsumer implements RocketMQListener<InsuOrderMqDTO> { |
63 | 63 | |
64 | 64 | if (1 == t.getInsuranceType() || 2 == t.getInsuranceType()) { |
65 | 65 | Date startTime = t.getStartTime(); |
66 | - String detaId = t.getOrderNo(); | |
66 | + String detaId = t.getInsuOrderNo(); | |
67 | 67 | |
68 | 68 | Timestamp insExpireTime = DateUtil.getExpiredYear(startTime, 1); |
69 | 69 | customer.setInsuranceExpires(insExpireTime); | ... | ... |