no message
							parent
							
								
									6517591973
								
							
						
					
					
						commit
						3fb4165a16
					
				
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1,89 +0,0 @@
 | 
			
		|||
package com.youchain.service.mapstruct;
 | 
			
		||||
 | 
			
		||||
import com.youchain.domain.Log;
 | 
			
		||||
import com.youchain.service.dto.LogErrorDTO;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import javax.annotation.Generated;
 | 
			
		||||
import org.springframework.stereotype.Component;
 | 
			
		||||
 | 
			
		||||
@Generated(
 | 
			
		||||
    value = "org.mapstruct.ap.MappingProcessor",
 | 
			
		||||
    date = "2024-05-10T13:19:03+0800",
 | 
			
		||||
    comments = "version: 1.4.2.Final, compiler: javac, environment: Java 1.8.0_202 (Oracle Corporation)"
 | 
			
		||||
)
 | 
			
		||||
@Component
 | 
			
		||||
public class LogErrorMapperImpl implements LogErrorMapper {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Log toEntity(LogErrorDTO dto) {
 | 
			
		||||
        if ( dto == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Log log = new Log();
 | 
			
		||||
 | 
			
		||||
        log.setId( dto.getId() );
 | 
			
		||||
        log.setUsername( dto.getUsername() );
 | 
			
		||||
        log.setDescription( dto.getDescription() );
 | 
			
		||||
        log.setMethod( dto.getMethod() );
 | 
			
		||||
        log.setParams( dto.getParams() );
 | 
			
		||||
        log.setReturnData( dto.getReturnData() );
 | 
			
		||||
        log.setRequestIp( dto.getRequestIp() );
 | 
			
		||||
        log.setAddress( dto.getAddress() );
 | 
			
		||||
        log.setBrowser( dto.getBrowser() );
 | 
			
		||||
        log.setCreateTime( dto.getCreateTime() );
 | 
			
		||||
 | 
			
		||||
        return log;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public LogErrorDTO toDto(Log entity) {
 | 
			
		||||
        if ( entity == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        LogErrorDTO logErrorDTO = new LogErrorDTO();
 | 
			
		||||
 | 
			
		||||
        logErrorDTO.setId( entity.getId() );
 | 
			
		||||
        logErrorDTO.setUsername( entity.getUsername() );
 | 
			
		||||
        logErrorDTO.setDescription( entity.getDescription() );
 | 
			
		||||
        logErrorDTO.setMethod( entity.getMethod() );
 | 
			
		||||
        logErrorDTO.setReturnData( entity.getReturnData() );
 | 
			
		||||
        logErrorDTO.setParams( entity.getParams() );
 | 
			
		||||
        logErrorDTO.setBrowser( entity.getBrowser() );
 | 
			
		||||
        logErrorDTO.setRequestIp( entity.getRequestIp() );
 | 
			
		||||
        logErrorDTO.setAddress( entity.getAddress() );
 | 
			
		||||
        logErrorDTO.setCreateTime( entity.getCreateTime() );
 | 
			
		||||
 | 
			
		||||
        return logErrorDTO;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<Log> toEntity(List<LogErrorDTO> dtoList) {
 | 
			
		||||
        if ( dtoList == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        List<Log> list = new ArrayList<Log>( dtoList.size() );
 | 
			
		||||
        for ( LogErrorDTO logErrorDTO : dtoList ) {
 | 
			
		||||
            list.add( toEntity( logErrorDTO ) );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return list;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<LogErrorDTO> toDto(List<Log> entityList) {
 | 
			
		||||
        if ( entityList == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        List<LogErrorDTO> list = new ArrayList<LogErrorDTO>( entityList.size() );
 | 
			
		||||
        for ( Log log : entityList ) {
 | 
			
		||||
            list.add( toDto( log ) );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return list;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,83 +0,0 @@
 | 
			
		|||
package com.youchain.service.mapstruct;
 | 
			
		||||
 | 
			
		||||
import com.youchain.domain.Log;
 | 
			
		||||
import com.youchain.service.dto.LogSmallDTO;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import javax.annotation.Generated;
 | 
			
		||||
import org.springframework.stereotype.Component;
 | 
			
		||||
 | 
			
		||||
@Generated(
 | 
			
		||||
    value = "org.mapstruct.ap.MappingProcessor",
 | 
			
		||||
    date = "2024-05-10T13:19:03+0800",
 | 
			
		||||
    comments = "version: 1.4.2.Final, compiler: javac, environment: Java 1.8.0_202 (Oracle Corporation)"
 | 
			
		||||
)
 | 
			
		||||
@Component
 | 
			
		||||
public class LogSmallMapperImpl implements LogSmallMapper {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Log toEntity(LogSmallDTO dto) {
 | 
			
		||||
        if ( dto == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Log log = new Log();
 | 
			
		||||
 | 
			
		||||
        log.setDescription( dto.getDescription() );
 | 
			
		||||
        log.setReturnData( dto.getReturnData() );
 | 
			
		||||
        log.setRequestIp( dto.getRequestIp() );
 | 
			
		||||
        log.setAddress( dto.getAddress() );
 | 
			
		||||
        log.setBrowser( dto.getBrowser() );
 | 
			
		||||
        log.setTime( dto.getTime() );
 | 
			
		||||
        log.setCreateTime( dto.getCreateTime() );
 | 
			
		||||
 | 
			
		||||
        return log;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public LogSmallDTO toDto(Log entity) {
 | 
			
		||||
        if ( entity == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        LogSmallDTO logSmallDTO = new LogSmallDTO();
 | 
			
		||||
 | 
			
		||||
        logSmallDTO.setDescription( entity.getDescription() );
 | 
			
		||||
        logSmallDTO.setRequestIp( entity.getRequestIp() );
 | 
			
		||||
        logSmallDTO.setReturnData( entity.getReturnData() );
 | 
			
		||||
        logSmallDTO.setTime( entity.getTime() );
 | 
			
		||||
        logSmallDTO.setAddress( entity.getAddress() );
 | 
			
		||||
        logSmallDTO.setBrowser( entity.getBrowser() );
 | 
			
		||||
        logSmallDTO.setCreateTime( entity.getCreateTime() );
 | 
			
		||||
 | 
			
		||||
        return logSmallDTO;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<Log> toEntity(List<LogSmallDTO> dtoList) {
 | 
			
		||||
        if ( dtoList == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        List<Log> list = new ArrayList<Log>( dtoList.size() );
 | 
			
		||||
        for ( LogSmallDTO logSmallDTO : dtoList ) {
 | 
			
		||||
            list.add( toEntity( logSmallDTO ) );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return list;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<LogSmallDTO> toDto(List<Log> entityList) {
 | 
			
		||||
        if ( entityList == null ) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        List<LogSmallDTO> list = new ArrayList<LogSmallDTO>( entityList.size() );
 | 
			
		||||
        for ( Log log : entityList ) {
 | 
			
		||||
            list.add( toDto( log ) );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return list;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue