|
|
|
@@ -44,7 +44,7 @@ |
|
|
|
<result column="cash_out_limit" jdbcType="INTEGER" property="cashOutLimit"/> |
|
|
|
<result column="alipay_app_auth_token" jdbcType="VARCHAR" property="alipayAppAuthToken"/> |
|
|
|
<result column="alipay_member_template_id" jdbcType="VARCHAR" property="alipayMemberTemplateId"/> |
|
|
|
|
|
|
|
<result column="ali_mall_id" jdbcType="VARCHAR" property="aliMallId"/> |
|
|
|
|
|
|
|
<result column="admin_id" jdbcType="BIGINT" property="adminId"/> |
|
|
|
<result column="admin_name" jdbcType="VARCHAR" property="adminName"/> |
|
|
|
@@ -61,7 +61,7 @@ |
|
|
|
`weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`, |
|
|
|
`sale_type`, `valid_start`, `valid_end`,`business_hours`,`introduction`,`img`, |
|
|
|
`latitude`,`longitude`,`default_sign`,`group_support`,`live_support`,`use_card_by_search_phone`, |
|
|
|
`cash_out_support`,`cash_out_limit`,`alipay_app_auth_token`,`alipay_member_template_id` |
|
|
|
`cash_out_support`,`cash_out_limit`,`alipay_app_auth_token`,`alipay_member_template_id`,`ali_mall_id` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -149,6 +149,10 @@ |
|
|
|
<if test=" null != groupSupport "> |
|
|
|
and `group_support` = #{groupSupport} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != aliMallId "> |
|
|
|
and `ali_mall_id` = #{aliMallId} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != tenantIdList "> |
|
|
|
and tenant_id in |
|
|
|
@@ -196,6 +200,13 @@ |
|
|
|
from wx_mall |
|
|
|
where `tenant_id` = #{value} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getByAliMallId" parameterType="string" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
<include refid="allColumns"/> |
|
|
|
from wx_mall |
|
|
|
where `ali_mall_id` = #{aliMallId} |
|
|
|
</select> |
|
|
|
<select id="getByTenantInfo" parameterType="com.iformall.domain.po.base.TenantEntity" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
<include refid="allColumns"/> |
|
|
|
|