|
|
|
@ -5,6 +5,7 @@ import cn.chjyj.szwh.constant.ChConstant; |
|
|
|
import cn.chjyj.szwh.exception.ChException; |
|
|
|
import cn.chjyj.szwh.mapper.*; |
|
|
|
import cn.chjyj.szwh.service.OrderService; |
|
|
|
import cn.chjyj.szwh.utils.SzFileUtils; |
|
|
|
import cn.chjyj.szwh.vo.OrderDetailVo; |
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
@ -281,6 +282,7 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
|
|
|
|
//符合条件的数量
|
|
|
|
int count = goodsSourceMapper.countGoodSource(dv.getGoods_islicode(),1,ods.getSourceidentify()); |
|
|
|
info.put("count",count); |
|
|
|
gatherList.add(info); |
|
|
|
}else{ |
|
|
|
Long filesize= odsJson.getLongValue("metadataFileSize"); |
|
|
|
@ -288,7 +290,10 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
info.put("class",ods.getSourceType()); |
|
|
|
info.put("registerDate",odsJson.getString("registerDate")); |
|
|
|
info.put("identifier",odsJson.getString("identifier")); |
|
|
|
info.put("filesize",filesize); |
|
|
|
//符合条件的数量
|
|
|
|
int count = goodsSourceMapper.countGoodSource(dv.getGoods_islicode(),1,ods.getSourceidentify()); |
|
|
|
info.put("count",count); |
|
|
|
info.put("filesize", SzFileUtils.fileSizeFormat(filesize)); |
|
|
|
info.put("metadataFileFormat",odsJson.getString("metadataFileFormat")); |
|
|
|
// 资源下载地址 ,json 格式
|
|
|
|
String sourceDown= orderGoodsDetailMapper.getOrderGoodsDetailSourceDownload(batchcode,dv.getGoods_islicode()); |
|
|
|
|