fix:关闭广布bug

This commit is contained in:
dzc committed 2025-05-13 18:13:43 +08:00
1 parent 273759a549
commit d309b9fcbc
7 files changed
+60 -20

No files matched your search

+3 -3
View File
@@ -277,10 +277,10 @@ class _$BroadcastDao extends BroadcastDao {
final UpdateAdapter<BroadcastEntity> _broadcastEntityUpdateAdapter;
@override
Future<void> del(String serviceCode) async {
Future<void> del(String serviceOrderCode) async {
await _queryAdapter.queryNoReturn(
'DELETE FROM broadcast WHERE isDone = 0 AND (?1 = \'-1\' OR serviceCode = ?1)',
arguments: [serviceCode]);
'DELETE FROM broadcast WHERE isDone = 0 AND (?1 = \'-1\' OR serviceOrderCode = ?1)',
arguments: [serviceOrderCode]);
}
@override