|
@@ -6,6 +6,7 @@ import java.io.IOException;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.text.ParseException;
|
|
|
import java.util.*;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
import javax.servlet.ServletOutputStream;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -584,8 +585,8 @@ public class SyPackingListFabricController implements Job {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- codeMaps.put("message",msgs);//推送成功消息
|
|
|
- codeMaps.put("error",errors);//失败信息
|
|
|
+ codeMaps.put("message",msgs.stream().distinct().collect(Collectors.toList()));//推送成功消息
|
|
|
+ codeMaps.put("error",errors.stream().distinct().collect(Collectors.toList()));//失败信息
|
|
|
if(errors.size()==0){
|
|
|
codeMaps.put("time_Stuta",2);//成功
|
|
|
}
|