OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 147 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 183
Line 47... Line 47...
47
            if (row.getObject("DATE") == null) {
47
            if (row.getObject("DATE") == null) {
48
                createEmptyUpdateRow.put("DATE", new Date());
48
                createEmptyUpdateRow.put("DATE", new Date());
49
            }
49
            }
50
            SQLRowValues rowValsHisto = new SQLRowValues(getTable().getTable(Module.TABLE_CUSTOMER_SUPPORT_TICKET_HISTORY));
50
            SQLRowValues rowValsHisto = new SQLRowValues(getTable().getTable(Module.TABLE_CUSTOMER_SUPPORT_TICKET_HISTORY));
51
            rowValsHisto.put("INFORMATION", "Ouverture du ticket");
51
            rowValsHisto.put("INFORMATION", "Ouverture du ticket");
52
            rowValsHisto.put("DATE", row.getObject("DATE"));
52
            // rowValsHisto.put("DATE", row.getObject("DATE"));
53
            rowValsHisto.put("ID_USER_COMMON", row.getForeignID("ID_USER_COMMON"));
53
            rowValsHisto.put("ID_USER_COMMON", row.getForeignID("ID_USER_COMMON"));
54
            rowValsHisto.put("ID_" + getTable().getName(), createEmptyUpdateRow);
54
            rowValsHisto.put("ID_" + getTable().getName(), createEmptyUpdateRow);
55
            createEmptyUpdateRow.commit();
55
            createEmptyUpdateRow.commit();
56
        } catch (SQLException e) {
56
        } catch (SQLException e) {
57
            ExceptionHandler.handle("Impossible d'affecter un numéro sur le ticket", e);
57
            ExceptionHandler.handle("Impossible d'affecter un numéro sur le ticket", e);