mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
excel/xml导入预留边缺省值导致异常处理
This commit is contained in:
+4
@@ -700,6 +700,10 @@ public class DefaultExcelOrderImportFactory {
|
||||
.sealRight(BigDecimal.valueOf(Double.parseDouble(combination.getSealRight())))
|
||||
.sealUp(BigDecimal.valueOf(Double.parseDouble(combination.getSealUp())))
|
||||
.sealDown(BigDecimal.valueOf(Double.parseDouble(combination.getSealDown())))
|
||||
.reservedEdgeLeft(BigDecimal.ZERO)
|
||||
.reservedEdgeRight(BigDecimal.ZERO)
|
||||
.reservedEdgeUp(BigDecimal.ZERO)
|
||||
.reservedEdgeDown(BigDecimal.ZERO)
|
||||
.holeFace(Integer.valueOf(typographyDTO.getValue()))
|
||||
.texture(Integer.valueOf(grainDTO.getValue()))
|
||||
.area(tempDataDO.getArea())
|
||||
|
||||
+4
@@ -524,6 +524,10 @@ public class DefaultXmlOrderImportFactory {
|
||||
.splitHeight(BigDecimal.valueOf(Double.parseDouble(blockXmlVO.getLength())))
|
||||
.splitThickness(BigDecimal.valueOf(Double.parseDouble(blockXmlVO.getThickness())))
|
||||
.splitWidth(BigDecimal.valueOf(Double.parseDouble(blockXmlVO.getWidth())))
|
||||
.reservedEdgeLeft(BigDecimal.ZERO)
|
||||
.reservedEdgeRight(BigDecimal.ZERO)
|
||||
.reservedEdgeUp(BigDecimal.ZERO)
|
||||
.reservedEdgeDown(BigDecimal.ZERO)
|
||||
.area(area)
|
||||
.texture(Integer.valueOf(DictFrameworkUtils.parseDictDataValue(DictTypeConstants.GRAIN_TYPE, blockXmlVO.getTexture())))
|
||||
.holeFace(Integer.valueOf(DictFrameworkUtils.parseDictDataValue(DictTypeConstants.TYPOGRAPHY_TYPE, blockXmlVO.getLayoutFace())))
|
||||
|
||||
Reference in New Issue
Block a user