Commit 8d3b1c83 by 丁伟峰

改用cn.hutool.core.date.LocalDateTimeUtil

1 parent d850ebba
......@@ -108,7 +108,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
entity.setExpectTimeEnd(LocalDateTimeUtil.parse(req.getExpectEnd(), PATTERN_DATETIME));
entity.setExpectTimeDesc(req.getExpectDesc());
entity.setDescription(req.getDescription());
entity.setDt(LocalDateTimeUtil.parseDate(req.getExpectBegin(), PATTERN_DATE));
entity.setDt(LocalDateTimeUtil.parseDate(req.getExpectBegin().substring(0, 10), PATTERN_DATE));
// location
LocationDTO location = req.getLocation();
entity.setProvince(location.getProvince());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!