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
61091991
Commit
61091991
authored
Oct 11, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改基础项稽核接口逻辑
parent
47713995
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
IndicatorsDataMapper.java
...dicators/model/mapper/indmapper/IndicatorsDataMapper.java
+1
-1
BaseDataCheckService.java
...ndicators/service/basedatacheck/BaseDataCheckService.java
+2
-1
IndicatorsDataMapper.xml
src/main/resources/mybatis/mapping/IndicatorsDataMapper.xml
+1
-0
No files found.
src/main/java/com/keymobile/indicators/model/mapper/indmapper/IndicatorsDataMapper.java
View file @
61091991
...
@@ -19,7 +19,7 @@ public interface IndicatorsDataMapper extends BaseMapper<IndicatorsData>{
...
@@ -19,7 +19,7 @@ public interface IndicatorsDataMapper extends BaseMapper<IndicatorsData>{
public
List
<
IndicatorsData
>
getIndDataByCodeAndDateIn
(
Map
<
String
,
Object
>
param
);
public
List
<
IndicatorsData
>
getIndDataByCodeAndDateIn
(
Map
<
String
,
Object
>
param
);
public
List
<
IndicatorsData
>
getCheckIndData
(
@Param
(
"indId"
)
String
indId
,
@Param
(
"dim1"
)
String
dim1
,
public
List
<
IndicatorsData
>
getCheckIndData
(
@Param
(
"indId"
)
String
indId
,
@Param
(
"dim1"
)
String
dim1
,
@Param
(
"dim2"
)
Integer
dim2
,
@Param
(
"code"
)
String
code
);
@Param
(
"dim2"
)
Integer
dim2
,
@Param
(
"
value"
)
String
value
,
@Param
(
"
code"
)
String
code
);
public
List
<
Integer
>
getCheckDates
(
@Param
(
"code"
)
String
code
);
public
List
<
Integer
>
getCheckDates
(
@Param
(
"code"
)
String
code
);
...
...
src/main/java/com/keymobile/indicators/service/basedatacheck/BaseDataCheckService.java
View file @
61091991
...
@@ -97,7 +97,8 @@ public class BaseDataCheckService {
...
@@ -97,7 +97,8 @@ public class BaseDataCheckService {
StringUtils
.
isNotBlank
(
indiData
.
getIndId
())
&&
StringUtils
.
isNotBlank
(
indiData
.
getIndId
())
&&
StringUtils
.
isNotBlank
(
indiData
.
getCode
()))
{
StringUtils
.
isNotBlank
(
indiData
.
getCode
()))
{
List
<
IndicatorsData
>
checkIndDatas
=
indicatorsDataMapper
.
getCheckIndData
(
List
<
IndicatorsData
>
checkIndDatas
=
indicatorsDataMapper
.
getCheckIndData
(
indiData
.
getIndId
(),
indiData
.
getDim1
(),
indiData
.
getDim2
(),
code
);
indiData
.
getIndId
(),
indiData
.
getDim1
(),
indiData
.
getDim2
(),
indiData
.
getValue
(),
code
);
if
(!
checkIndDatas
.
isEmpty
())
{
if
(!
checkIndDatas
.
isEmpty
())
{
for
(
IndicatorsData
checkIndData
:
checkIndDatas
)
{
for
(
IndicatorsData
checkIndData
:
checkIndDatas
)
{
IndiDataCheck
data
=
new
IndiDataCheck
(
null
,
indiData
.
getIndId
(),
IndiDataCheck
data
=
new
IndiDataCheck
(
null
,
indiData
.
getIndId
(),
...
...
src/main/resources/mybatis/mapping/IndicatorsDataMapper.xml
View file @
61091991
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
ind_id = #{indId} and
ind_id = #{indId} and
dim1 = #{dim1} and
dim1 = #{dim1} and
dim2 = #{dim2} and
dim2 = #{dim2} and
value != #{value} and
code != #{code}
code != #{code}
</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