dingxin_toolbox
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.

14 lines
584 B

GET_DEPLOY_CLIENT_INFO = """SELECT cdl.version_full as full_version,
cdl.version_revise as sub_version
FROM client_deploy_log cdl
WHERE publish_type = '通用'
AND id > 162
AND SUBSTRING(cdl.version_full, 1, 10) = %s
ORDER BY sub_version DESC LIMIT 1;"""
GET_NEW_DEPLOY_CLIENT_INFO = """
SELECT id, version_full, version_revise, zip_full_name, zip_md5
FROM client_deploy_log
WHERE publish_type = '通用'
AND id > %s; \
"""