Mybatis根據List批量查詢List結果
https://blog.csdn.net/qq_36688928/article/details/82783392 ...
https://blog.csdn.net/qq_36688928/article/details/82783392 ...
List<Integer> cityList = resourcePartnerService.selectCityList(userId); 需要在SQL里where語句加上 字段不為null,因為這個字段為null的數據存在。 ...
dao層代碼: xml文件對應的代碼: 完事。。。 ...