Impostato loadedFromDb in incremento pos riga openStep e fix lettura da cacheEntities non lowercase
This commit is contained in:
@@ -99,7 +99,7 @@ public class DynamicCacheService {
|
||||
String sql = "SELECT * FROM " + tableName;
|
||||
List<? extends EntityBase> entities = UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, clazz);
|
||||
|
||||
cachedEntitiesByDB.putIfAbsent(dbName, entities);
|
||||
cachedEntitiesByDB.putIfAbsent(dbName.toLowerCase(), entities);
|
||||
} finally {
|
||||
multiDBTransactionManager.closeAll();
|
||||
}
|
||||
|
||||
@@ -348,6 +348,7 @@ public class MesProductionServiceV2 {
|
||||
if (dtbOrdrsToUpdate != null && !dtbOrdrsToUpdate.isEmpty()) {
|
||||
DtbOrdr dtbOrdrProdToUpdate = dtbOrdrsToUpdate.get(0);
|
||||
dtbOrdrProdToUpdate.setOperation(OperationType.UPDATE);
|
||||
dtbOrdrProdToUpdate.setLoadedFromDb(true);
|
||||
|
||||
DtbOrdt dtbOrdtProdToUpdate = new DtbOrdt()
|
||||
.setDataOrd(dtbOrdrProdToUpdate.getDataOrd())
|
||||
|
||||
Reference in New Issue
Block a user