mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +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)
|
||||
private String texture;
|
||||
|
||||
@Schema(description = "异形数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String specialShaped;
|
||||
@Schema(description = "是否异型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private Boolean specialShaped;
|
||||
|
||||
@Schema(description = "造型数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String profiling;
|
||||
@Schema(description = "是否造型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private Boolean profiling;
|
||||
|
||||
@Schema(description = "排孔数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String rowHole;
|
||||
@Schema(description = "是否有孔", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private Boolean rowHole;
|
||||
|
||||
@Schema(description = "加工组", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String processGroup;
|
||||
|
||||
+12
-11
@@ -129,13 +129,14 @@ public class PackServiceImpl implements PackService {
|
||||
|
||||
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
||||
String name = "";
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName()+",";
|
||||
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName() + ",";
|
||||
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
|
||||
plateDetailsRespVO.setProcessGroup(name);
|
||||
}
|
||||
|
||||
@@ -154,13 +155,13 @@ public class PackServiceImpl implements PackService {
|
||||
|
||||
for (PlateDetailsRespVO plateDetailsRespVO : plateDetailsRespVOS) {
|
||||
String name = "";
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName()+",";
|
||||
|
||||
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName() + ",";
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
|
||||
plateDetailsRespVO.setProcessGroup(name);
|
||||
}
|
||||
|
||||
|
||||
+6
-4
@@ -204,12 +204,14 @@ public class ProductionStatusServiceImpl implements ProductionStatusService {
|
||||
|
||||
for (PackageDetailsRespVO plateDetailsRespVO : packageDetailsRespVOS) {
|
||||
String name = "";
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName()+",";
|
||||
|
||||
if(!plateDetailsRespVO.getProcessGroupNameList().isEmpty()) {
|
||||
for (GroupNameList groupNameList : plateDetailsRespVO.getProcessGroupNameList()) {
|
||||
// 去除最后的逗号
|
||||
name += groupNameList.getName() + ",";
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
}
|
||||
name = name.substring(0, name.length() - 1);
|
||||
|
||||
plateDetailsRespVO.setProcessGroup(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user