|  |  |  | @ -836,8 +836,8 @@ public class ScpwxyyClient extends CommonHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setMainAction(ConstantType.TYPE_OUT); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setBillType(ptxhInvResponse.getIoType()); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setType("1"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount(ptxhInvResponse.getQuantity() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount(ptxhInvResponse.getQuantity() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount(ptxhInvResponse.getQuantity() ); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount(ptxhInvResponse.getQuantity()); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponses.add(thrInvResultResponse); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
	
		
			
				
					|  |  |  | @ -907,8 +907,8 @@ public class ScpwxyyClient extends CommonHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setBillType("SC71090077430919"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setMainAction(ConstantType.TYPE_OUT); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setType("1"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount("1"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount("1"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount(1); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount(1); | 
			
		
	
		
			
				
					|  |  |  |  |                     IoCodeEntity codeEntity = codeDao.selectOne(new LambdaQueryWrapper<IoCodeEntity>().eq(IoCodeEntity::getCode, ptxhInvResponse.getBarcode()).last("limit 1")); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (codeEntity == null) { | 
			
		
	
		
			
				
					|  |  |  |  |                         codeEntity = codeDao.selectOne(new LambdaQueryWrapper<IoCodeEntity>().eq(IoCodeEntity::getErrUdiCode, ptxhInvResponse.getBarcode()).last("limit 1")); | 
			
		
	
	
		
			
				
					|  |  |  | @ -923,8 +923,8 @@ public class ScpwxyyClient extends CommonHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |                 for (ThrInvResultResponse thrInvResultResponse : thrInvResultResponses) { | 
			
		
	
		
			
				
					|  |  |  |  |                     mapArry.merge(thrInvResultResponse.getUdiCode(), thrInvResultResponse, (existingValue, newValue) -> { | 
			
		
	
		
			
				
					|  |  |  |  |                         // Assuming reCount can be directly handled as an integer to avoid String to Integer conversions
 | 
			
		
	
		
			
				
					|  |  |  |  |                         int updatedReCount = Integer.parseInt(existingValue.getReCount()) + Integer.parseInt(newValue.getReCount()); | 
			
		
	
		
			
				
					|  |  |  |  |                         existingValue.setReCount(String.valueOf(updatedReCount)); | 
			
		
	
		
			
				
					|  |  |  |  |                         int updatedReCount =existingValue.getReCount() + newValue.getReCount(); | 
			
		
	
		
			
				
					|  |  |  |  |                         existingValue.setReCount(updatedReCount); | 
			
		
	
		
			
				
					|  |  |  |  |                         existingValue.setOutCount(existingValue.getReCount()); | 
			
		
	
		
			
				
					|  |  |  |  |                         return existingValue; | 
			
		
	
		
			
				
					|  |  |  |  |                     }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -986,8 +986,8 @@ public class ScpwxyyClient extends CommonHttpClient { | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setThrCode(ptxhInvResponse.getItemCode()); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setMainAction(ConstantType.TYPE_OUT); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setType("1"); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount(ptxhInvResponse.getQuantity() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount(ptxhInvResponse.getQuantity() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setOutCount(ptxhInvResponse.getQuantity() ); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponse.setReCount(ptxhInvResponse.getQuantity()); | 
			
		
	
		
			
				
					|  |  |  |  |                     thrInvResultResponses.add(thrInvResultResponse); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (seenNames.add(ptxhInvResponse.getItemCode())) { | 
			
		
	
		
			
				
					|  |  |  |  |                         itemData.add(ptxhInvResponse); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |