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
cf4d521e
Commit
cf4d521e
authored
Aug 20, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏-详情-检验检测-监查值守接口迁移,名称修改
parent
fe1e188b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
EnterpriseBizController.java
...ule/statistcs/biz/controller/EnterpriseBizController.java
+8
-8
InspectionBizController.java
...ule/statistcs/biz/controller/InspectionBizController.java
+9
-9
EnterpriseBizServiceImpl.java
.../statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
+2
-2
InspectionBizServiceImpl.java
.../statistcs/biz/service/impl/InspectionBizServiceImpl.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/Enterprise
Detail
Controller.java
→
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/Enterprise
Biz
Controller.java
View file @
cf4d521e
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistcs
.
biz
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.Enterprise
Detail
ServiceImpl
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.Enterprise
Biz
ServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.PageParam
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.PageParam
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -18,14 +18,14 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
...
@@ -18,14 +18,14 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
* @author Administrator
* @author Administrator
*/
*/
@RestController
@RestController
@RequestMapping
(
value
=
"/dp/enterprise"
)
@RequestMapping
(
value
=
"/dp/
biz-
enterprise"
)
@Api
(
tags
=
"大屏-企业-
详情
API"
)
@Api
(
tags
=
"大屏-企业-
业务
API"
)
public
class
Enterprise
Detail
Controller
{
public
class
Enterprise
Biz
Controller
{
private
Enterprise
DetailServiceImpl
enterpriseDetail
Service
;
private
Enterprise
BizServiceImpl
enterpriseBiz
Service
;
public
Enterprise
DetailController
(
EnterpriseDetailServiceImpl
enterpriseDetail
Service
)
{
public
Enterprise
BizController
(
EnterpriseBizServiceImpl
enterpriseBiz
Service
)
{
this
.
enterprise
DetailService
=
enterpriseDetail
Service
;
this
.
enterprise
BizService
=
enterpriseBiz
Service
;
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -33,6 +33,6 @@ public class EnterpriseDetailController {
...
@@ -33,6 +33,6 @@ public class EnterpriseDetailController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
ResponseModel
<
IPage
<
TzBaseEnterpriseInfoDto
>>
page
(
PageParam
pageParam
,
public
ResponseModel
<
IPage
<
TzBaseEnterpriseInfoDto
>>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
return
ResponseHelper
.
buildResponse
(
enterprise
Detail
Service
.
page
(
pageParam
,
tzBaseEnterpriseInfoDto
));
return
ResponseHelper
.
buildResponse
(
enterprise
Biz
Service
.
page
(
pageParam
,
tzBaseEnterpriseInfoDto
));
}
}
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/Inspection
Detail
Controller.java
→
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/Inspection
Biz
Controller.java
View file @
cf4d521e
...
@@ -2,7 +2,7 @@ package com.yeejoin.amos.boot.module.statistcs.biz.controller;
...
@@ -2,7 +2,7 @@ package com.yeejoin.amos.boot.module.statistcs.biz.controller;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.Inspection
Detail
ServiceImpl
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.Inspection
Biz
ServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -17,14 +17,14 @@ import java.util.Map;
...
@@ -17,14 +17,14 @@ import java.util.Map;
* @author Administrator
* @author Administrator
*/
*/
@RestController
@RestController
@RequestMapping
(
"/dp/
inspection-detail
"
)
@RequestMapping
(
"/dp/
biz-inspection
"
)
@Api
(
tags
=
"大屏检验检测-
详情
API"
)
@Api
(
tags
=
"大屏检验检测-
业务
API"
)
public
class
Inspection
Detail
Controller
extends
BaseController
{
public
class
Inspection
Biz
Controller
extends
BaseController
{
private
Inspection
DetailServiceImpl
inspectionDetail
Service
;
private
Inspection
BizServiceImpl
inspectionBiz
Service
;
public
Inspection
DetailController
(
InspectionDetailServiceImpl
inspectionDetail
Service
)
{
public
Inspection
BizController
(
InspectionBizServiceImpl
inspectionBiz
Service
)
{
this
.
inspection
DetailService
=
inspectionDetail
Service
;
this
.
inspection
BizService
=
inspectionBiz
Service
;
}
}
...
@@ -38,7 +38,7 @@ public class InspectionDetailController extends BaseController {
...
@@ -38,7 +38,7 @@ public class InspectionDetailController extends BaseController {
@GetMapping
(
value
=
"/selectOneForBigScreen/{sequenceNbr}"
)
@GetMapping
(
value
=
"/selectOneForBigScreen/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
selectOneForBigScreen
(
@PathVariable
Long
sequenceNbr
)
{
public
ResponseModel
<
Map
<
String
,
Object
>>
selectOneForBigScreen
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
inspection
Detail
Service
.
selectOneForBigScreen
(
sequenceNbr
,
getSelectedOrgInfo
().
getCompany
().
getCompanyType
()));
return
ResponseHelper
.
buildResponse
(
inspection
Biz
Service
.
selectOneForBigScreen
(
sequenceNbr
,
getSelectedOrgInfo
().
getCompany
().
getCompanyType
()));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
@@ -47,6 +47,6 @@ public class InspectionDetailController extends BaseController {
...
@@ -47,6 +47,6 @@ public class InspectionDetailController extends BaseController {
public
ResponseModel
<
Page
>
selectOneForBigScreenEqu
(
@PathVariable
Long
sequenceNbr
,
public
ResponseModel
<
Page
>
selectOneForBigScreenEqu
(
@PathVariable
Long
sequenceNbr
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
@RequestParam
(
value
=
"size"
)
int
size
)
{
return
ResponseHelper
.
buildResponse
(
inspection
Detail
Service
.
selectOneForBigScreenEqu
(
current
,
size
,
sequenceNbr
,
getSelectedOrgInfo
().
getCompany
().
getCompanyType
()));
return
ResponseHelper
.
buildResponse
(
inspection
Biz
Service
.
selectOneForBigScreenEqu
(
current
,
size
,
sequenceNbr
,
getSelectedOrgInfo
().
getCompany
().
getCompanyType
()));
}
}
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/Enterprise
Detail
ServiceImpl.java
→
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/Enterprise
Biz
ServiceImpl.java
View file @
cf4d521e
...
@@ -24,7 +24,7 @@ import java.util.List;
...
@@ -24,7 +24,7 @@ import java.util.List;
* @author Administrator
* @author Administrator
*/
*/
@Service
@Service
public
class
Enterprise
Detail
ServiceImpl
{
public
class
Enterprise
Biz
ServiceImpl
{
private
RedisUtils
redisUtils
;
private
RedisUtils
redisUtils
;
...
@@ -32,7 +32,7 @@ public class EnterpriseDetailServiceImpl {
...
@@ -32,7 +32,7 @@ public class EnterpriseDetailServiceImpl {
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
public
Enterprise
Detail
ServiceImpl
(
RedisUtils
redisUtils
,
StCommonServiceImpl
stCommonService
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
)
{
public
Enterprise
Biz
ServiceImpl
(
RedisUtils
redisUtils
,
StCommonServiceImpl
stCommonService
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
)
{
this
.
redisUtils
=
redisUtils
;
this
.
redisUtils
=
redisUtils
;
this
.
stCommonService
=
stCommonService
;
this
.
stCommonService
=
stCommonService
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/Inspection
Detail
ServiceImpl.java
→
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/Inspection
Biz
ServiceImpl.java
View file @
cf4d521e
...
@@ -34,7 +34,7 @@ import static com.alibaba.fastjson.JSON.parseArray;
...
@@ -34,7 +34,7 @@ import static com.alibaba.fastjson.JSON.parseArray;
*/
*/
@Service
@Service
@Slf4j
@Slf4j
public
class
Inspection
Detail
ServiceImpl
{
public
class
Inspection
Biz
ServiceImpl
{
private
JyjcInspectionApplicationEquipMapper
inspectionApplicationEquipMapper
;
private
JyjcInspectionApplicationEquipMapper
inspectionApplicationEquipMapper
;
...
@@ -52,7 +52,7 @@ public class InspectionDetailServiceImpl {
...
@@ -52,7 +52,7 @@ public class InspectionDetailServiceImpl {
@Value
(
"classpath:/json/bigScreenDetail.json"
)
@Value
(
"classpath:/json/bigScreenDetail.json"
)
private
Resource
bigScreenDetail
;
private
Resource
bigScreenDetail
;
public
Inspection
Detail
ServiceImpl
(
JyjcInspectionApplicationEquipMapper
inspectionApplicationEquipMapper
,
ESEquipmentCategory
esEquipmentCategoryDao
,
JyjcInspectionApplicationMapper
inspectionApplicationMapper
,
JyjcInspectionApplicationAttachmentMapper
inspectionApplicationAttachmentMapper
,
WorkflowFeignService
workflowFeignService
,
JyjcInspectionApplicationEquipMapper
jyjcInspectionApplicationEquipMapper
)
{
public
Inspection
Biz
ServiceImpl
(
JyjcInspectionApplicationEquipMapper
inspectionApplicationEquipMapper
,
ESEquipmentCategory
esEquipmentCategoryDao
,
JyjcInspectionApplicationMapper
inspectionApplicationMapper
,
JyjcInspectionApplicationAttachmentMapper
inspectionApplicationAttachmentMapper
,
WorkflowFeignService
workflowFeignService
,
JyjcInspectionApplicationEquipMapper
jyjcInspectionApplicationEquipMapper
)
{
this
.
inspectionApplicationEquipMapper
=
inspectionApplicationEquipMapper
;
this
.
inspectionApplicationEquipMapper
=
inspectionApplicationEquipMapper
;
this
.
esEquipmentCategoryDao
=
esEquipmentCategoryDao
;
this
.
esEquipmentCategoryDao
=
esEquipmentCategoryDao
;
this
.
inspectionApplicationMapper
=
inspectionApplicationMapper
;
this
.
inspectionApplicationMapper
=
inspectionApplicationMapper
;
...
...
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