怎么会变成四个参数呀,重复了,请教下,这个怎么写成一致的SELECT ${=if(MONTH(START_DATE)=MONTH(END_DATE),(day(END_DATE)-day(START_DATE))/DAYSOFMONTH(START_DATE)*26,(DAYSOFMONTH(START_DATE)-day(START_DATE)+1)/DAYSOFMONTH(START_DATE)*26+(day(END_DATE)-day(DATEINMONTH(END_DATE,1))+1)/DAYSOFMONTH(END_DATE)*25)}, a.DEPARTMENT_ID, b.DEPARTMENT_NAME,--SUM ( SaleNum ) SaleNum, SUM ( a.EAT_SALEMONEY ) '外带折前总营收'FROM . a, ORG_DEPARTMENT b WHERE a.DEPARTMENT_ID= b.DEPARTMENT_ID AND a.RPT_DATE BETWEEN '${START_DATE}' AND '${END_DATE}' AND a.CHANNEL_ID IN ( SELECT CHANNEL_ID FROM . WHERE Eat_ParentID = '1a5b440b-1b8a-42fe-9103-a0caca80f0f0' AND STATUS = '1' ) AND a.Eat_XFBMID NOT IN ( SELECT Eat_XFBMID FROM . WHERE Eat_XFName LIKE '%端午礼盒22%' OR Eat_XFName LIKE '%端午礼包22%' OR Eat_XFName = '粽子礼盒180元' ) GROUP BY a.DEPARTMENT_ID,b.DEPARTMENT_NAME