//得到整型
var
parentid = _.apiService._db.GetInt("SELECT ParentId FROM SysBest_Role where Id = " + Id + ""); //执行sql,parentidPar是sql中的参数变量 var result = _.apiService._db.SqlQuery<SysBest_Role>(sql,new { ParentidPar = parentid });


 

相关文章:

  • 2022-12-23
  • 2021-09-20
  • 2021-09-18
  • 2021-08-01
  • 2022-01-23
  • 2021-09-19
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-06-03
  • 2022-12-23
相关资源
相似解决方案