old mode 100644
new mode 100755
| | |
| | | |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.front.controller.CallComponentController; |
| | | import com.java110.front.smo.assetExport.IAssetExportSMO; |
| | | import com.java110.front.smo.assetExport.IExportRoomSMO; |
| | | import com.java110.front.smo.assetImport.IImportRoomFeeSMO; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | private IImportRoomFeeSMO importRoomFeeSMOImpl; |
| | | |
| | | @Autowired |
| | | private IAssetExportSMO assetExportSMOImpl; |
| | | private IExportRoomSMO exportRoomSMOImpl; |
| | | |
| | | /** |
| | | * 添加应用数据 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 上传附件 |
| | | * |
| | | * @param uploadFile 附件数据 |
| | | * @return ResponseEntity 对象 |
| | | */ |
| | | public ResponseEntity<String> uploadContactFile(IPageData pd, MultipartFile uploadFile) throws Exception { |
| | | return importRoomFeeSMOImpl.importFile(uploadFile); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加应用数据 |
| | | * |
| | | * @param pd 页面数据封装 |
| | | * @return ResponseEntity 对象 |
| | | */ |
| | | public ResponseEntity<String> importTempData(IPageData pd) throws Exception { |
| | | |
| | | return importRoomFeeSMOImpl.importTempData(pd); |
| | | } |
| | | |
| | | /** |
| | | * 添加应用数据 |
| | | * |
| | | * @param pd 页面数据封装 |
| | |
| | | */ |
| | | public ResponseEntity<Object> exportData(IPageData pd) throws Exception { |
| | | |
| | | return assetExportSMOImpl.exportExcelData(pd); |
| | | } |
| | | |
| | | /** |
| | | * 资产导出 |
| | | * |
| | | * @param pd |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public ResponseEntity<Object> exitCommunityData(IPageData pd) throws Exception { |
| | | return assetExportSMOImpl.exportExcelData(pd); |
| | | return exportRoomSMOImpl.exportExcelData(pd); |
| | | } |
| | | |
| | | |
| | | public IAssetExportSMO getAssetExportSMOImpl() { |
| | | return assetExportSMOImpl; |
| | | } |
| | | |
| | | public void setAssetExportSMOImpl(IAssetExportSMO assetExportSMOImpl) { |
| | | this.assetExportSMOImpl = assetExportSMOImpl; |
| | | } |
| | | } |