Browse Source

update version to 0.0.98

master
sige 1 year ago
parent
commit
1cbceb6032
  1. 2
      pom.xml
  2. 73
      src/main/java/com/dreamworks/boditech/model/MdbEmergencyTestTask.java
  3. 13
      src/main/java/com/dreamworks/boditech/model/MdbTest.java

2
pom.xml

@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.dreamworks</groupId> <groupId>com.dreamworks</groupId>
<artifactId>boditech</artifactId> <artifactId>boditech</artifactId>
<version>0.0.97</version>
<version>0.0.98</version>
<name>boditech</name> <name>boditech</name>
<description>boditech</description> <description>boditech</description>

73
src/main/java/com/dreamworks/boditech/entity/MdbEmergencyTestTask.java → src/main/java/com/dreamworks/boditech/model/MdbEmergencyTestTask.java

@ -1,9 +1,9 @@
package com.dreamworks.boditech.entity;
package com.dreamworks.boditech.model;
import com.dreamworks.boditech.utils.MyCommon; import com.dreamworks.boditech.utils.MyCommon;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.List; import java.util.List;
public class MdbEmergencyTestTask {
public class MdbEmergencyTestTask extends MyActiveRecord {
// project detect type : auto // project detect type : auto
@JsonIgnore @JsonIgnore
public static final String PROJECT_DETECT_TYPE_AUTO = "AUTO"; public static final String PROJECT_DETECT_TYPE_AUTO = "AUTO";
@ -17,43 +17,68 @@ public class MdbEmergencyTestTask {
@JsonIgnore @JsonIgnore
public static final String STATUS_CANCELED = "CANCELED"; public static final String STATUS_CANCELED = "CANCELED";
// id
public Integer id;
// index of slot
@MyActiveRecordField
public Long id;
@MyActiveRecordField
public Integer index; public Integer index;
// enable
public Boolean enable;
// is slot locked
public Boolean isSlotLocked;
// status
@MyActiveRecordField
public Integer enable;
@MyActiveRecordField
public Integer isSlotLocked;
@MyActiveRecordField
public String status; public String status;
// project detect type
@MyActiveRecordField
public String projectDetectType; public String projectDetectType;
// project ids
@MyActiveRecordField
public String projectIds; public String projectIds;
// sample type detect type
@MyActiveRecordField
public String sampleTypeDetectType; public String sampleTypeDetectType;
// sample type
@MyActiveRecordField
public String sampleType; public String sampleType;
// sample uid
@MyActiveRecordField
public String sampleUid; public String sampleUid;
// bar code
@MyActiveRecordField
public String barCode; public String barCode;
// preprocess
public Boolean attenuation;
// created at
@MyActiveRecordField
public Integer attenuation;
@MyActiveRecordField
public Long createdAt; public Long createdAt;
// created by
@MyActiveRecordField
public Integer createdBy; public Integer createdBy;
// updated at
@MyActiveRecordField
public Long updatedAt; public Long updatedAt;
// updated by
@MyActiveRecordField
public Integer updatedBy; public Integer updatedBy;
// exec started at
@MyActiveRecordField
public Long execStartedAt; public Long execStartedAt;
// exec finished at
@MyActiveRecordField
public Long execFinishedAt; public Long execFinishedAt;
@MyActiveRecordField
public String testBatchId;
// get table name
public static String getTableName() {
return "bdt_emergency_test_tasks";
}
// get project id list // get project id list
public List<Integer> getProjectIdList() { public List<Integer> getProjectIdList() {
return MyCommon.jsonToObject(this.projectIds, List.class); return MyCommon.jsonToObject(this.projectIds, List.class);

13
src/main/java/com/dreamworks/boditech/entity/MdbTest.java → src/main/java/com/dreamworks/boditech/model/MdbTest.java

@ -1,7 +1,7 @@
package com.dreamworks.boditech.entity;
public class MdbTest {
package com.dreamworks.boditech.model;
public class MdbTest extends MyActiveRecord {
// id // id
public Integer id;
public Long id;
// batch id // batch id
public Long batchId; public Long batchId;
// serial code // serial code
@ -9,7 +9,7 @@ public class MdbTest {
// task type // task type
public String taskType; public String taskType;
// task id // task id
public Integer taskId;
public Long taskId;
// lot code // lot code
public String lotCode; public String lotCode;
// bar code // bar code
@ -40,4 +40,9 @@ public class MdbTest {
public String status; public String status;
// result // result
public String result; public String result;
// get table name
public static String getTableName() {
return "bdt_tests";
}
} }
Loading…
Cancel
Save