|
|
|
@@ -50,13 +50,14 @@ |
|
|
|
|
|
|
|
<result column="create_from" jdbcType="INTEGER" property="createFrom"/> |
|
|
|
<result column="create_from_id" jdbcType="VARCHAR" property="createFromId"/> |
|
|
|
<result column="create_from_data" jdbcType="VARCHAR" property="createFromData"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
m.`id`,m.`tenant_id`,m.`parent_tenant_id`,m.`img_url`,m.`name`,m.`encode`,m.`link_phone`,m.`create_date`,m.`update_date`,m.`car_vendor_type`,m.`car_params`,m.`status`,m.`link_person`, |
|
|
|
m.`business_id`,m.`business_types`,m.`sub_business_id`,m.`shop_type`,m.`brand`,m.`is_public`,m.`is_private`,m.email,m.`title`,m.`cover_picture`,m.`is_admin`,m.`bill_setting`,m.`qr_code`,m.`tt_qr_code`, |
|
|
|
m.`introduction`,m.`action_desc`,m.`mark`,m.mark_time,m.`is_del`,m.`talk_user_main`,m.`talk_user_aux`,m.link_line_phone,m.search_card_by_phone,m.credit_locked,m.credit_locked,m.entry_amount,m.cash_out_count, |
|
|
|
m.cash_out_last_time,m.create_from,m.create_from_id |
|
|
|
m.cash_out_last_time,m.create_from,m.create_from_id,m.create_from_data |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -177,6 +178,10 @@ |
|
|
|
and m.`create_from_id` = #{createFromId} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != createFromData and '' != createFromData"> |
|
|
|
and m.`create_from_data` = #{createFromData} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != searchKey and '' != searchKey "> |
|
|
|
and (m.`name` like concat('%', #{searchKey},'%') or m.`link_phone` like concat('%', #{searchKey},'%')) |
|
|
|
</if> |
|
|
|
|