Bete dass was funkt

This commit is contained in:
AJ
2024-07-08 18:06:57 +02:00
parent 2df47779c3
commit ba4ab0a580
3 changed files with 108 additions and 42 deletions

View File

@@ -44,7 +44,7 @@ void DBPlan::vertretung(std::string tag, std::string stunde) {
response = worker.exec_params(query0, prevStunde, prevTag);
worker.commit();
std::cout << response.size() << std::endl;
fmt::print("{0}\n",response.size());
if (response.size() != 0) {
i = 0;
break;

View File

@@ -6,6 +6,8 @@
#include "../DBHandler/DBHandler.hpp"
class DBPlan : public DBHandler {
private:
//Functions needed for creation and updating of the plan
@@ -42,7 +44,7 @@ public:
*
* @param id
*/
void meldeGesund(std::string tag, std::string stunde);
//void meldeGesund(std::string tag, std::string stunde);
/**
* @brief Deletes Veranstaltung from relation Veranstaltung and from Einsatzplan
@@ -105,5 +107,7 @@ public:
*
* @return std::vector<std::string>
*/
std::vector<std::string> getPlan( );
};