Commit c30e1de0 by 周晓航

基础不会返回创建时间 自己new

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent bce9a2a5
...@@ -215,7 +215,13 @@ public class WeChatLiveMsgHandle { ...@@ -215,7 +215,13 @@ public class WeChatLiveMsgHandle {
OrderBeanV1 orderBean = createPrepayRequestDto.getProductOrderBean(); OrderBeanV1 orderBean = createPrepayRequestDto.getProductOrderBean();
Long gmtCreate = orderBean.getGmtCreate(); Long gmtCreate = orderBean.getGmtCreate();
requestVO.setCreate_time(DateUtil.convert2Str(new Date(gmtCreate), DateUtil.FORMAT_YYYY_MM_DD_HHMMSS)); Date createTime;
if (gmtCreate == null) {
createTime = new Date();
} else {
createTime = new Date(gmtCreate);
}
requestVO.setCreate_time(DateUtil.convert2Str(createTime, DateUtil.FORMAT_YYYY_MM_DD_HHMMSS));
requestVO.setOut_order_id(orderBean.getOid()); requestVO.setOut_order_id(orderBean.getOid());
requestVO.setOpenid(createPrepayRequestDto.getOpenId()); requestVO.setOpenid(createPrepayRequestDto.getOpenId());
......
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