Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
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
zhangkb
indicators
Commits
8e9c103f
Commit
8e9c103f
authored
Jul 20, 2020
by
张祺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置项管理和填报单位管理的配置
parent
db434e16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ConfigInfoCtrl.java
...om/keymobile/indicators/api/hytobacco/ConfigInfoCtrl.java
+2
-2
TaskRuleObjMapper.xml
src/main/resources/mybatis/mapping/TaskRuleObjMapper.xml
+1
-1
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/ConfigInfoCtrl.java
View file @
8e9c103f
...
@@ -33,7 +33,7 @@ public class ConfigInfoCtrl {
...
@@ -33,7 +33,7 @@ public class ConfigInfoCtrl {
@ApiOperation
(
value
=
"添加配置项信息"
,
notes
=
"添加配置项信息"
)
@ApiOperation
(
value
=
"添加配置项信息"
,
notes
=
"添加配置项信息"
)
public
ConfigInfo
addConfigInfo
(
@RequestBody
ConfigInfo
configInfo
)
{
public
ConfigInfo
addConfigInfo
(
@RequestBody
ConfigInfo
configInfo
)
{
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
userId
=
SystemUserUtil
.
getCurrentUser
Id
();
String
userId
=
SystemUserUtil
.
getCurrentUser
();
configInfo
.
setUpdater
(
userId
);
configInfo
.
setUpdater
(
userId
);
configInfo
.
setCreator
(
userId
);
configInfo
.
setCreator
(
userId
);
configInfo
.
setCreateTime
(
now
);
configInfo
.
setCreateTime
(
now
);
...
@@ -50,7 +50,7 @@ public class ConfigInfoCtrl {
...
@@ -50,7 +50,7 @@ public class ConfigInfoCtrl {
@PostMapping
(
"updateConfigInfo"
)
@PostMapping
(
"updateConfigInfo"
)
@ApiOperation
(
value
=
"修改配置项信息"
,
notes
=
"修改配置项信息"
)
@ApiOperation
(
value
=
"修改配置项信息"
,
notes
=
"修改配置项信息"
)
public
ConfigInfo
updateConfigInfo
(
@RequestBody
ConfigInfo
configInfo
)
{
public
ConfigInfo
updateConfigInfo
(
@RequestBody
ConfigInfo
configInfo
)
{
String
userId
=
SystemUserUtil
.
getCurrentUser
Id
();
String
userId
=
SystemUserUtil
.
getCurrentUser
();
ConfigInfo
tmp
=
configInfoService
.
getConfigInfoById
(
configInfo
.
getId
());
ConfigInfo
tmp
=
configInfoService
.
getConfigInfoById
(
configInfo
.
getId
());
tmp
.
setCfDesc
(
configInfo
.
getCfDesc
());
tmp
.
setCfDesc
(
configInfo
.
getCfDesc
());
tmp
.
setCfValue
(
configInfo
.
getCfValue
());
tmp
.
setCfValue
(
configInfo
.
getCfValue
());
...
...
src/main/resources/mybatis/mapping/TaskRuleObjMapper.xml
View file @
8e9c103f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</select>
</select>
<select
id=
"findCount"
resultType=
"long"
>
<select
id=
"findCount"
resultType=
"long"
>
select count(i)
select count(i
d
)
from data_enter_rule_obj
from data_enter_rule_obj
<include
refid=
"findWhereSql"
></include>
<include
refid=
"findWhereSql"
></include>
</select>
</select>
...
...
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