HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2014-12-04 ee861f20d0a01d7de5edfa22a5cf2ed78e3b93dd
remove old commented code
1 files modified
31 ■■■■■ changed files
hsarback/src/de/hsadmin/remote/CustomerRemote.java 31 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/remote/CustomerRemote.java
@@ -46,14 +46,6 @@
        }
        resultMap.put("sharessigned", Integer.toString(cust.getSharesSigned()));
        resultMap.put("uidvat", cust.getUidVAT());
//        BankAccount bank = cust.getBankAccount();
//        if (bank != null) {
//            resultMap.put("bank_customer", bank.getBankCustomer());
//            resultMap.put("bank_iban", bank.getBankIBAN());
//            resultMap.put("bank_bic", bank.getBankBIC());
//            resultMap.put("bank_name", bank.getBankName());
//            resultMap.put("mandat_ref", bank.getMandatRef());
//        }
        Set<Contact> contacts = cust.getContacts();
        if (contacts != null && !contacts.isEmpty()) {
            Contact c = contacts.iterator().next();
@@ -127,29 +119,6 @@
        if (assertNotNull(uidVat)) {
            cust.setUidVAT(uidVat);
        }
//        BankAccount bank = cust.getBankAccount();
//        if (bank == null) {
//            bank = new BankAccount();
//            bank.setCustomer(cust);
//            cust.setBankAccount(bank);
//            bank.setMandatRef(memberNo);
//        }
//        String bankCustomer = (String) setParams.get("bank_customer");
//        if (assertNotNull(bankCustomer)) {
//            bank.setBankCustomer(bankCustomer);
//        }
//        String bankIBAN = (String) setParams.get("bank_iban");
//        if (assertNotNull(bankIBAN)) {
//            bank.setBankIBAN(bankIBAN);
//        }
//        String bankBIC = (String) setParams.get("bank_bic");
//        if (assertNotNull(bankBIC)) {
//            bank.setBankBIC(bankBIC);
//        }
//        String bankName = (String) setParams.get("bank_name");
//        if (assertNotNull(bankName)) {
//            bank.setBankName(bankName);
//        }
        Set<Contact> contacts = cust.getContacts();
        Contact c = null;
        if (contacts == null || contacts.isEmpty()) {