|
@@ -13,10 +13,7 @@ import com.fdkankan.agent.mapper.IAgentNewLogMapper;
|
|
|
import com.fdkankan.agent.request.DownParam;
|
|
|
import com.fdkankan.agent.request.IncrementParam;
|
|
|
import com.fdkankan.agent.request.LogListParam;
|
|
|
-import com.fdkankan.agent.response.AgentNewVo;
|
|
|
-import com.fdkankan.agent.response.DownLogVo;
|
|
|
-import com.fdkankan.agent.response.LogDataVo;
|
|
|
-import com.fdkankan.agent.response.LogListVo;
|
|
|
+import com.fdkankan.agent.response.*;
|
|
|
import com.fdkankan.agent.service.IAgentNewLogService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.fdkankan.agent.service.IAgentNewService;
|
|
@@ -136,7 +133,11 @@ public class AgentNewLogServiceImpl extends ServiceImpl<IAgentNewLogMapper, Agen
|
|
|
List<LogListVo> list = (List<LogListVo>) this.pageUnList(logListParam).getList();
|
|
|
ExcelWriter excelWriter = null;
|
|
|
try {
|
|
|
- excelWriter = EasyExcel.write(resp.getOutputStream(),LogListVo.class).build();
|
|
|
+ Class clz = LogListVo.class;
|
|
|
+ if("en".equals(lang)){
|
|
|
+ clz = LogListVoEn.class;
|
|
|
+ }
|
|
|
+ excelWriter = EasyExcel.write(resp.getOutputStream(), clz).build();
|
|
|
excelService.commonExport(req,resp,"经销商结算统计",list,excelWriter);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|