Commit dc247aa8 by 林永健

fix bug

1 parent abc584df
...@@ -226,6 +226,9 @@ public class SopDataService { ...@@ -226,6 +226,9 @@ public class SopDataService {
condStrList.add(condStr); condStrList.add(condStr);
} }
res = sqlAnd(res, joinWithDelimiter(" and ", condStrList)); res = sqlAnd(res, joinWithDelimiter(" and ", condStrList));
if (!StringUtils.hasLength(res.trim())) {
return "";
}
return String.format(updateStagePrefix, StageName) + res + ";"; return String.format(updateStagePrefix, StageName) + res + ";";
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!