Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
49c7656c
Commit
49c7656c
authored
Jun 20, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into developer
parents
f006e3d0
3ab237e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
PreDealLogMapper.java
...ic/haoban/manage/service/dao/mapper/PreDealLogMapper.java
+2
-1
PreDealServiceImpl.java
...aoban/manage/service/service/impl/PreDealServiceImpl.java
+1
-1
PreDealLogMapper.xml
...e3-service/src/main/resources/mapper/PreDealLogMapper.xml
+4
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/PreDealLogMapper.java
View file @
49c7656c
...
...
@@ -149,6 +149,6 @@ public interface PreDealLogMapper {
* @param taskId
* @return
*/
public
int
countByDataId
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"dataId"
)
String
dataId
);
public
int
countByDataId
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"dataId"
)
String
dataId
,
@Param
(
"dataType"
)
int
dataType
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/PreDealServiceImpl.java
View file @
49c7656c
...
...
@@ -111,7 +111,7 @@ public class PreDealServiceImpl implements PreDealService {
@Override
public
boolean
existDataId
(
String
taskId
,
String
dataId
)
{
int
i
=
preDealLogMapper
.
countByDataId
(
taskId
,
dataId
);
int
i
=
preDealLogMapper
.
countByDataId
(
taskId
,
dataId
,
PreDealTypeEnum
.
clerk
.
getVal
()
);
return
i
>
0
;
}
}
haoban-manage3-service/src/main/resources/mapper/PreDealLogMapper.xml
View file @
49c7656c
...
...
@@ -308,5 +308,8 @@
from tab_haoban_pre_deal_log
where task_id = #{taskId}
and data_id =#{dataId}
<if
test=
"dataType!=-1"
>
and data_type=#{dataType}
</if>
</select>
</mapper>
\ No newline at end of file
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