|  | @@ -248,6 +248,8 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 | 
											
												
													
														|  |          //发运明细
 |  |          //发运明细
 | 
											
												
													
														|  |          String sqlShipdetail = "SELECT  " +
 |  |          String sqlShipdetail = "SELECT  " +
 | 
											
												
													
														|  |                  "  sh.cDefine10 AS invoiceNum,  " +
 |  |                  "  sh.cDefine10 AS invoiceNum,  " +
 | 
											
												
													
														|  | 
 |  | +                "  max(sh.dcreatesystime) as outdata ," +
 | 
											
												
													
														|  | 
 |  | +                "  count(shs.SBVID) as shipQuantity,"+
 | 
											
												
													
														|  |                  "  sh.iExchRate AS exchangeRate,  " +
 |  |                  "  sh.iExchRate AS exchangeRate,  " +
 | 
											
												
													
														|  |                  "  sh.cSOCode AS orderNum,  " +
 |  |                  "  sh.cSOCode AS orderNum,  " +
 | 
											
												
													
														|  |                  "  c.cInvName AS poStyleNum,  " +
 |  |                  "  c.cInvName AS poStyleNum,  " +
 |