Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
9bad345c
Commit
9bad345c
authored
Aug 05, 2021
by
kongfm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原
parent
d04ae2e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
25 deletions
+40
-25
EquipFeignService.java
...n/amos/boot/module/tzs/api/service/EquipFeignService.java
+25
-25
ExcelController.java
.../amos/boot/module/jcs/biz/controller/ExcelController.java
+15
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/service/EquipFeignService.java
View file @
9bad345c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
service
;
//
package com.yeejoin.amos.boot.module.tzs.api.service;
//
import
org.springframework.cloud.openfeign.FeignClient
;
//
import org.springframework.cloud.openfeign.FeignClient;
import
org.springframework.web.bind.annotation.RequestMapping
;
//
import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
//
import org.springframework.web.bind.annotation.RequestMethod;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
//
import org.typroject.tyboot.core.restful.utils.ResponseModel;
//
//
/**
/
//
**
* 装备服务feign
//
* 装备服务feign
*
//
*
* @author Dell
//
* @author Dell
*/
//
*/
@FeignClient
(
name
=
"AMOS-EQUIPMANAGE"
,
path
=
"equip"
)
//
@FeignClient(name = "AMOS-EQUIPMANAGE", path = "equip")
//@FeignClient(name = "AMOS-AUTOSYS", url = "http://172.16.10.66:8085", path = "fireAutoSys")
//
//
@FeignClient(name = "AMOS-AUTOSYS", url = "http://172.16.10.66:8085", path = "fireAutoSys")
public
interface
EquipFeignService
{
//
public interface EquipFeignService {
//
/**
//
/**
* 获取消防建筑树
//
* 获取消防建筑树
*
//
*
* @return
//
* @return
*/
//
*/
@RequestMapping
(
value
=
"/building/BuildingtreeAndEquip"
,
method
=
RequestMethod
.
GET
)
//
@RequestMapping(value = "/building/BuildingtreeAndEquip", method = RequestMethod.GET)
ResponseModel
<
Object
>
getBuildingTreeAndEquip
();
//
ResponseModel<Object> getBuildingTreeAndEquip();
}
//
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/ExcelController.java
View file @
9bad345c
...
@@ -97,6 +97,21 @@ public class ExcelController extends BaseController {
...
@@ -97,6 +97,21 @@ public class ExcelController extends BaseController {
}
}
}
}
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"上传文件数据-2"
)
@PostMapping
(
"/upload2"
)
public
void
upload2
(
@RequestPart
(
"file"
)
MultipartFile
multipartFile
,
@RequestParam
(
required
=
false
)
String
fileName
,
@RequestParam
(
required
=
false
)
String
sheetName
,
@RequestParam
String
type
)
{
try
{
excelService
.
commonUpload
(
multipartFile
,
new
ExcelDto
(
fileName
,
sheetName
,
type
));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
throw
new
RuntimeException
(
"系统异常!"
);
}
}
/**
/**
* 导出值班模板
* 导出值班模板
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment