Kaynağa Gözat

瓦斯爆炸接口

huangxingxing 1 yıl önce
ebeveyn
işleme
03aa4e0184

+ 142 - 0
modelsrc/com/miniframe/model/system/DGas.java

@@ -0,0 +1,142 @@
+package com.miniframe.model.system;
+
+import com.miniframe.system.MiniserviceBaseModel;
+import java.io.Serializable;
+import javax.persistence.*;
+
+@Table(name = "d_gas")
+public class DGas extends MiniserviceBaseModel implements Serializable {
+    @Id
+    private Integer id;
+
+    /**
+     * 事故id
+     */
+    private Integer aid;
+
+    /**
+     * 网格文件ID
+     */
+    private String gfid;
+
+    /**
+     * 网格文件名称
+     */
+    private String gfname;
+
+    /**
+     * 边界文件ID
+     */
+    private String bfid;
+
+    /**
+     * 边界文件名称
+     */
+    private String bfname;
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * @return id
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * @param id
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * 获取事故id
+     *
+     * @return aid - 事故id
+     */
+    public Integer getAid() {
+        return aid;
+    }
+
+    /**
+     * 设置事故id
+     *
+     * @param aid 事故id
+     */
+    public void setAid(Integer aid) {
+        this.aid = aid;
+    }
+
+    /**
+     * 获取网格文件ID
+     *
+     * @return gfid - 网格文件ID
+     */
+    public String getGfid() {
+        return gfid;
+    }
+
+    /**
+     * 设置网格文件ID
+     *
+     * @param gfid 网格文件ID
+     */
+    public void setGfid(String gfid) {
+        this.gfid = gfid == null ? null : gfid.trim();
+    }
+
+    /**
+     * 获取网格文件名称
+     *
+     * @return gfname - 网格文件名称
+     */
+    public String getGfname() {
+        return gfname;
+    }
+
+    /**
+     * 设置网格文件名称
+     *
+     * @param gfname 网格文件名称
+     */
+    public void setGfname(String gfname) {
+        this.gfname = gfname == null ? null : gfname.trim();
+    }
+
+    /**
+     * 获取边界文件ID
+     *
+     * @return bfid - 边界文件ID
+     */
+    public String getBfid() {
+        return bfid;
+    }
+
+    /**
+     * 设置边界文件ID
+     *
+     * @param bfid 边界文件ID
+     */
+    public void setBfid(String bfid) {
+        this.bfid = bfid == null ? null : bfid.trim();
+    }
+
+    /**
+     * 获取边界文件名称
+     *
+     * @return bfname - 边界文件名称
+     */
+    public String getBfname() {
+        return bfname;
+    }
+
+    /**
+     * 设置边界文件名称
+     *
+     * @param bfname 边界文件名称
+     */
+    public void setBfname(String bfname) {
+        this.bfname = bfname == null ? null : bfname.trim();
+    }
+}

+ 165 - 0
modelsrc/com/miniframe/model/system/DGasBlastArea.java

@@ -0,0 +1,165 @@
+package com.miniframe.model.system;
+
+import com.miniframe.system.MiniserviceBaseModel;
+import java.io.Serializable;
+import javax.persistence.*;
+
+@Table(name = "d_gas_blast_area")
+public class DGasBlastArea extends MiniserviceBaseModel implements Serializable {
+    @Id
+    private Integer id;
+
+    /**
+     * 事故id
+     */
+    private Integer aid;
+
+    /**
+     * 瓦斯文件Id
+     */
+    private Integer gid;
+
+    /**
+     * 管道ID
+     */
+    private Integer pid;
+
+    /**
+     * 管道名称
+     */
+    private String pname;
+
+    /**
+     * 开始位置
+     */
+    private Float ssite;
+
+    /**
+     * 结束位置
+     */
+    private Float esite;
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * @return id
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * @param id
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * 获取事故id
+     *
+     * @return aid - 事故id
+     */
+    public Integer getAid() {
+        return aid;
+    }
+
+    /**
+     * 设置事故id
+     *
+     * @param aid 事故id
+     */
+    public void setAid(Integer aid) {
+        this.aid = aid;
+    }
+
+    /**
+     * 获取瓦斯文件Id
+     *
+     * @return gid - 瓦斯文件Id
+     */
+    public Integer getGid() {
+        return gid;
+    }
+
+    /**
+     * 设置瓦斯文件Id
+     *
+     * @param gid 瓦斯文件Id
+     */
+    public void setGid(Integer gid) {
+        this.gid = gid;
+    }
+
+    /**
+     * 获取管道ID
+     *
+     * @return pid - 管道ID
+     */
+    public Integer getPid() {
+        return pid;
+    }
+
+    /**
+     * 设置管道ID
+     *
+     * @param pid 管道ID
+     */
+    public void setPid(Integer pid) {
+        this.pid = pid;
+    }
+
+    /**
+     * 获取管道名称
+     *
+     * @return pname - 管道名称
+     */
+    public String getPname() {
+        return pname;
+    }
+
+    /**
+     * 设置管道名称
+     *
+     * @param pname 管道名称
+     */
+    public void setPname(String pname) {
+        this.pname = pname == null ? null : pname.trim();
+    }
+
+    /**
+     * 获取开始位置
+     *
+     * @return ssite - 开始位置
+     */
+    public Float getSsite() {
+        return ssite;
+    }
+
+    /**
+     * 设置开始位置
+     *
+     * @param ssite 开始位置
+     */
+    public void setSsite(Float ssite) {
+        this.ssite = ssite;
+    }
+
+    /**
+     * 获取结束位置
+     *
+     * @return esite - 结束位置
+     */
+    public Float getEsite() {
+        return esite;
+    }
+
+    /**
+     * 设置结束位置
+     *
+     * @param esite 结束位置
+     */
+    public void setEsite(Float esite) {
+        this.esite = esite;
+    }
+}

+ 630 - 0
modelsrc/com/miniframe/model/system/DGasBlastAreaSQLBuilder.java

