Mybytis | 一对多

XML


    
    
    
    
    
    
    
    
        
        
        
        
        
        
    



Dao

List getFilmInfos(@Param("cinemaId") int cinemaId);

VO

@Data
public class FilmInfoVO implements Serializable {

    private String filmId;
    private String filmName;
    private String filmLength;
    private String filmType;
    private String filmCats;
    private String actors;
    private String imgAddress;
    private List filmFields;

}

@Data
public class FilmFieldVO implements Serializable {

    private String fieldId;
    private String beginTime;
    private String endTime;
    private String language;
    private String hallName;
    private String price;

}

你可能感兴趣的:(Mybytis | 一对多)