修复路口管家巡检页面产品走查bug
This commit is contained in:
parent
f5236e2774
commit
6d9d880c4c
|
|
@ -47,7 +47,7 @@ class CrossDbHelper(TableDbHelperBase):
|
||||||
crossids = ','.join(["'" + str(item) + "'" for item in crossid_list])
|
crossids = ','.join(["'" + str(item) + "'" for item in crossid_list])
|
||||||
sql = """
|
sql = """
|
||||||
select * from cross_doctor_matedata.cross_phase_problems_record where crossid in (%s) and first_date <= '%s' and (end_date >= '%s' or end_date is null)
|
select * from cross_doctor_matedata.cross_phase_problems_record where crossid in (%s) and first_date <= '%s' and (end_date >= '%s' or end_date is null)
|
||||||
""" % (crossids, min_date, first_date)
|
""" % (crossids, first_date, min_date)
|
||||||
return self.do_select(sql)
|
return self.do_select(sql)
|
||||||
|
|
||||||
def query_cross_examine_records_nostarthm(self, first_date, crossid, end_date):
|
def query_cross_examine_records_nostarthm(self, first_date, crossid, end_date):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue