class DatabaseService {

    public ServiceResult encryptAndOptUser(LoginUser user, List<DataBaseInfo> dBList) {
        for (DataBaseInfo dataBaseInfo : dBList) {
            dataBaseInfo.setDb_password(DasEnv.encdecConfiguration.encrypt(dataBaseInfo.getDb_password()));
            dataBaseInfo.setUpdateUserNo(user.getUserNo());
        }
        return ServiceResult.success();
    }

}