变动后积分
This commit is contained in:
@@ -63,7 +63,11 @@ public class MkPointsUserRecord implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 浮动积分(非0正负数)
|
* 浮动积分(非0正负数)
|
||||||
*/
|
*/
|
||||||
private Integer floatPoints;
|
private Long floatPoints;
|
||||||
|
/**
|
||||||
|
* 变动后积分
|
||||||
|
*/
|
||||||
|
private Long balancePoints;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
@@ -138,7 +138,8 @@ public class MkPointsUserServiceImpl extends ServiceImpl<MkPointsUserMapper, MkP
|
|||||||
.shopId(pointsUser.getShopId())
|
.shopId(pointsUser.getShopId())
|
||||||
.shopUserId(pointsUser.getShopUserId())
|
.shopUserId(pointsUser.getShopUserId())
|
||||||
.floatType(floatType.getValue())
|
.floatType(floatType.getValue())
|
||||||
.floatPoints(points)
|
.floatPoints(Long.valueOf(points))
|
||||||
|
.balancePoints(pointsUser.getPointBalance() - points)
|
||||||
.sourceId(sourceId.toString())
|
.sourceId(sourceId.toString())
|
||||||
.content(reason)
|
.content(reason)
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user