Просмотр исходного кода

瓦斯爆炸存储 巷道名称

huangxingxing 9 месяцев назад
Родитель
Сommit
77ec4dec27

+ 39 - 0
generated/com/miniframe/generate/comm/system/D_D10020_ROWS_RECODE.java

@@ -87,4 +87,43 @@ public class D_D10020_ROWS_RECODE extends BaseMapModel implements Serializable {
 	public int getAid() {
 		return this.aid;
 	}
+	int pid;//巷道ID
+	/**
+	 *巷道ID
+	 */
+	public void setPid(int pid) {
+		this.pid=pid;
+	}
+	/**
+	 *巷道ID
+	 */
+	public int getPid() {
+		return this.pid;
+	}
+	String pname;//巷道名称
+	/**
+	 *巷道名称
+	 */
+	public void setPname(String pname) {
+		this.pname=pname;
+	}
+	/**
+	 *巷道名称
+	 */
+	public String getPname() {
+		return this.pname;
+	}
+	String pcode;//巷道编号
+	/**
+	 *巷道编号
+	 */
+	public void setPcode(String pcode) {
+		this.pcode=pcode;
+	}
+	/**
+	 *巷道编号
+	 */
+	public String getPcode() {
+		return this.pcode;
+	}
 }

+ 3 - 0
generated/validator/resources_d_d10020_rows_recodeForm_validator.properties

@@ -4,4 +4,7 @@ d_d10020_rows_recode.gfname = \u7F51\u683C\u6587\u4EF6\u540D\u79F0
 d_d10020_rows_recode.bfid = \u8FB9\u754C\u6587\u4EF6ID
 d_d10020_rows_recode.bfname = \u8FB9\u754C\u6587\u4EF6\u540D\u79F0
 d_d10020_rows_recode.aid = \u4E8B\u6545
+d_d10020_rows_recode.pid = \u5DF7\u9053ID
+d_d10020_rows_recode.pname = \u5DF7\u9053\u540D\u79F0
+d_d10020_rows_recode.pcode = \u5DF7\u9053\u7F16\u53F7
 d_d10020_rows_recodeForm = true

+ 3 - 0
generated/validator/resources_d_d10020_rows_recodeForm_validator_zh_CN.properties

@@ -4,4 +4,7 @@ d_d10020_rows_recode.gfname = \u7F51\u683C\u6587\u4EF6\u540D\u79F0
 d_d10020_rows_recode.bfid = \u8FB9\u754C\u6587\u4EF6ID
 d_d10020_rows_recode.bfname = \u8FB9\u754C\u6587\u4EF6\u540D\u79F0
 d_d10020_rows_recode.aid = \u4E8B\u6545
+d_d10020_rows_recode.pid = \u5DF7\u9053ID
+d_d10020_rows_recode.pname = \u5DF7\u9053\u540D\u79F0
+d_d10020_rows_recode.pcode = \u5DF7\u9053\u7F16\u53F7
 d_d10020_rows_recodeForm = true

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

@@ -34,6 +34,12 @@ public class DGas extends MiniserviceBaseModel implements Serializable {
      */
     private String bfname;
 
+    private Integer pid;
+
+    private String pname;
+
+    private String pcode;
+
     private static final long serialVersionUID = 1L;
 
     /**
@@ -139,4 +145,46 @@ public class DGas extends MiniserviceBaseModel implements Serializable {
     public void setBfname(String bfname) {
         this.bfname = bfname == null ? null : bfname.trim();
     }
+
+    /**
+     * @return pid
+     */
+    public Integer getPid() {
+        return pid;
+    }
+
+    /**
+     * @param pid
+     */
+    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 pcode
+     */
+    public String getPcode() {
+        return pcode;
+    }
+
+    /**
+     * @param pcode
+     */
+    public void setPcode(String pcode) {
+        this.pcode = pcode == null ? null : pcode.trim();
+    }
 }

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

