|  | @@ -221,7 +221,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 | 
	
		
			
				|  |  |                  "                    SELECT sum(r.iQuantity) " +
 | 
	
		
			
				|  |  |                  "                    FROM rdrecords01 rs1  " +
 | 
	
		
			
				|  |  |                  "          left join rdrecord01 r1 on r1.id=rs1.id " +
 | 
	
		
			
				|  |  | -                "          where rs1.cBatch = '"+plannum+"' and rs1.cPOID not like '"+plannum+"%' and " +
 | 
	
		
			
				|  |  | +                "          where rs1.cBatch = '"+plannum+"' and rs1.cPOID  like '"+plannum+"%' and " +
 | 
	
		
			
				|  |  |                  "                     r.cBatch = rs1.cBatch and rs1.cInvCode=r.cInvCode  " +
 | 
	
		
			
				|  |  |                  "      ) as yuu " +
 | 
	
		
			
				|  |  |                  "                 FROM rdrecords11  r  " +
 | 
	
	
		
			
				|  | @@ -282,7 +282,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 | 
	
		
			
				|  |  |                  "                    SELECT sum(r.iQuantity) " +
 | 
	
		
			
				|  |  |                  "                    FROM rdrecords01 rs1  " +
 | 
	
		
			
				|  |  |                  "          left join rdrecord01 r1 on r1.id=rs1.id " +
 | 
	
		
			
				|  |  | -                "          where rs1.cBatch = '"+plannum+"' and rs1.cPOID not like '"+plannum+"%' and " +
 | 
	
		
			
				|  |  | +                "          where rs1.cBatch = '"+plannum+"' and rs1.cPOID  like '"+plannum+"%' and " +
 | 
	
		
			
				|  |  |                  "                     r.cBatch = rs1.cBatch and rs1.cInvCode=r.cInvCode  " +
 | 
	
		
			
				|  |  |                  "      ) as yuu " +
 | 
	
		
			
				|  |  |                  "                 FROM rdrecords11  r  " +
 |