Showing
1 changed file
with
6 additions
and
1 deletions
@@ -120,7 +120,12 @@ public class TradeBillsServiceImpl implements ITradeBillsService { | @@ -120,7 +120,12 @@ public class TradeBillsServiceImpl implements ITradeBillsService { | ||
120 | resp.setValidStatus(item.getValidStatus()); | 120 | resp.setValidStatus(item.getValidStatus()); |
121 | resp.setValidStatusDesc(StoredSellerStatusEnum.getDescriptionByCode(item.getValidStatus())); | 121 | resp.setValidStatusDesc(StoredSellerStatusEnum.getDescriptionByCode(item.getValidStatus())); |
122 | resp.setMobile(getMobileByUidFromCache(item.getUid())); | 122 | resp.setMobile(getMobileByUidFromCache(item.getUid())); |
123 | - resp.setEnterTime(1000L * item.getEnterTime()); | 123 | + // 之前fore项目有bug,导致enterTime被更新成0了,如果为0,则去createTime作为入驻时间 |
124 | + if(item.getEnterTime()==0){ | ||
125 | + resp.setEnterTime(1000L * item.getCreateTime()); | ||
126 | + }else { | ||
127 | + resp.setEnterTime(1000L * item.getEnterTime()); | ||
128 | + } | ||
124 | resp.setQuitTime(1000L * item.getQuitTime()); | 129 | resp.setQuitTime(1000L * item.getQuitTime()); |
125 | // 身份等级 | 130 | // 身份等级 |
126 | resp.setEntryType(item.getEntryType()); | 131 | resp.setEntryType(item.getEntryType()); |
-
Please register or login to post a comment