|
|
|
@@ -3,7 +3,6 @@ |
|
|
|
<mapper namespace="com.simple.mapper.WxBusinessMapper"> |
|
|
|
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBusiness"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> |
|
|
|
<result column="title" jdbcType="VARCHAR" property="title" /> |
|
|
|
<result column="type" jdbcType="INTEGER" property="type" /> |
|
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> |
|
|
|
@@ -18,33 +17,27 @@ |
|
|
|
where 1 = 1 |
|
|
|
|
|
|
|
<if test=" null != id "> |
|
|
|
and `id` = #{id} |
|
|
|
|
|
|
|
and `id` = #{id} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != tenantId "> |
|
|
|
and `tenant_id` like concat('%', #{tenantId},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != title "> |
|
|
|
and `title` like concat('%', #{title},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != type "> |
|
|
|
and `type` = #{type} |
|
|
|
|
|
|
|
and `type` = #{type} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != createDate "> |
|
|
|
and `create_date` = #{createDate} |
|
|
|
|
|
|
|
and `create_date` = #{createDate} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != updateDate "> |
|
|
|
and `update_date` = #{updateDate} |
|
|
|
|
|
|
|
and `update_date` = #{updateDate} |
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
|