记得上下班打卡 | git大法好,push需谨慎

Commit fc811e58 authored by GaoHu's avatar GaoHu

exit

parent 2d9d4972
package com.liquidnet.service.goblin.dto.manage;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.liquidnet.commons.lang.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
......
......@@ -65,7 +65,7 @@ public class GoblinMongoUtils {
criteria = criteria.and("skuName").is(goblinGoodsAnticipateValueParam.getName());
}
if (StringUtils.isNotBlank(goblinGoodsAnticipateValueParam.getCreatedDate())) {
LocalDateTime createDt = DateUtil.Formatter.yyyy_MM_dd.parse(goblinGoodsAnticipateValueParam.getCreatedDate());
LocalDateTime createDt = DateUtil.Formatter.yyyyMMddHHmmss.parse(goblinGoodsAnticipateValueParam.getCreatedDate());
LocalDateTime createdAtBegin = createDt.withHour(0).withMinute(0).withSecond(0).withNano(0);
LocalDateTime createdAtEnd = createDt.withHour(23).withMinute(59).withSecond(59).withNano(999);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment