Bläddra i källkod

流设置添加2种新类型

huangxingxing 4 månader sedan
förälder
incheckning
e2a34034aa

+ 51 - 5
modelsrc/com/miniframe/model/mdo/MdoProInoutPara.java

@@ -55,10 +55,20 @@ public class MdoProInoutPara extends MiniserviceBaseModel implements Serializabl
     private Integer steamflag;
 
     /**
-     * 流分析类型 1 约束条件 2优化目标
+     * 流分析类型 1 约束条件 2优化目标 3 求解组件到求解组件
      */
     private Integer steamtype;
 
+    /**
+     * 来源组件id
+     */
+    private String fcomid;
+
+    /**
+     * 来源组件类型
+     */
+    private Integer fcomtype;
+
     private static final long serialVersionUID = 1L;
 
     /**
@@ -238,20 +248,56 @@ public class MdoProInoutPara extends MiniserviceBaseModel implements Serializabl
     }
 
     /**
-     * 获取流分析类型 1 约束条件 2优化目标
+     * 获取流分析类型 1 约束条件 2优化目标 3 求解组件到求解组件
      *
-     * @return steamtype - 流分析类型 1 约束条件 2优化目标
+     * @return steamtype - 流分析类型 1 约束条件 2优化目标 3 求解组件到求解组件
      */
     public Integer getSteamtype() {
         return steamtype;
     }
 
     /**
-     * 设置流分析类型 1 约束条件 2优化目标
+     * 设置流分析类型 1 约束条件 2优化目标 3 求解组件到求解组件
      *
-     * @param steamtype 流分析类型 1 约束条件 2优化目标
+     * @param steamtype 流分析类型 1 约束条件 2优化目标 3 求解组件到求解组件
      */
     public void setSteamtype(Integer steamtype) {
         this.steamtype = steamtype;
     }
+
+    /**
+     * 获取来源组件id
+     *
+     * @return fcomid - 来源组件id
+     */
+    public String getFcomid() {
+        return fcomid;
+    }
+
+    /**
+     * 设置来源组件id
+     *
+     * @param fcomid 来源组件id
+     */
+    public void setFcomid(String fcomid) {
+        this.fcomid = fcomid == null ? null : fcomid.trim();
+    }
+
+    /**
+     * 获取来源组件类型
+     *
+     * @return fcomtype - 来源组件类型
+     */
+    public Integer getFcomtype() {
+        return fcomtype;
+    }
+
+    /**
+     * 设置来源组件类型
+     *
+     * @param fcomtype 来源组件类型
+     */
+    public void setFcomtype(Integer fcomtype) {
+        this.fcomtype = fcomtype;
+    }
 }

+ 130 - 0
modelsrc/com/miniframe/model/mdo/MdoProInoutParaSQLBuilder.java

@@ -823,6 +823,136 @@ public class MdoProInoutParaSQLBuilder {
             addCriterion("steamtype not between", value1, value2, "steamtype");
             return (Criteria) this;
         }
+
+        public Criteria andFcomidIsNull() {
+            addCriterion("fcomid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidIsNotNull() {
+            addCriterion("fcomid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidEqualTo(String value) {
+            addCriterion("fcomid =", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidNotEqualTo(String value) {
+            addCriterion("fcomid <>", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidGreaterThan(String value) {
+            addCriterion("fcomid >", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidGreaterThanOrEqualTo(String value) {
+            addCriterion("fcomid >=", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidLessThan(String value) {
+            addCriterion("fcomid <", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidLessThanOrEqualTo(String value) {
+            addCriterion("fcomid <=", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidLike(String value) {
+            addCriterion("fcomid like", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidNotLike(String value) {
+            addCriterion("fcomid not like", value, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidIn(List<String> values) {
+            addCriterion("fcomid in", values, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidNotIn(List<String> values) {
+            addCriterion("fcomid not in", values, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidBetween(String value1, String value2) {
+            addCriterion("fcomid between", value1, value2, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomidNotBetween(String value1, String value2) {
+            addCriterion("fcomid not between", value1, value2, "fcomid");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeIsNull() {
+            addCriterion("fcomtype is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeIsNotNull() {
+            addCriterion("fcomtype is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeEqualTo(Integer value) {
+            addCriterion("fcomtype =", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeNotEqualTo(Integer value) {
+            addCriterion("fcomtype <>", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeGreaterThan(Integer value) {
+            addCriterion("fcomtype >", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeGreaterThanOrEqualTo(Integer value) {
+            addCriterion("fcomtype >=", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeLessThan(Integer value) {
+            addCriterion("fcomtype <", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeLessThanOrEqualTo(Integer value) {
+            addCriterion("fcomtype <=", value, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeIn(List<Integer> values) {
+            addCriterion("fcomtype in", values, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeNotIn(List<Integer> values) {
+            addCriterion("fcomtype not in", values, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeBetween(Integer value1, Integer value2) {
+            addCriterion("fcomtype between", value1, value2, "fcomtype");
+            return (Criteria) this;
+        }
+
+        public Criteria andFcomtypeNotBetween(Integer value1, Integer value2) {
+            addCriterion("fcomtype not between", value1, value2, "fcomtype");
+            return (Criteria) this;
+        }
     }
 
     public static class Criteria extends GeneratedCriteria {

+ 1 - 1
modelsrc/com/miniframe/model/mdo/dbconfig/MapperConfig-mdo.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 Wed Apr 09 16:32:50 CST 2025.
+    This file was generated on Tue Apr 22 17:46:45 CST 2025.
   -->
   <mappers>
     <mapper resource="com/miniframe/model/mdo/xml/MdoProjectMapper.xml" />

+ 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 Wed Apr 09 16:32:51 CST 2025.
+    This file was generated on Tue Apr 22 17:46:46 CST 2025.
   -->
   <mappers>
     <mapper resource="com/miniframe/model/system/xml/SysAppcodeMapper.xml" />

+ 3 - 0
src/main/java/com/miniframe/bisiness/mdo/MDO0074Service.java

@@ -30,6 +30,7 @@ public class MDO0074Service extends MDO0074BaseModel implements ExecProcessFlow
 		MdoProInoutParaSQLBuilder.Criteria psc = psb.createCriteria();
 		psc.andFatheridEqualTo(tcomid);
 		psc.andComtypeEqualTo(Integer.valueOf(tcomtype));
+		psc.andFcomidEqualTo(fcomid);
 		pdao.deleteByExample(psb);
 
 		String[] params = paramstr.split(";");
@@ -55,6 +56,8 @@ public class MDO0074Service extends MDO0074BaseModel implements ExecProcessFlow
 					tPara.setValue("0");
 					tPara.setType(1);
 					tPara.setComtype(Integer.valueOf(tcomtype));
+					tPara.setFcomid(fcomid);
+					tPara.setFcomtype(Integer.valueOf(fcomtype));
 					pdao.insert(tPara);
 				}else {
 					para.setSteamflag(Integer.valueOf(streamflag));