|
|
|
@ -236,6 +236,7 @@ public class PlateGoodsRecordServiceImpl extends BaseServiceImpl<PlateGoodsRecor |
|
|
|
for(CraftAbilityEntity craftAbility : craftAbilityList){ |
|
|
|
for(CraftAbilityEntity craftAbility : craftAbilityList){ |
|
|
|
if(StringUtils.isNotEmpty(craftAbility.getWxLimit())){ |
|
|
|
if(StringUtils.isNotEmpty(craftAbility.getWxLimit())){ |
|
|
|
abilityName = DictCache.getValue("ProcessCapabilityType",craftAbility.getWxLimit()); |
|
|
|
abilityName = DictCache.getValue("ProcessCapabilityType",craftAbility.getWxLimit()); |
|
|
|
|
|
|
|
if(StringUtils.isNotEmpty(abilityName)){ |
|
|
|
if(abilityName.contains("镀金") || abilityName.contains("镀银")){ |
|
|
|
if(abilityName.contains("镀金") || abilityName.contains("镀银")){ |
|
|
|
localArea = craftAbility.getLocalArea().doubleValue(); |
|
|
|
localArea = craftAbility.getLocalArea().doubleValue(); |
|
|
|
isContains = true; |
|
|
|
isContains = true; |
|
|
|
@ -245,6 +246,7 @@ public class PlateGoodsRecordServiceImpl extends BaseServiceImpl<PlateGoodsRecor |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
if(StringUtils.isNotEmpty(plateGoodsCode) && isContains){ |
|
|
|
if(StringUtils.isNotEmpty(plateGoodsCode) && isContains){ |
|
|
|
Double h1 = dsPart.getPlateThickness(); |
|
|
|
Double h1 = dsPart.getPlateThickness(); |
|
|
|
Double h2 = dsPart.getPlateThicknessTwo(); |
|
|
|
Double h2 = dsPart.getPlateThicknessTwo(); |
|
|
|
@ -263,6 +265,8 @@ public class PlateGoodsRecordServiceImpl extends BaseServiceImpl<PlateGoodsRecor |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(h1 == null){ |
|
|
|
if(h1 == null){ |
|
|
|
|
|
|
|
String matCode = dsPart.getPlateCode(); |
|
|
|
|
|
|
|
if(StringUtils.isEmpty(matCode)){ |
|
|
|
//根据配置码查询镀种信息
|
|
|
|
//根据配置码查询镀种信息
|
|
|
|
BsPlatingEntity bsPlatingEntity =bsPlatingService.selectBsPlatingConfigNo(dsPart.getConfigCode()); |
|
|
|
BsPlatingEntity bsPlatingEntity =bsPlatingService.selectBsPlatingConfigNo(dsPart.getConfigCode()); |
|
|
|
if(bsPlatingEntity == null){ |
|
|
|
if(bsPlatingEntity == null){ |
|
|
|
@ -273,7 +277,9 @@ public class PlateGoodsRecordServiceImpl extends BaseServiceImpl<PlateGoodsRecor |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
//镀层代码
|
|
|
|
//镀层代码
|
|
|
|
String matCode=bsPlatingEntity.getMatCode(); |
|
|
|
matCode = bsPlatingEntity.getMatCode(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//根据零件号、镀层代码、质量等级,从镀层厚度对应表中查询镀层厚度
|
|
|
|
//根据零件号、镀层代码、质量等级,从镀层厚度对应表中查询镀层厚度
|
|
|
|
int start_f21e8=0; |
|
|
|
int start_f21e8=0; |
|
|
|
if(partCode.startsWith("21E8-210")){ |
|
|
|
if(partCode.startsWith("21E8-210")){ |
|
|
|
|