Authored by csgyoho

synnow-time-intToLong

... ... @@ -115,7 +115,7 @@ public class PublicUserAttention extends BaseEntity implements Serializable {
targetId = tblAttentionUser.getUidAttention();
status = 1;
attentionType = 1;
createTime = tblAttentionUser.getCreateTime()==null?System.currentTimeMillis():tblAttentionUser.getCreateTime()*1000;
createTime = tblAttentionUser.getCreateTime()==null?System.currentTimeMillis():tblAttentionUser.getCreateTime()*1000l;
authorType = 1;
srcChannel = 3;
}
... ...
... ... @@ -218,7 +218,7 @@ public class PublicUserComment extends BaseEntity implements Serializable {
this.auditStatus = 2;
this.toCommentId = null == parent ? null : parent.getId();
this.srcChannel = 3;
this.createTime = comment.getCreateTime() == null ? System.currentTimeMillis():comment.getCreateTime();
this.createTime = comment.getCreateTime() == null ? System.currentTimeMillis():comment.getCreateTime()*1000l;
this.relateId = comment.getId();
this.relateParentId = null == parent ? null : parent.getRelateId();
this.praiseNum = comment.getRealPraiseNum();
... ...