mapper
ListgetListByPartIds(List partIds);
sql语句
报错
Servlet.service() for servlet [dispatcherServlet] in context with path [/pms-api] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'ids' not found. Available parameters are [collection, list]] with root cause org.apache.ibatis.binding.BindingException: Parameter 'ids' not found. Available parameters are [collection, list]
解决方法
将
#{id}
改成
#{id}
具体原因不清楚
如果mapper中的参数改成对象的话,无论是@Data
public class ReworkDeviceDetailFindReq {
private List



