SELECT <includerefid="Base_Column_List"></include> FROM Z_ABNORMAL_MESSAGE
SELECT <includerefid="Base_Column_List"></include> FROM Z_MESSAGE
<where>
<iftest="ew.entity.handle!=null">
HANDLE=#{ew.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -76,7 +76,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -86,7 +86,7 @@
</select>
<selectid="selectCount"resultType="Integer">
SELECT COUNT(1) FROM Z_ABNORMAL_MESSAGE
SELECT COUNT(1) FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -94,7 +94,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -106,7 +106,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -124,7 +124,7 @@
</select>
<selectid="selectList"resultMap="BaseResultMap">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_MESSAGE
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -132,7 +132,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -144,7 +144,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -162,7 +162,7 @@
</select>
<selectid="selectMaps"resultType="HashMap">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_MESSAGE
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -170,7 +170,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -182,7 +182,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -200,7 +200,7 @@
</select>
<selectid="selectObjs"resultType="Object">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_MESSAGE
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -208,7 +208,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -220,7 +220,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -238,7 +238,7 @@
</select>
<selectid="selectPage"resultMap="BaseResultMap">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_MESSAGE
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -246,7 +246,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -258,7 +258,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
@ -276,7 +276,7 @@
</select>
<selectid="selectMapsPage"resultType="HashMap">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_MESSAGE
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_MESSAGE
<where>
<iftest="ew!=null">
<iftest="ew.entity!=null">
@ -284,7 +284,7 @@
HANDLE=#{ew.entity.handle}
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.abnormalBillBo!=null"> AND ABNORMAL_BILL_BO=#{ew.entity.abnormalBillBo}</if>
<iftest="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
<iftest="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
<iftest="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
<iftest="ew.entity.sendUserGroup!=null"> AND SEND_USER_GROUP=#{ew.entity.sendUserGroup}</if>
@ -296,7 +296,7 @@
<iftest="ew.entity.upDateTime!=null"> AND UP_DATE_TIME=#{ew.entity.upDateTime}</if>
<iftest="ew.entity.grade!=null"> AND GRADE=#{ew.entity.grade}</if>
<iftest="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
<iftest="ew.entity.abnormalNode!=null"> AND ABNORMAL_NODE=#{ew.entity.abnormalNode}</if>
<iftest="ew.entity.node!=null"> AND NODE=#{ew.entity.node}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>