| | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventResourceMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventResourceDO"> |
| | | <result property="classification" column="classification"/> |
| | | <result property="id" column="id"/> |
| | | <result property="classification" column="classification"/> |
| | | <result property="refId" column="ref_id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="resourceName" column="resource_name"/> |
| | | <result property="resourceSize" column="resource_size"/> |
| | |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | classification,id,type,resource_name,resource_size,url,create_by,create_at |
| | | id,classification,ref_id,type,resource_name,resource_size,url,create_by,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | |
| | | <if test="pageEventResourceDTO.id!=null"> |
| | | AND id = #{pageEventResourceDTO.id} |
| | | </if> |
| | | <if test="pageEventResourceDTO.refId!=null"> |
| | | AND ref_id = #{pageEventResourceDTO.refId} |
| | | </if> |
| | | <if test="pageEventResourceDTO.type!=null"> |
| | | AND type = #{pageEventResourceDTO.type} |
| | | </if> |