Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
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
周健威
rs-cloud-platform
Commits
6052b377
Commit
6052b377
authored
Oct 23, 2024
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加绿美阳西信息产品接口
parent
5922d8f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
CommonConfig.java
...com/upyuns/platform/rs/universal/config/CommonConfig.java
+4
-0
Lmyxmonitorimage.java
...m/upyuns/platform/rs/website/entity/Lmyxmonitorimage.java
+2
-0
LmyxmonitorimageController.java
...rs/website/controller/web/LmyxmonitorimageController.java
+4
-0
GainDataTask.java
...java/com/upyuns/platform/rs/website/job/GainDataTask.java
+1
-1
No files found.
rs-universal/rs-universal-server/src/main/java/com/upyuns/platform/rs/universal/config/CommonConfig.java
View file @
6052b377
...
...
@@ -16,6 +16,9 @@ public class CommonConfig {
@Value
(
"${spring.servlet.multipart.max-file-size}"
)
private
String
maxRequestSize
;
@Value
(
"${spring.servlet.multipart.location}"
)
private
String
location
;
@Bean
public
MultipartConfigElement
multipartConfigElement
()
{
MultipartConfigFactory
factory
=
new
MultipartConfigFactory
();
...
...
@@ -23,6 +26,7 @@ public class CommonConfig {
factory
.
setMaxFileSize
(
maxFileSize
);
// 总上传数据大小
factory
.
setMaxRequestSize
(
maxRequestSize
);
factory
.
setLocation
(
location
);
return
factory
.
createMultipartConfig
();
}
...
...
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/entity/Lmyxmonitorimage.java
View file @
6052b377
...
...
@@ -19,6 +19,8 @@ import lombok.Data;
public
class
Lmyxmonitorimage
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
int
STATE_UP
=
1
;
/**
*
*/
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/web/LmyxmonitorimageController.java
View file @
6052b377
...
...
@@ -12,6 +12,8 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.Map
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_FALSE
;
@RestController
@RequestMapping
(
"lmyxmonitorimage/web"
)
public
class
LmyxmonitorimageController
extends
BaseController
<
LmyxmonitorimageBiz
,
Lmyxmonitorimage
>
{
...
...
@@ -29,6 +31,8 @@ public class LmyxmonitorimageController extends BaseController<LmyxmonitorimageB
@ResponseBody
public
ObjectRestResponse
<
List
<
Lmyxmonitorimage
>>
logicList
(
Lmyxmonitorimage
entity
){
//查询列表数据
entity
.
setIsDel
(
SYS_FALSE
);
entity
.
setState
(
Lmyxmonitorimage
.
STATE_UP
);
return
ObjectRestResponse
.
succ
(
baseBiz
.
selectList
(
entity
));
}
}
\ No newline at end of file
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/job/GainDataTask.java
View file @
6052b377
...
...
@@ -49,7 +49,7 @@ public class GainDataTask {
//@Scheduled(cron = "0/30 * * * * ?")
//或直接指定时间间隔,例如:5秒
//@Scheduled(fixedRate=5000)
@Scheduled
(
cron
=
"0 * * * * ? "
)
//
@Scheduled(cron = "0 * * * * ? ")
public
void
configureTasks
()
{
//
List
<
GainData
>
list
=
gainDataBiz
.
selectByWeekend
(
w
->
{
...
...
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