yangys
2025-09-15 d4ca3871c18474768c924fcbfd6e8d3178040092
blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/entity/NcNode.java
@@ -43,7 +43,11 @@
   /**
    * 加工机床
    */
   public static final String TYPE_MACHINE_CODE = "50";
   //public static final String TYPE_MACHINE_CODE = "50";
   /**
    * 加工机床
    */
   public static final String TYPE_MACHINE_GROUP = "50";
   /**
    * 程序包名
    */
@@ -89,9 +93,9 @@
   private String machineCode;
   /**
    * 文件类型,只有
    * 机床组字典吗
    */
   //private String fileCategory;
   private String machineGroupCode;
   /**
    * 工序,如“精铣”
    */
@@ -152,6 +156,11 @@
    * 程序编号(程序包名节点需要)
    */
   private String programNo;
   /**
    * 历史序列号
    */
   private Long hisSerial;
   /**
    * 流程程序文件id,只有程序文件(70)类型的节点有此值
@@ -242,4 +251,8 @@
    public boolean hasLocked() {
      return this.isLocked != null && this.isLocked == LOCKED;
    }
   public String subNodeParentIds(){
      return this.parentIds+","+this.getId();
   }
}