SELECT DISTINCT b.ainf_place FROM DY_WORKORDER_DETAIL a JOIN DY_WORKORDER_DETAIL_ainf b ON a.id = b.ainf_id WHERE WHERE b.ainf_start_time between '${date}' and '${date1}' and a.question = '甲方检查' and b.place in ('${place}')
yzmXrTpA3762457(提问者) 回复 weibwSELECT DISTINCT b.ainf_place FROM DY_WORKORDER_DETAIL a JOIN DY_WORKORDER_DETAIL_ainf b ON a.id = b.ainf_id WHERE WHERE b.ainf_start_time between \'${date}\' and \'${date1}\'and b.place in \"(\'\" + \'${place}\' + \"\')\" and a.question = \'甲方检查\'