IF(B1 = "法定节假日" AND B4 <> "邮箱" AND B4 <> "决策平台",IF(C1 >= 18,SQL("linux","select yw from DY_WORKORDER_ROTE where rote = '周内晚值班' and date_id='" + A1 + "'",1,1),SQL("linux","select yw from DY_WORKORDER_ROTE where date_id= '"+ A1 + "' ORDER BY RAND() LIMIT 1",1,1)),"罗淑雁")