自行建设,补充这部分功能,给出具体的表设计和代码实现,同云端服务端一起部署
This commit is contained in:
1 parent
cab8056412
commit
b3419aa389
15 files changed
+1369
-14
No files matched your search
@@ -106,6 +106,8 @@ public class RentalTasks {
|
||||
!= 0) {
|
||||
continue;
|
||||
}
|
||||
chain.prepareHistory(text(initial, "network"), owner,
|
||||
text(initial, "receiver_address"), type);
|
||||
Boolean assigned =
|
||||
tx(
|
||||
() -> {
|
||||
@@ -574,6 +576,7 @@ public class RentalTasks {
|
||||
}
|
||||
Map<String, Object> fields = new LinkedHashMap<>(proof);
|
||||
fields.remove("delivery_proven");
|
||||
fields.remove("history_proof");
|
||||
fields.put("evidence", orders.encode(proof));
|
||||
fields.put("confirmed_at", now());
|
||||
store.update("transaction", number(record, "id"), fields);
|
||||
|
||||
Reference in new issue
Block a user