|
|
|
@@ -10,15 +10,15 @@ |
|
|
|
<result column="logo" jdbcType="VARCHAR" property="logo"/> |
|
|
|
<result column="summary" jdbcType="VARCHAR" property="summary"/> |
|
|
|
<result column="createdate" jdbcType="TIMESTAMP" property="createdate"/> |
|
|
|
|
|
|
|
<result column="is_del" property="isDel"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`name`,`createtime`,`updatetime`,`tenant_id`,`logo`,`summary`,`createdate` |
|
|
|
`id`,`name`,`createtime`,`updatetime`,`tenant_id`,`logo`,`summary`,`createdate`,is_del |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
where 1 = 1 |
|
|
|
where is_del = 0 |
|
|
|
<if test=" null != id "> and `id` = #{id} </if> |
|
|
|
<if test=" null != name "> and `name` like concat('%',#{name},'%') </if> |
|
|
|
<if test=" null != createtime "> and `createtime` = #{createtime} </if> |
|
|
|
|