init
This commit is contained in:
commit
52b4f280ed
37
.gitignore
vendored
Normal file
37
.gitignore
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
HELP.md
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**
|
||||
!**/src/test/**
|
||||
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
|
||||
.vscode/
|
||||
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
# Others
|
||||
*.log
|
||||
logs/
|
||||
*.log.gz
|
||||
*.xml.versionsBackup
|
||||
43
pom.xml
Normal file
43
pom.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>iep-qms</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<!--项目子模块-->
|
||||
<modules>
|
||||
<module>qms-api</module>
|
||||
<module>qms-db</module>
|
||||
<module>qms-core</module>
|
||||
<module>qms-app</module>
|
||||
</modules>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>mes-common</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>qms-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>qms-db</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</project>
|
||||
BIN
qms-api/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
BIN
qms-api/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
Binary file not shown.
2
qms-api/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
2
qms-api/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
||||
39
qms-api/pom.xml
Normal file
39
qms-api/pom.xml
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>iep-qms</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>qms-api</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!--core 工具类-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-core</artifactId>
|
||||
</dependency>
|
||||
<!--mybatis plus extension,包含了mybatis plus core-->
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-extension</artifactId>
|
||||
</dependency>
|
||||
<!--feign 工具类-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-feign</artifactId>
|
||||
</dependency>
|
||||
<!-- excel 导入导出 -->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-excel</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mes-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
123
qms-api/src/main/java/com/foreverwin/iep/qms/domain/AqlInfo.java
Normal file
123
qms-api/src/main/java/com/foreverwin/iep/qms/domain/AqlInfo.java
Normal file
@ -0,0 +1,123 @@
|
||||
package com.foreverwin.iep.qms.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AqlInfo {
|
||||
|
||||
private String handle;
|
||||
|
||||
private String samplecode;
|
||||
|
||||
private int sampleqty;
|
||||
|
||||
private String a1;
|
||||
|
||||
private String r1;
|
||||
|
||||
private String a2;
|
||||
|
||||
private String r2;
|
||||
|
||||
private String a3;
|
||||
|
||||
private String r3;
|
||||
|
||||
private String a4;
|
||||
|
||||
private String r4;
|
||||
|
||||
private String a5;
|
||||
|
||||
private String r5;
|
||||
|
||||
private String a6;
|
||||
|
||||
private String r6;
|
||||
|
||||
private String a7;
|
||||
|
||||
private String r7;
|
||||
|
||||
private String a8;
|
||||
|
||||
private String r8;
|
||||
|
||||
private String a9;
|
||||
|
||||
private String r9;
|
||||
|
||||
private String a10;
|
||||
|
||||
private String r10;
|
||||
|
||||
private String a11;
|
||||
|
||||
private String r11;
|
||||
|
||||
private String a12;
|
||||
|
||||
private String r12;
|
||||
|
||||
private String a13;
|
||||
|
||||
private String r13;
|
||||
|
||||
private String a14;
|
||||
|
||||
private String r14;
|
||||
|
||||
private String a15;
|
||||
|
||||
private String r15;
|
||||
|
||||
private String a16;
|
||||
|
||||
private String r16;
|
||||
|
||||
private String a17;
|
||||
|
||||
private String r17;
|
||||
|
||||
private String a18;
|
||||
|
||||
private String r18;
|
||||
|
||||
private String a19;
|
||||
|
||||
private String r19;
|
||||
|
||||
private String a20;
|
||||
|
||||
private String r20;
|
||||
|
||||
private String a21;
|
||||
|
||||
private String r21;
|
||||
|
||||
private String a22;
|
||||
|
||||
private String r22;
|
||||
|
||||
private String a23;
|
||||
|
||||
private String r23;
|
||||
|
||||
private String a24;
|
||||
|
||||
private String r24;
|
||||
|
||||
private String a25;
|
||||
|
||||
private String r25;
|
||||
|
||||
private String a26;
|
||||
|
||||
private String r26;
|
||||
|
||||
private int ac;
|
||||
|
||||
private String acStr;
|
||||
|
||||
private int r;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.foreverwin.iep.qms.dto;
|
||||
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlan;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlanCustomize;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "抽样计划传输对象")
|
||||
public class QmsSamplePlanDTO extends QmsSamplePlan {
|
||||
|
||||
/**
|
||||
* 抽样数
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样数")
|
||||
private BigDecimal sampleSize;
|
||||
|
||||
/**
|
||||
* 母体数
|
||||
*/
|
||||
@ApiModelProperty(value = "母体数")
|
||||
private BigDecimal qty;
|
||||
|
||||
/**
|
||||
* 允退数
|
||||
*/
|
||||
@ApiModelProperty(value = "允退数")
|
||||
private BigDecimal returnAllowedQty;
|
||||
|
||||
/**
|
||||
* samplePlanTypes
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样类型列表")
|
||||
private List<String> samplePlanTypes;
|
||||
|
||||
private List<QmsSamplePlanCustomize> customizeList;
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
package com.foreverwin.iep.qms.dto;
|
||||
@ -0,0 +1,66 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 1916表-抽样代码
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:28:41
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_1916_code")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "1916表-抽样代码")
|
||||
public class Qms1916Code extends Model<Qms1916Code> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="主键")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* 最小批量
|
||||
*/
|
||||
@ApiModelProperty(value="最小批量")
|
||||
private Integer lotminqty;
|
||||
|
||||
/**
|
||||
* 最大批量
|
||||
*/
|
||||
@ApiModelProperty(value="最大批量")
|
||||
private Integer lotmaxqty;
|
||||
|
||||
/**
|
||||
* 检验水平
|
||||
*/
|
||||
@ApiModelProperty(value="检验水平")
|
||||
private String qcLevel;
|
||||
|
||||
/**
|
||||
* 检验水平说明
|
||||
*/
|
||||
@ApiModelProperty(value="检验水平说明")
|
||||
private String qcLevelDesc;
|
||||
|
||||
/**
|
||||
* 检验码
|
||||
*/
|
||||
@ApiModelProperty(value="检验码")
|
||||
private String code;
|
||||
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 1916表-抽样数
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:32:12
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_1916_sample_plan")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "1916表-抽样数")
|
||||
public class Qms1916SamplePlan extends Model<Qms1916SamplePlan> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="主键")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* 检验码
|
||||
*/
|
||||
@ApiModelProperty(value="检验码")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 检验水平
|
||||
*/
|
||||
@ApiModelProperty(value="检验水平")
|
||||
private String qcLevel;
|
||||
|
||||
/**
|
||||
* 检验水平说明
|
||||
*/
|
||||
@ApiModelProperty(value="检验水平说明")
|
||||
private String qcLevelDesc;
|
||||
|
||||
/**
|
||||
* 允收水平
|
||||
*/
|
||||
@ApiModelProperty(value="允收水平")
|
||||
private String allowLevel;
|
||||
|
||||
/**
|
||||
* 允收水平说明
|
||||
*/
|
||||
@ApiModelProperty(value="允收水平说明")
|
||||
private String allowLevelDesc;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
@ApiModelProperty(value="类型")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 值
|
||||
*/
|
||||
@ApiModelProperty(value="值")
|
||||
private BigDecimal value;
|
||||
|
||||
}
|
||||
@ -0,0 +1,90 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* AQL区间对照表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 12:00:10
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_aql_code")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "AQL区间对照表")
|
||||
public class QmsAqlCode extends Model<QmsAqlCode> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* handle
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="handle")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* lotqtymin
|
||||
*/
|
||||
@ApiModelProperty(value="lotqtymin")
|
||||
private Integer lotqtymin;
|
||||
|
||||
/**
|
||||
* lotqtymax
|
||||
*/
|
||||
@ApiModelProperty(value="lotqtymax")
|
||||
private Integer lotqtymax;
|
||||
|
||||
/**
|
||||
* s1
|
||||
*/
|
||||
@ApiModelProperty(value="s1")
|
||||
private String s1;
|
||||
|
||||
/**
|
||||
* s2
|
||||
*/
|
||||
@ApiModelProperty(value="s2")
|
||||
private String s2;
|
||||
|
||||
/**
|
||||
* s3
|
||||
*/
|
||||
@ApiModelProperty(value="s3")
|
||||
private String s3;
|
||||
|
||||
/**
|
||||
* s4
|
||||
*/
|
||||
@ApiModelProperty(value="s4")
|
||||
private String s4;
|
||||
|
||||
/**
|
||||
* i
|
||||
*/
|
||||
@ApiModelProperty(value="i")
|
||||
private String i;
|
||||
|
||||
/**
|
||||
* ii
|
||||
*/
|
||||
@ApiModelProperty(value="ii")
|
||||
private String ii;
|
||||
|
||||
/**
|
||||
* iii
|
||||
*/
|
||||
@ApiModelProperty(value="iii")
|
||||
private String iii;
|
||||
|
||||
}
|
||||
@ -0,0 +1,360 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* AQL正常对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:36:20
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_aql_normal")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "AQL正常对应表")
|
||||
public class QmsAqlNormal extends Model<QmsAqlNormal> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* handle
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="handle")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* samplecode
|
||||
*/
|
||||
@ApiModelProperty(value="samplecode")
|
||||
private String samplecode;
|
||||
|
||||
/**
|
||||
* sampleqty
|
||||
*/
|
||||
@ApiModelProperty(value="sampleqty")
|
||||
private Integer sampleqty;
|
||||
|
||||
/**
|
||||
* a1
|
||||
*/
|
||||
@ApiModelProperty(value="a1")
|
||||
private String a1;
|
||||
|
||||
/**
|
||||
* r1
|
||||
*/
|
||||
@ApiModelProperty(value="r1")
|
||||
private String r1;
|
||||
|
||||
/**
|
||||
* a2
|
||||
*/
|
||||
@ApiModelProperty(value="a2")
|
||||
private String a2;
|
||||
|
||||
/**
|
||||
* r2
|
||||
*/
|
||||
@ApiModelProperty(value="r2")
|
||||
private String r2;
|
||||
|
||||
/**
|
||||
* a3
|
||||
*/
|
||||
@ApiModelProperty(value="a3")
|
||||
private String a3;
|
||||
|
||||
/**
|
||||
* r3
|
||||
*/
|
||||
@ApiModelProperty(value="r3")
|
||||
private String r3;
|
||||
|
||||
/**
|
||||
* a4
|
||||
*/
|
||||
@ApiModelProperty(value="a4")
|
||||
private String a4;
|
||||
|
||||
/**
|
||||
* r4
|
||||
*/
|
||||
@ApiModelProperty(value="r4")
|
||||
private String r4;
|
||||
|
||||
/**
|
||||
* a5
|
||||
*/
|
||||
@ApiModelProperty(value="a5")
|
||||
private String a5;
|
||||
|
||||
/**
|
||||
* r5
|
||||
*/
|
||||
@ApiModelProperty(value="r5")
|
||||
private String r5;
|
||||
|
||||
/**
|
||||
* a6
|
||||
*/
|
||||
@ApiModelProperty(value="a6")
|
||||
private String a6;
|
||||
|
||||
/**
|
||||
* r6
|
||||
*/
|
||||
@ApiModelProperty(value="r6")
|
||||
private String r6;
|
||||
|
||||
/**
|
||||
* a7
|
||||
*/
|
||||
@ApiModelProperty(value="a7")
|
||||
private String a7;
|
||||
|
||||
/**
|
||||
* r7
|
||||
*/
|
||||
@ApiModelProperty(value="r7")
|
||||
private String r7;
|
||||
|
||||
/**
|
||||
* a8
|
||||
*/
|
||||
@ApiModelProperty(value="a8")
|
||||
private String a8;
|
||||
|
||||
/**
|
||||
* r8
|
||||
*/
|
||||
@ApiModelProperty(value="r8")
|
||||
private String r8;
|
||||
|
||||
/**
|
||||
* a9
|
||||
*/
|
||||
@ApiModelProperty(value="a9")
|
||||
private String a9;
|
||||
|
||||
/**
|
||||
* r9
|
||||
*/
|
||||
@ApiModelProperty(value="r9")
|
||||
private String r9;
|
||||
|
||||
/**
|
||||
* a10
|
||||
*/
|
||||
@ApiModelProperty(value="a10")
|
||||
private String a10;
|
||||
|
||||
/**
|
||||
* r10
|
||||
*/
|
||||
@ApiModelProperty(value="r10")
|
||||
private String r10;
|
||||
|
||||
/**
|
||||
* a11
|
||||
*/
|
||||
@ApiModelProperty(value="a11")
|
||||
private String a11;
|
||||
|
||||
/**
|
||||
* r11
|
||||
*/
|
||||
@ApiModelProperty(value="r11")
|
||||
private String r11;
|
||||
|
||||
/**
|
||||
* a12
|
||||
*/
|
||||
@ApiModelProperty(value="a12")
|
||||
private String a12;
|
||||
|
||||
/**
|
||||
* r12
|
||||
*/
|
||||
@ApiModelProperty(value="r12")
|
||||
private String r12;
|
||||
|
||||
/**
|
||||
* a13
|
||||
*/
|
||||
@ApiModelProperty(value="a13")
|
||||
private String a13;
|
||||
|
||||
/**
|
||||
* r13
|
||||
*/
|
||||
@ApiModelProperty(value="r13")
|
||||
private String r13;
|
||||
|
||||
/**
|
||||
* a14
|
||||
*/
|
||||
@ApiModelProperty(value="a14")
|
||||
private String a14;
|
||||
|
||||
/**
|
||||
* r14
|
||||
*/
|
||||
@ApiModelProperty(value="r14")
|
||||
private String r14;
|
||||
|
||||
/**
|
||||
* a15
|
||||
*/
|
||||
@ApiModelProperty(value="a15")
|
||||
private String a15;
|
||||
|
||||
/**
|
||||
* r15
|
||||
*/
|
||||
@ApiModelProperty(value="r15")
|
||||
private String r15;
|
||||
|
||||
/**
|
||||
* a16
|
||||
*/
|
||||
@ApiModelProperty(value="a16")
|
||||
private String a16;
|
||||
|
||||
/**
|
||||
* r16
|
||||
*/
|
||||
@ApiModelProperty(value="r16")
|
||||
private String r16;
|
||||
|
||||
/**
|
||||
* a17
|
||||
*/
|
||||
@ApiModelProperty(value="a17")
|
||||
private String a17;
|
||||
|
||||
/**
|
||||
* r17
|
||||
*/
|
||||
@ApiModelProperty(value="r17")
|
||||
private String r17;
|
||||
|
||||
/**
|
||||
* a18
|
||||
*/
|
||||
@ApiModelProperty(value="a18")
|
||||
private String a18;
|
||||
|
||||
/**
|
||||
* r18
|
||||
*/
|
||||
@ApiModelProperty(value="r18")
|
||||
private String r18;
|
||||
|
||||
/**
|
||||
* a19
|
||||
*/
|
||||
@ApiModelProperty(value="a19")
|
||||
private String a19;
|
||||
|
||||
/**
|
||||
* r19
|
||||
*/
|
||||
@ApiModelProperty(value="r19")
|
||||
private String r19;
|
||||
|
||||
/**
|
||||
* a20
|
||||
*/
|
||||
@ApiModelProperty(value="a20")
|
||||
private String a20;
|
||||
|
||||
/**
|
||||
* r20
|
||||
*/
|
||||
@ApiModelProperty(value="r20")
|
||||
private String r20;
|
||||
|
||||
/**
|
||||
* a21
|
||||
*/
|
||||
@ApiModelProperty(value="a21")
|
||||
private String a21;
|
||||
|
||||
/**
|
||||
* r21
|
||||
*/
|
||||
@ApiModelProperty(value="r21")
|
||||
private String r21;
|
||||
|
||||
/**
|
||||
* a22
|
||||
*/
|
||||
@ApiModelProperty(value="a22")
|
||||
private String a22;
|
||||
|
||||
/**
|
||||
* r22
|
||||
*/
|
||||
@ApiModelProperty(value="r22")
|
||||
private String r22;
|
||||
|
||||
/**
|
||||
* a23
|
||||
*/
|
||||
@ApiModelProperty(value="a23")
|
||||
private String a23;
|
||||
|
||||
/**
|
||||
* r23
|
||||
*/
|
||||
@ApiModelProperty(value="r23")
|
||||
private String r23;
|
||||
|
||||
/**
|
||||
* a24
|
||||
*/
|
||||
@ApiModelProperty(value="a24")
|
||||
private String a24;
|
||||
|
||||
/**
|
||||
* r24
|
||||
*/
|
||||
@ApiModelProperty(value="r24")
|
||||
private String r24;
|
||||
|
||||
/**
|
||||
* a25
|
||||
*/
|
||||
@ApiModelProperty(value="a25")
|
||||
private String a25;
|
||||
|
||||
/**
|
||||
* r25
|
||||
*/
|
||||
@ApiModelProperty(value="r25")
|
||||
private String r25;
|
||||
|
||||
/**
|
||||
* a26
|
||||
*/
|
||||
@ApiModelProperty(value="a26")
|
||||
private String a26;
|
||||
|
||||
/**
|
||||
* r26
|
||||
*/
|
||||
@ApiModelProperty(value="r26")
|
||||
private String r26;
|
||||
|
||||
}
|
||||
@ -0,0 +1,377 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2025, mom All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the foreverwin.com developer nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
* Author: mom
|
||||
*/
|
||||
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* AQL减量对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:38:30
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_aql_reduced")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "AQL减量对应表")
|
||||
public class QmsAqlReduced extends Model<QmsAqlReduced> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* handle
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="handle")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* samplecode
|
||||
*/
|
||||
@ApiModelProperty(value="samplecode")
|
||||
private String samplecode;
|
||||
|
||||
/**
|
||||
* sampleqty
|
||||
*/
|
||||
@ApiModelProperty(value="sampleqty")
|
||||
private Integer sampleqty;
|
||||
|
||||
/**
|
||||
* a1
|
||||
*/
|
||||
@ApiModelProperty(value="a1")
|
||||
private String a1;
|
||||
|
||||
/**
|
||||
* r1
|
||||
*/
|
||||
@ApiModelProperty(value="r1")
|
||||
private String r1;
|
||||
|
||||
/**
|
||||
* a2
|
||||
*/
|
||||
@ApiModelProperty(value="a2")
|
||||
private String a2;
|
||||
|
||||
/**
|
||||
* r2
|
||||
*/
|
||||
@ApiModelProperty(value="r2")
|
||||
private String r2;
|
||||
|
||||
/**
|
||||
* a3
|
||||
*/
|
||||
@ApiModelProperty(value="a3")
|
||||
private String a3;
|
||||
|
||||
/**
|
||||
* r3
|
||||
*/
|
||||
@ApiModelProperty(value="r3")
|
||||
private String r3;
|
||||
|
||||
/**
|
||||
* a4
|
||||
*/
|
||||
@ApiModelProperty(value="a4")
|
||||
private String a4;
|
||||
|
||||
/**
|
||||
* r4
|
||||
*/
|
||||
@ApiModelProperty(value="r4")
|
||||
private String r4;
|
||||
|
||||
/**
|
||||
* a5
|
||||
*/
|
||||
@ApiModelProperty(value="a5")
|
||||
private String a5;
|
||||
|
||||
/**
|
||||
* r5
|
||||
*/
|
||||
@ApiModelProperty(value="r5")
|
||||
private String r5;
|
||||
|
||||
/**
|
||||
* a6
|
||||
*/
|
||||
@ApiModelProperty(value="a6")
|
||||
private String a6;
|
||||
|
||||
/**
|
||||
* r6
|
||||
*/
|
||||
@ApiModelProperty(value="r6")
|
||||
private String r6;
|
||||
|
||||
/**
|
||||
* a7
|
||||
*/
|
||||
@ApiModelProperty(value="a7")
|
||||
private String a7;
|
||||
|
||||
/**
|
||||
* r7
|
||||
*/
|
||||
@ApiModelProperty(value="r7")
|
||||
private String r7;
|
||||
|
||||
/**
|
||||
* a8
|
||||
*/
|
||||
@ApiModelProperty(value="a8")
|
||||
private String a8;
|
||||
|
||||
/**
|
||||
* r8
|
||||
*/
|
||||
@ApiModelProperty(value="r8")
|
||||
private String r8;
|
||||
|
||||
/**
|
||||
* a9
|
||||
*/
|
||||
@ApiModelProperty(value="a9")
|
||||
private String a9;
|
||||
|
||||
/**
|
||||
* r9
|
||||
*/
|
||||
@ApiModelProperty(value="r9")
|
||||
private String r9;
|
||||
|
||||
/**
|
||||
* a10
|
||||
*/
|
||||
@ApiModelProperty(value="a10")
|
||||
private String a10;
|
||||
|
||||
/**
|
||||
* r10
|
||||
*/
|
||||
@ApiModelProperty(value="r10")
|
||||
private String r10;
|
||||
|
||||
/**
|
||||
* a11
|
||||
*/
|
||||
@ApiModelProperty(value="a11")
|
||||
private String a11;
|
||||
|
||||
/**
|
||||
* r11
|
||||
*/
|
||||
@ApiModelProperty(value="r11")
|
||||
private String r11;
|
||||
|
||||
/**
|
||||
* a12
|
||||
*/
|
||||
@ApiModelProperty(value="a12")
|
||||
private String a12;
|
||||
|
||||
/**
|
||||
* r12
|
||||
*/
|
||||
@ApiModelProperty(value="r12")
|
||||
private String r12;
|
||||
|
||||
/**
|
||||
* a13
|
||||
*/
|
||||
@ApiModelProperty(value="a13")
|
||||
private String a13;
|
||||
|
||||
/**
|
||||
* r13
|
||||
*/
|
||||
@ApiModelProperty(value="r13")
|
||||
private String r13;
|
||||
|
||||
/**
|
||||
* a14
|
||||
*/
|
||||
@ApiModelProperty(value="a14")
|
||||
private String a14;
|
||||
|
||||
/**
|
||||
* r14
|
||||
*/
|
||||
@ApiModelProperty(value="r14")
|
||||
private String r14;
|
||||
|
||||
/**
|
||||
* a15
|
||||
*/
|
||||
@ApiModelProperty(value="a15")
|
||||
private String a15;
|
||||
|
||||
/**
|
||||
* r15
|
||||
*/
|
||||
@ApiModelProperty(value="r15")
|
||||
private String r15;
|
||||
|
||||
/**
|
||||
* a16
|
||||
*/
|
||||
@ApiModelProperty(value="a16")
|
||||
private String a16;
|
||||
|
||||
/**
|
||||
* r16
|
||||
*/
|
||||
@ApiModelProperty(value="r16")
|
||||
private String r16;
|
||||
|
||||
/**
|
||||
* a17
|
||||
*/
|
||||
@ApiModelProperty(value="a17")
|
||||
private String a17;
|
||||
|
||||
/**
|
||||
* r17
|
||||
*/
|
||||
@ApiModelProperty(value="r17")
|
||||
private String r17;
|
||||
|
||||
/**
|
||||
* a18
|
||||
*/
|
||||
@ApiModelProperty(value="a18")
|
||||
private String a18;
|
||||
|
||||
/**
|
||||
* r18
|
||||
*/
|
||||
@ApiModelProperty(value="r18")
|
||||
private String r18;
|
||||
|
||||
/**
|
||||
* a19
|
||||
*/
|
||||
@ApiModelProperty(value="a19")
|
||||
private String a19;
|
||||
|
||||
/**
|
||||
* r19
|
||||
*/
|
||||
@ApiModelProperty(value="r19")
|
||||
private String r19;
|
||||
|
||||
/**
|
||||
* a20
|
||||
*/
|
||||
@ApiModelProperty(value="a20")
|
||||
private String a20;
|
||||
|
||||
/**
|
||||
* r20
|
||||
*/
|
||||
@ApiModelProperty(value="r20")
|
||||
private String r20;
|
||||
|
||||
/**
|
||||
* a21
|
||||
*/
|
||||
@ApiModelProperty(value="a21")
|
||||
private String a21;
|
||||
|
||||
/**
|
||||
* r21
|
||||
*/
|
||||
@ApiModelProperty(value="r21")
|
||||
private String r21;
|
||||
|
||||
/**
|
||||
* a22
|
||||
*/
|
||||
@ApiModelProperty(value="a22")
|
||||
private String a22;
|
||||
|
||||
/**
|
||||
* r22
|
||||
*/
|
||||
@ApiModelProperty(value="r22")
|
||||
private String r22;
|
||||
|
||||
/**
|
||||
* a23
|
||||
*/
|
||||
@ApiModelProperty(value="a23")
|
||||
private String a23;
|
||||
|
||||
/**
|
||||
* r23
|
||||
*/
|
||||
@ApiModelProperty(value="r23")
|
||||
private String r23;
|
||||
|
||||
/**
|
||||
* a24
|
||||
*/
|
||||
@ApiModelProperty(value="a24")
|
||||
private String a24;
|
||||
|
||||
/**
|
||||
* r24
|
||||
*/
|
||||
@ApiModelProperty(value="r24")
|
||||
private String r24;
|
||||
|
||||
/**
|
||||
* a25
|
||||
*/
|
||||
@ApiModelProperty(value="a25")
|
||||
private String a25;
|
||||
|
||||
/**
|
||||
* r25
|
||||
*/
|
||||
@ApiModelProperty(value="r25")
|
||||
private String r25;
|
||||
|
||||
/**
|
||||
* a26
|
||||
*/
|
||||
@ApiModelProperty(value="a26")
|
||||
private String a26;
|
||||
|
||||
/**
|
||||
* r26
|
||||
*/
|
||||
@ApiModelProperty(value="r26")
|
||||
private String r26;
|
||||
|
||||
}
|
||||
@ -0,0 +1,377 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2025, mom All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the foreverwin.com developer nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
* Author: mom
|
||||
*/
|
||||
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* AQL加严对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:42:41
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_aql_tightened")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "AQL加严对应表")
|
||||
public class QmsAqlTightened extends Model<QmsAqlTightened> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* handle
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="handle")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* samplecode
|
||||
*/
|
||||
@ApiModelProperty(value="samplecode")
|
||||
private String samplecode;
|
||||
|
||||
/**
|
||||
* sampleqty
|
||||
*/
|
||||
@ApiModelProperty(value="sampleqty")
|
||||
private Integer sampleqty;
|
||||
|
||||
/**
|
||||
* a1
|
||||
*/
|
||||
@ApiModelProperty(value="a1")
|
||||
private String a1;
|
||||
|
||||
/**
|
||||
* r1
|
||||
*/
|
||||
@ApiModelProperty(value="r1")
|
||||
private String r1;
|
||||
|
||||
/**
|
||||
* a2
|
||||
*/
|
||||
@ApiModelProperty(value="a2")
|
||||
private String a2;
|
||||
|
||||
/**
|
||||
* r2
|
||||
*/
|
||||
@ApiModelProperty(value="r2")
|
||||
private String r2;
|
||||
|
||||
/**
|
||||
* a3
|
||||
*/
|
||||
@ApiModelProperty(value="a3")
|
||||
private String a3;
|
||||
|
||||
/**
|
||||
* r3
|
||||
*/
|
||||
@ApiModelProperty(value="r3")
|
||||
private String r3;
|
||||
|
||||
/**
|
||||
* a4
|
||||
*/
|
||||
@ApiModelProperty(value="a4")
|
||||
private String a4;
|
||||
|
||||
/**
|
||||
* r4
|
||||
*/
|
||||
@ApiModelProperty(value="r4")
|
||||
private String r4;
|
||||
|
||||
/**
|
||||
* a5
|
||||
*/
|
||||
@ApiModelProperty(value="a5")
|
||||
private String a5;
|
||||
|
||||
/**
|
||||
* r5
|
||||
*/
|
||||
@ApiModelProperty(value="r5")
|
||||
private String r5;
|
||||
|
||||
/**
|
||||
* a6
|
||||
*/
|
||||
@ApiModelProperty(value="a6")
|
||||
private String a6;
|
||||
|
||||
/**
|
||||
* r6
|
||||
*/
|
||||
@ApiModelProperty(value="r6")
|
||||
private String r6;
|
||||
|
||||
/**
|
||||
* a7
|
||||
*/
|
||||
@ApiModelProperty(value="a7")
|
||||
private String a7;
|
||||
|
||||
/**
|
||||
* r7
|
||||
*/
|
||||
@ApiModelProperty(value="r7")
|
||||
private String r7;
|
||||
|
||||
/**
|
||||
* a8
|
||||
*/
|
||||
@ApiModelProperty(value="a8")
|
||||
private String a8;
|
||||
|
||||
/**
|
||||
* r8
|
||||
*/
|
||||
@ApiModelProperty(value="r8")
|
||||
private String r8;
|
||||
|
||||
/**
|
||||
* a9
|
||||
*/
|
||||
@ApiModelProperty(value="a9")
|
||||
private String a9;
|
||||
|
||||
/**
|
||||
* r9
|
||||
*/
|
||||
@ApiModelProperty(value="r9")
|
||||
private String r9;
|
||||
|
||||
/**
|
||||
* a10
|
||||
*/
|
||||
@ApiModelProperty(value="a10")
|
||||
private String a10;
|
||||
|
||||
/**
|
||||
* r10
|
||||
*/
|
||||
@ApiModelProperty(value="r10")
|
||||
private String r10;
|
||||
|
||||
/**
|
||||
* a11
|
||||
*/
|
||||
@ApiModelProperty(value="a11")
|
||||
private String a11;
|
||||
|
||||
/**
|
||||
* r11
|
||||
*/
|
||||
@ApiModelProperty(value="r11")
|
||||
private String r11;
|
||||
|
||||
/**
|
||||
* a12
|
||||
*/
|
||||
@ApiModelProperty(value="a12")
|
||||
private String a12;
|
||||
|
||||
/**
|
||||
* r12
|
||||
*/
|
||||
@ApiModelProperty(value="r12")
|
||||
private String r12;
|
||||
|
||||
/**
|
||||
* a13
|
||||
*/
|
||||
@ApiModelProperty(value="a13")
|
||||
private String a13;
|
||||
|
||||
/**
|
||||
* r13
|
||||
*/
|
||||
@ApiModelProperty(value="r13")
|
||||
private String r13;
|
||||
|
||||
/**
|
||||
* a14
|
||||
*/
|
||||
@ApiModelProperty(value="a14")
|
||||
private String a14;
|
||||
|
||||
/**
|
||||
* r14
|
||||
*/
|
||||
@ApiModelProperty(value="r14")
|
||||
private String r14;
|
||||
|
||||
/**
|
||||
* a15
|
||||
*/
|
||||
@ApiModelProperty(value="a15")
|
||||
private String a15;
|
||||
|
||||
/**
|
||||
* r15
|
||||
*/
|
||||
@ApiModelProperty(value="r15")
|
||||
private String r15;
|
||||
|
||||
/**
|
||||
* a16
|
||||
*/
|
||||
@ApiModelProperty(value="a16")
|
||||
private String a16;
|
||||
|
||||
/**
|
||||
* r16
|
||||
*/
|
||||
@ApiModelProperty(value="r16")
|
||||
private String r16;
|
||||
|
||||
/**
|
||||
* a17
|
||||
*/
|
||||
@ApiModelProperty(value="a17")
|
||||
private String a17;
|
||||
|
||||
/**
|
||||
* r17
|
||||
*/
|
||||
@ApiModelProperty(value="r17")
|
||||
private String r17;
|
||||
|
||||
/**
|
||||
* a18
|
||||
*/
|
||||
@ApiModelProperty(value="a18")
|
||||
private String a18;
|
||||
|
||||
/**
|
||||
* r18
|
||||
*/
|
||||
@ApiModelProperty(value="r18")
|
||||
private String r18;
|
||||
|
||||
/**
|
||||
* a19
|
||||
*/
|
||||
@ApiModelProperty(value="a19")
|
||||
private String a19;
|
||||
|
||||
/**
|
||||
* r19
|
||||
*/
|
||||
@ApiModelProperty(value="r19")
|
||||
private String r19;
|
||||
|
||||
/**
|
||||
* a20
|
||||
*/
|
||||
@ApiModelProperty(value="a20")
|
||||
private String a20;
|
||||
|
||||
/**
|
||||
* r20
|
||||
*/
|
||||
@ApiModelProperty(value="r20")
|
||||
private String r20;
|
||||
|
||||
/**
|
||||
* a21
|
||||
*/
|
||||
@ApiModelProperty(value="a21")
|
||||
private String a21;
|
||||
|
||||
/**
|
||||
* r21
|
||||
*/
|
||||
@ApiModelProperty(value="r21")
|
||||
private String r21;
|
||||
|
||||
/**
|
||||
* a22
|
||||
*/
|
||||
@ApiModelProperty(value="a22")
|
||||
private String a22;
|
||||
|
||||
/**
|
||||
* r22
|
||||
*/
|
||||
@ApiModelProperty(value="r22")
|
||||
private String r22;
|
||||
|
||||
/**
|
||||
* a23
|
||||
*/
|
||||
@ApiModelProperty(value="a23")
|
||||
private String a23;
|
||||
|
||||
/**
|
||||
* r23
|
||||
*/
|
||||
@ApiModelProperty(value="r23")
|
||||
private String r23;
|
||||
|
||||
/**
|
||||
* a24
|
||||
*/
|
||||
@ApiModelProperty(value="a24")
|
||||
private String a24;
|
||||
|
||||
/**
|
||||
* r24
|
||||
*/
|
||||
@ApiModelProperty(value="r24")
|
||||
private String r24;
|
||||
|
||||
/**
|
||||
* a25
|
||||
*/
|
||||
@ApiModelProperty(value="a25")
|
||||
private String a25;
|
||||
|
||||
/**
|
||||
* r25
|
||||
*/
|
||||
@ApiModelProperty(value="r25")
|
||||
private String r25;
|
||||
|
||||
/**
|
||||
* a26
|
||||
*/
|
||||
@ApiModelProperty(value="a26")
|
||||
private String a26;
|
||||
|
||||
/**
|
||||
* r26
|
||||
*/
|
||||
@ApiModelProperty(value="r26")
|
||||
private String r26;
|
||||
|
||||
}
|
||||
@ -0,0 +1,103 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 检验计划明细表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2023-03-29 09:42:38
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_qc_plan_detail")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "检验计划明细表")
|
||||
public class QmsQcPlanDetail extends Model<QmsQcPlanDetail> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String KW_QMS_QC_PLAN_DETAIL_BO = "QmsQcPlanDetailBO";
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String handle;
|
||||
/**
|
||||
* 检验计划主表的Handle
|
||||
*/
|
||||
@ApiModelProperty(value = "检验计划主表的Handle")
|
||||
private String qcPlanBo;
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
@ApiModelProperty(value = "顺序")
|
||||
private String seq;
|
||||
/**
|
||||
* 检验项目表的SID
|
||||
*/
|
||||
@ApiModelProperty(value = "检验项目表的SID")
|
||||
private String qcItemSid;
|
||||
/**
|
||||
* 抽样计划表的Handle
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样计划表的Handle")
|
||||
private String samplePlanBo;
|
||||
/**
|
||||
* 量测点数
|
||||
*/
|
||||
@ApiModelProperty(value = "量测点数")
|
||||
private Integer measurementPoints;
|
||||
/**
|
||||
* 规格上限
|
||||
*/
|
||||
@ApiModelProperty(value = "规格上限")
|
||||
private BigDecimal maxValue;
|
||||
/**
|
||||
* 规格下限
|
||||
*/
|
||||
@ApiModelProperty(value = "规格下限")
|
||||
private BigDecimal minValue;
|
||||
/**
|
||||
* 中心
|
||||
*/
|
||||
@ApiModelProperty(value = "中心")
|
||||
private BigDecimal centerValue;
|
||||
/**
|
||||
* 内文
|
||||
*/
|
||||
@ApiModelProperty(value = "内文")
|
||||
private String content;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 样本数
|
||||
*/
|
||||
@ApiModelProperty(value = "样本数")
|
||||
private BigDecimal sampleSizeSpc;
|
||||
/**
|
||||
* 管制图
|
||||
*/
|
||||
@ApiModelProperty(value = "管制图")
|
||||
private String chartControl;
|
||||
/**
|
||||
* QC工艺路线
|
||||
*/
|
||||
@ApiModelProperty(value = "QC工艺路线")
|
||||
private String qcRoutingBo;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,121 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import com.foreverwin.iep.common.utils.HandleBoProcessor;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 抽样计划主表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2022-12-27 11:42:02
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_sample_plan")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "抽样计划主表")
|
||||
public class QmsSamplePlan extends Model<QmsSamplePlan> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String KW_QMS_SAMPLE_PLAN_BO = "SamplePlanBO";
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String handle;
|
||||
/**
|
||||
* 工厂
|
||||
*/
|
||||
@ApiModelProperty(value = "工厂")
|
||||
private String site;
|
||||
/**
|
||||
* 抽样计划
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样计划")
|
||||
private String samplePlan;
|
||||
/**
|
||||
* 抽样计划名称
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样计划名称")
|
||||
private String description;
|
||||
/**
|
||||
* 抽样类型
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样类型")
|
||||
private String samplePlanType;
|
||||
/**
|
||||
* 固定抽样数
|
||||
*/
|
||||
@ApiModelProperty(value = "固定抽样数")
|
||||
private BigDecimal fixedNumber;
|
||||
/**
|
||||
* 固定百分比
|
||||
*/
|
||||
@ApiModelProperty(value = "固定百分比")
|
||||
private BigDecimal fixedPercentage;
|
||||
/**
|
||||
* 检验水平
|
||||
*/
|
||||
@ApiModelProperty(value = "检验水平")
|
||||
private String qcLevel;
|
||||
/**
|
||||
* 允收水平
|
||||
*/
|
||||
@ApiModelProperty(value = "允收水平")
|
||||
private String allowLevel;
|
||||
/**
|
||||
* 抽样比率
|
||||
*/
|
||||
@ApiModelProperty(value = "抽样比率")
|
||||
private BigDecimal sampleRatio;
|
||||
/**
|
||||
* 建立人
|
||||
*/
|
||||
@ApiModelProperty(value = "建立人")
|
||||
private String createdUser;
|
||||
/**
|
||||
* 建立日期
|
||||
*/
|
||||
@ApiModelProperty(value = "建立日期")
|
||||
private LocalDateTime createdDateTime;
|
||||
/**
|
||||
* 判退模式
|
||||
*/
|
||||
@ApiModelProperty(value = "判退模式")
|
||||
private String judgeMode;
|
||||
/**
|
||||
* kind
|
||||
*/
|
||||
@ApiModelProperty(value = "kind")
|
||||
private String kind;
|
||||
/**
|
||||
* 每片抽N區
|
||||
*/
|
||||
@ApiModelProperty(value = "每片抽N區")
|
||||
private BigDecimal areaQty;
|
||||
/**
|
||||
* 每區抽N個die
|
||||
*/
|
||||
@ApiModelProperty(value = "每區抽N個die")
|
||||
private BigDecimal dieQty;
|
||||
/**
|
||||
* areaInfo
|
||||
*/
|
||||
@ApiModelProperty(value = "areaInfo")
|
||||
private String areaInfo;
|
||||
|
||||
public static String genHandle( String site, String samplePlan ) {
|
||||
return HandleBoProcessor.genHandle(KW_QMS_SAMPLE_PLAN_BO, site, samplePlan);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 抽样计划主表自定义
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:42:35
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_sample_plan_customize")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "抽样计划主表自定义")
|
||||
public class QmsSamplePlanCustomize extends Model<QmsSamplePlanCustomize> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="主键")
|
||||
private String sid;
|
||||
|
||||
/**
|
||||
* 生产点
|
||||
*/
|
||||
@ApiModelProperty(value="生产点")
|
||||
private String site;
|
||||
|
||||
/**
|
||||
* 抽样计划主表的Handle
|
||||
*/
|
||||
@ApiModelProperty(value="抽样计划主表的Handle")
|
||||
private String samplePlanBo;
|
||||
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
@ApiModelProperty(value="序号")
|
||||
private String seq;
|
||||
|
||||
/**
|
||||
* 最小值
|
||||
*/
|
||||
@ApiModelProperty(value="最小值")
|
||||
private Integer minValue;
|
||||
|
||||
/**
|
||||
* 最大值
|
||||
*/
|
||||
@ApiModelProperty(value="最大值")
|
||||
private Integer maxValue;
|
||||
|
||||
/**
|
||||
* 抽样数
|
||||
*/
|
||||
@ApiModelProperty(value="抽样数")
|
||||
private Integer sampleSize;
|
||||
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2025, mom All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the foreverwin.com developer nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
* Author: mom
|
||||
*/
|
||||
|
||||
package com.foreverwin.iep.qms.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 抽样比率表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:44:30
|
||||
*/
|
||||
@Data
|
||||
@TableName("qms_sample_ratio")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "抽样比率表")
|
||||
public class QmsSampleRatio extends Model<QmsSampleRatio> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* handle
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="handle")
|
||||
private String handle;
|
||||
|
||||
/**
|
||||
* sampleRatio
|
||||
*/
|
||||
@ApiModelProperty(value="sampleRatio")
|
||||
private BigDecimal sampleRatio;
|
||||
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.foreverwin.iep.qms.feign;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
@FeignClient(value = "iep-qms")
|
||||
public interface RemoteQmsSamplePlanService {
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
package com.foreverwin.iep.qms.feign;
|
||||
3
qms-api/src/main/resources/META-INF/spring.factories
Normal file
3
qms-api/src/main/resources/META-INF/spring.factories
Normal file
@ -0,0 +1,3 @@
|
||||
# 配置 feignclient 的全类名路径, 避免包名不规范无法扫描问题
|
||||
com.foreverwin.mom.common.feign.MomFeignAutoConfiguration=\
|
||||
com.foreverwin.iep.qms.feign.RemoteQmsSamplePlanService
|
||||
BIN
qms-app/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
BIN
qms-app/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
Binary file not shown.
2
qms-app/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
2
qms-app/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
||||
13
qms-app/DockerfileDev
Normal file
13
qms-app/DockerfileDev
Normal file
@ -0,0 +1,13 @@
|
||||
FROM moxm/java:1.8-full
|
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
|
||||
RUN mkdir -p /qms-iep
|
||||
|
||||
WORKDIR /qms-iep
|
||||
|
||||
EXPOSE 6062
|
||||
|
||||
ADD target/iep-qms.jar ./
|
||||
|
||||
CMD java -Xms128m -Xmx256m -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=50007,suspend=n -Dfile.encoding=utf-8 -jar iep-qms.jar
|
||||
39
qms-app/pom.xml
Normal file
39
qms-app/pom.xml
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>iep-qms</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>qms-app</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>qms-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>qms-core</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>iep-qms</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@ -0,0 +1,27 @@
|
||||
package com.foreverwin.iep.qms;
|
||||
|
||||
import com.foreverwin.mom.common.feign.annotation.EnableMomFeignClients;
|
||||
import com.foreverwin.mom.common.security.annotation.EnableMomResourceServer;
|
||||
import com.foreverwin.mom.common.swagger.annotation.EnableMomSwagger2;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
|
||||
@EnableMomSwagger2
|
||||
@EnableMomFeignClients(basePackages = {"com.foreverwin.mom", "com.foreverwin.iep"})
|
||||
@EnableDiscoveryClient
|
||||
@EnableMomResourceServer
|
||||
@SpringBootApplication(scanBasePackages = {"com.foreverwin.iep"})
|
||||
// 需配置不然扫不到mes-db的mapper
|
||||
@MapperScan({"com.foreverwin.iep.**.mapper"})
|
||||
public class Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication springApplication = new SpringApplication(Application.class);
|
||||
// 启用循环引用
|
||||
springApplication.setAllowCircularReferences(Boolean.TRUE);
|
||||
springApplication.run(args);
|
||||
}
|
||||
|
||||
}
|
||||
20
qms-app/src/main/resources/application.yml
Normal file
20
qms-app/src/main/resources/application.yml
Normal file
@ -0,0 +1,20 @@
|
||||
server:
|
||||
port: 6062
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: iep-qms
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: ${NACOS_HOST:mom-register}:${NACOS_PORT:8848}
|
||||
config:
|
||||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||||
config:
|
||||
import:
|
||||
- optional:nacos:application-@profiles.active@.yml
|
||||
- optional:nacos:${spring.application.name}-@profiles.active@.yml
|
||||
jackson:
|
||||
serialization:
|
||||
# 懒加载前台序列化报错问题
|
||||
FAIL_ON_EMPTY_BEANS: false
|
||||
71
qms-app/src/main/resources/logback-spring.xml
Normal file
71
qms-app/src/main/resources/logback-spring.xml
Normal file
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
小技巧: 在根pom里面设置统一存放路径,统一管理方便维护
|
||||
<properties>
|
||||
<log-path>/Users/mom</log-path>
|
||||
</properties>
|
||||
1. 其他模块加日志输出,直接copy本文件放在resources 目录即可
|
||||
2. 注意修改 <property name="${log-path}/log.path" value=""/> 的value模块
|
||||
-->
|
||||
<configuration debug="false" scan="false">
|
||||
<springProperty name="logPath" source="spring.application.name" defaultValue="${project.artifactId}"/>
|
||||
<property name="log.path" value="logs/${logPath}"/>
|
||||
<!-- 彩色日志格式 -->
|
||||
<property name="CONSOLE_LOG_PATTERN"
|
||||
value="${CONSOLE_LOG_PATTERN:-%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/>
|
||||
<!-- 彩色日志依赖的渲染类 -->
|
||||
<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter"/>
|
||||
<conversionRule conversionWord="wex"
|
||||
converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"/>
|
||||
<conversionRule conversionWord="wEx"
|
||||
converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"/>
|
||||
<!-- Console log output -->
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>${CONSOLE_LOG_PATTERN}</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- Log file debug output -->
|
||||
<appender name="debug" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/debug.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>${log.path}/%d{yyyy-MM, aux}/debug.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
<maxFileSize>50MB</maxFileSize>
|
||||
<maxHistory>30</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%date [%thread] %-5level [%logger{50}] %file:%line - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- Log file error output -->
|
||||
<appender name="error" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/error.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>${log.path}/%d{yyyy-MM}/error.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
<maxFileSize>50MB</maxFileSize>
|
||||
<maxHistory>30</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%date [%thread] %-5level [%logger{50}] %file:%line - %msg%n</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>ERROR</level>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<logger name="org.activiti.engine.impl.db" level="DEBUG">
|
||||
<appender-ref ref="debug"/>
|
||||
</logger>
|
||||
|
||||
<!--nacos 心跳 INFO 屏蔽-->
|
||||
<logger name="com.alibaba.nacos" level="OFF">
|
||||
<appender-ref ref="error"/>
|
||||
</logger>
|
||||
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
|
||||
<root level="INFO">
|
||||
<appender-ref ref="console"/>
|
||||
<appender-ref ref="debug"/>
|
||||
</root>
|
||||
</configuration>
|
||||
BIN
qms-core/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
BIN
qms-core/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
Binary file not shown.
2
qms-core/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
2
qms-core/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
||||
109
qms-core/pom.xml
Normal file
109
qms-core/pom.xml
Normal file
@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>iep-qms</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>qms-core</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!--必备: undertow容器-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
||||
</dependency>
|
||||
<!--必备: spring boot web-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<!--必备: 注册中心客户端-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<!--必备: 配置中心客户端-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
<!--必备: 操作数据源相关-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-data</artifactId>
|
||||
</dependency>
|
||||
<!--必备:mom安全模块-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-security</artifactId>
|
||||
</dependency>
|
||||
<!--必备:xss 过滤模块-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-xss</artifactId>
|
||||
</dependency>
|
||||
<!--必备: sentinel 依赖-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-sentinel</artifactId>
|
||||
</dependency>
|
||||
<!--必备: feign 依赖-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-feign</artifactId>
|
||||
</dependency>
|
||||
<!--必备: 依赖api模块-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>qms-api</artifactId>
|
||||
</dependency>
|
||||
<!--必备: log 依赖-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-log</artifactId>
|
||||
</dependency>
|
||||
<!--选配: mybatis 依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<!--选配: druid 连接池 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<!--选配: mysql 数据库驱动 -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
<!--选配: swagger文档-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-swagger</artifactId>
|
||||
</dependency>
|
||||
<!--测试: spring boot test-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mes-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>qms-db</artifactId>
|
||||
</dependency>
|
||||
<!--分布式事务-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>mom-common-seata</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -0,0 +1,19 @@
|
||||
package com.foreverwin.iep.qms.config;
|
||||
|
||||
import com.foreverwin.mom.common.core.util.SpringContextHolder;
|
||||
import org.springframework.context.MessageSource;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
|
||||
@Configuration
|
||||
public class QmsMessagesConfig {
|
||||
|
||||
@PostConstruct
|
||||
public MessageSource addMessageSource() {
|
||||
ReloadableResourceBundleMessageSource messageSource = (ReloadableResourceBundleMessageSource) SpringContextHolder.getBean("messageSource");
|
||||
messageSource.addBasenames("classpath:qms/i18n/messages");
|
||||
return messageSource;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,113 @@
|
||||
package com.foreverwin.iep.qms.controller;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.foreverwin.iep.common.base.FrontPage;
|
||||
import com.foreverwin.iep.common.utils.ListUtils;
|
||||
import com.foreverwin.iep.qms.dto.QmsSamplePlanDTO;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlan;
|
||||
import com.foreverwin.iep.qms.service.QmsSamplePlanService;
|
||||
import com.foreverwin.iep.qms.service.QmsSampleRatioService;
|
||||
import com.foreverwin.mom.common.core.util.R;
|
||||
import com.foreverwin.mom.common.data.tenant.TenantContextHolder;
|
||||
import com.foreverwin.mom.common.log.annotation.SysLog;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 抽样计划主表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2022-12-28 10:01:27
|
||||
*/
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/sample-plan")
|
||||
@Api(value = "sample-plan", tags = "抽样计划主表管理")
|
||||
public class QmsSamplePlanController {
|
||||
|
||||
private final QmsSamplePlanService qmsSamplePlanService;
|
||||
|
||||
private final QmsSampleRatioService qmsSampleRatioService;
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param qmsSamplePlan 抽样计划主表
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页查询", notes = "分页查询")
|
||||
@GetMapping("/page")
|
||||
public R getQmsSamplePlanPage( FrontPage page, QmsSamplePlanDTO qmsSamplePlan ) {
|
||||
List<String> types = new ArrayList<>();
|
||||
if (!"*".equals(qmsSamplePlan.getSamplePlanType())) {
|
||||
if (StrUtil.isNotBlank(qmsSamplePlan.getSamplePlanType())) {
|
||||
types.add(qmsSamplePlan.getSamplePlan());
|
||||
} else {
|
||||
types.addAll(Arrays.asList("0", "1", "2"));
|
||||
}
|
||||
}
|
||||
return R.ok(qmsSamplePlanService.page(page.genOrders(), Wrappers.<QmsSamplePlan>lambdaQuery()
|
||||
.eq(QmsSamplePlan::getSite, TenantContextHolder.getTenantId())
|
||||
.like(StrUtil.isNotBlank(qmsSamplePlan.getSamplePlan()), QmsSamplePlan::getSamplePlan, qmsSamplePlan.getSamplePlan())
|
||||
.in(!ListUtils.isEmpty(types), QmsSamplePlan::getSamplePlanType, types)
|
||||
.eq(StrUtil.isNotBlank(qmsSamplePlan.getKind()), QmsSamplePlan::getKind, qmsSamplePlan.getKind())
|
||||
.orderByAsc(QmsSamplePlan::getSamplePlan)));
|
||||
}
|
||||
|
||||
@GetMapping("/{samplePlan}")
|
||||
public R getSamplePlan( @PathVariable("samplePlan") String samplePlan ) {
|
||||
return R.ok(qmsSamplePlanService.getSamplePlan(TenantContextHolder.getTenantId(), samplePlan));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增抽样计划主表
|
||||
*
|
||||
* @param qmsSamplePlanDTO 抽样计划主表
|
||||
* @return R
|
||||
*/
|
||||
@ApiOperation(value = "新增抽样计划主表", notes = "新增抽样计划主表")
|
||||
@SysLog("新增抽样计划主表")
|
||||
@PostMapping
|
||||
public R save( @RequestBody QmsSamplePlanDTO qmsSamplePlanDTO ) {
|
||||
qmsSamplePlanService.save(qmsSamplePlanDTO);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除抽样计划主表
|
||||
*
|
||||
* @param samplePlan samplePlan
|
||||
* @return R
|
||||
*/
|
||||
@DeleteMapping("/{samplePlan}")
|
||||
public R removeById( @PathVariable("samplePlan") String samplePlan ) {
|
||||
qmsSamplePlanService.delete(TenantContextHolder.getTenantId(), samplePlan);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 计算抽样数&允退数
|
||||
*
|
||||
* @param qmsSamplePlan 抽样计划主表
|
||||
* @return R
|
||||
*/
|
||||
@ApiOperation(value = "计算抽样数&允退数", notes = "计算抽样数&允退数")
|
||||
@SysLog("计算抽样数&允退数")
|
||||
@PostMapping("/calculate")
|
||||
public R calculate( @RequestBody QmsSamplePlanDTO qmsSamplePlan ) {
|
||||
return R.ok(qmsSamplePlanService.calculate(qmsSamplePlan));
|
||||
}
|
||||
|
||||
@GetMapping("/ratio")
|
||||
public R getQmsSampleRatio() {
|
||||
return R.ok(qmsSampleRatioService.list());
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916Code;
|
||||
|
||||
/**
|
||||
* 1916表-抽样代码
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:28:41
|
||||
*/
|
||||
public interface Qms1916CodeService extends IService<Qms1916Code> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916SamplePlan;
|
||||
|
||||
/**
|
||||
* 1916表-抽样数
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:32:12
|
||||
*/
|
||||
public interface Qms1916SamplePlanService extends IService<Qms1916SamplePlan> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlCode;
|
||||
|
||||
/**
|
||||
* AQL区间对照表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 12:00:10
|
||||
*/
|
||||
public interface QmsAqlCodeService extends IService<QmsAqlCode> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlNormal;
|
||||
|
||||
/**
|
||||
* AQL正常对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:36:20
|
||||
*/
|
||||
public interface QmsAqlNormalService extends IService<QmsAqlNormal> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlReduced;
|
||||
|
||||
/**
|
||||
* AQL减量对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:38:30
|
||||
*/
|
||||
public interface QmsAqlReducedService extends IService<QmsAqlReduced> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlTightened;
|
||||
|
||||
/**
|
||||
* AQL加严对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:42:41
|
||||
*/
|
||||
public interface QmsAqlTightenedService extends IService<QmsAqlTightened> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsQcPlanDetail;
|
||||
|
||||
/**
|
||||
* 检验计划明细表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2023-03-29 09:42:38
|
||||
*/
|
||||
public interface QmsQcPlanDetailService extends IService<QmsQcPlanDetail> {
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlanCustomize;
|
||||
|
||||
/**
|
||||
* 抽样计划主表自定义
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:42:35
|
||||
*/
|
||||
public interface QmsSamplePlanCustomizeService extends IService<QmsSamplePlanCustomize> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.dto.QmsSamplePlanDTO;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlan;
|
||||
|
||||
/**
|
||||
* 抽样计划主表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2022-12-28 09:46:03
|
||||
*/
|
||||
public interface QmsSamplePlanService extends IService<QmsSamplePlan> {
|
||||
|
||||
QmsSamplePlanDTO calculate( QmsSamplePlanDTO qmsSamplePlanDTO );
|
||||
|
||||
void save( QmsSamplePlanDTO qmsSamplePlanDTO );
|
||||
|
||||
void delete( String site, String samplePlan );
|
||||
|
||||
QmsSamplePlanDTO getSamplePlan( String site, String samplePlan );
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.foreverwin.iep.qms.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.iep.qms.entity.QmsSampleRatio;
|
||||
|
||||
/**
|
||||
* 抽样比率表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:44:30
|
||||
*/
|
||||
public interface QmsSampleRatioService extends IService<QmsSampleRatio> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916Code;
|
||||
import com.foreverwin.iep.qms.mapper.Qms1916CodeMapper;
|
||||
import com.foreverwin.iep.qms.service.Qms1916CodeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 1916表-抽样代码
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:28:41
|
||||
*/
|
||||
@Service
|
||||
public class Qms1916CodeServiceImpl extends ServiceImpl<Qms1916CodeMapper, Qms1916Code> implements Qms1916CodeService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916SamplePlan;
|
||||
import com.foreverwin.iep.qms.mapper.Qms1916SamplePlanMapper;
|
||||
import com.foreverwin.iep.qms.service.Qms1916SamplePlanService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 1916表-抽样数
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:32:12
|
||||
*/
|
||||
@Service
|
||||
public class Qms1916SamplePlanServiceImpl extends ServiceImpl<Qms1916SamplePlanMapper, Qms1916SamplePlan> implements Qms1916SamplePlanService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlCode;
|
||||
import com.foreverwin.iep.qms.mapper.QmsAqlCodeMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsAqlCodeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* AQL区间对照表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 12:00:10
|
||||
*/
|
||||
@Service
|
||||
public class QmsAqlCodeServiceImpl extends ServiceImpl<QmsAqlCodeMapper, QmsAqlCode> implements QmsAqlCodeService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlNormal;
|
||||
import com.foreverwin.iep.qms.mapper.QmsAqlNormalMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsAqlNormalService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* AQL正常对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:36:20
|
||||
*/
|
||||
@Service
|
||||
public class QmsAqlNormalServiceImpl extends ServiceImpl<QmsAqlNormalMapper, QmsAqlNormal> implements QmsAqlNormalService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlReduced;
|
||||
import com.foreverwin.iep.qms.mapper.QmsAqlReducedMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsAqlReducedService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* AQL减量对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:38:30
|
||||
*/
|
||||
@Service
|
||||
public class QmsAqlReducedServiceImpl extends ServiceImpl<QmsAqlReducedMapper, QmsAqlReduced> implements QmsAqlReducedService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlTightened;
|
||||
import com.foreverwin.iep.qms.mapper.QmsAqlTightenedMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsAqlTightenedService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* AQL加严对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:42:41
|
||||
*/
|
||||
@Service
|
||||
public class QmsAqlTightenedServiceImpl extends ServiceImpl<QmsAqlTightenedMapper, QmsAqlTightened> implements QmsAqlTightenedService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsQcPlanDetail;
|
||||
import com.foreverwin.iep.qms.mapper.QmsQcPlanDetailMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsQcPlanDetailService;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 检验计划明细表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2023-03-29 09:42:38
|
||||
*/
|
||||
@Service
|
||||
@AllArgsConstructor
|
||||
public class QmsQcPlanDetailServiceImpl extends ServiceImpl<QmsQcPlanDetailMapper, QmsQcPlanDetail> implements QmsQcPlanDetailService {
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlanCustomize;
|
||||
import com.foreverwin.iep.qms.mapper.QmsSamplePlanCustomizeMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsSamplePlanCustomizeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 抽样计划主表自定义
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:42:35
|
||||
*/
|
||||
@Service
|
||||
public class QmsSamplePlanCustomizeServiceImpl extends ServiceImpl<QmsSamplePlanCustomizeMapper, QmsSamplePlanCustomize> implements QmsSamplePlanCustomizeService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,437 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.common.utils.ListUtils;
|
||||
import com.foreverwin.iep.common.utils.SidUtils;
|
||||
import com.foreverwin.iep.qms.domain.AqlInfo;
|
||||
import com.foreverwin.iep.qms.dto.QmsSamplePlanDTO;
|
||||
import com.foreverwin.iep.qms.entity.*;
|
||||
import com.foreverwin.iep.qms.mapper.QmsSamplePlanMapper;
|
||||
import com.foreverwin.iep.qms.service.*;
|
||||
import com.foreverwin.mom.common.core.exception.BusinessException;
|
||||
import com.foreverwin.mom.common.core.util.I18nUtil;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* 抽样计划主表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2022-12-28 10:01:27
|
||||
*/
|
||||
@Service
|
||||
@AllArgsConstructor
|
||||
public class QmsSamplePlanServiceImpl extends ServiceImpl<QmsSamplePlanMapper, QmsSamplePlan> implements QmsSamplePlanService {
|
||||
|
||||
private final QmsAqlCodeService qmsAqlCodeService;
|
||||
|
||||
private final QmsAqlNormalService qmsAqlNormalService;
|
||||
|
||||
private final QmsAqlReducedService qmsAqlReducedService;
|
||||
|
||||
private final QmsAqlTightenedService qmsAqlTightenedService;
|
||||
|
||||
private final Qms1916CodeService qms1916CodeService;
|
||||
|
||||
private final Qms1916SamplePlanService qms1916SamplePlanService;
|
||||
|
||||
private final QmsSamplePlanCustomizeService qmsSamplePlanCustomizeService;
|
||||
|
||||
private final QmsQcPlanDetailService qmsQcPlanDetailService;
|
||||
|
||||
@Override
|
||||
public QmsSamplePlanDTO calculate( QmsSamplePlanDTO qmsSamplePlanDTO ) {
|
||||
QmsSamplePlanDTO response = new QmsSamplePlanDTO();
|
||||
QmsSamplePlan qmsSamplePlan = super.getById(qmsSamplePlanDTO.getHandle());
|
||||
|
||||
if (qmsSamplePlan == null) {
|
||||
return response;
|
||||
}
|
||||
|
||||
switch (qmsSamplePlan.getSamplePlanType()) {
|
||||
case "0":
|
||||
//固定抽樣數
|
||||
response.setSampleSize(fixedNumberOfSamples(qmsSamplePlan, qmsSamplePlanDTO.getQty()));
|
||||
break;
|
||||
case "1":
|
||||
//固定抽樣比例
|
||||
response.setSampleSize(fixedSamplingRatio(qmsSamplePlan, qmsSamplePlanDTO.getQty()));
|
||||
break;
|
||||
case "2":
|
||||
//MIL-STD-105E表 (AQL)
|
||||
AqlInfo aqlInfo = aqlOfSamples(qmsSamplePlan, qmsSamplePlanDTO.getQty());
|
||||
BigDecimal aqlQty = new BigDecimal(aqlInfo.getSampleqty());
|
||||
|
||||
if (aqlQty.compareTo(qmsSamplePlanDTO.getQty()) > 0) {
|
||||
aqlQty = qmsSamplePlanDTO.getQty();
|
||||
}
|
||||
response.setReturnAllowedQty(new BigDecimal(aqlInfo.getR()));
|
||||
response.setSampleSize(aqlQty);
|
||||
break;
|
||||
case "3":
|
||||
//1916 表
|
||||
response.setSampleSize(samplesBy1916(qmsSamplePlan, qmsSamplePlanDTO.getQty()));
|
||||
break;
|
||||
case "4":
|
||||
//自訂義
|
||||
response.setSampleSize(customOfSamples(qmsSamplePlan, qmsSamplePlanDTO.getQty()));
|
||||
break;
|
||||
default:
|
||||
response.setSampleSize(new BigDecimal(1));
|
||||
break;
|
||||
}
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save( QmsSamplePlanDTO qmsSamplePlanDTO ) {
|
||||
String site = qmsSamplePlanDTO.getSite();
|
||||
List<QmsSamplePlanCustomize> customizeList = qmsSamplePlanDTO.getCustomizeList();
|
||||
String samplePlanBo = QmsSamplePlan.genHandle(qmsSamplePlanDTO.getSite(), qmsSamplePlanDTO.getSamplePlan());
|
||||
QmsSamplePlan samplePlan = this.getById(samplePlanBo);
|
||||
|
||||
QmsSamplePlan qmsSamplePlan = new QmsSamplePlan();
|
||||
BeanUtils.copyProperties(qmsSamplePlanDTO, qmsSamplePlan);
|
||||
qmsSamplePlan.setHandle(samplePlanBo);
|
||||
|
||||
qmsSamplePlanCustomizeService.remove(Wrappers.lambdaQuery(QmsSamplePlanCustomize.class)
|
||||
.eq(QmsSamplePlanCustomize::getSamplePlanBo, samplePlanBo));
|
||||
|
||||
if (samplePlan == null) {
|
||||
qmsSamplePlan.setCreatedDateTime(LocalDateTime.now());
|
||||
this.save(qmsSamplePlan);
|
||||
if (!ListUtils.isEmpty(customizeList)) {
|
||||
customizeList.forEach(qmsSamplePlanCustomize -> {
|
||||
qmsSamplePlanCustomize.setSid(SidUtils.genSid());
|
||||
qmsSamplePlanCustomize.setSite(site);
|
||||
qmsSamplePlanCustomize.setSamplePlanBo(samplePlanBo);
|
||||
qmsSamplePlanCustomizeService.save(qmsSamplePlanCustomize);
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
qmsSamplePlan.setCreatedDateTime(samplePlan.getCreatedDateTime());
|
||||
this.updateById(qmsSamplePlan);
|
||||
if (!ListUtils.isEmpty(customizeList)) {
|
||||
customizeList.forEach(qmsSamplePlanCustomize -> {
|
||||
qmsSamplePlanCustomize.setSid(SidUtils.genSid());
|
||||
qmsSamplePlanCustomize.setSite(site);
|
||||
qmsSamplePlanCustomize.setSamplePlanBo(samplePlanBo);
|
||||
qmsSamplePlanCustomizeService.save(qmsSamplePlanCustomize);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void delete( String site, String samplePlan ) {
|
||||
String samplePlanBo = QmsSamplePlan.genHandle(site, samplePlan);
|
||||
QmsSamplePlan qmsSamplePlan = this.getById(samplePlanBo);
|
||||
if (qmsSamplePlan == null) {
|
||||
throw BusinessException.build(I18nUtil.getI18nText("qms.sample.plan.not.found"));
|
||||
}
|
||||
|
||||
QmsQcPlanDetail qmsQcPlanDetail = qmsQcPlanDetailService.getOne(Wrappers.lambdaQuery(QmsQcPlanDetail.class)
|
||||
.eq(QmsQcPlanDetail::getSamplePlanBo, samplePlanBo), false);
|
||||
if (qmsQcPlanDetail != null) {
|
||||
throw BusinessException.build(I18nUtil.getI18nText("qms.sample.plan.has.binding"));
|
||||
}
|
||||
|
||||
this.removeById(samplePlanBo);
|
||||
qmsSamplePlanCustomizeService.remove(Wrappers.lambdaQuery(QmsSamplePlanCustomize.class)
|
||||
.eq(QmsSamplePlanCustomize::getSamplePlanBo, samplePlanBo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public QmsSamplePlanDTO getSamplePlan( String site, String samplePlan ) {
|
||||
String samplePlanBo = QmsSamplePlan.genHandle(site, samplePlan);
|
||||
QmsSamplePlan qmsSamplePlan = this.getById(samplePlanBo);
|
||||
if (qmsSamplePlan == null) {
|
||||
throw BusinessException.build(I18nUtil.getI18nText("qms.sample.plan.not.found"));
|
||||
}
|
||||
|
||||
QmsSamplePlanDTO dto = new QmsSamplePlanDTO();
|
||||
BeanUtils.copyProperties(qmsSamplePlan, dto);
|
||||
dto.setCustomizeList(qmsSamplePlanCustomizeService.list(Wrappers.lambdaQuery(QmsSamplePlanCustomize.class)
|
||||
.eq(QmsSamplePlanCustomize::getSamplePlanBo, samplePlanBo)).stream()
|
||||
.sorted(Comparator.comparing(( custom ) -> Integer.parseInt(custom.getSeq())))
|
||||
.collect(Collectors.toList()));
|
||||
return dto;
|
||||
}
|
||||
|
||||
//固定抽樣數
|
||||
private BigDecimal fixedNumberOfSamples( QmsSamplePlan qmsSamplePlan, BigDecimal sfcQty ) {
|
||||
BigDecimal fixed = new BigDecimal(0);
|
||||
// SFC數量小於固定抽樣,使用SFC數量
|
||||
if (sfcQty.compareTo(qmsSamplePlan.getFixedNumber()) < 0) {
|
||||
return sfcQty;
|
||||
} else {
|
||||
return qmsSamplePlan.getFixedNumber();
|
||||
}
|
||||
}
|
||||
|
||||
//固定抽樣比例
|
||||
private BigDecimal fixedSamplingRatio( QmsSamplePlan samplePlan, BigDecimal sfcQty ) {
|
||||
BigDecimal percent = samplePlan.getFixedPercentage().divide(new BigDecimal(100));
|
||||
return sfcQty.multiply(percent).setScale(0, BigDecimal.ROUND_CEILING);
|
||||
}
|
||||
|
||||
//MIL-STD-105E表 (AQL)
|
||||
private AqlInfo aqlOfSamples( QmsSamplePlan samplePlan, BigDecimal sfcQty ) {
|
||||
return getAqlSampleQty(sfcQty.intValue(), samplePlan.getQcLevel(),
|
||||
samplePlan.getAllowLevel(), samplePlan.getSampleRatio());
|
||||
}
|
||||
|
||||
/**
|
||||
* 取得AQL抽樣數
|
||||
*
|
||||
* @param qty 數量
|
||||
* @param aqlLevel 檢驗水準
|
||||
* @param allowLevel 允收水準
|
||||
* @return
|
||||
*/
|
||||
private AqlInfo getAqlSampleQty( int qty, String aqlLevel, String allowLevel, BigDecimal ratio ) {
|
||||
String sampleCode = null;
|
||||
List<QmsAqlCode> cList = qmsAqlCodeService.list(Wrappers.<QmsAqlCode>query().lambda()
|
||||
.le(QmsAqlCode::getLotqtymin, qty)
|
||||
.ge(QmsAqlCode::getLotqtymax, qty));
|
||||
if (cList == null || cList.size() == 0) {
|
||||
throw BusinessException.build("抽样数量不正确: " + qty);
|
||||
}
|
||||
// 取得SampleCode
|
||||
switch (aqlLevel) {
|
||||
case "0":
|
||||
sampleCode = cList.get(0).getI();
|
||||
break;
|
||||
case "1":
|
||||
sampleCode = cList.get(0).getIi();
|
||||
break;
|
||||
case "2":
|
||||
sampleCode = cList.get(0).getIii();
|
||||
break;
|
||||
case "3":
|
||||
sampleCode = cList.get(0).getS1();
|
||||
break;
|
||||
case "4":
|
||||
sampleCode = cList.get(0).getS2();
|
||||
break;
|
||||
case "5":
|
||||
sampleCode = cList.get(0).getS3();
|
||||
break;
|
||||
case "6":
|
||||
sampleCode = cList.get(0).getS4();
|
||||
break;
|
||||
}
|
||||
// 取得抽樣數
|
||||
switch (allowLevel) {
|
||||
|
||||
case "0":
|
||||
// 正常
|
||||
AqlInfo aqlInfo1 = new AqlInfo();
|
||||
QmsAqlNormal aqlNormal = qmsAqlNormalService.getOne(Wrappers.<QmsAqlNormal>query().lambda()
|
||||
.eq(QmsAqlNormal::getSamplecode, sampleCode));
|
||||
BeanUtils.copyProperties(aqlNormal, aqlInfo1);
|
||||
return ratioRange(ratio, allowLevel, aqlInfo1);
|
||||
case "1":
|
||||
// 加嚴
|
||||
AqlInfo aqlInfo2 = new AqlInfo();
|
||||
QmsAqlTightened aqlTightened = qmsAqlTightenedService.getOne(Wrappers.<QmsAqlTightened>query().lambda()
|
||||
.eq(QmsAqlTightened::getSamplecode, sampleCode));
|
||||
BeanUtils.copyProperties(aqlTightened, aqlInfo2);
|
||||
return ratioRange(ratio, allowLevel, aqlInfo2);
|
||||
case "2":
|
||||
// 減量
|
||||
AqlInfo aqlInfo3 = new AqlInfo();
|
||||
QmsAqlReduced aqlReduced = qmsAqlReducedService.getOne(Wrappers.<QmsAqlReduced>query().lambda()
|
||||
.eq(QmsAqlReduced::getSamplecode, sampleCode));
|
||||
BeanUtils.copyProperties(aqlReduced, aqlInfo3);
|
||||
return ratioRange(ratio, allowLevel, aqlInfo3);
|
||||
}
|
||||
return new AqlInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* 判斷抽樣比率
|
||||
*
|
||||
* @param ratio
|
||||
* @param allowLevel
|
||||
* @param aqlInfo
|
||||
* @return
|
||||
*/
|
||||
private AqlInfo ratioRange( BigDecimal ratio, String allowLevel, AqlInfo aqlInfo ) {
|
||||
|
||||
setAcAndR(ratio, aqlInfo);
|
||||
|
||||
if (isNumeric(aqlInfo.getAcStr())) {
|
||||
// 對照抽樣表,如果是數字直接傳當前sample qty
|
||||
return aqlInfo;
|
||||
} else {
|
||||
// 不是數字用當前取得文字,在檢索一次,取sample qty
|
||||
AqlInfo aqlInfo1 = aqlInfo;
|
||||
switch (allowLevel) {
|
||||
case "0":
|
||||
// 正常
|
||||
QmsAqlNormal aqlNormal = qmsAqlNormalService.getOne(Wrappers.<QmsAqlNormal>query().lambda()
|
||||
.eq(QmsAqlNormal::getSamplecode, aqlInfo.getAcStr()));
|
||||
BeanUtils.copyProperties(aqlNormal, aqlInfo1);
|
||||
break;
|
||||
case "1":
|
||||
// 加嚴
|
||||
QmsAqlTightened aqlTightened = qmsAqlTightenedService.getOne(Wrappers.<QmsAqlTightened>query().lambda()
|
||||
.eq(QmsAqlTightened::getSamplecode, aqlInfo.getAcStr()));
|
||||
BeanUtils.copyProperties(aqlTightened, aqlInfo1);
|
||||
break;
|
||||
case "2":
|
||||
// 減量
|
||||
QmsAqlReduced aqlReduced = qmsAqlReducedService.getOne(Wrappers.<QmsAqlReduced>query().lambda()
|
||||
.eq(QmsAqlReduced::getSamplecode, aqlInfo.getAcStr()));
|
||||
BeanUtils.copyProperties(aqlReduced, aqlInfo1);
|
||||
break;
|
||||
}
|
||||
setAcAndR(ratio, aqlInfo1);
|
||||
return aqlInfo1;
|
||||
}
|
||||
}
|
||||
|
||||
private void setAcAndR( BigDecimal ratio, AqlInfo aqlInfo ) {
|
||||
String ac = null;
|
||||
String r = null;
|
||||
// 判斷抽樣比率
|
||||
if (ratio.compareTo(new BigDecimal("0.01")) == 0) {
|
||||
ac = aqlInfo.getA1();
|
||||
r = aqlInfo.getR1();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.015")) == 0) {
|
||||
ac = aqlInfo.getA2();
|
||||
r = aqlInfo.getR2();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.025")) == 0) {
|
||||
ac = aqlInfo.getA3();
|
||||
r = aqlInfo.getR3();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.04")) == 0) {
|
||||
ac = aqlInfo.getA4();
|
||||
r = aqlInfo.getR4();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.065")) == 0) {
|
||||
ac = aqlInfo.getA5();
|
||||
r = aqlInfo.getR5();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.1")) == 0) {
|
||||
ac = aqlInfo.getA6();
|
||||
r = aqlInfo.getR6();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.15")) == 0) {
|
||||
ac = aqlInfo.getA7();
|
||||
r = aqlInfo.getR7();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.25")) == 0) {
|
||||
ac = aqlInfo.getA8();
|
||||
r = aqlInfo.getR8();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.4")) == 0) {
|
||||
ac = aqlInfo.getA9();
|
||||
r = aqlInfo.getR9();
|
||||
} else if (ratio.compareTo(new BigDecimal("0.65")) == 0) {
|
||||
ac = aqlInfo.getA10();
|
||||
r = aqlInfo.getR10();
|
||||
} else if (ratio.compareTo(new BigDecimal("1")) == 0) {
|
||||
ac = aqlInfo.getA11();
|
||||
r = aqlInfo.getR11();
|
||||
} else if (ratio.compareTo(new BigDecimal("1.5")) == 0) {
|
||||
ac = aqlInfo.getA12();
|
||||
r = aqlInfo.getR12();
|
||||
} else if (ratio.compareTo(new BigDecimal("2.5")) == 0) {
|
||||
ac = aqlInfo.getA13();
|
||||
r = aqlInfo.getR13();
|
||||
} else if (ratio.compareTo(new BigDecimal("4")) == 0) {
|
||||
ac = aqlInfo.getA14();
|
||||
r = aqlInfo.getR14();
|
||||
} else if (ratio.compareTo(new BigDecimal("6.5")) == 0) {
|
||||
ac = aqlInfo.getA15();
|
||||
r = aqlInfo.getR15();
|
||||
} else if (ratio.compareTo(new BigDecimal("10")) == 0) {
|
||||
ac = aqlInfo.getA16();
|
||||
r = aqlInfo.getR16();
|
||||
} else if (ratio.compareTo(new BigDecimal("15")) == 0) {
|
||||
ac = aqlInfo.getA17();
|
||||
r = aqlInfo.getR17();
|
||||
} else if (ratio.compareTo(new BigDecimal("25")) == 0) {
|
||||
ac = aqlInfo.getA18();
|
||||
r = aqlInfo.getR18();
|
||||
} else if (ratio.compareTo(new BigDecimal("40")) == 0) {
|
||||
ac = aqlInfo.getA19();
|
||||
r = aqlInfo.getR19();
|
||||
} else if (ratio.compareTo(new BigDecimal("65")) == 0) {
|
||||
ac = aqlInfo.getA20();
|
||||
r = aqlInfo.getR20();
|
||||
} else if (ratio.compareTo(new BigDecimal("100")) == 0) {
|
||||
ac = aqlInfo.getA21();
|
||||
r = aqlInfo.getR21();
|
||||
} else if (ratio.compareTo(new BigDecimal("150")) == 0) {
|
||||
ac = aqlInfo.getA22();
|
||||
r = aqlInfo.getR22();
|
||||
} else if (ratio.compareTo(new BigDecimal("250")) == 0) {
|
||||
ac = aqlInfo.getA23();
|
||||
r = aqlInfo.getR23();
|
||||
} else if (ratio.compareTo(new BigDecimal("400")) == 0) {
|
||||
ac = aqlInfo.getA24();
|
||||
r = aqlInfo.getR24();
|
||||
} else if (ratio.compareTo(new BigDecimal("650")) == 0) {
|
||||
ac = aqlInfo.getA25();
|
||||
r = aqlInfo.getR25();
|
||||
} else if (ratio.compareTo(new BigDecimal("1000")) == 0) {
|
||||
ac = aqlInfo.getA26();
|
||||
r = aqlInfo.getR26();
|
||||
}
|
||||
|
||||
aqlInfo.setAcStr(ac);
|
||||
if (isNumeric(aqlInfo.getAcStr())) {
|
||||
aqlInfo.setAc(Integer.parseInt(ac));
|
||||
aqlInfo.setR(Integer.parseInt(r));
|
||||
}
|
||||
}
|
||||
|
||||
private BigDecimal samplesBy1916( QmsSamplePlan samplePlan, BigDecimal qty ) {
|
||||
Qms1916Code qms1916Code = qms1916CodeService.getOne(Wrappers.<Qms1916Code>query().lambda()
|
||||
.eq(Qms1916Code::getQcLevel, samplePlan.getQcLevel())
|
||||
.le(Qms1916Code::getLotminqty, qty)
|
||||
.ge(Qms1916Code::getLotmaxqty, qty));
|
||||
Qms1916SamplePlan qms1916SamplePlan = qms1916SamplePlanService.getOne(Wrappers.<Qms1916SamplePlan>query().lambda()
|
||||
.eq(Qms1916SamplePlan::getCode, qms1916Code.getCode())
|
||||
.eq(Qms1916SamplePlan::getQcLevel, samplePlan.getQcLevel())
|
||||
.eq(Qms1916SamplePlan::getAllowLevel, samplePlan.getAllowLevel())
|
||||
.eq(Qms1916SamplePlan::getType, "S"));
|
||||
|
||||
if (qms1916SamplePlan.getValue().compareTo(qty) > 0) {
|
||||
return qty;
|
||||
} else {
|
||||
return qms1916SamplePlan.getValue();
|
||||
}
|
||||
}
|
||||
|
||||
private BigDecimal customOfSamples( QmsSamplePlan samplePlan, BigDecimal qty ) {
|
||||
QmsSamplePlanCustomize qmsSamplePlanCustomize = qmsSamplePlanCustomizeService.getOne(Wrappers.<QmsSamplePlanCustomize>query().lambda()
|
||||
.eq(QmsSamplePlanCustomize::getSamplePlanBo, samplePlan.getHandle())
|
||||
.lt(QmsSamplePlanCustomize::getMinValue, qty)
|
||||
.ge(QmsSamplePlanCustomize::getMaxValue, qty));
|
||||
|
||||
if (qmsSamplePlanCustomize == null || qmsSamplePlanCustomize.getSampleSize() == null) {
|
||||
return null;
|
||||
}
|
||||
BigDecimal sampleSize = new BigDecimal(qmsSamplePlanCustomize.getSampleSize());
|
||||
if (sampleSize.compareTo(qty) > 0) {
|
||||
sampleSize = qty;
|
||||
}
|
||||
return sampleSize;
|
||||
}
|
||||
|
||||
private boolean isNumeric( String str ) {
|
||||
Pattern pattern = Pattern.compile("[0-9]*");
|
||||
Matcher isNum = pattern.matcher(str);
|
||||
return isNum.matches();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.iep.qms.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.foreverwin.iep.qms.entity.QmsSampleRatio;
|
||||
import com.foreverwin.iep.qms.mapper.QmsSampleRatioMapper;
|
||||
import com.foreverwin.iep.qms.service.QmsSampleRatioService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 抽样比率表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:44:30
|
||||
*/
|
||||
@Service
|
||||
public class QmsSampleRatioServiceImpl extends ServiceImpl<QmsSampleRatioMapper, QmsSampleRatio> implements QmsSampleRatioService {
|
||||
|
||||
}
|
||||
186
qms-core/src/main/resources/qms/i18n/messages.properties
Normal file
186
qms-core/src/main/resources/qms/i18n/messages.properties
Normal file
@ -0,0 +1,186 @@
|
||||
# common
|
||||
java.error=\u7CFB\u7EDF\u9519\u8BEF: {0}
|
||||
|
||||
g.http.fail={0}\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u786E\u8BA4
|
||||
g.spc.url.error=\u8BF7\u5148\u914D\u7F6E\u7CFB\u7EDF\u53C2\u6570\u300ESPC_RESTFUL_URL\u300F
|
||||
g.http.response=StatusCode:{0}, message:{1}
|
||||
|
||||
qms.g.serial.no.error=\u8BF7\u5148\u5EFA\u7ACB\u7F16\u7801\u89C4\u5219
|
||||
qms.g.sfc.error=\u300E{0}\u300F\u975E\u5B58\u5728ME\u7684SFC\u6216\u7A0B\u5E8F\u6279
|
||||
qms.g.operation.error=\u8F93\u5165\u4F5C\u4E1A\u7AD9\u4E0D\u5B58\u5728
|
||||
qms.g.work.center=\u5DE5\u4F5C\u4E2D\u5FC3
|
||||
qms.g.resource=\u8D44\u6E90
|
||||
qms.g.resource.error=\u8F93\u5165\u4F5C\u4E1A\u7AD9\u4E0D\u5B58\u5728
|
||||
qms.g.user.error=\u4F7F\u7528\u8005\u4E0D\u5B58\u5728
|
||||
qms.g.success=\u6210\u529F
|
||||
qms.g.fail=\u5931\u8D25
|
||||
|
||||
#\u62BD\u6837\u8BA1\u753B
|
||||
qms.sample.plan.not.found=\u8BE5\u62BD\u6837\u8BA1\u753B\u4E0D\u5B58\u5728
|
||||
qms.sample.plan.has.binding=\u62BD\u6837\u8BA1\u5212\u5DF2\u7ED1\u5B9A\u68C0\u9A8C\u8BA1\u5212\uFF0C\u4E0D\u53EF\u5220\u9664
|
||||
|
||||
#inspec
|
||||
qms.inspec.error1=\u6B64\u68C0\u9A8C\u9891\u7387\u7F16\u53F7\u4E0D\u5B58\u5728
|
||||
qms.inspec.error2=\u6B64\u68C0\u9A8C\u9891\u7387\u5DF2\u88AB\u4F7F\u7528\uFF0C\u4E0D\u53EF\u5220\u9664
|
||||
qms.inspec.error3=\u68C0\u9A8C\u4EFB\u52A1\u5DF2\u7531\u5176\u4ED6\u4F7F\u7528\u8005\u66F4\u65B0\uFF0C\u8BF7\u91CD\u65B0\u5F00\u7ACB\u6B64\u753B\u9762
|
||||
|
||||
#ProdQcPlan
|
||||
qms.prod.qc.plan=\u4EA7\u54C1\u7F16\u53F7\u4E0D\u5B58\u5728
|
||||
qms.prod.qc.error1={0}\u4F5C\u4E1A\u7AD9\u8F93\u5165\u7684{1}\u68C0\u9A8C\u8BA1\u753B\u4E0D\u5B58\u5728
|
||||
qms.prod.import.repeat=\u4EA7\u54C1\u7F16\u53F7\u300E{0}\u300F-\u4F5C\u4E1A\u7AD9\u70B9\u300E{1}\u300F-\u68C0\u9A8C\u8BA1\u753B\u7F16\u53F7\u300E{2}\u300F\u91CD\u8907\u51FA\u73B0\u5728EXCEL\u4E2D\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.prod.item.not.found=\u4EA7\u54C1\u7F16\u53F7\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.prod.operation.not.found=\u4F5C\u4E1A\u7AD9\u70B9\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.prod.qc.error2=\u68C0\u9A8C\u8BA1\u753B\u300E{0}\u300F\uFF0C\u68C0\u9A8C\u7C7B\u578B\u975ESFC
|
||||
|
||||
#qc
|
||||
qms.qc.plan.not.found=\u6B64\u68C0\u9A8C\u8BA1\u5212\u7F16\u53F7\u4E0D\u5B58\u5728
|
||||
qms.qc.plan.existed=\u6B64\u68C0\u9A8C\u8BA1\u753B\u5DF2\u5B58\u5728\uFF0C\u8BF7\u5148\u8FDB\u884C\u68C0\u7D22
|
||||
qms.qc.plan.import.format.detail.null=\u660E\u7EC6\u68C0\u9A8C\u9879\u76EE\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.import.item.not.found=\u4EA7\u54C1\u7F16\u53F7\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.import.operation.not.found=\u4F5C\u4E1A\u7AD9\u70B9\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.import.resrce.not.found=\u8D44\u6E90\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.import.workCenter.not.found=\u5DE5\u4F5C\u4E2D\u5FC3\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.spc.chart.not.found=SPC\u7BA1\u5236\u56FE\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.qc.resource.type.not.found=\u68C0\u6D4B\u4EEA\u5668\u7C7B\u578B\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.user.group.not.found=\u68C0\u9A8C\u4EBA\u5458\u7FA4\u7EC4\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.user.group.not.is.this.type=\u68C0\u9A8C\u4EBA\u5458\u7FA4\u7EC4\u300E{0}\u300F\u4E0D\u5C5E\u4E8E{1}\u7C7B\u578B\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.inspec.freq.not.found=\u68C0\u9A8C\u9891\u7387\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.sample.plan.not.found=\u62BD\u6837\u8BA1\u753B\u300E{0}\u300F\u4E0D\u5B58\u5728\uFF0C\u8BF7\u786E\u8BA4!
|
||||
qms.qc.plan.qc.plan.used.not.delete=\u5DF2\u5EFA\u7ACB\u8FC7\u68C0\u9A8C\u4EFB\u52A1\uFF0C\u4E0D\u53EF\u5220\u9664!
|
||||
qms.qc.plan.error1=\u300E{0}/{1}\u300F\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\u4E2D
|
||||
qms.qc.plan.error2=\u4E00\u4E2A\u7269\u6599\u4EC5\u80FD\u5BF9\u5E94\u4E00\u7B14\u68C0\u9A8C\u8BA1\u5212\uFF0C\u300E{0}\u300F\u7269\u6599\u5DF2\u5B58\u5728\u4E8E\u68C0\u9A8C\u8BA1\u5212\u300E{1}/{2}\u300F\u4E2D\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error1=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u7269\u6599\u7F16\u53F7\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error2=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u5DE5\u4F5C\u4E2D\u5FC3\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error3=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u8BBE\u5907\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error4=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error5=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u7684\u4E0A\u4E0B\u9650\u4E3A\u7A7A\uFF0C\u81F3\u5C11\u8F93\u5165\u5355\u8FB9
|
||||
qms.qc.plan.import.error6=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u7684\u5185\u6587\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error7=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u7684\u62BD\u6837\u8BA1\u753B\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error8=\u300E{0}/{1}\u300F\u5DF2\u5B58\u5728\u7CFB\u7EDF\u4E2D\uFF0C\u4E0D\u5F97\u91CD\u8907\u6C47\u5165
|
||||
qms.qc.plan.import.error9=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u6CA1\u6709\u8F93\u5165\u91CF\u6D4B\u70B9\u6570\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error10=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u62BD\u6837\u8BA1\u753B\u4E0D\u5F97\u4E3A\u7A7A
|
||||
qms.qc.plan.import.error11=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E0A\u9650\u4E0D\u5F97\u4E3A\u7A7A
|
||||
qms.qc.plan.import.error12=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E0B\u9650\u4E0D\u5F97\u4E3A\u7A7A
|
||||
qms.qc.plan.import.error13=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E2D\u5FC3\u4E0D\u5F97\u5927\u4E8E\u4E0A\u9650\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error14=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E2D\u5FC3\u4E0D\u5F97\u5C0F\u4E8E\u4E0B\u9650\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error15=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E0B\u9650\u4E0D\u5F97\u5927\u4E8E\u4E0A\u9650\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error16=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u68C0\u9A8C\u9891\u7387\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error17=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u68C0\u9A8C\u9891\u7387\u300E{1}\u300F\u4E0D\u5B58\u5728\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error18=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u8D44\u6E90\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error19=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u5DE5\u4F5C\u4E2D\u5FC3\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error20=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u7269\u6599\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
qms.qc.plan.import.error21=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u8BF7\u8F93\u5165\u6837\u672C\u6570
|
||||
qms.qc.plan.import.error22=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u6837\u672C\u6570\u4EC5\u53EF\u8F93\u5165\u6B63\u6574\u6570
|
||||
qms.qc.plan.import.error23=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u8BF7\u8F93\u5165\u7BA1\u5236\u56FE
|
||||
qms.qc.plan.import.error24=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E3A\u8BA1\u91CF\u578B\uFF0C\u7BA1\u5236\u56FE\u8F93\u5165\u9519\u8BEF
|
||||
qms.qc.plan.import.error25=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E3A\u8BA1\u6570\u578B\u4E0D\u53EF\u8F93\u5165\u6837\u672C\u6570
|
||||
qms.qc.plan.import.error26=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u8BF7\u8F93\u5165\u7BA1\u5236\u56FE
|
||||
qms.qc.plan.import.error27=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E3A\u8BA1\u6570\u578B\uFF0C\u7BA1\u5236\u56FE\u8F93\u5165\u9519\u8BEF
|
||||
qms.qc.plan.import.error28=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E3A\u5185\u6587\u4E0D\u53EF\u8F93\u5165\u6837\u672C\u6570
|
||||
qms.qc.plan.import.error29=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684\u9879\u76EE\u7F16\u53F7\u300E{1}\u300F\u4E3A\u5185\u6587\u4E0D\u53EF\u8F93\u5165\u7BA1\u5236\u56FE
|
||||
qms.qc.plan.import.error30=\u8BA1\u753B\u7F16\u53F7\u300E{0}\u300F\u7684QC\u5DE5\u827A\u8DEF\u7EBF\u300E{1}\u300F\u4E0D\u5B58\u5728\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
|
||||
#inspecJob
|
||||
inspec.job=\u68C0\u9A8C\u4EFB\u52A1\u5355
|
||||
inspec.job.aql.code.error=\u62BD\u6837\u6570\u91CF\u4E0D\u6B63\u786E: {0}\uFF0C\u8BF7\u786E\u8BA4
|
||||
inspec.job.send.mail.content=\u68C0\u9A8C\u4EFB\u52A1\u5355\u7F16\u53F7:{0}\u3001SFC:{1}\u3001\u4EA7\u54C1\u7F16\u53F7:{2}\u3001\u4F5C\u4E1A\u7AD9\u70B9:{3}\u3001\u8D44\u6E90:{4}\u3001\u5F00\u7ACB\u65F6\u95F4:{5}
|
||||
inspec.job.resource.error=\u975E\u4F5C\u4E1A\u7AD9\u8BBE\u5B9A\u7684\u8D44\u6E90\u7C7B\u522B\u4E2D\u7684\u8D44\u6E90\uFF0C\u8BF7\u786E\u8BA4
|
||||
inspec.job.qc.plan.type.error=\u68C0\u9A8C\u7C7B\u578B\u4E0E\u68C0\u9A8C\u8BA1\u753B\u4E0D\u76F8\u7B26\uFF0C\u8BF7\u786E\u8BA4
|
||||
inspec.job.work.center.error=\u5DE5\u4F5C\u4E2D\u5FC3\u4E0D\u5B58\u5728:{0}\uFF0C\u8BF7\u786E\u8BA4
|
||||
inspec.job.send.mail.work.center.content=\u68C0\u9A8C\u4EFB\u52A1\u5355\u7F16\u53F7:{0}\u3001\u5DE5\u4F5C\u4E2D\u5FC3:{1}\u3001\u5F00\u7ACB\u65F6\u95F4:{2}
|
||||
inspec.job.send.mail.resource.content=\u68C0\u9A8C\u4EFB\u52A1\u5355\u7F16\u53F7:{0}\u3001\u8D44\u6E90:{1}\u3001\u5F00\u7ACB\u65F6\u95F4:{2}
|
||||
inspec.job.date.null={0}\u65E5\u671F\u4E0D\u53EF\u4E3A\u7A7A
|
||||
inspec.job.date.format.error={0}\u65E5\u671F\u683C\u5F0F\u9519\u8BEF
|
||||
inspec.site.null=\u7AD9\u70B9\u4E0D\u53EF\u4E3A\u7A7A
|
||||
inspec.success=\u6210\u529F\uFF0C\u68C0\u9A8C\u5355 {0} \u7B14
|
||||
inspec.site.error={0}\u7AD9\u70B9\u4E0D\u5B58\u5728
|
||||
inspec.date.error=\u65E5\u671F\u533A\u95F4\u4E0D\u53EF\u8D85\u8FC710\u5929
|
||||
inspec.job.import.error1=\u68C0\u9A8C\u4EFB\u52A1\u7F16\u53F7\u6709\u8BEF\uFF0C\u8BF7\u786E\u8BA4
|
||||
inspec.job.import.error2=\u300E{0}\u300F\u68C0\u9A8C\u9879\u76EE\u7684\u68C0\u9A8C\u4EBA\u5458\u680F\u4F4D\u6709\u8BEF\uFF0C\u7CFB\u7EDF\u4E2D\u65E0\u6B64\u4EBA\u5458
|
||||
inspec.job.import.error3=\u300E{0}\u300F\u68C0\u9A8C\u9879\u76EE\u7684\u673A\u53F0\u680F\u4F4D\u6709\u8BEF\uFF0C\u7CFB\u7EDF\u4E2D\u65E0\u6B64\u673A\u53F0
|
||||
inspec.job.import.error4=\u300E{0}\u300F\u68C0\u9A8C\u9879\u76EE\u7684\u4EEA\u5668\u7F16\u53F7\u680F\u4F4D\u6709\u8BEF\uFF0C{1}\u4EEA\u5668\u7F16\u53F7\u4E0D\u5B58\u5728\u4E8E\u5BF9\u5E94\u7684\u4EEA\u5668\u7C7B\u578B
|
||||
inspec.job.import.error5=\u300E{0}\u300F\u68C0\u9A8C\u9879\u76EE\u7684\u73ED\u522B\u680F\u4F4D\u6709\u8BEF\uFF0C\u7CFB\u7EDF\u4E2D\u65E0\u6B64\u73ED\u522B
|
||||
inspec.job.import.error6=\u300E{0}\u300F\u4E0D\u5408\u683C\u4EE3\u7801\u4E0D\u5B58\u5728\u3002
|
||||
inspec.job.import.error7=\u300E{0}\u300F\u68C0\u9A8C\u9879\u76EE\u7684\u4EEA\u5668\u7F16\u53F7\u680F\u4F4D\u6709\u8BEF\uFF0C\u7CFB\u7EDF\u4E2D\u65E0\u6B64\u4EEA\u5668\u7F16\u53F7
|
||||
inspec.job.abn.msg=\u5224\u5B9A\u6570\uFF1A{0}\n\u5224\u5B9A\u7ED3\u679C\uFF1A{1}\nOK\u6570\uFF1A{2}\nNG\u6570\uFF1A{3}\n\u5907\u8A3B\uFF1A{4}\n__________________________________
|
||||
inspec.job.result.0=NG
|
||||
inspec.job.result.1=OK
|
||||
inspec.job.result.2=\u7279\u63A1
|
||||
inspec.job.abn.msg.1=\u68C0\u9A8C\u4EFB\u52A1\u5355\uFF1A\u300E{0}\u300F\u5224\u5B9A\u4E0D\u5408\u683C\u89E6\u53D1\u81EA\u52A8\u5F00\u7ACB\u5F02\u5E38\u5355\n
|
||||
inspec.job.abn.msg.2=\u300E{0}\u300F\u68C0\u9A8C\u6570\u636E\u4E3A{1} \u4E0D\u7B26\u5408\u89C4\u683C
|
||||
inspec.job.abn.msg.2.1=\u89C4\u683C\u4E0A\u9650 {0}
|
||||
inspec.job.abn.msg.2.2=\u89C4\u683C\u4E0B\u9650 {0}
|
||||
inspec.job.abn.msg.3=\u300E{0}\u300F\u68C0\u9A8C\u7ED3\u679C\u300C\u300E{1}\u300F\uFF1A{2}\uFF0C\u5224\u5B9A\u6570\u91CF\u300E{3}\u300F\u300D\n
|
||||
inspec.job.abn.msg.4=\u300E{0}\u300F\uFF0CSPC:{1}
|
||||
inspec.job.mail.title=\u5F02\u5E38\u5355\u81EA\u52A8\u5F00\u7ACB\u901A\u77E5\uFF0C\u5F02\u5E38\u5355\uFF1A\u300E{0}\u300F
|
||||
inspec.job.mail.content=\u5F02\u5E38\u5355\u8D44\u8BAF\n\u751F\u4EA7\u70B9\uFF1A{0}\n\u5F02\u5E38\u5355\u53F7\uFF1A{1}\n\u5F02\u5E38\u7C7B\u578B\uFF1A{2}\n\u7269\u6599\u7F16\u53F7\uFF1A{3}\n\u53D1\u751F\u4F5C\u4E1A\u7AD9\u70B9\uFF1A{3}\n\u5F00\u5355\u65F6\u95F4\uFF1A{4}\n\u5F53\u524D\u5904\u7F6E\u9636\u6BB5\uFF1A{5}\n\u5F53\u524D\u5904\u7406\u5355\u4F4D\uFF1A{6}\n\u5F02\u5E38\u8BF4\u660E\uFF1A{7}
|
||||
|
||||
#remote
|
||||
remote.type.is.null=type\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4
|
||||
|
||||
#import
|
||||
import.result.error1=\u68C0\u9A8C\u4EFB\u52A1\u7F16\u53F7\u4E0D\u5B58\u5728
|
||||
import.result.error2=\u68C0\u9A8C\u4EFB\u52A1\u5355\u975E\u65B0\u5EFA\u6216\u4F5C\u4E1A\u4E2D
|
||||
import.result.error3=SFC\u53F7\u4E0D\u5B58\u5728
|
||||
import.result.error4=\u68C0\u9A8C\u4EFB\u52A1\u5355\u53F7\u9519\u8BEF
|
||||
import.result.error5={0}\u68C0\u9A8C\u9879\u76EE\u4E0D\u5B58\u5728
|
||||
import.result.error6=\u8981\u56E0{0}\u4E3A\u7A7A
|
||||
import.result.error7=\u68C0\u9A8C\u4EBA\u5458\u4E0D\u5B58\u5728
|
||||
import.result.error8=\u73ED\u522B\u4E0D\u5B58\u5728
|
||||
import.result.error9=\u8D44\u6E90\u4E0D\u5B58\u5728
|
||||
import.result.error10=\u4EEA\u5668\u4E0D\u5B58\u5728
|
||||
import.result.error11={0}\u68C0\u9A8C\u9879\u76EE\u975E\u8BA1\u6570\u578B
|
||||
import.result.error12={0}\u68C0\u9A8C\u9879\u76EE\u68C0\u9A8C\u7ED3\u679C\u4E0D\u7B26\u5408\u62BD\u6837\u6570\u91CF
|
||||
import.result.error13={0}\u68C0\u9A8C\u9879\u76EE\u4E0D\u5408\u683C\u4EE3\u7801\u9519\u8BEF
|
||||
import.result.error14={0}\u68C0\u9A8C\u9879\u76EE\u4E0D\u5408\u683C\u4EE3\u7801\u6570\u91CF\u9519\u8BEF
|
||||
import.result.error15={0}\u68C0\u9A8C\u9879\u76EE\u4E0D\u5408\u683C\u4EE3\u7801\u4E0D\u5B58\u5728
|
||||
import.result.error16={0}\u68C0\u9A8C\u9879\u76EE\u975E\u8BA1\u91CF\u578B
|
||||
import.result.error17={0}\u68C0\u9A8C\u9879\u76EE\u68C0\u9A8C\u503C\u7B14\u6570\u9519\u8BEF
|
||||
import.result.error18={0}\u68C0\u9A8C\u9879\u76EE\u68C0\u9A8C\u503C\u975E\u6570\u503C
|
||||
import.result.error19={0}\u68C0\u9A8C\u9879\u76EENC CODE\u680F\u4F4D\u6570\u91CF\u9519\u8BEF
|
||||
import.result.error20={0}\u68C0\u9A8C\u9879\u76EEOK\u680F\u4F4D\u68C0\u9A8C\u503C\u9519\u8BEF
|
||||
import.result.error21={0}\u68C0\u9A8C\u9879\u76EENG\u680F\u4F4D\u68C0\u9A8C\u503C\u9519\u8BEF
|
||||
import.result.error22=\u8D44\u6E90\u4E0D\u5728\u4EEA\u5668\u7C7B\u578B\u5185
|
||||
import.result.error23=\u4EEA\u5668\u4E0D\u5728\u4EEA\u5668\u7C7B\u578B\u5185
|
||||
import.result.error24=\u68C0\u9A8C\u9879\u76EE\u4E3A\u7A7A\u503C
|
||||
import.result.error25=\u7F3A\u5C11{0}\u68C0\u9A8C\u9879\u76EE
|
||||
import.result.error26=\u68C0\u9A8C\u9879\u76EE\u62BD\u6837\u6570\u9519\u8BEF
|
||||
import.result.error27={0}\u68C0\u9A8C\u9879\u76EE\uFF0C\u68C0\u9A8C\u6570\u4E0D\u7B26\u5408\u62BD\u6837\u6570
|
||||
|
||||
#\u8981\u56E0
|
||||
factor.Process=\u88FD\u7A0B
|
||||
factor.ItemNo=\u6599\u53F7
|
||||
factor.QCUser=\u68C0\u9A8C\u4EBA\u5458
|
||||
factor.Vendor=\u5382\u5546
|
||||
factor.FurnaceNumber=\u7089\u53F7
|
||||
factor.Clase=\u73ED\u522B
|
||||
factor.PointNumber=\u7A74\u53F7
|
||||
factor.Machine=\u673A\u53F0
|
||||
factor.InstrumentNumber=\u4EEA\u5668\u7F16\u53F7
|
||||
|
||||
#\u68C0\u9A8C\u9879\u76EE
|
||||
qc.item.InstrumentType.not.exist=\u4EEA\u5668\u7C7B\u578B\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\u4E2D
|
||||
qc.item.samplePlan.not.exist=\u62BD\u6837\u8BA1\u5212\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\u4E2D
|
||||
qc.item.error1=\u68C0\u9A8C\u7C7B\u578B\u5DF2\u66F4\u52A8\uFF0C\u8BF7\u8FDB\u7248\u540E\u624D\u53EF\u4EE5\u50A8\u5B58
|
||||
qc.item.error2=\u4EEA\u5668\u7C7B\u578B\u5DF2\u66F4\u52A8\uFF0C\u8BF7\u8FDB\u7248\u540E\u624D\u53EF\u4EE5\u50A8\u5B58
|
||||
qc.item.error3=\u62BD\u6837\u8BA1\u5212\u5DF2\u66F4\u52A8\uFF0C\u8BF7\u8FDB\u7248\u540E\u624D\u53EF\u4EE5\u50A8\u5B58
|
||||
qc.item.error4=\u91CF\u6D4B\u70B9\u6570\u5DF2\u66F4\u52A8\uFF0C\u8BF7\u8FDB\u7248\u540E\u624D\u53EF\u4EE5\u50A8\u5B58
|
||||
qc.item.error5=\u89C4\u683C\u5DF2\u66F4\u52A8\uFF0C\u8BF7\u8FDB\u7248\u540E\u624D\u53EF\u4EE5\u50A8\u5B58
|
||||
qc.item.error6=\u300E{0}/{1}\u300F\u5DF2\u5B58\u5728\u7CFB\u7EDF\u4E2D\uFF0C\u4E0D\u5F97\u91CD\u8907\u6C47\u5165
|
||||
qc.item.error7=\u9879\u76EE\u7F16\u53F7\u300E{0}\u300F\u7684\u4EEA\u5668\u7C7B\u578B\u680F\u4F4D\u975E\u7CFB\u7EDF\u4E2D\u5B58\u5728\u7684\u8D44\u6E90\u7C7B\u578B\uFF0C\u8BF7\u786E\u8BA4
|
||||
qc.item.error8=\u9879\u76EE\u7F16\u53F7\u300E{0}\u300F\u7684\u62BD\u6837\u8BA1\u5212\u680F\u4F4D\u975E\u7CFB\u7EDF\u4E2D\u5B58\u5728\u7684\u62BD\u6837\u8BA1\u5212\uFF0C\u8BF7\u786E\u8BA4
|
||||
qc.item.error9=\u9879\u76EE\u7F16\u53F7\u4E0D\u5B58\u5728\u4E8E\u7CFB\u7EDF\u4E2D
|
||||
qc.item.error10=\u6B64\u68C0\u9A8C\u9879\u76EE\u5DF2\u88AB\u4F7F\u7528\u8FC7\uFF0C\u4E0D\u5F97\u5220\u9664
|
||||
qc.item.error11=\u9879\u76EE\u7F16\u53F7\u5DF2\u5B58\u5728\u65F6\uFF0C\u9700\u5148\u6309\u4E0B\u68C0\u7D22\u624D\u80FD\u50A8\u5B58
|
||||
qc.item.error12=\u9879\u76EE\u8BF4\u660E\u5DF2\u5B58\u5728\u7CFB\u7EDF\u4E0D\u53EF\u91CD\u8907\uFF0C\u8BF7\u786E\u8BA4
|
||||
|
||||
# IQC
|
||||
iqc.error1=\u68C0\u9A8C\u8BA1\u753B\u300E{0}\u300F\u4E0D\u5B58\u5728\u7CFB\u7EDF\uFF0C\u8BF7\u786E\u8BA4
|
||||
|
||||
#ALM
|
||||
alm.msg.1=\u7269\u6599:\u300E{0}\u300F/\u4F5C\u4E1A:\u300E{1}\u300F/\u8BBE\u5907:\u300E{2}\u300F/\u5355\u53F7:\u300E{3}\u300F\u68C0\u9A8C\u5355\u8D85\u89C4\u901A\u77E5
|
||||
alm.msg.2={0}\n\u68C0\u9A8C\u4EFB\u52A1\u5355\u53F7\uFF1A\u300E{1}\u300F\n\u68C0\u9A8C\u8BA1\u5212\u7F16\u53F7: \u300E{2}\u300F\n\u68C0\u9A8C\u4EFB\u52A1\u5355\u5F00\u5355\u65F6\u95F4\uFF1A\u300E{3}\u300F\n\u7269\u6599\u7F16\u53F7\uFF1A\u300E{4}\u300F\n\u4F5C\u4E1A\u7AD9\u70B9: \u300E{5}\u300F\n\u8BBE\u5907\u7F16\u53F7: \u300E{6}\u300F\n\u4E0D\u5408\u683C\n{7}\n\u68C0\u9A8C\u4EFB\u52A1\u5355\u6709\u4E0D\u826F\u6570\u636E\uFF0C\u70E6\u8BF7\u76F8\u5173\u4EBA\u5458\u5C3D\u5FEB\u786E\u8BA4
|
||||
alm.msg.3=SFC\uFF1A\u300E{0}\u300F
|
||||
alm.msg.4=\u7A0B\u5E8F\u6279\uFF1A\u300E{0}\u300F
|
||||
|
||||
spc.error1=\u629B\u9001SPC\u5931\u8D25\uFF0C\u8BF7\u786E\u8BA4\u914D\u7F6E
|
||||
190
qms-core/src/main/resources/qms/i18n/messages_en.properties
Normal file
190
qms-core/src/main/resources/qms/i18n/messages_en.properties
Normal file
@ -0,0 +1,190 @@
|
||||
# common
|
||||
java.error=System Error: {0}
|
||||
|
||||
g.http.fail={0} request failed, please confirm
|
||||
g.spc.url.error=Please configure the system parameter "SPC_RESTFUL_URL" first
|
||||
g.http.response=StatusCode:{0}, message:{1}
|
||||
|
||||
qms.g.serial.no.error=Please create encoding rules first
|
||||
qms.g.sfc.error="{0}" does not exist the SFC or program batch of ME
|
||||
qms.g.operation.error=Input operation station does not exist
|
||||
qms.g.work.center=Work Center
|
||||
qms.g.resource=Resource
|
||||
qms.g.resource.error=Input job station does not exist
|
||||
qms.g.user.error=User does not exist
|
||||
qms.g.success=Success
|
||||
qms.g.fail=Failed
|
||||
|
||||
#sampling plan
|
||||
qms.sample.plan.not.found=The sampling plan does not exist
|
||||
qms.sample.plan.has.binding=The sampling plan is bound to the inspection plan and cannot be deleted
|
||||
|
||||
#inspec
|
||||
qms.inspec.error1=This inspection frequency number does not exist
|
||||
qms.inspec.error2=This inspection frequency is already in use and cannot be deleted
|
||||
qms.inspec.error3=Inspection task has been updated by another user, please reopen this screen
|
||||
|
||||
#ProdQcPlan
|
||||
qms.prod.qc.plan=Product number does not exist
|
||||
qms.prod.qc.error1=The {1} inspection plan entered by the {0} station does not exist
|
||||
qms.prod.import.repeat=Product number "{0}"-job site "{1}"-inspection plan number "{2}" appears repeatedly in EXCEL, please confirm!
|
||||
qms.prod.item.not.found=The product number "{0}" does not exist, please confirm!
|
||||
qms.prod.operation.not.found=The operation site "{0}" does not exist, please confirm!
|
||||
qms.prod.qc.error2=Inspection plan '{0}', inspection type is not SFC
|
||||
|
||||
#qc
|
||||
qms.qc.plan.not.found=This inspection plan number does not exist
|
||||
qms.qc.plan.existed=This test plan already exists, please search first
|
||||
qms.qc.plan.import.format.detail.null=Detail inspection item cannot be empty, please confirm!
|
||||
qms.qc.plan.import.item.not.found=Item number "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.import.operation.not.found=The operation site "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.import.resrce.not.found=Resource "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.import.workCenter.not.found=WorkCenter '{0}' does not exist, please confirm!
|
||||
qms.qc.plan.spc.chart.not.found=SPC control chart "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.qc.resource.type.not.found=The detection instrument type "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.user.group.not.found=Inspector group "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.user.group.not.is.this.type=Inspector group "{0}" does not belong to type {1}, please confirm!
|
||||
qms.qc.plan.inspec.freq.not.found=Inspection frequency "{0}" does not exist, please confirm!
|
||||
qms.qc.plan.sample.plan.not.found=Sampling plan '{0}' does not exist, please confirm!
|
||||
qms.qc.plan.qc.plan.used.not.delete=A test task has been created and cannot be deleted!
|
||||
qms.qc.plan.error1='{0}/{1}' does not exist in the system
|
||||
qms.qc.plan.error2=One material can only correspond to one inspection plan, the material "{0}" already exists in the inspection plan "{1}/{2}", please confirm
|
||||
qms.qc.plan.import.error1=The material number of plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error2=The work center with plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error3=The device with plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error4=Project number "{1}" of plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error5=The upper and lower limits of the project number "{1}" of the plan number "{0}" are empty, at least one side of the input
|
||||
qms.qc.plan.import.error6=The content of the item number "{1}" of the plan number "{0}" is empty, please confirm
|
||||
qms.qc.plan.import.error7=The sampling plan of item number "{1}" of plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error8="{0}/{1}" already exists in the system and cannot be imported repeatedly
|
||||
qms.qc.plan.import.error9=The project number "{1}" of the plan number "{0}" has no measurement points entered, please confirm
|
||||
qms.qc.plan.import.error10=The sampling plan of item id '{1}' of plan id '{0}' cannot be empty
|
||||
qms.qc.plan.import.error11=The upper limit of the project ID "{1}" of the plan ID "{0}" cannot be empty
|
||||
qms.qc.plan.import.error12=The lower limit of the project ID "{1}" of the plan ID "{0}" cannot be empty
|
||||
qms.qc.plan.import.error13=The center of the project number "{1}" of the plan number "{0}" cannot be greater than the upper limit, please confirm
|
||||
qms.qc.plan.import.error14=The center of the project number "{1}" of the plan number "{0}" must not be less than the lower limit, please confirm
|
||||
qms.qc.plan.import.error15=The lower limit of the project number "{1}" of the plan number "{0}" cannot be greater than the upper limit, please confirm
|
||||
qms.qc.plan.import.error16=The inspection frequency of plan number '{0}' cannot be empty, please confirm
|
||||
qms.qc.plan.import.error17=The inspection frequency "{1}" of plan number "{0}" does not exist in the system, please confirm
|
||||
qms.qc.plan.import.error18=The resource of plan number '{0}' cannot be empty, please confirm
|
||||
qms.qc.plan.import.error19=The work center of plan number '{0}' cannot be empty, please confirm
|
||||
qms.qc.plan.import.error20=The material of plan number "{0}" cannot be empty, please confirm
|
||||
qms.qc.plan.import.error21=The project number "{1}" of the plan number "{0}", please enter the number of samples
|
||||
qms.qc.plan.import.error22=The number of samples of the project number "{1}" of the plan number "{0}" can only be a positive integer
|
||||
qms.qc.plan.import.error23=The item number "{1}" of the plan number "{0}", please enter the control map
|
||||
qms.qc.plan.import.error24=The item number "{1}" of the plan number "{0}" is of measurement type, and the control chart is input incorrectly
|
||||
qms.qc.plan.import.error25=The item number "{1}" of the plan number "{0}" is count type and cannot import the number of samples
|
||||
qms.qc.plan.import.error26=The project number "{1}" of the plan number "{0}", please enter the control map
|
||||
qms.qc.plan.import.error27=The item number "{1}" of the plan number "{0}" is count type, and the control chart is input incorrectly
|
||||
qms.qc.plan.import.error28=The item number "{1}" of the plan number "{0}" is the number of samples that cannot be imported
|
||||
qms.qc.plan.import.error29=The item number "{1}" of the plan number "{0}" is the content and cannot be imported into the control map
|
||||
qms.qc.plan.import.error30=The QC route "{1}" of plan number "{0}" does not exist in the system, please confirm
|
||||
|
||||
#inspecJob
|
||||
inspec.job=Inspection Job Order
|
||||
inspec.job.aql.code.error=Incorrect number of samples: {0}, please confirm
|
||||
inspec.job.send.mail.content=Inspection Job ID: {0}, SFC: {1}, Product ID: {2}, Job Site: {3}, Resource: {4}, Issue Date: {5}
|
||||
inspec.job.resource.error=The resource is not in the resource category set by the job station, please confirm
|
||||
inspec.job.qc.plan.type.error=The inspection type does not match the inspection plan, please confirm
|
||||
inspec.job.work.center.error=Work center does not exist: {0}, please confirm
|
||||
inspec.job.send.mail.work.center.content=Inspection Job ID: {0}, Work Center: {1}, Issue Date: {2}
|
||||
inspec.job.send.mail.resource.content=Inspection Job ID: {0}, Resource: {1}, Issue Date: {2}
|
||||
inspec.job.date.null={0} date cannot be null
|
||||
inspec.job.date.format.error={0} date format error
|
||||
inspec.site.null=Site cannot be null
|
||||
inspec.success=Success, inspection order {0}
|
||||
inspec.site.error={0} site does not exist
|
||||
inspec.date.error=The date range cannot exceed 10 days
|
||||
inspec.job.import.error1=The inspection job number is incorrect, please confirm
|
||||
inspec.job.import.error2=The inspector field of the inspection item of "{0}" is wrong, there is no such person in the system
|
||||
inspec.job.import.error3="{0}" The machine field of the inspection item is wrong, there is no such machine in the system
|
||||
inspec.job.import.error4="{0}" The instrument number field of the inspection item is incorrect, {1} instrument number does not exist in the corresponding instrument type
|
||||
inspec.job.import.error5=\u300E{0}\u300FInspection item shift field is wrong, there is no such shift in the system
|
||||
inspec.job.import.error6='{0}' unqualified code does not exist.
|
||||
inspec.job.import.error7=The instrument number field of the "{0}" inspection item is incorrect, and there is no such instrument number in the system
|
||||
inspec.job.abn.msg=Number of judgments: {0}\nNumber of judgments: {1}\nNumber of OK: {2}\nNumber of NG: {3}\nRemarks: {4}\n__________________________________
|
||||
inspec.job.result.0=NG
|
||||
inspec.job.result.1=OK
|
||||
inspec.job.result.2=Special job
|
||||
|
||||
#remote
|
||||
remote.type.is.null=type is empty, please confirm
|
||||
|
||||
#import
|
||||
import.result.error1=Inspection task number does not exist
|
||||
import.result.error2=Inspection task list is not new or in progress
|
||||
import.result.error3=SFC number does not exist
|
||||
import.result.error4=Inspection order number error
|
||||
import.result.error5={0} inspection item does not exist
|
||||
import.result.error6=Cause {0} is empty
|
||||
import.result.error7=Inspector does not exist
|
||||
import.result.error8=Class does not exist
|
||||
import.result.error9=Resource does not exist
|
||||
import.result.error10=Instrument does not exist
|
||||
import.result.error11={0} inspection item is not count
|
||||
import.result.error12={0} inspection item inspection result does not meet the sampling quantity
|
||||
import.result.error13={0} inspection item unqualified code error
|
||||
import.result.error14={0}The number of unqualified codes in the inspection item is wrong
|
||||
import.result.error15={0} inspection item unqualified code does not exist
|
||||
import.result.error16={0} inspection item mistake
|
||||
import.result.error21={0} Inspection item NG field inspection value error
|
||||
import.result.error22=Resource not in instrument type
|
||||
import.result.error23=Instrument not in instrument type
|
||||
import.result.error24=Check item is null
|
||||
import.result.error25=Missing {0} inspection items
|
||||
import.result.error26=Incorrect number of samples for inspection items
|
||||
import.result.error27={0} inspection items, the inspection number does not match the sampling number
|
||||
|
||||
#factor
|
||||
factor.Process=Process
|
||||
factor.ItemNo=Item Number
|
||||
factor.QCUser=Inspector
|
||||
factor.Vendor=Vendor
|
||||
factor.FurnaceNumber=FurnaceNumber
|
||||
factor.Clase=Class
|
||||
factor.PointNumber=Point Number
|
||||
factor.Machine=Machine
|
||||
factor.InstrumentNumber=Instrument Number
|
||||
|
||||
#Test items
|
||||
qc.item.InstrumentType.not.exist=Instrument type does not exist in the system
|
||||
qc.item.samplePlan.not.exist=Sampling plan does not exist in the system
|
||||
qc.item.error1=The inspection type has been changed, please enter the version before saving
|
||||
qc.item.error2=The instrument type has been changed, please enter the version before saving
|
||||
qc.item.error3=The sampling plan has been changed, please enter the version before saving
|
||||
qc.item.error4=The number of measurement points has been changed, please enter the version before saving
|
||||
qc.item.error5=The specification has been changed, please enter the version before saving
|
||||
qc.item.error6="{0}/{1}" already exists in the system and cannot be imported repeatedly
|
||||
qc.item.error7=The instrument type field of item number "{0}" is not a resource type existing in the system, please confirm
|
||||
qc.item.error8=The sampling plan field of item number "{0}" is not a sampling plan existing in the system, please confirm
|
||||
qc.item.error9=Item number does not exist in the system
|
||||
qc.item.error10=This test item has already been used and must not be deleted
|
||||
qc.item.error11=When the item number already exists, you need to press search before saving
|
||||
qc.item.error12=The item description already exists and the system cannot be repeated, please confirm
|
||||
|
||||
#IQC
|
||||
iqc.error1=The inspection plan "{0}" does not exist in the system, please confirm
|
||||
|
||||
# QC split
|
||||
qc.split.error1={0} does not exist in the system, please confirm
|
||||
qc.split.error2={0} has no split information, please confirm
|
||||
qc.split.error3={0} does not meet the QC vehicle rules, please confirm
|
||||
qc.split.error4={0} does not exist in production vehicle {1}
|
||||
qc.split.error5={0} does not belong to production vehicle {1} cannot be removed
|
||||
qc.split.error6={0} has no space, please confirm
|
||||
qc.split.error7={0} already has split information, please confirm
|
||||
qc.split.error8={0} production vehicle has no SFC, please confirm
|
||||
qc.split.error9={0} does not belong to IPQC inspection, please confirm
|
||||
qc.split.error10=The "{0}" point does not match the target vehicle "{1}"
|
||||
qc.split.error11='{0}' Batch_Number does not match the target vehicle '{1}'
|
||||
qc.split.error12=The status of '{0}' does not match the target vehicle '{1}'
|
||||
qc.split.error13=The material of '{0}' does not match the target vehicle '{1}'
|
||||
qc.split.error14=The "{0}" process does not match the target vehicle "{1}"
|
||||
qc.split.error15=The {0} production vehicle has reached the sampling quantity, please confirm
|
||||
qc.split.error16={0} production vehicle has been split, please confirm
|
||||
|
||||
# export inspection report
|
||||
ipqc.report.error1=No Excel template, please confirm
|
||||
|
||||
#
|
||||
ipqc.job.error1=Missing parameter "resource_type", please confirm
|
||||
BIN
qms-db/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
BIN
qms-db/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
Binary file not shown.
2
qms-db/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
2
qms-db/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
||||
22
qms-db/pom.xml
Normal file
22
qms-db/pom.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>iep-qms</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>qms-db</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin</groupId>
|
||||
<artifactId>qms-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916Code;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 1916表-抽样代码
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:28:41
|
||||
*/
|
||||
@Mapper
|
||||
public interface Qms1916CodeMapper extends MomBaseMapper<Qms1916Code> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.Qms1916SamplePlan;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 1916表-抽样数
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:32:12
|
||||
*/
|
||||
@Mapper
|
||||
public interface Qms1916SamplePlanMapper extends MomBaseMapper<Qms1916SamplePlan> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlCode;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AQL区间对照表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 12:00:10
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsAqlCodeMapper extends MomBaseMapper<QmsAqlCode> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlNormal;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AQL正常对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:36:20
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsAqlNormalMapper extends MomBaseMapper<QmsAqlNormal> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlReduced;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AQL减量对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:38:30
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsAqlReducedMapper extends MomBaseMapper<QmsAqlReduced> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsAqlTightened;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AQL加严对应表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:42:41
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsAqlTightenedMapper extends MomBaseMapper<QmsAqlTightened> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsQcPlanDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 检验计划明细表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2023-03-29 09:42:38
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsQcPlanDetailMapper extends BaseMapper<QmsQcPlanDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlanCustomize;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 抽样计划主表自定义
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 14:42:35
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsSamplePlanCustomizeMapper extends MomBaseMapper<QmsSamplePlanCustomize> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsSamplePlan;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 抽样计划主表
|
||||
*
|
||||
* @author mom code generator
|
||||
* @date 2022-12-27 11:42:39
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsSamplePlanMapper extends BaseMapper<QmsSamplePlan> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.foreverwin.iep.qms.mapper;
|
||||
|
||||
import com.foreverwin.mom.common.data.datascope.MomBaseMapper;
|
||||
import com.foreverwin.iep.qms.entity.QmsSampleRatio;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 抽样比率表
|
||||
*
|
||||
* @author paul
|
||||
* @date 2022-12-28 13:44:30
|
||||
*/
|
||||
@Mapper
|
||||
public interface QmsSampleRatioMapper extends MomBaseMapper<QmsSampleRatio> {
|
||||
|
||||
}
|
||||
15
qms-db/src/main/resources/qms/mapper/Qms1916CodeMapper.xml
Normal file
15
qms-db/src/main/resources/qms/mapper/Qms1916CodeMapper.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.Qms1916CodeMapper">
|
||||
|
||||
<resultMap id="qms1916CodeMap" type="com.foreverwin.iep.qms.entity.Qms1916Code">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="lotminqty" column="LOTMINQTY"/>
|
||||
<result property="lotmaxqty" column="LOTMAXQTY"/>
|
||||
<result property="qcLevel" column="QC_LEVEL"/>
|
||||
<result property="qcLevelDesc" column="QC_LEVEL_DESC"/>
|
||||
<result property="code" column="CODE"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.Qms1916SamplePlanMapper">
|
||||
|
||||
<resultMap id="qms1916SamplePlanMap" type="com.foreverwin.iep.qms.entity.Qms1916SamplePlan">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="code" column="CODE"/>
|
||||
<result property="qcLevel" column="QC_LEVEL"/>
|
||||
<result property="qcLevelDesc" column="QC_LEVEL_DESC"/>
|
||||
<result property="allowLevel" column="ALLOW_LEVEL"/>
|
||||
<result property="allowLevelDesc" column="ALLOW_LEVEL_DESC"/>
|
||||
<result property="type" column="TYPE"/>
|
||||
<result property="value" column="VALUE"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
19
qms-db/src/main/resources/qms/mapper/QmsAqlCodeMapper.xml
Normal file
19
qms-db/src/main/resources/qms/mapper/QmsAqlCodeMapper.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsAqlCodeMapper">
|
||||
|
||||
<resultMap id="qmsAqlCodeMap" type="com.foreverwin.iep.qms.entity.QmsAqlCode">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="lotqtymin" column="LOTQTYMIN"/>
|
||||
<result property="lotqtymax" column="LOTQTYMAX"/>
|
||||
<result property="s1" column="S1"/>
|
||||
<result property="s2" column="S2"/>
|
||||
<result property="s3" column="S3"/>
|
||||
<result property="s4" column="S4"/>
|
||||
<result property="i" column="I"/>
|
||||
<result property="ii" column="II"/>
|
||||
<result property="iii" column="III"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
64
qms-db/src/main/resources/qms/mapper/QmsAqlNormalMapper.xml
Normal file
64
qms-db/src/main/resources/qms/mapper/QmsAqlNormalMapper.xml
Normal file
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsAqlNormalMapper">
|
||||
|
||||
<resultMap id="qmsAqlNormalMap" type="com.foreverwin.iep.qms.entity.QmsAqlNormal">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="samplecode" column="SAMPLECODE"/>
|
||||
<result property="sampleqty" column="SAMPLEQTY"/>
|
||||
<result property="a1" column="A1"/>
|
||||
<result property="r1" column="R1"/>
|
||||
<result property="a2" column="A2"/>
|
||||
<result property="r2" column="R2"/>
|
||||
<result property="a3" column="A3"/>
|
||||
<result property="r3" column="R3"/>
|
||||
<result property="a4" column="A4"/>
|
||||
<result property="r4" column="R4"/>
|
||||
<result property="a5" column="A5"/>
|
||||
<result property="r5" column="R5"/>
|
||||
<result property="a6" column="A6"/>
|
||||
<result property="r6" column="R6"/>
|
||||
<result property="a7" column="A7"/>
|
||||
<result property="r7" column="R7"/>
|
||||
<result property="a8" column="A8"/>
|
||||
<result property="r8" column="R8"/>
|
||||
<result property="a9" column="A9"/>
|
||||
<result property="r9" column="R9"/>
|
||||
<result property="a10" column="A10"/>
|
||||
<result property="r10" column="R10"/>
|
||||
<result property="a11" column="A11"/>
|
||||
<result property="r11" column="R11"/>
|
||||
<result property="a12" column="A12"/>
|
||||
<result property="r12" column="R12"/>
|
||||
<result property="a13" column="A13"/>
|
||||
<result property="r13" column="R13"/>
|
||||
<result property="a14" column="A14"/>
|
||||
<result property="r14" column="R14"/>
|
||||
<result property="a15" column="A15"/>
|
||||
<result property="r15" column="R15"/>
|
||||
<result property="a16" column="A16"/>
|
||||
<result property="r16" column="R16"/>
|
||||
<result property="a17" column="A17"/>
|
||||
<result property="r17" column="R17"/>
|
||||
<result property="a18" column="A18"/>
|
||||
<result property="r18" column="R18"/>
|
||||
<result property="a19" column="A19"/>
|
||||
<result property="r19" column="R19"/>
|
||||
<result property="a20" column="A20"/>
|
||||
<result property="r20" column="R20"/>
|
||||
<result property="a21" column="A21"/>
|
||||
<result property="r21" column="R21"/>
|
||||
<result property="a22" column="A22"/>
|
||||
<result property="r22" column="R22"/>
|
||||
<result property="a23" column="A23"/>
|
||||
<result property="r23" column="R23"/>
|
||||
<result property="a24" column="A24"/>
|
||||
<result property="r24" column="R24"/>
|
||||
<result property="a25" column="A25"/>
|
||||
<result property="r25" column="R25"/>
|
||||
<result property="a26" column="A26"/>
|
||||
<result property="r26" column="R26"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
64
qms-db/src/main/resources/qms/mapper/QmsAqlReducedMapper.xml
Normal file
64
qms-db/src/main/resources/qms/mapper/QmsAqlReducedMapper.xml
Normal file
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsAqlReducedMapper">
|
||||
|
||||
<resultMap id="qmsAqlReducedMap" type="com.foreverwin.iep.qms.entity.QmsAqlReduced">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="samplecode" column="SAMPLECODE"/>
|
||||
<result property="sampleqty" column="SAMPLEQTY"/>
|
||||
<result property="a1" column="A1"/>
|
||||
<result property="r1" column="R1"/>
|
||||
<result property="a2" column="A2"/>
|
||||
<result property="r2" column="R2"/>
|
||||
<result property="a3" column="A3"/>
|
||||
<result property="r3" column="R3"/>
|
||||
<result property="a4" column="A4"/>
|
||||
<result property="r4" column="R4"/>
|
||||
<result property="a5" column="A5"/>
|
||||
<result property="r5" column="R5"/>
|
||||
<result property="a6" column="A6"/>
|
||||
<result property="r6" column="R6"/>
|
||||
<result property="a7" column="A7"/>
|
||||
<result property="r7" column="R7"/>
|
||||
<result property="a8" column="A8"/>
|
||||
<result property="r8" column="R8"/>
|
||||
<result property="a9" column="A9"/>
|
||||
<result property="r9" column="R9"/>
|
||||
<result property="a10" column="A10"/>
|
||||
<result property="r10" column="R10"/>
|
||||
<result property="a11" column="A11"/>
|
||||
<result property="r11" column="R11"/>
|
||||
<result property="a12" column="A12"/>
|
||||
<result property="r12" column="R12"/>
|
||||
<result property="a13" column="A13"/>
|
||||
<result property="r13" column="R13"/>
|
||||
<result property="a14" column="A14"/>
|
||||
<result property="r14" column="R14"/>
|
||||
<result property="a15" column="A15"/>
|
||||
<result property="r15" column="R15"/>
|
||||
<result property="a16" column="A16"/>
|
||||
<result property="r16" column="R16"/>
|
||||
<result property="a17" column="A17"/>
|
||||
<result property="r17" column="R17"/>
|
||||
<result property="a18" column="A18"/>
|
||||
<result property="r18" column="R18"/>
|
||||
<result property="a19" column="A19"/>
|
||||
<result property="r19" column="R19"/>
|
||||
<result property="a20" column="A20"/>
|
||||
<result property="r20" column="R20"/>
|
||||
<result property="a21" column="A21"/>
|
||||
<result property="r21" column="R21"/>
|
||||
<result property="a22" column="A22"/>
|
||||
<result property="r22" column="R22"/>
|
||||
<result property="a23" column="A23"/>
|
||||
<result property="r23" column="R23"/>
|
||||
<result property="a24" column="A24"/>
|
||||
<result property="r24" column="R24"/>
|
||||
<result property="a25" column="A25"/>
|
||||
<result property="r25" column="R25"/>
|
||||
<result property="a26" column="A26"/>
|
||||
<result property="r26" column="R26"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsAqlTightenedMapper">
|
||||
|
||||
<resultMap id="qmsAqlTightenedMap" type="com.foreverwin.iep.qms.entity.QmsAqlTightened">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="samplecode" column="SAMPLECODE"/>
|
||||
<result property="sampleqty" column="SAMPLEQTY"/>
|
||||
<result property="a1" column="A1"/>
|
||||
<result property="r1" column="R1"/>
|
||||
<result property="a2" column="A2"/>
|
||||
<result property="r2" column="R2"/>
|
||||
<result property="a3" column="A3"/>
|
||||
<result property="r3" column="R3"/>
|
||||
<result property="a4" column="A4"/>
|
||||
<result property="r4" column="R4"/>
|
||||
<result property="a5" column="A5"/>
|
||||
<result property="r5" column="R5"/>
|
||||
<result property="a6" column="A6"/>
|
||||
<result property="r6" column="R6"/>
|
||||
<result property="a7" column="A7"/>
|
||||
<result property="r7" column="R7"/>
|
||||
<result property="a8" column="A8"/>
|
||||
<result property="r8" column="R8"/>
|
||||
<result property="a9" column="A9"/>
|
||||
<result property="r9" column="R9"/>
|
||||
<result property="a10" column="A10"/>
|
||||
<result property="r10" column="R10"/>
|
||||
<result property="a11" column="A11"/>
|
||||
<result property="r11" column="R11"/>
|
||||
<result property="a12" column="A12"/>
|
||||
<result property="r12" column="R12"/>
|
||||
<result property="a13" column="A13"/>
|
||||
<result property="r13" column="R13"/>
|
||||
<result property="a14" column="A14"/>
|
||||
<result property="r14" column="R14"/>
|
||||
<result property="a15" column="A15"/>
|
||||
<result property="r15" column="R15"/>
|
||||
<result property="a16" column="A16"/>
|
||||
<result property="r16" column="R16"/>
|
||||
<result property="a17" column="A17"/>
|
||||
<result property="r17" column="R17"/>
|
||||
<result property="a18" column="A18"/>
|
||||
<result property="r18" column="R18"/>
|
||||
<result property="a19" column="A19"/>
|
||||
<result property="r19" column="R19"/>
|
||||
<result property="a20" column="A20"/>
|
||||
<result property="r20" column="R20"/>
|
||||
<result property="a21" column="A21"/>
|
||||
<result property="r21" column="R21"/>
|
||||
<result property="a22" column="A22"/>
|
||||
<result property="r22" column="R22"/>
|
||||
<result property="a23" column="A23"/>
|
||||
<result property="r23" column="R23"/>
|
||||
<result property="a24" column="A24"/>
|
||||
<result property="r24" column="R24"/>
|
||||
<result property="a25" column="A25"/>
|
||||
<result property="r25" column="R25"/>
|
||||
<result property="a26" column="A26"/>
|
||||
<result property="r26" column="R26"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsQcPlanDetailMapper">
|
||||
|
||||
<resultMap id="qmsQcPlanDetailMap" type="com.foreverwin.iep.qms.entity.QmsQcPlanDetail">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="qcPlanBo" column="QC_PLAN_BO"/>
|
||||
<result property="seq" column="SEQ"/>
|
||||
<result property="qcItemSid" column="QC_ITEM_SID"/>
|
||||
<result property="samplePlanBo" column="SAMPLE_PLAN_BO"/>
|
||||
<result property="measurementPoints" column="MEASUREMENT_POINTS"/>
|
||||
<result property="maxValue" column="MAX_VALUE"/>
|
||||
<result property="minValue" column="MIN_VALUE"/>
|
||||
<result property="centerValue" column="CENTER_VALUE"/>
|
||||
<result property="content" column="CONTENT"/>
|
||||
<result property="remark" column="REMARK"/>
|
||||
<result property="sampleSizeSpc" column="SAMPLE_SIZE_SPC"/>
|
||||
<result property="chartControl" column="CHART_CONTROL"/>
|
||||
<result property="qcRoutingBo" column="QC_ROUTING_BO"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsSamplePlanCustomizeMapper">
|
||||
|
||||
<resultMap id="qmsSamplePlanCustomizeMap" type="com.foreverwin.iep.qms.entity.QmsSamplePlanCustomize">
|
||||
<id property="sid" column="SID"/>
|
||||
<result property="site" column="SITE"/>
|
||||
<result property="samplePlanBo" column="SAMPLE_PLAN_BO"/>
|
||||
<result property="seq" column="SEQ"/>
|
||||
<result property="minValue" column="MIN_VALUE"/>
|
||||
<result property="maxValue" column="MAX_VALUE"/>
|
||||
<result property="sampleSize" column="SAMPLE_SIZE"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
26
qms-db/src/main/resources/qms/mapper/QmsSamplePlanMapper.xml
Normal file
26
qms-db/src/main/resources/qms/mapper/QmsSamplePlanMapper.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsSamplePlanMapper">
|
||||
|
||||
<resultMap id="qmsSamplePlanMap" type="com.foreverwin.iep.qms.entity.QmsSamplePlan">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="site" column="SITE"/>
|
||||
<result property="samplePlan" column="SAMPLE_PLAN"/>
|
||||
<result property="description" column="DESCRIPTION"/>
|
||||
<result property="samplePlanType" column="SAMPLE_PLAN_TYPE"/>
|
||||
<result property="fixedNumber" column="FIXED_NUMBER"/>
|
||||
<result property="fixedPercentage" column="FIXED_PERCENTAGE"/>
|
||||
<result property="qcLevel" column="QC_LEVEL"/>
|
||||
<result property="allowLevel" column="ALLOW_LEVEL"/>
|
||||
<result property="sampleRatio" column="SAMPLE_RATIO"/>
|
||||
<result property="createdUser" column="CREATED_USER"/>
|
||||
<result property="createdDateTime" column="CREATED_DATE_TIME"/>
|
||||
<result property="judgeMode" column="JUDGE_MODE"/>
|
||||
<result property="kind" column="KIND"/>
|
||||
<result property="areaQty" column="AREA_QTY"/>
|
||||
<result property="dieQty" column="DIE_QTY"/>
|
||||
<result property="areaInfo" column="AREA_INFO"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.foreverwin.iep.qms.mapper.QmsSampleRatioMapper">
|
||||
|
||||
<resultMap id="qmsSampleRatioMap" type="com.foreverwin.iep.qms.entity.QmsSampleRatio">
|
||||
<id property="handle" column="HANDLE"/>
|
||||
<result property="sampleRatio" column="SAMPLE_RATIO"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue
Block a user