removed obsolete
This commit is contained in:
parent
2da542d7f6
commit
a9ad9008fd
|
@ -48,19 +48,19 @@ public class ConcessioneManager extends AbstractRecordManager<Concessione> {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set record_id="+getRecord().getId()+" where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set record_id="+getRecord().getId()+" where id = "+l.getId()).executeUpdate();
|
||||||
if(l.getWMSLink()!=null) {
|
if(l.getWMSLink()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerName()!=null) {
|
if(l.getLayerName()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerID()!=null) {
|
if(l.getLayerID()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerUUID()!=null) {
|
if(l.getLayerUUID()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(getRecord().getPosizionamentoScavo()!=null) {
|
if(getRecord().getPosizionamentoScavo()!=null) {
|
||||||
|
@ -68,19 +68,19 @@ public class ConcessioneManager extends AbstractRecordManager<Concessione> {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set record_id="+getRecord().getId()+" where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set record_id="+getRecord().getId()+" where id = "+l.getId()).executeUpdate();
|
||||||
if(l.getWMSLink()!=null) {
|
if(l.getWMSLink()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set wmslink='"+l.getWMSLink()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerName()!=null) {
|
if(l.getLayerName()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layername='"+l.getLayerName()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerID()!=null) {
|
if(l.getLayerID()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layerid='"+l.getLayerID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
if(l.getLayerUUID()!=null) {
|
if(l.getLayerUUID()!=null) {
|
||||||
entityManager.createNativeQuery("Update layerconcessione set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
entityManager.createNativeQuery("Update layerconcessione set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
entityManager.createNativeQuery("Update sdilayerdescriptor set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
// entityManager.createNativeQuery("Update sdilayerdescriptor set layeruuid='"+l.getLayerUUID()+"' where id = "+l.getId()).executeUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue