| | |
| | | |
| | | private String name ; |
| | | |
| | | private String type ; |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | } |
| | |
| | | |
| | | private String name ; |
| | | |
| | | private String type ; |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | } |
| | |
| | | <select id="selectEmergencyPlanList" resultMap="pageResult"> |
| | | select id,`name`,`type`,`level`,release_date from emergency_plan where del_flag = 0 |
| | | <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> |
| | | </select> |
| | | |
| | | </mapper> |