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
0d4c816a
Commit
0d4c816a
authored
Aug 02, 2022
by
王鹿鹿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务 8145 8146 8147 8148
parent
1d8dd6df
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
0 deletions
+26
-0
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+9
-0
KeySiteServiceImpl.java
...ot/module/common/biz/service/impl/KeySiteServiceImpl.java
+1
-0
WarehouseStructureController.java
.../equipmanage/controller/WarehouseStructureController.java
+16
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/CommandController.java
View file @
0d4c816a
...
@@ -21,6 +21,7 @@ import com.yeejoin.amos.boot.module.command.biz.service.impl.RemoteSecurityServi
...
@@ -21,6 +21,7 @@ import com.yeejoin.amos.boot.module.command.biz.service.impl.RemoteSecurityServi
import
com.yeejoin.amos.boot.module.common.api.dto.*
;
import
com.yeejoin.amos.boot.module.common.api.dto.*
;
import
com.yeejoin.amos.boot.module.common.api.entity.FireTeam
;
import
com.yeejoin.amos.boot.module.common.api.entity.FireTeam
;
import
com.yeejoin.amos.boot.module.common.api.entity.Firefighters
;
import
com.yeejoin.amos.boot.module.common.api.entity.Firefighters
;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.api.feign.EquipFeignClient
;
import
com.yeejoin.amos.boot.module.common.api.feign.EquipFeignClient
;
import
com.yeejoin.amos.boot.module.common.api.feign.IotFeignClient
;
import
com.yeejoin.amos.boot.module.common.api.feign.IotFeignClient
;
import
com.yeejoin.amos.boot.module.common.api.feign.VideoFeignClient
;
import
com.yeejoin.amos.boot.module.common.api.feign.VideoFeignClient
;
...
@@ -1207,6 +1208,14 @@ public class CommandController extends BaseController {
...
@@ -1207,6 +1208,14 @@ public class CommandController extends BaseController {
return
ResponseHelper
.
buildResponse
(
buildId
==
null
?
null
:
keySiteService
.
getBuildAndKeyTree
(
buildId
));
return
ResponseHelper
.
buildResponse
(
buildId
==
null
?
null
:
keySiteService
.
getBuildAndKeyTree
(
buildId
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据bizOrgCode建筑部位树"
,
notes
=
"根据bizOrgCode建筑部位树"
)
@GetMapping
(
value
=
"/getBuildTreeCcs/{buildId}"
)
public
ResponseModel
<
List
<
OrgMenuDto
>>
getBuildTreeCcs
(
@PathVariable
Long
buildId
)
throws
Exception
{
return
ResponseHelper
.
buildResponse
(
keySiteService
.
getBuildAndKeyTree
(
buildId
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据重点部位id查询详情"
,
notes
=
"根据重点部位id查询详情"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据重点部位id查询详情"
,
notes
=
"根据重点部位id查询详情"
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/KeySiteServiceImpl.java
View file @
0d4c816a
...
@@ -392,6 +392,7 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
...
@@ -392,6 +392,7 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
return
list1
;
return
list1
;
}
}
@Override
@Override
public
List
<
KeySiteDateDto
>
getKeySiteDate
(
Long
id
)
{
public
List
<
KeySiteDateDto
>
getKeySiteDate
(
Long
id
)
{
return
keySiteMapper
.
getKeySiteDate
(
id
);
return
keySiteMapper
.
getKeySiteDate
(
id
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/WarehouseStructureController.java
View file @
0d4c816a
...
@@ -210,4 +210,20 @@ public class WarehouseStructureController extends AbstractBaseController {
...
@@ -210,4 +210,20 @@ public class WarehouseStructureController extends AbstractBaseController {
String
orgcode
=
getOrgCode
();
String
orgcode
=
getOrgCode
();
return
iFormInstanceService
.
getValueByColumn
(
sourceId
,
orgcode
);
return
iFormInstanceService
.
getValueByColumn
(
sourceId
,
orgcode
);
}
}
/**
*/
@RequestMapping
(
value
=
"/getWarehouseStructureByCode"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据code查询建筑id"
,
notes
=
"根据code查询建筑id"
)
public
Long
getWarehouseStructureByCode
(
@RequestParam
String
code
)
{
QueryWrapper
<
WarehouseStructure
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"code"
,
code
);
WarehouseStructure
one
=
iWarehouseStructureService
.
getOne
(
queryWrapper
);
if
(
null
==
one
)
{
return
null
;
}
return
one
.
getSourceId
();
}
}
}
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