This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import './App.css'; | |
import { BrowserRouter as Router, Route } from "react-router-dom"; | |
import SearchBar from './components/SearchBar' | |
import ItemList from './components/ItemList' | |
class App extends Component { | |
state = {items: []} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compareOrigin(origin) { | |
let value; | |
const inMemory = JSON.parse(sessionStorage.getItem('allChipcards')); | |
switch (window.location.pathname.split('/').includes('callcenter')) { // extract condition to method change to iff | |
case false: | |
if (inMemory === null) { | |
value = this.translate.currentLang === 'es' ? 'publico' : 'public'; //breaks TDA | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (Tmct0alcId alcId : factura.getAlcIds()) { | |
alc = tmct0alcBo.findById(alcId); | |
if (alc != null && (estadoasig = alc.getCdestadoasig())!=null && estadoasig>=ASIGNACIONES.PDTE_LIQUIDAR.getId()) { | |
alcEstadoContBo.setEstadocont(alc, estadoContAlc, TIPO_ESTADO.CORRETAJE_O_CANON); | |
apunteAlcDao.save(new ApunteContableAlc(apunteD, alc, importe = alc.getEstadocont().getIdestado()== | |
CONTABILIDAD.PDTE_AJUSTE.getId()? alc.getImajusvb(): alc.getImajusvb()==null? | |
alc.getImcomisn(): alc.getImajusvb().add(alc.getImcomisn()))); | |
apunteAlcDao.save(new ApunteContableAlc(apunteH, alc, importe)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( ( this.getNucnfclt() == castOther.getNucnfclt() ) || ( this.getNucnfclt() != null && castOther.getNucnfclt() != null && this | |
.getNucnfclt().equals( castOther.getNucnfclt() ) ) ) | |
&& ( ( this.getNbooking() == castOther.getNbooking() ) || ( this.getNbooking() != null && castOther.getNbooking() != null && this | |
.getNbooking().equals( castOther.getNbooking() ) ) ) | |
&& ( ( this.getNuorden() == castOther.getNuorden() ) || ( this.getNuorden() != null && castOther.getNuorden() != null && this | |
.getNuorden().equals( castOther.getNuorden() ) ) ); | |
return ( ( this.getCdcleare() == castOther.getCdcleare() ) || ( this.getCdcleare() != null && castOther.getCdcleare() != null && this | |
.getCdcleare().equals( castOther.getCdcleare() ) ) ) | |
&& ( ( this.getCentro() == castOther.getCentro() ) || ( this.getCentro() != null && castOther.getCentro() != null && this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component | |
public class Tmct0ilqBo extends AbstractBo<Tmct0ilq, Tmct0ilqId, Tmct0ilqDao> { | |
protected static final Logger LOG = LoggerFactory.getLogger(Tmct0ilqBo.class); | |
public Tmct0ilqBo() { | |
} | |
public List<Tmct0ilq> findAllByIdCdaliassAndIdCdsubctaAndIdCentroAndIdCdmercadAndLteFhinicioAndLtFhfinal(String cdaliass, | |
String cdsubcta, | |
String centro, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String sUsuario = (((UserSession) session.getAttribute("UserSession")).getName().length() >= 10) ? ((UserSession) session.getAttribute("UserSession")).getName() | |
.substring(0, | |
10) | |
: ((UserSession) session.getAttribute("UserSession")).getName(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public CuadreEccEjecucion findByFechaNegAndIdEccAndIsinAndMiembroMercadoNegAndSentidoAndSegmentoNegAndCodOpMercadoAndNumOrdenMercadoAndNumEjeMercadoAndPlataformaNeg(Date FechaNeg, | |
String idEcc, | |
String isin, | |
String miembroMercadoNeg, | |
Character sentido, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean ordenarPorFLiq = (filtros.get("fliquidacionDe") != null || filtros.get("fliquidacionDe") != null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( sentido != null && sentido.toUpperCase().equals( "V" ) ) { | |
} else if ( sentido != null && sentido.toUpperCase().equals( "C" ) ) { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<CuadreEccSibbac> findByFeoperacAndCdcamaraAndCdisinAndCdmiembromktAndSentidoAndCdsegmentoAndCdoperacionmktAndNuordenmktAndNuexemkt(Date feoperac, | |
String cdcamara, | |
String cdisin, | |
String cdmiembromkt, | |
Character sentido, | |
String cdsegmento, | |
NewerOlder