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