Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
341bc9ab
Commit
341bc9ab
authored
May 09, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试接口
parent
ec9a53b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
5 deletions
+24
-5
PlanVisual3dController.java
.../amos/fas/business/controller/PlanVisual3dController.java
+19
-0
View3dController.java
...eejoin/amos/fas/business/controller/View3dController.java
+5
-5
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanVisual3dController.java
View file @
341bc9ab
...
@@ -120,4 +120,23 @@ public class PlanVisual3dController extends BaseController {
...
@@ -120,4 +120,23 @@ public class PlanVisual3dController extends BaseController {
List
<
Map
<
String
,
Object
>>
list
=
planVisual3dService
.
getResourceById
(
type
,
id
);
List
<
Map
<
String
,
Object
>>
list
=
planVisual3dService
.
getResourceById
(
type
,
id
);
return
CommonResponseUtil
.
success
(
list
);
return
CommonResponseUtil
.
success
(
list
);
}
}
@ApiOperation
(
value
=
"预案应用树"
,
notes
=
"预案应用树"
)
@GetMapping
(
value
=
"/plan/textPlanTree/{appId}"
)
public
CommonResponse
getPlanTree
(
@PathVariable
(
"appId"
)
String
appId
)
{
return
CommonResponseUtil
.
success
(
planVisual3dService
.
getTextPlanBySubjectId
(
appId
));
}
@ApiOperation
(
value
=
"删除预案文件"
,
notes
=
"删除预案文件"
)
@DeleteMapping
(
value
=
"/plan/textPlan/{id}"
)
public
CommonResponse
deleteTextPlanFile
(
@PathVariable
(
"id"
)
Long
id
)
{
try
{
planVisual3dService
.
deleteTextPlanFile
(
id
);
return
CommonResponseUtil
.
success
();
}
catch
(
Exception
e
)
{
return
CommonResponseUtil
.
failure
(
e
.
getMessage
());
}
}
}
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/View3dController.java
View file @
341bc9ab
...
@@ -50,7 +50,7 @@ public class View3dController extends BaseController {
...
@@ -50,7 +50,7 @@ public class View3dController extends BaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
//TODO:待删除
//TODO:待删除
orgCode
=
"1
0
"
;
orgCode
=
"1
*2
"
;
String
channelType
=
this
.
getChannelType
();
String
channelType
=
this
.
getChannelType
();
return
CommonResponseUtil
.
success
(
riskSourceService
.
findRegionTree
(
channelType
,
orgCode
));
return
CommonResponseUtil
.
success
(
riskSourceService
.
findRegionTree
(
channelType
,
orgCode
));
}
}
...
@@ -61,7 +61,7 @@ public class View3dController extends BaseController {
...
@@ -61,7 +61,7 @@ public class View3dController extends BaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
//TODO:待删除
//TODO:待删除
orgCode
=
"1
0
"
;
orgCode
=
"1"
;
String
channelType
=
this
.
getChannelType
();
String
channelType
=
this
.
getChannelType
();
return
CommonResponseUtil
.
success
(
riskSourceService
.
findRegionById
(
riskSourceId
,
orgCode
,
channelType
));
return
CommonResponseUtil
.
success
(
riskSourceService
.
findRegionById
(
riskSourceId
,
orgCode
,
channelType
));
}
}
...
@@ -90,7 +90,7 @@ public class View3dController extends BaseController {
...
@@ -90,7 +90,7 @@ public class View3dController extends BaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
//TODO:待删除
//TODO:待删除
orgCode
=
"1
0
"
;
orgCode
=
"1
*2
"
;
String
channelType
=
this
.
getChannelType
();
String
channelType
=
this
.
getChannelType
();
return
CommonResponseUtil
.
success
(
view3dService
.
getPointTreeByType
(
type
,
orgCode
,
channelType
));
return
CommonResponseUtil
.
success
(
view3dService
.
getPointTreeByType
(
type
,
orgCode
,
channelType
));
}
}
...
@@ -113,7 +113,7 @@ public class View3dController extends BaseController {
...
@@ -113,7 +113,7 @@ public class View3dController extends BaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
//TODO:待删除
//TODO:待删除
orgCode
=
"1
0
"
;
orgCode
=
"1
*2
"
;
return
CommonResponseUtil
.
success
(
view3dService
.
getSafetyIndexWeek
(
orgCode
));
return
CommonResponseUtil
.
success
(
view3dService
.
getSafetyIndexWeek
(
orgCode
));
}
}
...
@@ -168,7 +168,7 @@ public class View3dController extends BaseController {
...
@@ -168,7 +168,7 @@ public class View3dController extends BaseController {
public
CommonResponse
getStatisticsDuty
(){
public
CommonResponse
getStatisticsDuty
(){
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
String
orgCode
=
this
.
getOrgCode
(
reginParams
);
orgCode
=
"1
0*11-28
"
;
orgCode
=
"1
*2
"
;
return
view3dService
.
getStatisticsDuty
(
getAppKey
(),
getProduct
(),
orgCode
);
return
view3dService
.
getStatisticsDuty
(
getAppKey
(),
getProduct
(),
orgCode
);
}
}
...
...
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