Browse Source

工具的Debug修复20241020

master
DouDou 1 year ago
parent
commit
0d740d97c2
  1. 34
      src/main/java/com/spring/modules/Tooling/data/IfsToolData.java
  2. 16
      src/main/java/com/spring/modules/Tooling/data/IfsToolInstanceData.java
  3. 10
      src/main/java/com/spring/modules/Tooling/entity/IfsTool.java
  4. 10
      src/main/java/com/spring/modules/Tooling/entity/IfsToolInstance.java

34
src/main/java/com/spring/modules/Tooling/data/IfsToolData.java

@ -1,5 +1,8 @@
package com.spring.modules.Tooling.data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class IfsToolData extends PageData {
@ -19,7 +22,14 @@ public class IfsToolData extends PageData {
private String noteText;// 备注
private String ifsRowId;
private String ifsRowVersion;
private String createdBy;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createDate;
private String updatedBy;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatedDate;
private String username;
private String state;
private String toolTypeDesc;
@ -205,4 +215,28 @@ public class IfsToolData extends PageData {
public void setPropertyNo(String propertyNo) {
this.propertyNo = propertyNo;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public String getUpdatedBy() {
return updatedBy;
}
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
public Date getUpdatedDate() {
return updatedDate;
}
public void setUpdatedDate(Date updatedDate) {
this.updatedDate = updatedDate;
}
}

16
src/main/java/com/spring/modules/Tooling/data/IfsToolInstanceData.java

@ -1,5 +1,10 @@
package com.spring.modules.Tooling.data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class IfsToolInstanceData extends IfsToolData {
private String toolInstance;
private String description;
@ -23,6 +28,9 @@ public class IfsToolInstanceData extends IfsToolData {
private String normalWorkCenterDesc;
private String state;
private String normalProductionLineDesc;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createdDate;
public IfsToolInstanceData() {
super();
@ -199,4 +207,12 @@ public class IfsToolInstanceData extends IfsToolData {
public void setNormalProductionLineDesc(String normalProductionLineDesc) {
this.normalProductionLineDesc = normalProductionLineDesc;
}
public Date getCreatedDate() {
return createdDate;
}
public void setCreatedDate(Date createdDate) {
this.createdDate = createdDate;
}
}

10
src/main/java/com/spring/modules/Tooling/entity/IfsTool.java

@ -24,6 +24,7 @@ public class IfsTool extends PageData {
private String username;
private String state;
private String propertyNo;
private Date updatedDate;
public IfsTool() {
}
@ -179,4 +180,13 @@ public class IfsTool extends PageData {
public void setPropertyNo(String propertyNo) {
this.propertyNo = propertyNo;
}
public Date getUpdatedDate() {
return updatedDate;
}
public void setUpdatedDate(Date updatedDate) {
this.updatedDate = updatedDate;
}
}

10
src/main/java/com/spring/modules/Tooling/entity/IfsToolInstance.java

@ -25,7 +25,7 @@ public class IfsToolInstance extends IfsTool {
private String toolBias;
private String toolStability;
private String toolReproducibility;
private Date createDate;
private Date createdDate;
public IfsToolInstance() {
super();
@ -144,11 +144,11 @@ public class IfsToolInstance extends IfsTool {
this.toolReproducibility = toolReproducibility;
}
public Date getCreateDate() {
return createDate;
public Date getCreatedDate() {
return createdDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
public void setCreatedDate(Date createdDate) {
this.createdDate = createdDate;
}
}
Loading…
Cancel
Save