|
|
|
@@ -7,6 +7,7 @@ |
|
|
|
<result column="parent_tenant_id" jdbcType="VARCHAR" property="parentTenantId" /> |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/> |
|
|
|
<result column="receive_id" jdbcType="BIGINT" property="receiveId"/> |
|
|
|
<result column="bill_id" jdbcType="BIGINT" property="billId"/> |
|
|
|
<result column="bill_type" jdbcType="INTEGER" property="billType"/> |
|
|
|
<result column="fees_id" jdbcType="BIGINT" property="feesId"/> |
|
|
|
@@ -20,7 +21,7 @@ |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`bill_id`,`bill_type`,`fees_id`, |
|
|
|
`advance_id`,`setoff`,`merchant_id`,`starttime`,`endtime`,`is_del` |
|
|
|
`receive_id`,`advance_id`,`setoff`,`merchant_id`,`starttime`,`endtime`,`is_del` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -33,6 +34,7 @@ |
|
|
|
and `parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != billId ">and `bill_id` = #{billId}</if> |
|
|
|
<if test=" null != receiveId ">and `receive_id` = #{receiveId}</if> |
|
|
|
<if test=" null != billType ">and `bill_type` = #{billType}</if> |
|
|
|
<if test=" null != feesId ">and `fees_id` = #{feesId}</if> |
|
|
|
<if test=" null != advanceId ">and `advance_id` = #{advanceId}</if> |
|
|
|
|