TASK:模块化;
This commit is contained in:
@@ -2302,7 +2302,12 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
}
|
||||
|
||||
Account subAccount = CopyUtil.copyObject(addSubAccountDTO, Account.class);
|
||||
subAccount.setSystemUser(6);
|
||||
if (account.getSystemUser() == 5) {
|
||||
subAccount.setSystemUser(6);
|
||||
}
|
||||
if (account.getSystemUser() == 7) {
|
||||
subAccount.setSystemUser(8);
|
||||
}
|
||||
subAccount.setValidStartTime(account.getValidStartTime());
|
||||
subAccount.setValidEndTime(account.getValidEndTime());
|
||||
subAccount.setLanguage(Language.ENGLISH.name());
|
||||
@@ -2961,6 +2966,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
account.setIsTrial(0);
|
||||
account.setIsBeginner(1);
|
||||
account.setCredits(BigDecimal.valueOf(0));
|
||||
account.setLanguage(Language.ENGLISH.name());
|
||||
if (parent.getSystemUser() == 5) {
|
||||
account.setSystemUser(6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user