|
|
|
@@ -4,12 +4,11 @@ |
|
|
|
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxQuestion"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id"/> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> |
|
|
|
<result column="sub_tenant_id" jdbcType="VARCHAR" property="subTenantId" /> |
|
|
|
<result column="content" jdbcType="VARCHAR" property="content"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`sub_tenant_id`,`content` |
|
|
|
`id`,`tenant_id`,`content` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -23,10 +22,6 @@ |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != subTenantId "> |
|
|
|
and `sub_tenant_id` = #{subTenantId} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != content "> |
|
|
|
and `content` = #{content} |
|
|
|
</if> |
|
|
|
|