mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
禅道 1440 修复
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ import lombok.Data;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -70,7 +71,7 @@ public class SavePlanPlateList {
|
||||
|
||||
|
||||
@Schema(description = "大板的厚度")
|
||||
private Integer thickness;
|
||||
private BigDecimal thickness;
|
||||
|
||||
|
||||
@Schema(description = "大板的颜色")
|
||||
|
||||
+4
@@ -188,6 +188,10 @@ public class OptimizeBoardModelDO extends ESDocument {
|
||||
public void setRemainBoardList(Object remainBoardList) {
|
||||
if (remainBoardList instanceof String && ((String) remainBoardList).isEmpty()) {
|
||||
this.remainBoardList = new ArrayList<>();
|
||||
} else if (remainBoardList instanceof List) {
|
||||
this.remainBoardList = (List<RemainBoardList>) remainBoardList;
|
||||
} else {
|
||||
this.remainBoardList = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user