@@ -503,6 +503,206 @@ public class DGasSQLBuilder {
             addCriterion("bfname not between", value1, value2, "bfname");
             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 andPcodeIsNull() {
+            addCriterion("pcode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeIsNotNull() {
+            addCriterion("pcode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeEqualTo(String value) {
+            addCriterion("pcode =", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeNotEqualTo(String value) {
+            addCriterion("pcode <>", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeGreaterThan(String value) {
+            addCriterion("pcode >", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("pcode >=", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeLessThan(String value) {
+            addCriterion("pcode <", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeLessThanOrEqualTo(String value) {
+            addCriterion("pcode <=", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeLike(String value) {
+            addCriterion("pcode like", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeNotLike(String value) {
+            addCriterion("pcode not like", value, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeIn(List<String> values) {
+            addCriterion("pcode in", values, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeNotIn(List<String> values) {
+            addCriterion("pcode not in", values, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeBetween(String value1, String value2) {
+            addCriterion("pcode between", value1, value2, "pcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPcodeNotBetween(String value1, String value2) {
+            addCriterion("pcode not between", value1, value2, "pcode");
+            return (Criteria) this;
+        }
     }
 
     public static class Criteria extends GeneratedCriteria {

+ 1 - 1
modelsrc/com/miniframe/model/system/dbconfig/MapperConfig-system.xml

@@ -5,7 +5,7 @@
     This file is generated by MyBatis Generator.
     This file is the shell of a Mapper Config file - in many cases you will need to add
       to this file before it is usable by MyBatis.
-    This file was generated on Mon Dec 09 09:59:15 CST 2024.
+    This file was generated on Tue Dec 10 10:10:41 CST 2024.
   -->
   <mappers>
     <mapper resource="com/miniframe/model/system/xml/SysAppcodeMapper.xml" />

+ 3 - 0
src/main/java/com/miniframe/bisiness/system/D10020Service.java

@@ -38,6 +38,9 @@ public class D10020Service extends D10020BaseModel implements ExecProcessFlow {
 			row.setGfid(gas.getGfid());
 			row.setGfname(gas.getGfname());
 			row.setGid(gas.getId());
+			row.setPid(gas.getPid());
+			row.setPname(gas.getPname());
+			row.setPcode(gas.getPcode());
 			rows.add(row);
 		}
 		this.getD_d10020().setRows(rows);

+ 6 - 0
src/main/java/com/miniframe/bisiness/system/D10021Service.java

@@ -70,6 +70,9 @@ public class D10021Service extends D10021BaseModel implements ExecProcessFlow {
             gas.setBfname(bf.getFilename());
             gas.setGfid(gfid);
             gas.setGfname(gf.getFilename());
+            gas.setPid(pipe.getId());
+            gas.setPname(pipe.getName());
+            gas.setPcode(pipe.getCode());
             gasMapper.insertSelective(gas);
 
             DGasSQLBuilder sb = new DGasSQLBuilder();
@@ -118,6 +121,9 @@ public class D10021Service extends D10021BaseModel implements ExecProcessFlow {
             gas.setBfname(bf.getFilename());
             gas.setGfid(gfid);
             gas.setGfname(gf.getFilename());
+            gas.setPid(pipe.getId());
+            gas.setPname(pipe.getName());
+            gas.setPcode(pipe.getCode());
             gasMapper.updateByPrimaryKey(gas);
         }
 

+ 3 - 0
系统设计/通信设计/通讯报文/system(系统服务)/报文体/D10020_D(瓦斯灾源查询).csv

@@ -6,3 +6,6 @@
 1.4,bfid,边界文件ID,string,,,,,,,,,,,
 1.5,bfname,边界文件名称,string,,,,,,,,,,,
 1.6,aid,事故,int,,,,,,,,,,,
+1.7,pid,巷道ID,int,,,,,,,,,,,
+1.8,pname,巷道名称,string,,,,,,,,,,,
+1.9,pcode,巷道编号,string,,,,,,,,,,,