public List<AssetsDevicetypeRefactor> fetchDevicetypeByInfosysid(Integer infosysid){
AssetsDevicetypeRefactorExample example = new AssetsDevicetypeRefactorExample();
example.or().andIscustomizeEqualTo("N");
example.or().andInfosysidEqualTo(infosysid);
return assetsDevicetypeRefactorMapper.selectByExample(example);
}
下面是 and or 連用的example教程: