|  | @@ -251,7 +251,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 | 
											
												
													
														|  |                  "  sh.iExchRate AS exchangeRate,  " +
 |  |                  "  sh.iExchRate AS exchangeRate,  " +
 | 
											
												
													
														|  |                  "  sh.cSOCode AS orderNum,  " +
 |  |                  "  sh.cSOCode AS orderNum,  " +
 | 
											
												
													
														|  |                  "  c.cInvName AS poStyleNum,  " +
 |  |                  "  c.cInvName AS poStyleNum,  " +
 | 
											
												
													
														|  | -                "  shs.iTaxUnitPrice AS exportUnitPrice ,  " +
 |  | 
 | 
											
												
													
														|  | 
 |  | +                "  sum(shs.iTaxUnitPrice) AS exportUnitPrice ,  " +
 | 
											
												
													
														|  |                  "  so.supplierCode AS processUnit " +
 |  |                  "  so.supplierCode AS processUnit " +
 | 
											
												
													
														|  |                  "FROM  " +
 |  |                  "FROM  " +
 | 
											
												
													
														|  |                  "  SaleBillVouch sh  " +
 |  |                  "  SaleBillVouch sh  " +
 | 
											
										
											
												
													
														|  | @@ -270,7 +270,8 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 | 
											
												
													
														|  |                  "          WHERE om.cState = 1 AND om.cCode LIKE '"+plannum+"%'   " +
 |  |                  "          WHERE om.cState = 1 AND om.cCode LIKE '"+plannum+"%'   " +
 | 
											
												
													
														|  |                  "      ) o ON s.isosid = o.isosid AND s.cInvCode = o.cInvCode   " +
 |  |                  "      ) o ON s.isosid = o.isosid AND s.cInvCode = o.cInvCode   " +
 | 
											
												
													
														|  |                  "  ) so ON so.iSOsID = rd.iorderdid "+
 |  |                  "  ) so ON so.iSOsID = rd.iorderdid "+
 | 
											
												
													
														|  | -                " WHERE sh.cSOCode = '"+syCostAllocation.getGarmentContractno()+"'";
 |  | 
 | 
											
												
													
														|  | 
 |  | +                " group by sh.cDefine10,sh.iExchRate,sh.cSOCode,c.cInvName,so.supplierCode";
 | 
											
												
													
														|  | 
 |  | +                //" WHERE sh.cSOCode = '"+syCostAllocation.getGarmentContractno()+"'";
 | 
											
												
													
														|  |          List<Map<String, Object>> listShipdetail  = senYuDataSourceOne.queryForList(sqlShipdetail);
 |  |          List<Map<String, Object>> listShipdetail  = senYuDataSourceOne.queryForList(sqlShipdetail);
 | 
											
												
													
														|  |          List<JSONObject> Shipdetail = JsonChangeUtils.toJSONObject(listShipdetail);
 |  |          List<JSONObject> Shipdetail = JsonChangeUtils.toJSONObject(listShipdetail);
 | 
											
												
													
														|  |          List<SyCostAllocationShipdetail> Shipdetails = new ArrayList<>();
 |  |          List<SyCostAllocationShipdetail> Shipdetails = new ArrayList<>();
 |