Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
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
base_platform_enterprise
gic-platform-enterprise
Commits
ee9e0bd1
Commit
ee9e0bd1
authored
May 18, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置表
parent
303f0d78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
TableSettingFieldServiceImpl.java
...enterprise/service/impl/TableSettingFieldServiceImpl.java
+1
-1
TableSettingController.java
.../gic/operation/web/controller/TableSettingController.java
+2
-1
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/impl/TableSettingFieldServiceImpl.java
View file @
ee9e0bd1
...
...
@@ -20,8 +20,8 @@ public class TableSettingFieldServiceImpl implements TableSettingFieldService {
public
void
saveTableField
(
TableSettingFieldDTO
tableSettingFieldDTO
)
{
TabTableSettingField
tab
=
EntityUtil
.
changeEntityByJSON
(
TabTableSettingField
.
class
,
tableSettingFieldDTO
);
Date
date
=
new
Date
();
tableSettingFieldDTO
.
setUpdateTime
(
date
);
if
(
tableSettingFieldDTO
.
getFieldId
()
!=
null
){
tableSettingFieldDTO
.
setUpdateTime
(
date
);
tabTableSettingFieldMapper
.
updateByPrimaryKeySelective
(
tab
);
}
else
{
tableSettingFieldDTO
.
setCreateTime
(
date
);
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/TableSettingController.java
View file @
ee9e0bd1
...
...
@@ -14,6 +14,7 @@ import com.gic.operation.web.qo.TableSettingQO;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
java.util.List
;
...
...
@@ -38,7 +39,7 @@ public class TableSettingController {
@RequestMapping
(
"page-table-setting"
)
@ResponseBody
public
RestResponse
pageTableSetting
(
String
search
,
Integer
pageNum
,
Integer
pageSize
){
public
RestResponse
pageTableSetting
(
String
search
,
@RequestParam
(
defaultValue
=
1
)
Integer
pageNum
,
@RequestParam
(
defaultValue
=
20
)
Integer
pageSize
){
Page
<
TableSettingDTO
>
result
=
tableSettingApiService
.
pageTableSetting
(
search
,
pageNum
,
pageSize
).
getResult
();
return
RestResponse
.
success
(
result
);
}
...
...
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