|
|
@@ -9,12 +9,12 @@ |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
<sql id="allColumns"> |
|
|
`id`,`tenant_id`,`channel_id`,`title`,`img` |
|
|
|
|
|
|
|
|
`id`,`channel_id`,`title`,`img` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
|
where 1 = 1 |
|
|
where 1 = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != id "> |
|
|
<if test=" null != id "> |
|
|
and `id` = #{id} |
|
|
and `id` = #{id} |
|
|
</if> |
|
|
</if> |
|
|
|