|
|
@@ -20,11 +20,12 @@ |
|
|
<result column="merchant_id" jdbcType="BIGINT" property="merchantId"/> |
|
|
<result column="merchant_id" jdbcType="BIGINT" property="merchantId"/> |
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/> |
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/> |
|
|
<result column="fees_id" jdbcType="BIGINT" property="feesId"/> |
|
|
<result column="fees_id" jdbcType="BIGINT" property="feesId"/> |
|
|
|
|
|
<result column="is_print" jdbcType="INTEGER" property="isPrint"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
<sql id="allColumns"> |
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`receive_money`,`set_off_money`,`use_money`,`status`,`type`,`money_detail`, |
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`receive_money`,`set_off_money`,`use_money`,`status`,`type`,`money_detail`, |
|
|
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`merchant_id`,`remark`,`feesId` |
|
|
|
|
|
|
|
|
`create_by`,`create_by_name`,`update_by`,`update_by_name`,`merchant_id`,`remark`,`feesId`,`is_print` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -42,6 +43,7 @@ |
|
|
<if test=" null != createTimeBegin ">and `create_time` >= #{createTimeBegin}</if> |
|
|
<if test=" null != createTimeBegin ">and `create_time` >= #{createTimeBegin}</if> |
|
|
<if test=" null != createTimeEnd ">and `create_time` <= #{createTimeEnd}</if> |
|
|
<if test=" null != createTimeEnd ">and `create_time` <= #{createTimeEnd}</if> |
|
|
<if test=" null != feesId ">and `fees_id` = #{feesId}</if> |
|
|
<if test=" null != feesId ">and `fees_id` = #{feesId}</if> |
|
|
|
|
|
<if test=" null != isPrint ">and `is_print` = #{isPrint}</if> |
|
|
<if test=" null != merchantIdList "> |
|
|
<if test=" null != merchantIdList "> |
|
|
and merchantId in |
|
|
and merchantId in |
|
|
<foreach collection="merchantIdList" index="index" item="midItem" open="(" separator="," close=")"> |
|
|
<foreach collection="merchantIdList" index="index" item="midItem" open="(" separator="," close=")"> |
|
|
|