|
|
@@ -95,7 +95,7 @@ public class ProductController {
|
|
|
@ResponseBody
|
|
|
public List<Long> updateProdInfo(@RequestBody String data) throws UnsupportedEncodingException {
|
|
|
// TODO 物料信息中的企业UU和用户UU,需要在调用接口之前设置。有id为更新,无id为新增
|
|
|
- List<Product> productInfo = JSONObject.parseArray(URLDecoder.decode(data, "utf-8"), Product.class);
|
|
|
+ List<Product> productInfo = JSONObject.parseArray(data, Product.class);
|
|
|
List<Long> resultProducts = new ArrayList<>();
|
|
|
|
|
|
for (Product product : productInfo) {
|