@@ -0,0 +1,630 @@
+package com.miniframe.model.system;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class DGasBlastAreaSQLBuilder {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public DGasBlastAreaSQLBuilder() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNull() {
+            addCriterion("aid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNotNull() {
+            addCriterion("aid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidEqualTo(Integer value) {
+            addCriterion("aid =", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotEqualTo(Integer value) {
+            addCriterion("aid <>", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThan(Integer value) {
+            addCriterion("aid >", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("aid >=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThan(Integer value) {
+            addCriterion("aid <", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThanOrEqualTo(Integer value) {
+            addCriterion("aid <=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIn(List<Integer> values) {
+            addCriterion("aid in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotIn(List<Integer> values) {
+            addCriterion("aid not in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidBetween(Integer value1, Integer value2) {
+            addCriterion("aid between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotBetween(Integer value1, Integer value2) {
+            addCriterion("aid not between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIsNull() {
+            addCriterion("gid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIsNotNull() {
+            addCriterion("gid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidEqualTo(Integer value) {
+            addCriterion("gid =", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotEqualTo(Integer value) {
+            addCriterion("gid <>", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidGreaterThan(Integer value) {
+            addCriterion("gid >", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("gid >=", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidLessThan(Integer value) {
+            addCriterion("gid <", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidLessThanOrEqualTo(Integer value) {
+            addCriterion("gid <=", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIn(List<Integer> values) {
+            addCriterion("gid in", values, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotIn(List<Integer> values) {
+            addCriterion("gid not in", values, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidBetween(Integer value1, Integer value2) {
+            addCriterion("gid between", value1, value2, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotBetween(Integer value1, Integer value2) {
+            addCriterion("gid not between", value1, value2, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidIsNull() {
+            addCriterion("pid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidIsNotNull() {
+            addCriterion("pid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidEqualTo(Integer value) {
+            addCriterion("pid =", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidNotEqualTo(Integer value) {
+            addCriterion("pid <>", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidGreaterThan(Integer value) {
+            addCriterion("pid >", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pid >=", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidLessThan(Integer value) {
+            addCriterion("pid <", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidLessThanOrEqualTo(Integer value) {
+            addCriterion("pid <=", value, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidIn(List<Integer> values) {
+            addCriterion("pid in", values, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidNotIn(List<Integer> values) {
+            addCriterion("pid not in", values, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidBetween(Integer value1, Integer value2) {
+            addCriterion("pid between", value1, value2, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPidNotBetween(Integer value1, Integer value2) {
+            addCriterion("pid not between", value1, value2, "pid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameIsNull() {
+            addCriterion("pname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameIsNotNull() {
+            addCriterion("pname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameEqualTo(String value) {
+            addCriterion("pname =", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameNotEqualTo(String value) {
+            addCriterion("pname <>", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameGreaterThan(String value) {
+            addCriterion("pname >", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameGreaterThanOrEqualTo(String value) {
+            addCriterion("pname >=", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameLessThan(String value) {
+            addCriterion("pname <", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameLessThanOrEqualTo(String value) {
+            addCriterion("pname <=", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameLike(String value) {
+            addCriterion("pname like", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameNotLike(String value) {
+            addCriterion("pname not like", value, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameIn(List<String> values) {
+            addCriterion("pname in", values, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameNotIn(List<String> values) {
+            addCriterion("pname not in", values, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameBetween(String value1, String value2) {
+            addCriterion("pname between", value1, value2, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPnameNotBetween(String value1, String value2) {
+            addCriterion("pname not between", value1, value2, "pname");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteIsNull() {
+            addCriterion("ssite is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteIsNotNull() {
+            addCriterion("ssite is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteEqualTo(Float value) {
+            addCriterion("ssite =", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteNotEqualTo(Float value) {
+            addCriterion("ssite <>", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteGreaterThan(Float value) {
+            addCriterion("ssite >", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteGreaterThanOrEqualTo(Float value) {
+            addCriterion("ssite >=", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteLessThan(Float value) {
+            addCriterion("ssite <", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteLessThanOrEqualTo(Float value) {
+            addCriterion("ssite <=", value, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteIn(List<Float> values) {
+            addCriterion("ssite in", values, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteNotIn(List<Float> values) {
+            addCriterion("ssite not in", values, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteBetween(Float value1, Float value2) {
+            addCriterion("ssite between", value1, value2, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andSsiteNotBetween(Float value1, Float value2) {
+            addCriterion("ssite not between", value1, value2, "ssite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteIsNull() {
+            addCriterion("esite is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteIsNotNull() {
+            addCriterion("esite is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteEqualTo(Float value) {
+            addCriterion("esite =", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteNotEqualTo(Float value) {
+            addCriterion("esite <>", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteGreaterThan(Float value) {
+            addCriterion("esite >", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteGreaterThanOrEqualTo(Float value) {
+            addCriterion("esite >=", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteLessThan(Float value) {
+            addCriterion("esite <", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteLessThanOrEqualTo(Float value) {
+            addCriterion("esite <=", value, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteIn(List<Float> values) {
+            addCriterion("esite in", values, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteNotIn(List<Float> values) {
+            addCriterion("esite not in", values, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteBetween(Float value1, Float value2) {
+            addCriterion("esite between", value1, value2, "esite");
+            return (Criteria) this;
+        }
+
+        public Criteria andEsiteNotBetween(Float value1, Float value2) {
+            addCriterion("esite not between", value1, value2, "esite");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 158 - 0
modelsrc/com/miniframe/model/system/DGasGatherArea.java

@@ -0,0 +1,158 @@
+package com.miniframe.model.system;
+
+import com.miniframe.system.MiniserviceBaseModel;
+import java.io.Serializable;
+import javax.persistence.*;
+
+@Table(name = "d_gas_gather_area")
+public class DGasGatherArea extends MiniserviceBaseModel implements Serializable {
+    @Id
+    private Integer id;
+
+    /**
+     * 事故id
+     */
+    private Integer aid;
+
+    /**
+     * 瓦斯灾源Id
+     */
+    private Integer gid;
+
+    /**
+     * 积聚区名称
+     */
+    private String name;
+
+    /**
+     * 类型 0 => 空白区
+1 => 积聚区
+2 => 点火区
+
+     */
+    @Column(name = ""type "")
+    private String type;
+
+    /**
+     * 瓦斯浓度
+     */
+    private Float gasdensity;
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * @return id
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * @param id
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * 获取事故id
+     *
+     * @return aid - 事故id
+     */
+    public Integer getAid() {
+        return aid;
+    }
+
+    /**
+     * 设置事故id
+     *
+     * @param aid 事故id
+     */
+    public void setAid(Integer aid) {
+        this.aid = aid;
+    }
+
+    /**
+     * 获取瓦斯灾源Id
+     *
+     * @return gid - 瓦斯灾源Id
+     */
+    public Integer getGid() {
+        return gid;
+    }
+
+    /**
+     * 设置瓦斯灾源Id
+     *
+     * @param gid 瓦斯灾源Id
+     */
+    public void setGid(Integer gid) {
+        this.gid = gid;
+    }
+
+    /**
+     * 获取积聚区名称
+     *
+     * @return name - 积聚区名称
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * 设置积聚区名称
+     *
+     * @param name 积聚区名称
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * 获取类型 0 => 空白区
+1 => 积聚区
+2 => 点火区
+
+     *
+     * @return type  - 类型 0 => 空白区
+1 => 积聚区
+2 => 点火区
+
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * 设置类型 0 => 空白区
+1 => 积聚区
+2 => 点火区
+
+     *
+     * @param type 类型 0 => 空白区
+1 => 积聚区
+2 => 点火区
+
+     */
+    public void setType(String type) {
+        this.type = type == null ? null : type.trim();
+    }
+
+    /**
+     * 获取瓦斯浓度
+     *
+     * @return gasdensity - 瓦斯浓度
+     */
+    public Float getGasdensity() {
+        return gasdensity;
+    }
+
+    /**
+     * 设置瓦斯浓度
+     *
+     * @param gasdensity 瓦斯浓度
+     */
+    public void setGasdensity(Float gasdensity) {
+        this.gasdensity = gasdensity;
+    }
+}

+ 580 - 0
modelsrc/com/miniframe/model/system/DGasGatherAreaSQLBuilder.java

@@ -0,0 +1,580 @@
+package com.miniframe.model.system;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class DGasGatherAreaSQLBuilder {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public DGasGatherAreaSQLBuilder() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNull() {
+            addCriterion("aid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNotNull() {
+            addCriterion("aid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidEqualTo(Integer value) {
+            addCriterion("aid =", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotEqualTo(Integer value) {
+            addCriterion("aid <>", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThan(Integer value) {
+            addCriterion("aid >", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("aid >=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThan(Integer value) {
+            addCriterion("aid <", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThanOrEqualTo(Integer value) {
+            addCriterion("aid <=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIn(List<Integer> values) {
+            addCriterion("aid in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotIn(List<Integer> values) {
+            addCriterion("aid not in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidBetween(Integer value1, Integer value2) {
+            addCriterion("aid between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotBetween(Integer value1, Integer value2) {
+            addCriterion("aid not between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIsNull() {
+            addCriterion("gid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIsNotNull() {
+            addCriterion("gid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidEqualTo(Integer value) {
+            addCriterion("gid =", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotEqualTo(Integer value) {
+            addCriterion("gid <>", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidGreaterThan(Integer value) {
+            addCriterion("gid >", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("gid >=", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidLessThan(Integer value) {
+            addCriterion("gid <", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidLessThanOrEqualTo(Integer value) {
+            addCriterion("gid <=", value, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidIn(List<Integer> values) {
+            addCriterion("gid in", values, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotIn(List<Integer> values) {
+            addCriterion("gid not in", values, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidBetween(Integer value1, Integer value2) {
+            addCriterion("gid between", value1, value2, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGidNotBetween(Integer value1, Integer value2) {
+            addCriterion("gid not between", value1, value2, "gid");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeIsNull() {
+            addCriterion("\"type \" is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeIsNotNull() {
+            addCriterion("\"type \" is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeEqualTo(String value) {
+            addCriterion("\"type \" =", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotEqualTo(String value) {
+            addCriterion("\"type \" <>", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeGreaterThan(String value) {
+            addCriterion("\"type \" >", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeGreaterThanOrEqualTo(String value) {
+            addCriterion("\"type \" >=", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLessThan(String value) {
+            addCriterion("\"type \" <", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLessThanOrEqualTo(String value) {
+            addCriterion("\"type \" <=", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeLike(String value) {
+            addCriterion("\"type \" like", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotLike(String value) {
+            addCriterion("\"type \" not like", value, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeIn(List<String> values) {
+            addCriterion("\"type \" in", values, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotIn(List<String> values) {
+            addCriterion("\"type \" not in", values, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeBetween(String value1, String value2) {
+            addCriterion("\"type \" between", value1, value2, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andTypeNotBetween(String value1, String value2) {
+            addCriterion("\"type \" not between", value1, value2, "type");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityIsNull() {
+            addCriterion("gasdensity is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityIsNotNull() {
+            addCriterion("gasdensity is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityEqualTo(Float value) {
+            addCriterion("gasdensity =", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityNotEqualTo(Float value) {
+            addCriterion("gasdensity <>", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityGreaterThan(Float value) {
+            addCriterion("gasdensity >", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityGreaterThanOrEqualTo(Float value) {
+            addCriterion("gasdensity >=", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityLessThan(Float value) {
+            addCriterion("gasdensity <", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityLessThanOrEqualTo(Float value) {
+            addCriterion("gasdensity <=", value, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityIn(List<Float> values) {
+            addCriterion("gasdensity in", values, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityNotIn(List<Float> values) {
+            addCriterion("gasdensity not in", values, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityBetween(Float value1, Float value2) {
+            addCriterion("gasdensity between", value1, value2, "gasdensity");
+            return (Criteria) this;
+        }
+
+        public Criteria andGasdensityNotBetween(Float value1, Float value2) {
+            addCriterion("gasdensity not between", value1, value2, "gasdensity");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 600 - 0
modelsrc/com/miniframe/model/system/DGasSQLBuilder.java

@@ -0,0 +1,600 @@
+package com.miniframe.model.system;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class DGasSQLBuilder {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public DGasSQLBuilder() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNull() {
+            addCriterion("aid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIsNotNull() {
+            addCriterion("aid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidEqualTo(Integer value) {
+            addCriterion("aid =", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotEqualTo(Integer value) {
+            addCriterion("aid <>", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThan(Integer value) {
+            addCriterion("aid >", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("aid >=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThan(Integer value) {
+            addCriterion("aid <", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidLessThanOrEqualTo(Integer value) {
+            addCriterion("aid <=", value, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidIn(List<Integer> values) {
+            addCriterion("aid in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotIn(List<Integer> values) {
+            addCriterion("aid not in", values, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidBetween(Integer value1, Integer value2) {
+            addCriterion("aid between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAidNotBetween(Integer value1, Integer value2) {
+            addCriterion("aid not between", value1, value2, "aid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidIsNull() {
+            addCriterion("gfid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidIsNotNull() {
+            addCriterion("gfid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidEqualTo(String value) {
+            addCriterion("gfid =", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidNotEqualTo(String value) {
+            addCriterion("gfid <>", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidGreaterThan(String value) {
+            addCriterion("gfid >", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidGreaterThanOrEqualTo(String value) {
+            addCriterion("gfid >=", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidLessThan(String value) {
+            addCriterion("gfid <", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidLessThanOrEqualTo(String value) {
+            addCriterion("gfid <=", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidLike(String value) {
+            addCriterion("gfid like", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidNotLike(String value) {
+            addCriterion("gfid not like", value, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidIn(List<String> values) {
+            addCriterion("gfid in", values, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidNotIn(List<String> values) {
+            addCriterion("gfid not in", values, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidBetween(String value1, String value2) {
+            addCriterion("gfid between", value1, value2, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfidNotBetween(String value1, String value2) {
+            addCriterion("gfid not between", value1, value2, "gfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameIsNull() {
+            addCriterion("gfname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameIsNotNull() {
+            addCriterion("gfname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameEqualTo(String value) {
+            addCriterion("gfname =", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameNotEqualTo(String value) {
+            addCriterion("gfname <>", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameGreaterThan(String value) {
+            addCriterion("gfname >", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameGreaterThanOrEqualTo(String value) {
+            addCriterion("gfname >=", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameLessThan(String value) {
+            addCriterion("gfname <", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameLessThanOrEqualTo(String value) {
+            addCriterion("gfname <=", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameLike(String value) {
+            addCriterion("gfname like", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameNotLike(String value) {
+            addCriterion("gfname not like", value, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameIn(List<String> values) {
+            addCriterion("gfname in", values, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameNotIn(List<String> values) {
+            addCriterion("gfname not in", values, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameBetween(String value1, String value2) {
+            addCriterion("gfname between", value1, value2, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andGfnameNotBetween(String value1, String value2) {
+            addCriterion("gfname not between", value1, value2, "gfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidIsNull() {
+            addCriterion("bfid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidIsNotNull() {
+            addCriterion("bfid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidEqualTo(String value) {
+            addCriterion("bfid =", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidNotEqualTo(String value) {
+            addCriterion("bfid <>", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidGreaterThan(String value) {
+            addCriterion("bfid >", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidGreaterThanOrEqualTo(String value) {
+            addCriterion("bfid >=", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidLessThan(String value) {
+            addCriterion("bfid <", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidLessThanOrEqualTo(String value) {
+            addCriterion("bfid <=", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidLike(String value) {
+            addCriterion("bfid like", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidNotLike(String value) {
+            addCriterion("bfid not like", value, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidIn(List<String> values) {
+            addCriterion("bfid in", values, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidNotIn(List<String> values) {
+            addCriterion("bfid not in", values, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidBetween(String value1, String value2) {
+            addCriterion("bfid between", value1, value2, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfidNotBetween(String value1, String value2) {
+            addCriterion("bfid not between", value1, value2, "bfid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameIsNull() {
+            addCriterion("bfname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameIsNotNull() {
+            addCriterion("bfname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameEqualTo(String value) {
+            addCriterion("bfname =", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameNotEqualTo(String value) {
+            addCriterion("bfname <>", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameGreaterThan(String value) {
+            addCriterion("bfname >", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameGreaterThanOrEqualTo(String value) {
+            addCriterion("bfname >=", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameLessThan(String value) {
+            addCriterion("bfname <", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameLessThanOrEqualTo(String value) {
+            addCriterion("bfname <=", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameLike(String value) {
+            addCriterion("bfname like", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameNotLike(String value) {
+            addCriterion("bfname not like", value, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameIn(List<String> values) {
+            addCriterion("bfname in", values, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameNotIn(List<String> values) {
+            addCriterion("bfname not in", values, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameBetween(String value1, String value2) {
+            addCriterion("bfname between", value1, value2, "bfname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBfnameNotBetween(String value1, String value2) {
+            addCriterion("bfname not between", value1, value2, "bfname");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 10 - 0
modelsrc/com/miniframe/model/system/dao/DGasBlastAreaMapper.java

@@ -0,0 +1,10 @@
+package com.miniframe.model.system.dao;
+
+import com.miniframe.model.system.DGasBlastArea;
+import com.miniframe.model.system.DGasBlastAreaSQLBuilder;
+import com.miniframe.spring.db.MFBaseMapper;
+import com.miniframe.system.MiniserviceBaseDao;
+
+public interface DGasBlastAreaMapper extends MiniserviceBaseDao, MFBaseMapper<DGasBlastArea> {
+    long countByExample(DGasBlastAreaSQLBuilder example);
+}

+ 10 - 0
modelsrc/com/miniframe/model/system/dao/DGasGatherAreaMapper.java

@@ -0,0 +1,10 @@
+package com.miniframe.model.system.dao;
+
+import com.miniframe.model.system.DGasGatherArea;
+import com.miniframe.model.system.DGasGatherAreaSQLBuilder;
+import com.miniframe.spring.db.MFBaseMapper;
+import com.miniframe.system.MiniserviceBaseDao;
+
+public interface DGasGatherAreaMapper extends MiniserviceBaseDao, MFBaseMapper<DGasGatherArea> {
+    long countByExample(DGasGatherAreaSQLBuilder example);
+}

+ 10 - 0
modelsrc/com/miniframe/model/system/dao/DGasMapper.java

@@ -0,0 +1,10 @@
+package com.miniframe.model.system.dao;
+
+import com.miniframe.model.system.DGas;
+import com.miniframe.model.system.DGasSQLBuilder;
+import com.miniframe.spring.db.MFBaseMapper;
+import com.miniframe.system.MiniserviceBaseDao;
+
+public interface DGasMapper extends MiniserviceBaseDao, MFBaseMapper<DGas> {
+    long countByExample(DGasSQLBuilder example);
+}

+ 50 - 0
modelsrc/com/miniframe/model/system/xml/DGasBlastAreaMapper.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.miniframe.model.system.dao.DGasBlastAreaMapper">
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <select id="countByExample" parameterType="com.miniframe.model.system.DGasBlastAreaSQLBuilder" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    select count(*) from d_gas_blast_area
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <cache>
+    <!--
+      WARNING - @mbg.generated
+    -->
+  </cache>
+</mapper>

+ 50 - 0
modelsrc/com/miniframe/model/system/xml/DGasGatherAreaMapper.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.miniframe.model.system.dao.DGasGatherAreaMapper">
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <select id="countByExample" parameterType="com.miniframe.model.system.DGasGatherAreaSQLBuilder" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    select count(*) from d_gas_gather_area
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <cache>
+    <!--
+      WARNING - @mbg.generated
+    -->
+  </cache>
+</mapper>

+ 50 - 0
modelsrc/com/miniframe/model/system/xml/DGasMapper.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.miniframe.model.system.dao.DGasMapper">
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <select id="countByExample" parameterType="com.miniframe.model.system.DGasSQLBuilder" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    select count(*) from d_gas
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <cache>
+    <!--
+      WARNING - @mbg.generated
+    -->
+  </cache>
+</mapper>

+ 23 - 0
src/main/java/com/miniframe/dbtransfer/DGasBlastAreaDbTransfer.java

@@ -0,0 +1,23 @@
+package com.miniframe.dbtransfer;
+
+import com.miniframe.core.DbTransfer;
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+import com.miniframe.model.system.DGasBlastArea;
+
+/**
+ * 实体列表,“D_GAS_BLAST_AREA”数据库数据转化逻辑处理(重新生成不覆盖)。
+ */
+public class DGasBlastAreaDbTransfer extends DbTransfer implements Serializable {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+
+	@Override
+	public List transfer(final List l,Map map) throws Exception{
+		List<DGasBlastArea> list=l;
+		return list;
+	};
+
+}

+ 23 - 0
src/main/java/com/miniframe/dbtransfer/DGasDbTransfer.java

@@ -0,0 +1,23 @@
+package com.miniframe.dbtransfer;
+
+import com.miniframe.core.DbTransfer;
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+import com.miniframe.model.system.DGas;
+
+/**
+ * 实体列表,“D_GAS”数据库数据转化逻辑处理(重新生成不覆盖)。
+ */
+public class DGasDbTransfer extends DbTransfer implements Serializable {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+
+	@Override
+	public List transfer(final List l,Map map) throws Exception{
+		List<DGas> list=l;
+		return list;
+	};
+
+}

+ 23 - 0
src/main/java/com/miniframe/dbtransfer/DGasGatherAreaDbTransfer.java

@@ -0,0 +1,23 @@
+package com.miniframe.dbtransfer;
+
+import com.miniframe.core.DbTransfer;
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+import com.miniframe.model.system.DGasGatherArea;
+
+/**
+ * 实体列表,“D_GAS_GATHER_AREA”数据库数据转化逻辑处理(重新生成不覆盖)。
+ */
+public class DGasGatherAreaDbTransfer extends DbTransfer implements Serializable {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+
+	@Override
+	public List transfer(final List l,Map map) throws Exception{
+		List<DGasGatherArea> list=l;
+		return list;
+	};
+
+}