|
|
|
@@ -56,6 +56,9 @@ public class WxCarETCPCallBackController extends BaseController { |
|
|
|
@Autowired |
|
|
|
WxCUserService wxCUserService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxCUserBasicInfoService wxCUserBasicInfoService; |
|
|
|
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
|
|
/** |
|
|
|
@@ -359,7 +362,7 @@ public class WxCarETCPCallBackController extends BaseController { |
|
|
|
for (WxCUserCar userCar : userCarList) { |
|
|
|
userCar.setParentTenantId(park.getParentTenantId()); |
|
|
|
wxCouponSendService.sendCouponToUser(EnumCouponSendSendType.CAR_STOP, userCar); |
|
|
|
WxCUser cUser = wxCUserService.getById(userCar.getCUserId()); |
|
|
|
WxCUserBasicInfo cUser = wxCUserBasicInfoService.getById(userCar.getCUserId()); |
|
|
|
if(cUser != null){ |
|
|
|
if(bFirst) { |
|
|
|
phoneStrs = cUser.getPhone(); |
|
|
|
|