mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 废弃逻辑
This commit is contained in:
@@ -85,11 +85,6 @@ public class MemberGroupServiceImpl implements MemberGroupService {
|
||||
if (CollectionUtils.isEmpty(resultList)) {
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
// for (MemberGroupVO memberGroupVO : resultList) {
|
||||
// BigDecimal discount = memberGroupVO.getDiscount();
|
||||
// // 返回给前端乘以10
|
||||
// memberGroupVO.setDiscount(discount.multiply(BigDecimal.TEN));
|
||||
// }
|
||||
return resultList;
|
||||
}
|
||||
|
||||
@@ -116,11 +111,6 @@ public class MemberGroupServiceImpl implements MemberGroupService {
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
|
||||
// if (isBetween(memberGroup.getDiscount())) {
|
||||
// // 入库除以10
|
||||
// memberGroup.setDiscount(memberGroup.getDiscount().divide(BigDecimal.TEN, 2, RoundingMode.DOWN));
|
||||
// }
|
||||
return memberGroupMapper.insertMemberGroup(memberGroup);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user