sql语句的查询条件是两个关系 ,它们之间是或的关系 怎么写
List<AssociateRepoVO> getAssociateReposVOById(Integer controllerId,Integer productId);

解决方案 »

  1.   

    List<AssociateRepoVO> productRepoVO=associateRepoService.getAssociateRepoVOById(常量1或者是常量2);
    sql语句怎么写
      

  2.   

    AssociateRepoVO productRepoVO = associateRepoService.getAssociateRepoVOById(常量1或者是常量2);
    getAssociateRepoVOById方法中的sql语句怎么写
      

  3.   

    这个你要自己去看代码实例化AssociateRepoVO里面的方法啊,你只给我们一个实例化的代码,我们哪看的出SQL代码怎么写的啊。
      

  4.   

    http://topic.csdn.net/u/20110823/13/23018853-5cdf-4165-add3-f6fea845cf3e.html