public static long getStampToDay(Calendar cal,int dateT){
        if(dateT!=0){
            cal.set(Calendar.DATE, dateT);
        }
        return cal.getTimeInMillis();
    }
@param cal  Calendar
@param dateT Integer
@return  long
core/src/main/java/com/dtstack/flink/sql/util/DateUtil.java