原因:字符串没有加引号

应改为:sql = 'select id from t_project_module where module_name = "%s"' % moodule_name

相关文章:

  • 2021-04-10
  • 2021-09-09
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案