void Model_Shareinfo::RemoveShareEntry(const int checking_id) { Data_Set list = ShareList(checking_id); if (!list.empty()) { Model_Shareinfo::instance().remove(list.at(0).SHAREINFOID); } }
Model_Shareinfo::Data* Model_Shareinfo::ShareEntry(const int checking_id) { Data_Set list = Model_Shareinfo::ShareList(checking_id); if (!list.empty()) { return Model_Shareinfo::instance().get(list.at(0).SHAREINFOID); } return NULL; }