代码如下:

public List<SpecParam> querySpecParams(Long gid) {
SpecParam t = new SpecParam();
t.setGroupId(gid);
return this.specParamMapper.select(t);
}



当gid=null的时候,会查询数据库所有记录,并返回

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2021-10-21
相关资源
相似解决方案