Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5cxjcy
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
苟磊
jfV5cxjcy
Commits
fffa4e9a
Commit
fffa4e9a
authored
Nov 21, 2022
by
EVEN02\76050
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:调整关键词添加重复的问题
parent
ceb50fae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
actAction.java
...business_info/com/jf/action/awardSearching/actAction.java
+1
-5
No files found.
src_business_info/com/jf/action/awardSearching/actAction.java
View file @
fffa4e9a
...
...
@@ -56,11 +56,7 @@ public class actAction extends BasicAction
try
{
entity
=
QueryParamUtil
.
StringToDate
(
entity
);
//查询是否已存在
Map
<
String
,
Object
>
query
=
new
HashMap
<>();
query
.
put
(
"NAME"
,
entity
.
get
(
"NAME"
));
List
<
Map
<
String
,
Object
>>
listData
=
business
.
list_dataM
(
tableName
,
query
);
List
<
Map
<
String
,
Object
>>
listData
=
business
.
excuteSql
(
"select * from t_award_searching where NAME = '"
+
entity
.
get
(
"NAME"
)+
"'"
);
if
(
listData
.
size
()>
0
){
jsonObject
.
putAll
(
Status
.
getStatusErrorMessage
(
"关键词已存在!"
));
return
"json"
;
...
...
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