总用的到,还总要百度查,索性记下来,直接找自己的记录吧。
String outboundDateEnd = "";
Timestamp scheduleOutboundDateEnd = condition.getScheduleOutboundDateEnd();
if(!CommonUtil.isEmpty(scheduleOutboundDateEnd)){
DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
outboundDateEnd = sdf.format(scheduleOutboundDateEnd);
}
Timestamp scheduleOutboundDateEnd = condition.getScheduleOutboundDateEnd();
if(!CommonUtil.isEmpty(scheduleOutboundDateEnd)){
DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
outboundDateEnd = sdf.format(scheduleOutboundDateEnd);
}