Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2110c6dc
authored
Sep 26, 2023
by
李小龙
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev' of
http://git.xmmakeit.com/huangjiay/iot-platform-server
into dev
parents
1a30d66d
8b4fe697
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
saas-module/src/main/java/com/makeit/controller/analysis/SaasModelManageController.java
saas-module/src/main/java/com/makeit/controller/analysis/SaasReportManageController.java
server-service/src/main/java/com/makeit/service/saas/impl/SaasModelManageServiceImpl.java
server-service/src/main/java/com/makeit/service/saas/impl/SaasReportManageServiceImpl.java
saas-module/src/main/java/com/makeit/controller/analysis/SaasModelManageController.java
View file @
2110c6dc
...
@@ -7,13 +7,14 @@ import com.makeit.common.response.ApiResponseEntity;
...
@@ -7,13 +7,14 @@ import com.makeit.common.response.ApiResponseEntity;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.entity.saas.analysis.SaasModelManage
;
import
com.makeit.entity.saas.analysis.SaasModelManage
;
import
com.makeit.global.annotation.Action
;
import
com.makeit.global.annotation.Action
;
import
com.makeit.module.admin.dto.plat.PlatMenuQueryDTO
;
import
com.makeit.service.saas.SaasModelManageService
;
import
com.makeit.service.saas.SaasModelManageService
;
import
com.makeit.utils.old.StringUtils
;
import
com.makeit.utils.old.StringUtils
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.v3.oas.annotations.parameters.RequestBody
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -39,7 +40,7 @@ public class SaasModelManageController {
...
@@ -39,7 +40,7 @@ public class SaasModelManageController {
@Action
(
module
=
"数据分析-模型管理"
,
name
=
"分页列表"
,
code
=
"saas:modelManage:page"
)
@Action
(
module
=
"数据分析-模型管理"
,
name
=
"分页列表"
,
code
=
"saas:modelManage:page"
)
@ApiOperation
(
"分页列表"
)
@ApiOperation
(
"分页列表"
)
@PostMapping
(
"list"
)
@PostMapping
(
"list"
)
public
ApiResponseEntity
<
List
<
SaasModelManage
>>
list
(
@RequestBody
CommonName
DTO
dto
)
{
public
ApiResponseEntity
<
List
<
SaasModelManage
>>
list
(
@RequestBody
PlatMenuQuery
DTO
dto
)
{
return
ApiResponseUtils
.
success
(
saasModelManageService
.
list
(
new
QueryWrapper
<
SaasModelManage
>().
lambda
()
return
ApiResponseUtils
.
success
(
saasModelManageService
.
list
(
new
QueryWrapper
<
SaasModelManage
>().
lambda
()
.
like
(
StringUtils
.
isNotEmpty
(
dto
.
getName
()),
SaasModelManage:
:
getName
,
dto
.
getName
())));
.
like
(
StringUtils
.
isNotEmpty
(
dto
.
getName
()),
SaasModelManage:
:
getName
,
dto
.
getName
())));
}
}
...
...
saas-module/src/main/java/com/makeit/controller/analysis/SaasReportManageController.java
View file @
2110c6dc
...
@@ -11,9 +11,9 @@ import com.makeit.service.saas.SaasReportManageService;
...
@@ -11,9 +11,9 @@ import com.makeit.service.saas.SaasReportManageService;
import
com.makeit.utils.old.StringUtils
;
import
com.makeit.utils.old.StringUtils
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.v3.oas.annotations.parameters.RequestBody
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
server-service/src/main/java/com/makeit/service/saas/impl/SaasModelManageServiceImpl.java
View file @
2110c6dc
...
@@ -32,6 +32,7 @@ public class SaasModelManageServiceImpl extends ServiceImpl<SaasModelManageMappe
...
@@ -32,6 +32,7 @@ public class SaasModelManageServiceImpl extends ServiceImpl<SaasModelManageMappe
if
(
saasModelManage
!=
null
)
{
if
(
saasModelManage
!=
null
)
{
saasModelManage
.
setUpdateBy
(
commonUserVO
==
null
?
""
:
commonUserVO
.
getName
());
saasModelManage
.
setUpdateBy
(
commonUserVO
==
null
?
""
:
commonUserVO
.
getName
());
saasModelManage
.
setUpdateDate
(
LocalDateTime
.
now
());
saasModelManage
.
setUpdateDate
(
LocalDateTime
.
now
());
updateById
(
saasModelManage
);
}
}
}
}
}
}
server-service/src/main/java/com/makeit/service/saas/impl/SaasReportManageServiceImpl.java
View file @
2110c6dc
...
@@ -33,6 +33,7 @@ public class SaasReportManageServiceImpl extends ServiceImpl<SaasReportManageMap
...
@@ -33,6 +33,7 @@ public class SaasReportManageServiceImpl extends ServiceImpl<SaasReportManageMap
if
(
saasReportManage
!=
null
)
{
if
(
saasReportManage
!=
null
)
{
saasReportManage
.
setUpdateBy
(
commonUserVO
==
null
?
""
:
commonUserVO
.
getName
());
saasReportManage
.
setUpdateBy
(
commonUserVO
==
null
?
""
:
commonUserVO
.
getName
());
saasReportManage
.
setUpdateDate
(
LocalDateTime
.
now
());
saasReportManage
.
setUpdateDate
(
LocalDateTime
.
now
());
updateById
(
saasReportManage
);
}
}
}
}
}
}
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