mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 21:52:07 +08:00
分堆打包Bug修改-2.0
This commit is contained in:
+6
-6
@@ -52,14 +52,14 @@ public class PackageDetailsRespVO {
|
|||||||
@Schema(description = "纹路", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "纹路", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String texture;
|
private String texture;
|
||||||
|
|
||||||
@Schema(description = "异形数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "是否异型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String specialShaped;
|
private Boolean specialShaped;
|
||||||
|
|
||||||
@Schema(description = "造型数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "是否造型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String profiling;
|
private Boolean profiling;
|
||||||
|
|
||||||
@Schema(description = "排孔数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "是否有孔", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String rowHole;
|
private Boolean rowHole;
|
||||||
|
|
||||||
@Schema(description = "加工组", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "加工组", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private String processGroup;
|
private String processGroup;
|
||||||
|
|||||||
+4
-3
@@ -129,13 +129,14 @@ public class PackServiceImpl implements PackService {
|
|||||||
|
|
||||||
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
||||||
String name = "";
|
String name = "";
|
||||||
|
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||||
// 去除最后的逗号
|
// 去除最后的逗号
|
||||||
name += groupNameList.getName() + ",";
|
name += groupNameList.getName() + ",";
|
||||||
|
|
||||||
}
|
}
|
||||||
name = name.substring(0, name.length() - 1);
|
name = name.substring(0, name.length() - 1);
|
||||||
|
}
|
||||||
plateDetailsRespVO.setProcessGroup(name);
|
plateDetailsRespVO.setProcessGroup(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,13 +155,13 @@ public class PackServiceImpl implements PackService {
|
|||||||
|
|
||||||
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
||||||
String name = "";
|
String name = "";
|
||||||
|
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||||
// 去除最后的逗号
|
// 去除最后的逗号
|
||||||
name += groupNameList.getName() + ",";
|
name += groupNameList.getName() + ",";
|
||||||
|
|
||||||
}
|
}
|
||||||
name = name.substring(0, name.length() - 1);
|
name = name.substring(0, name.length() - 1);
|
||||||
|
}
|
||||||
plateDetailsRespVO.setProcessGroup(name);
|
plateDetailsRespVO.setProcessGroup(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -204,12 +204,14 @@ public class ProductionStatusServiceImpl implements ProductionStatusService {
|
|||||||
|
|
||||||
for (PackageDetailsRespVO plateDetailsRespVO : packageDetailsRespVOS) {
|
for (PackageDetailsRespVO plateDetailsRespVO : packageDetailsRespVOS) {
|
||||||
String name = "";
|
String name = "";
|
||||||
|
|
||||||
|
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||||
// 去除最后的逗号
|
// 去除最后的逗号
|
||||||
name += groupNameList.getName() + ",";
|
name += groupNameList.getName() + ",";
|
||||||
|
|
||||||
}
|
}
|
||||||
name = name.substring(0, name.length() - 1);
|
name = name.substring(0, name.length() - 1);
|
||||||
|
}
|
||||||
|
|
||||||
plateDetailsRespVO.setProcessGroup(name);
|
plateDetailsRespVO.setProcessGroup(name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user