zoujiajian пре 9 месеци
родитељ
комит
89845f904a

+ 1 - 1
netflix-dao/src/main/java/com/cyksj/mapper/GroupsRelationMapper.java

@@ -86,5 +86,5 @@ public interface GroupsRelationMapper extends BaseMapper<GroupsRelation> {
 
 	Integer selectCountByGoodsId(@Param("userIds") List<Long> userIdList, @Param("goodsId") Long goodsId, @Param("now") DateTime now);
 
-	Integer updateUserVipSkusExpiryTime(@Param("userIds") List<Long> userIds, @Param("vipSkuIds") List<Long> vipSkuIds, @Param("expiryTime") Date expiryTime);
+	Integer updateUserVipSkusExpiryTime(@Param("userIds") List<Long> userIds, @Param("vipSkuIds") List<Long> vipSkuIds, @Param("expiryTime") String expiryTime);
 }

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/order/impl/VipOrderDonServiceImpl.java

@@ -700,7 +700,7 @@ public class VipOrderDonServiceImpl extends ServiceImpl<VipOrderDonMapper, VipOr
 			});
 		}
 		//更新会员车票
-		relationMapper.updateUserVipSkusExpiryTime(userIds, vipSkuIds, expiryTime);
+		relationMapper.updateUserVipSkusExpiryTime(userIds, vipSkuIds, DateUtil.format(expiryTime,"YYYY-MM-dd HH:mm:ss"));
 	}
 
 	private BigDecimal getVipMoney(Integer num) {