You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mysqltest.py 360B

2 yıl önce
123456789
  1. from util.MyConnectionPool import MySqLHelper
  2. from util import YmlUtils
  3. import json
  4. if __name__=="__main__":
  5. content = YmlUtils.getConfigs()
  6. sql = MySqLHelper(content)
  7. res = sql.selectall("select id, name, code, description, create_user, create_time, update_user, update_time, mark from dsp_model_classification where mark = %s", 1)
  8. print(res)