feat:消费机支付卡顿的问题
This commit is contained in:
1 parent
531815517a
commit
6ec171d262
21 files changed
+1470
-98
No files matched your search
@@ -1820,6 +1820,17 @@ class _$UserDao extends UserDao {
|
||||
await _queryAdapter.queryNoReturn('DELETE FROM user_record');
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> updateDiscounts(
|
||||
String userId,
|
||||
String rulesJson,
|
||||
DateTime updatedAt,
|
||||
) async {
|
||||
await _queryAdapter.queryNoReturn(
|
||||
'UPDATE user_record SET discountsList = ?2, discountsUpdateTime = ?3 WHERE userId = ?1',
|
||||
arguments: [userId, rulesJson, _dateTimeConverter.encode(updatedAt)]);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<int?> findCount(String keyword) async {
|
||||
return _queryAdapter.query(
|
||||
|
||||
Reference in new issue
Block a user