isExist method
Implementation
Future<bool> isExist(String clientMsgNo) async {
bool isExist = false;
if (WKDBHelper.shared.getDB() == null) {
return isExist;
}
List<Map<String, Object?>> list = await WKDBHelper.shared.getDB()!.query(
WKDBConst.tableMessage,
where: "client_msg_no=?",
whereArgs: [clientMsgNo]);
if (list.isNotEmpty) {
isExist = true;
}
return isExist;
}