TASK:模块化;

This commit is contained in:
shahaibo
2025-04-11 14:33:25 +08:00
parent 14dbc35eda
commit c36081996d

View File

@@ -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);
}