|
|
@@ -274,6 +274,22 @@ public class FsStoreOrderScrmController extends BaseController {
|
|
|
if (vo.getUserAddress()!=null){
|
|
|
vo.setUserAddress(ParseUtils.parseAddress(vo.getUserAddress()));
|
|
|
}
|
|
|
+ if(vo.getItemJson() != null){
|
|
|
+ try {
|
|
|
+ StringBuffer stringBuffer = new StringBuffer();
|
|
|
+ List<FsStoreOrderItemVO> itemList = JSONObject.parseArray(vo.getItemJson(),FsStoreOrderItemVO.class);
|
|
|
+ if(itemList != null && !itemList.isEmpty()){
|
|
|
+ for (FsStoreOrderItemVO itemVO : itemList) {
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(itemVO.getJsonInfo());
|
|
|
+ String productName = jsonObject.getString("productName");
|
|
|
+ stringBuffer.append(productName).append("x").append(itemVO.getNum());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ vo.setProductName(stringBuffer.toString());
|
|
|
+ } catch (Exception e) {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
ExcelUtil<FsStoreOrderExportVO> util = new ExcelUtil<FsStoreOrderExportVO>(FsStoreOrderExportVO.class);
|