|
|
|
@@ -25,12 +25,12 @@ |
|
|
|
<result column="fees_id" jdbcType="BIGINT" property="feesId"/> |
|
|
|
<result column="is_print" jdbcType="INTEGER" property="isPrint"/> |
|
|
|
<result column="is_finish" jdbcType="INTEGER" property="isFinish"/> |
|
|
|
<result column="parent_id" jdbcType="BIGINT" property="parentId"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`receive_date`,`receive_money`,`pay_money`,`set_off_money`,`cut_money`,`status`,`type`, |
|
|
|
`money_detail`,`create_by`,`create_by_name`,`update_by`,`update_by_name`,`merchant_id`,`rent_shop_type`,`remark`, |
|
|
|
`fees_id`,`is_print`,`is_finish` |
|
|
|
`money_detail`,`create_by`,`create_by_name`,`update_by`,`update_by_name`,`merchant_id`,`rent_shop_type`,`remark`,`fees_id`,`is_print`,`is_finish`,`parent_id` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -54,6 +54,7 @@ |
|
|
|
<if test=" null != rentShopType ">and `rent_shop_type` = #{rentShopType}</if> |
|
|
|
<if test=" null != isPrint ">and `is_print` = #{isPrint}</if> |
|
|
|
<if test=" null != isFinish ">and `is_finish` = #{isFinish}</if> |
|
|
|
<if test=" null != parentId ">and `parent_id` = #{parentId}</if> |
|
|
|
<if test=" null != merchantIdList "> |
|
|
|
and merchant_id in |
|
|
|
<foreach collection="merchantIdList" index="index" item="midItem" open="(" separator="," close=")"> |
|
|
|
|