Commit e5a86be6 by 黄静

hj

parent 0631dd0b
......@@ -27,11 +27,11 @@ class qualificationsDao:
if industry_one_code in (25, 28, 36, 37) or industry_two_code in (
2716, 3041, 3042, 3043, 3044, 3045, 3258, 3476):
return self.dataBase.sqlResult(
"SELECT * FROM `ent_qualification` WHERE platform_code = '%s' and store_type_code = '%s' and industry_one_code = '%s' and industry_two_code = '%s'" % (
"SELECT * FROM `ent_qualification` WHERE platform_code = '%s' and store_type_code = '%s' and industry_one_code = '%s' and industry_two_code = '%s' AND enter_label != '0'" % (
platform_code,store_type_code, industry_one_code, industry_two_code))
else:
return self.dataBase.sqlResult(
"SELECT * FROM `ent_qualification` WHERE platform_code = '%s' and export_label = '%s' AND store_type_code = '%s' and industry_one_code = '%s' and industry_two_code = '%s'" % (
"SELECT * FROM `ent_qualification` WHERE platform_code = '%s' and export_label = '%s' AND store_type_code = '%s' and industry_one_code = '%s' and industry_two_code = '%s' AND enter_label != '0'" % (
platform_code,export_label, store_type_code, industry_one_code, industry_two_code))
def selectQualificationsUse(self, platform_code,export_label, store_type_code, industry_one_code, industry_two_code):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment