|
|
|
@@ -4,7 +4,6 @@ |
|
|
|
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxMerchantBUser"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> |
|
|
|
<result column="b_user_id" jdbcType="BIGINT" property="bUserId" /> |
|
|
|
<result column="phone" jdbcType="VARCHAR" property="phone" /> |
|
|
|
<result column="b_user_pwd" jdbcType="VARCHAR" property="bUserPwd" /> |
|
|
|
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" /> |
|
|
|
@@ -18,7 +17,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`b_user_id`,`phone`,`b_user_pwd`,`merchant_id`,`create_date`,`update_date`,`app_id`,`token`,`expire_time`,`name`,`status` |
|
|
|
`id`,`tenant_id`,`phone`,`b_user_pwd`,`merchant_id`,`create_date`,`update_date`,`app_id`,`token`,`expire_time`,`name`,`status` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -32,12 +31,7 @@ |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != bUserId "> |
|
|
|
and `b_user_id` = #{bUserId} |
|
|
|
|
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != phone "> |
|
|
|
and `phone` = #{phone} |
|
|
|
|