Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -136,6 +136,10 @@ public class DbToProtoUtil { | ... | @@ -136,6 +136,10 @@ public class DbToProtoUtil { |
| 136 | protoBuilder.setSyncRoomNo(orderDb.getSyncRoomNo()); | 136 | protoBuilder.setSyncRoomNo(orderDb.getSyncRoomNo()); |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | + if (orderDb.getPayTime() != null) { | ||
| 140 | + protoBuilder.setPayTime((orderDb.getPayTime().toEpochSecond(ZoneOffset.UTC) * 1000)); | ||
| 141 | + } | ||
| 142 | + | ||
| 139 | // 处理嵌套的CustomerNotice字段 | 143 | // 处理嵌套的CustomerNotice字段 |
| 140 | if (orderDb.getCustomerNoticeJson()!= null) { | 144 | if (orderDb.getCustomerNoticeJson()!= null) { |
| 141 | // Constructor<CustomerNotice> customerNoticeConstructor = | 145 | // Constructor<CustomerNotice> customerNoticeConstructor = | ... | ... |
-
Please register or login to post a comment