支付宝进件信息

master
taylor.dang 6 years ago
parent e2b9855082
commit c6f214559d

@ -40,7 +40,7 @@ public class AliforexcelServiceImpl implements AliforexcelService {
sheet.setDefaultColumnWidth((short) 25); sheet.setDefaultColumnWidth((short) 25);
int rowNum = 0; int rowNum = 0;
Row row = sheet.createRow(rowNum); Row row = sheet.createRow(rowNum);
String[] title = {"Company name", "Store name", "Partner Code","Industry","Store address","Business hours","Contact information","Video link (optional)","Store description","Tags"}; String[] title = {"Company name", "Store name", "Partner Code","Industry","Store address","Business hours","Contact information","Video link (optional)","Store description","Tags","Logo","Company Photo"};
for (int i = 0; i < title.length; i++) { for (int i = 0; i < title.length; i++) {
row.createCell(i, Cell.CELL_TYPE_STRING).setCellValue(title[i]); row.createCell(i, Cell.CELL_TYPE_STRING).setCellValue(title[i]);
} }
@ -60,6 +60,8 @@ public class AliforexcelServiceImpl implements AliforexcelService {
row.createCell(7, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("")); row.createCell(7, Cell.CELL_TYPE_STRING).setCellValue(partner.getString(""));
row.createCell(8, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("merchant_introduction")); row.createCell(8, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("merchant_introduction"));
row.createCell(9, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("")); row.createCell(9, Cell.CELL_TYPE_STRING).setCellValue(partner.getString(""));
row.createCell(10, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("logo_url"));
row.createCell(11, Cell.CELL_TYPE_STRING).setCellValue(partner.getString("company_photo"));
} }
wb.write(ous); wb.write(ous);
ous.flush(); ous.flush();

@ -172,7 +172,7 @@
</select> </select>
<select id="passPartners" resultType="com.alibaba.fastjson.JSONObject"> <select id="passPartners" resultType="com.alibaba.fastjson.JSONObject">
SELECT SELECT
company_name,short_name,client_moniker,ali_sub_merchant_id,alipayindustry,address,suburb,state,postcode,business_hours,company_phone,merchant_introduction company_name,short_name,client_moniker,ali_sub_merchant_id,alipayindustry,address,suburb,state,postcode,business_hours,company_phone,merchant_introduction,logo_url,company_photo
from sys_clients from sys_clients
<where> <where>
(approve_result=1 or (approve_result=2 and (source=1 or source=2))) (approve_result=1 or (approve_result=2 and (source=1 or source=2)))

Loading…
Cancel
Save