|
|
|
@ -88,7 +88,7 @@ public class InquiryIssuanceController {
|
|
|
|
|
List<AllotmentObject> allotmentObjectList = allotmentObjectMapper.selectByExample(allotmentObjectExample);
|
|
|
|
|
|
|
|
|
|
//具体需要写入excel需要哪些字段,这些字段取自UserReward类,也就是上面的实际数据结果集的泛型
|
|
|
|
|
List<String> listColumn = Arrays.asList("name", "studentId", "className", "invoiceScore");
|
|
|
|
|
List<String> listColumn = Arrays.asList("allotmentObjectCode", "allotmentObjectName", "allotmentObjectType", "investorCode","investorName","investorType");
|
|
|
|
|
try {
|
|
|
|
|
FilePortUtil.exportExcel(response, title, headers, allotmentObjectList, listColumn);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|