0018330: Impressão de taxa de embarque W2I = null - AD-70

bug#18330
dev:thiago
qua:junia

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@100297 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2020-02-19 18:04:22 +00:00
parent c9c422052f
commit 90e6499040
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
package com.rjconsultores.ventaboletos.web.utilerias.render;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;
import com.rjconsultores.ventaboletos.vo.esquemaoperacional.TaxaEmbarqueW2i;
public class RenderEstoqueTaxaDeEmbarqueW2i implements ListitemRenderer {
public void render(Listitem lstm, Object o) throws Exception {
TaxaEmbarqueW2i estoque = (TaxaEmbarqueW2i) o;
Listcell lc = new Listcell();
lc = new Listcell(estoque.getTaxpolc_id() + "");
lc.setParent(lstm);
lc = new Listcell(estoque.getCveParada());
lc.setParent(lstm);
lc = new Listcell(estoque.getNomeEmpresa());
lc.setParent(lstm);
lc = new Listcell(estoque.getCategoria());
lc.setParent(lstm);
lc = new Listcell(estoque.getOrgaoConcedente());
lc.setParent(lstm);
lc = new Listcell(estoque.getKm() + "");
lc.setParent(lstm);
lc = new Listcell(estoque.getQuantidadeEstoque() + "");
lc.setParent(lstm);
lstm.setAttribute("data", estoque);
}
}