|
@@ -1662,7 +1662,11 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
{
|
|
|
|
|
|
String[] BadCode = iErrCode.split(",");
|
|
|
-
|
|
|
+ Set<String> uniqueStrings = new HashSet<>();
|
|
|
+ for (String str : BadCode) {
|
|
|
+ uniqueStrings.add(str);
|
|
|
+ }
|
|
|
+ BadCode = uniqueStrings.toArray(new String[0]);
|
|
|
if (!mscode.equals(iSN))
|
|
|
{
|
|
|
List<String> sqls = new ArrayList<>();
|