|
@@ -61,6 +61,12 @@ public class IncrementOrderImpl implements OrderStrategy {
|
|
|
userIncrementEntity.setIncrementEndTime(DateUserUtil.getDate(date.toDate()));
|
|
|
userIncrementEntity.setIsExpired(0);
|
|
|
userIncrementEntity.setIncrementTypeId(responseIncrementOrder.getIncrementType());
|
|
|
+ if(incrementType.getValidTimeType() == 0){
|
|
|
+ userIncrementEntity.setMemberLevels("PR");
|
|
|
+ }
|
|
|
+ if(incrementType.getValidTimeType() == 1){
|
|
|
+ userIncrementEntity.setMemberLevels("SE");
|
|
|
+ }
|
|
|
userIncrementService.save(userIncrementEntity);
|
|
|
}
|
|
|
}
|