Explorar o código

瓦斯爆炸区 pname 存储pcode

huangxingxing hai 9 meses
pai
achega
05b393ff3e

+ 5 - 5
modelsrc/com/miniframe/model/system/DGasBlastArea.java

@@ -25,7 +25,7 @@ public class DGasBlastArea extends MiniserviceBaseModel implements Serializable
     private Integer pid;
 
     /**
-     * 管道名称
+     * 管道编号
      */
     private String pname;
 
@@ -110,18 +110,18 @@ public class DGasBlastArea extends MiniserviceBaseModel implements Serializable
     }
 
     /**
-     * 获取管道名称
+     * 获取管道编号
      *
-     * @return pname - 管道名称
+     * @return pname - 管道编号
      */
     public String getPname() {
         return pname;
     }
 
     /**
-     * 设置管道名称
+     * 设置管道编号
      *
-     * @param pname 管道名称
+     * @param pname 管道编号
      */
     public void setPname(String pname) {
         this.pname = pname == null ? null : pname.trim();

+ 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 Tue Nov 12 15:34:20 CST 2024.
+    This file was generated on Mon Nov 25 15:00:20 CST 2024.
   -->
   <mappers>
     <mapper resource="com/miniframe/model/system/xml/SysAppcodeMapper.xml" />

+ 2 - 2
src/main/java/com/miniframe/bisiness/system/D10024Service.java

@@ -48,7 +48,7 @@ public class D10024Service extends D10024BaseModel implements ExecProcessFlow {
 			gb.setAid(gas.getAid());
 			gb.setGid(gid);
 			gb.setPid(pid);
-			gb.setPname(pipe.getName());
+			gb.setPname(pipe.getCode());
 			gb.setEsite(esite.floatValue());
 			gb.setSsite(ssite.floatValue());
 
@@ -62,7 +62,7 @@ public class D10024Service extends D10024BaseModel implements ExecProcessFlow {
 			gb.setAid(gas.getAid());
 			gb.setGid(gid);
 			gb.setPid(pid);
-			gb.setPname(pipe.getName());
+			gb.setPname(pipe.getCode());
 			gb.setEsite(esite.floatValue());
 			gb.setSsite(ssite.floatValue());
 			blastAreaMapper.updateByPrimaryKey(gb);