Commit 6285f65d authored by zhangfeng's avatar zhangfeng

Merge branch 'refs/heads/feature_member_score' into dev

parents da304e0c 75e7e80c
......@@ -23,8 +23,10 @@ public class AppMemberUserScoreLogRespVO {
@ApiModelProperty(value = "操作类型")
private String operateType;
@ApiModelProperty(value = "积分来源")
private Integer sourceType;
@ApiModelProperty(value = "积分来源中文")
private String sourceTypeZh;
@ApiModelProperty(value = "积分来源")
@ApiModelProperty(value = "积分来源英文")
private String sourceTypeEn;
@ApiModelProperty(value = "积分规则id")
private Long ruleId;
......
......@@ -101,6 +101,7 @@ public class MemberUserScoreLogServiceImpl extends AbstractService<MemberUserSco
private void setScoreRuleLogDetail(MemberUserScoreLogDO userScoreLogDO, ArrayList<AppMemberUserScoreLogRespVO> appMemberUserScoreLogRespVOS) {
AppMemberUserScoreLogRespVO appMemberUserScoreLogRespVO = new AppMemberUserScoreLogRespVO();
appMemberUserScoreLogRespVO.setSourceType(userScoreLogDO.getSourceType());
appMemberUserScoreLogRespVO.setScoreCount(userScoreLogDO.getScoreCount());
appMemberUserScoreLogRespVO.setOperateType(userScoreLogDO.getOperateType() == 1 ? "+" : "-");
appMemberUserScoreLogRespVO.setCreateTime(userScoreLogDO.getCreateTime());
......
......@@ -133,6 +133,7 @@ public class RewardServiceImpl extends AbstractService<RewardMapper, RewardDO> i
//已启用可编辑剩余数量和备注
} else if (rewardDO.getStatus() == RewardStatusEnum.ENABLED.getValue()) {
updateObj.setId(updateReqVO.getId());
updateObj.setQuantityRemain(updateReqVO.getQuantityRemain());
updateObj.setRemarkEn(updateReqVO.getRemarkEn());
updateObj.setRemarkFr(updateReqVO.getRemarkFr());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment