заполнение Sd06#sum ожидает string/bigdecimal [2]

This commit is contained in:
ialbert 2023-07-19 15:02:33 +03:00
parent 5c1bcc3b1b
commit 5018e8a4be

View file

@ -21,7 +21,6 @@ public class SDf06Table extends AbstractTable<SDf06> {
public SDf06 getEntity(Object[] entity) {
SDf06 result = new SDf06();
result.setAccount((String) entity[0]);
result.setSum((BigDecimal) entity[1]);
if (entity[1] instanceof BigDecimal) {
result.setSum((BigDecimal) entity[1]);
} else if (entity[1] instanceof String) {