<!-- WARNING - @mbggenerated This element is automatically generated by
MyBatis Generator, do not modify. -->
SELECT
iAutoId as "iautoid",
iUserNumber as "iusernumber",
iAmount as "amount"
FROM
t_present_audit
where 1=1
<if test="iUserNumber != null and '' != iUserNumber">
<![CDATA[
AND iUserNumber = #{iUserNumber}
]]>
</if>
<if test="iAuditStatus != null and '' != iAuditStatus">
<![CDATA[
AND iAuditStatus = #{iAuditStatus}
]]>
</if>
<if test="createdBegintime!=null and createdBegintime!=''">
AND iDataTime >= #{createdBegintime}
</if>
<!-- 查詢條件:創建結束時間 -->
<if test="createdEndtime!=null and createdEndtime!=''">
AND iDataTime <= #{createdEndtime}
</if>
</select>