|
|
@@ -10,8 +10,6 @@ import com.uas.platform.core.model.Status;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
-import java.net.URLEncoder;
|
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
|
@@ -413,9 +411,9 @@ public class Purchase extends KeyEntity {
|
|
|
this.getPurchaseDetails().forEach(detail -> {
|
|
|
try {
|
|
|
if (!StringUtils.isEmpty(detail.getPd_prodcode())) {
|
|
|
- codeList.add(URLEncoder.encode(detail.getPd_prodcode(), "UTF-8"));
|
|
|
+ codeList.add(detail.getPd_prodcode());
|
|
|
}
|
|
|
- } catch (UnsupportedEncodingException e) {
|
|
|
+ } catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
});
|