|
@@ -5,6 +5,7 @@
|
|
#include "CheckComboBoxWidget.h"
|
|
#include "CheckComboBoxWidget.h"
|
|
|
|
|
|
#include "charcode.h"
|
|
#include "charcode.h"
|
|
|
|
+#include "DebugUtil.h"
|
|
|
|
|
|
QX_REGISTER_CPP_USER(Airport)
|
|
QX_REGISTER_CPP_USER(Airport)
|
|
|
|
|
|
@@ -53,10 +54,10 @@ namespace qx {
|
|
pData->setDescription("是否删除");
|
|
pData->setDescription("是否删除");
|
|
pData->setPropertyBag("notShow",true);
|
|
pData->setPropertyBag("notShow",true);
|
|
pData->setPropertyBag("notInput",true);
|
|
pData->setPropertyBag("notInput",true);
|
|
- qx::QxSoftDelete SoftDelete;
|
|
|
|
- SoftDelete.setColumnName("ISDELETE");
|
|
|
|
- SoftDelete.setMode(qx::QxSoftDelete::mode_flag);
|
|
|
|
- t.setSoftDelete(SoftDelete);
|
|
|
|
|
|
+// qx::QxSoftDelete SoftDelete;
|
|
|
|
+// SoftDelete.setColumnName("ISDELETE");
|
|
|
|
+// SoftDelete.setMode(qx::QxSoftDelete::mode_flag);
|
|
|
|
+// t.setSoftDelete(SoftDelete);
|
|
|
|
|
|
pData = t.data(& Airport::m_IMPORTTIME, "IMPORTTIME", 0, true, true);
|
|
pData = t.data(& Airport::m_IMPORTTIME, "IMPORTTIME", 0, true, true);
|
|
pData->setDescription("更新时间");
|
|
pData->setDescription("更新时间");
|
|
@@ -113,3 +114,15 @@ void Airport::setIMPORTTIME(const QDateTime & val) { m_IMPORTTIME = val; }
|
|
|
|
|
|
void Airport::setNOTE(const QString & val) { m_NOTE = val; }
|
|
void Airport::setNOTE(const QString & val) { m_NOTE = val; }
|
|
|
|
|
|
|
|
+void Airport::onBeforeFetch(qx::dao::detail::IxDao_Helper *dao)
|
|
|
|
+{
|
|
|
|
+ qDebug() << "onBeforeFetch **********************";
|
|
|
|
+ Debug(dao->query().executedQuery());
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+void Airport::onAfterFetch(qx::dao::detail::IxDao_Helper *dao)
|
|
|
|
+{
|
|
|
|
+ qDebug() << "onAfterFetch **********************";
|
|
|
|
+ Debug(dao->query().executedQuery());
|
|
|
|
+}
|
|
|
|
+
|