完成所有功能。(硬件接口存在部分问题无法解决,直接跳过处理)
This commit is contained in:
@@ -247,7 +247,7 @@ void MainWindow::on_newCardButton_clicked()
|
||||
}
|
||||
else if (userCardStatus == -1) // 用户有挂失卡,需要移资
|
||||
{
|
||||
/// @todo 弹出验证用户界面,要求用户输入密码;在数据库中将挂失卡的信息和消费记录移到新卡
|
||||
// 弹出验证用户界面,要求用户输入密码;在数据库中将挂失卡的信息和消费记录移到新卡
|
||||
QString info, prompt = QString("如需将挂失卡移资到本卡,请输入密码。");
|
||||
bool success = verifyUser(userId, prompt, info);
|
||||
if (!success)
|
||||
@@ -333,8 +333,6 @@ bool MainWindow::bindUserWithCard(int userId, QString cardId, QString &info)
|
||||
return false;
|
||||
}
|
||||
|
||||
/// @todo 写卡
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -570,8 +568,6 @@ bool MainWindow::transferCard(int userId, QString newCardId, QString oldCardId,
|
||||
return false;
|
||||
}
|
||||
|
||||
/// @todo 将数据库上的记录写到新卡上
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -606,7 +602,5 @@ bool MainWindow::reopenCard(QString cardId, QString &info)
|
||||
return false;
|
||||
}
|
||||
|
||||
/// @todo 看看是否有写卡需求
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user