|
@@ -140,7 +140,7 @@ public class FinanceController {
|
|
|
|
|
|
List<String> heads = new ArrayList<>();
|
|
|
Company company = companyMapper.selectById(companyId);
|
|
|
- WxCorpInfo wxCorpInfo = wxCorpInfoMapper.selectOne(new QueryWrapper<WxCorpInfo>().eq("company_id", companyId));
|
|
|
+// WxCorpInfo wxCorpInfo = wxCorpInfoMapper.selectOne(new QueryWrapper<WxCorpInfo>().eq("company_id", companyId));
|
|
|
//判断是否启用了工号模式
|
|
|
TimeType timeType = timeTypeMapper.selectById(companyId);
|
|
|
if (timeType.getFinanceJobnumEnabled() == 1) {
|
|
@@ -165,7 +165,8 @@ public class FinanceController {
|
|
|
allList.add(heads);
|
|
|
//String fileName = company.getCompanyName()+"_财务人员成本模板";
|
|
|
String fileName = MessageUtils.message("fileName.financialCost",company.getCompanyName());
|
|
|
- return excelExportService.exportGeneralExcelByTitleAndList(wxCorpInfo, fileName, allList, path);
|
|
|
+ //导出模板不需要转译,不传wxCorpInfo
|
|
|
+ return excelExportService.exportGeneralExcelByTitleAndList(null, fileName, allList, path);
|
|
|
}
|
|
|
@RequestMapping("/batchRemove")
|
|
|
public HttpRespMsg batchRemove(String ids){
|