Commit fffa4e9a by EVEN02\76050

fix:调整关键词添加重复的问题

parent ceb50fae
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment