CeDo
2021-05-27 bb1b8101a3b31a03cae378bfcb16f4576f154647
springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/mapper/EventResourceMapper.xml
@@ -5,8 +5,9 @@
<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"/>
@@ -17,7 +18,7 @@
   <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>
@@ -33,6 +34,9 @@
          <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>