|  | @@ -236,7 +236,7 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | -    public JSONObject costDetail(String skuNick, Integer dataType,Long date) {
 | 
	
		
			
				|  |  | +    public JSONObject costDetail(String skuNick, Integer dataType, Long date) {
 | 
	
		
			
				|  |  |          JSONObject returnJSon = new JSONObject();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          try {
 | 
	
	
		
			
				|  | @@ -373,6 +373,8 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
 | 
	
		
			
				|  |  |                  Integer startQty = rangeJson.getInteger("startQty");
 | 
	
		
			
				|  |  |                  Integer endQty = rangeJson.getInteger("endQty");
 | 
	
		
			
				|  |  |                  BigDecimal price = rangeJson.getBigDecimal("price");
 | 
	
		
			
				|  |  | +                Long poiId = rangeJson.getLong("poiId");
 | 
	
		
			
				|  |  | +                Long poId = rangeJson.getLong("poId");
 | 
	
		
			
				|  |  |                  List<JSONObject> details = new ArrayList<>();
 | 
	
		
			
				|  |  |                  if (dataSize >= endQty) { // 如果数据量大于采购
 | 
	
		
			
				|  |  |                      details = costDetail.subList(startQty, endQty + 1);
 | 
	
	
		
			
				|  | @@ -405,6 +407,8 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
 | 
	
		
			
				|  |  |                      addCostDetailEnd.setDataType(dataType);
 | 
	
		
			
				|  |  |                      addCostDetailEnd.setSortNum(sortNum);
 | 
	
		
			
				|  |  |                      addCostDetailEnd.setCostPrice(price);
 | 
	
		
			
				|  |  | +                    addCostDetailEnd.setPoId(poId);
 | 
	
		
			
				|  |  | +                    addCostDetailEnd.setPoiId(poiId);
 | 
	
		
			
				|  |  |                      addCostDetailEnd.setSendTime(sendTime);
 | 
	
		
			
				|  |  |                      costDetailEnds.add(addCostDetailEnd);
 | 
	
		
			
				|  |  |                  }
 | 
	
	
		
			
				|  | @@ -465,7 +469,7 @@ public class KwaiJSTServiceImpl implements IKwaiJSTService {
 | 
	
		
			
				|  |  |                              KwaixiaodianJstPurchase jst = JSONObject.parseObject(skuInfo.toJSONString(), KwaixiaodianJstPurchase.class);
 | 
	
		
			
				|  |  |                              jstList.add(jst);
 | 
	
		
			
				|  |  |                              if (!Check.isNull(skuInfo.getJSONArray("items"))) {
 | 
	
		
			
				|  |  | -                                addPurchaseItems(skuInfo.getString("po_date"),skuInfo.getJSONArray("items"));
 | 
	
		
			
				|  |  | +                                addPurchaseItems(skuInfo.getString("po_date"), skuInfo.getJSONArray("items"));
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 |