Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

mysqltest.py 360B

2 år sedan
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)