Browse Source

[微信第三方开放平台][修复]:异常修复

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
d0228c9231
2 changed files with 4 additions and 16 deletions
  1. +2
    -10
      mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml
  2. +2
    -6
      mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml

+ 2
- 10
mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml View File

@@ -3,8 +3,6 @@
<mapper namespace="com.iformall.mapper.WxAuthorizerInfoMapper">
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxAuthorizerInfo">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="official_account_id" jdbcType="BIGINT" property="officialAccountId" />
<result column="authorizer_appid" jdbcType="VARCHAR" property="authorizerAppid" />
<result column="head_img" jdbcType="VARCHAR" property="headImg" />
<result column="alias" jdbcType="VARCHAR" property="alias" />
@@ -14,20 +12,14 @@
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`official_account_id`,`authorizer_appid`,`head_img`,`alias`,`qrcode_url`,`create_time`,`authorization_status`
`id`,`authorizer_appid`,`head_img`,`alias`,`qrcode_url`,`create_time`,`authorization_status`
</sql>

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != officialAccountId ">
and `official_account_id` = #{officialAccountId}
</if>
</if>
<if test=" null != authorizerAppid ">
and `authorizer_appid` like concat('%', #{authorizerAppid},'%')
</if>


+ 2
- 6
mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml View File

@@ -3,7 +3,6 @@
<mapper namespace="com.iformall.mapper.WxComponentVerifyTicketMapper">
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxComponentVerifyTicket">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="component_appid" jdbcType="VARCHAR" property="componentAppid" />
<result column="component_verify_ticket" jdbcType="VARCHAR" property="componentVerifyTicket" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
@@ -11,17 +10,14 @@
</resultMap>
<sql id="allColumns">
`id`,`tenant_id`,`component_appid`,`component_verify_ticket`,`create_time`,`deadline`
`id`,`component_appid`,`component_verify_ticket`,`create_time`,`deadline`
</sql>

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
</if>
<if test=" null != componentAppid ">
and `component_appid` like concat('%', #{componentAppid},'%')
</if>


Loading…
Cancel
Save