java110
2021-01-14 cc6fef254e09b5b69db8386ea77bd449fab9232f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.java110.front.components.assetImport;
 
import com.java110.core.context.IPageData;
import com.java110.front.controller.CallComponentController;
import com.java110.front.smo.assetExport.IExportFeeManualCollectionSMO;
import com.java110.front.smo.assetExport.IExportRoomSMO;
import com.java110.front.smo.assetImport.IImportRoomFeeSMO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * 添加应用组件
 */
@Component("feeManualCollection")
public class FeeManualCollectionComponent {
 
    private final static Logger logger = LoggerFactory.getLogger(FeeManualCollectionComponent.class);
 
    @Autowired
    private IExportFeeManualCollectionSMO exportFeeManualCollectionSMOImpl;
 
    /**
     * 添加应用数据
     *
     * @param pd 页面数据封装
     * @return ResponseEntity 对象
     */
    public ResponseEntity<Object> exportData(IPageData pd) throws Exception {
 
        return exportFeeManualCollectionSMOImpl.exportExcelData(pd);
    }
 
    /**
     * 添加应用数据
     *
     * @param pd 页面数据封装
     * @return ResponseEntity 对象
     */
    public ResponseEntity<Object> downloadCollectionLetterOrder(IPageData pd) throws Exception {
 
        return exportFeeManualCollectionSMOImpl.downloadCollectionLetterOrder(pd);
    }
 
 
}