master
gaojie 2019-04-25 11:50:44 +08:00
parent 8c3f8168ef
commit 8bec2e1f68
1 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,6 @@ import java.util.*;
*/ */
@Controller @Controller
public class CdkInfoController { public class CdkInfoController {
private static final Logger LOGGER = LoggerFactory.getLogger(CdkInfoController.class);
@Resource @Resource
private CdkInfoDao cdkInfoDao; private CdkInfoDao cdkInfoDao;
@Resource @Resource
@ -144,7 +143,7 @@ public class CdkInfoController {
cdkNumList.add(cdkInfo.getId()); cdkNumList.add(cdkInfo.getId());
} }
TXTUtils.writeToTxt(cdkNumList ,path); TXTUtils.writeToTxt(cdkNumList ,path);
LOGGER.info("downloadFile=>path={}",path); System.out.println("downloadFile=>path="+path);
File file = new File(path); File file = new File(path);
return TXTUtils.buildResponseEntity(file); return TXTUtils.buildResponseEntity(file);
} }