|
|
|
@ -48,7 +48,11 @@ public class AliforexcelServiceImpl implements AliforexcelService {
|
|
|
|
|
row = sheet.createRow(++rowNum);
|
|
|
|
|
row.createCell(0, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("company_name"));
|
|
|
|
|
row.createCell(1, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("short_name"));
|
|
|
|
|
row.createCell(2, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("client_moniker"));
|
|
|
|
|
if (!"".equals(partner.getString("ali_sub_merchant_id"))) {
|
|
|
|
|
row.createCell(2, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("ali_sub_merchant_id"));
|
|
|
|
|
}else {
|
|
|
|
|
row.createCell(2, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("client_moniker"));
|
|
|
|
|
}
|
|
|
|
|
row.createCell(3, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("alipayindustry"));
|
|
|
|
|
row.createCell(4, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("address")+","+partner.getString("suburb") + "," + partner.getString("state") + "," + partner.getString("postcode"));
|
|
|
|
|
row.createCell(5, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("business_hours"));
|
|
|
|
|