songhuangfeng123
2022-08-04 b99464b1449c1abec269bc247ee69b016753d598
emergency/emergency-service/src/main/resource/config/mapper/emergency/EmergencyPlanInfoMapper.xml
@@ -11,10 +11,11 @@
        <result column="type" property="type"/>
        <result column="level" property="level"/>
        <result column="release_date" property="releaseDate"/>
        <result column="author_name" property="authorName"/>
    </resultMap>
    <select id="selectEmergencyPlanList" resultMap="emergencyPlanInfoPageDOResult">
        select id,`name`,`status`,`type`,`level`,release_date from emergency_plan
        select id,`name`,`status`,`type`,`level`,release_date,author_name from emergency_plan
        where del_flag = 0 and abolish_status = #{query.abolishStatus}
        <if test="query.name != null  and query.name != ''">and `name` like concat('%', #{query.name}, '%')</if>
        <if test="query.type != null  and query.type != ''">and `type` = #{query.type}</if>