禅道bug#1705修复:excel导入拆单员不正确、excel/xml排版面不正确

This commit is contained in:
gaoqr
2026-06-16 18:02:18 +08:00
parent 9f9a7db9da
commit 98c42b69bd
3 changed files with 3 additions and 5 deletions
@@ -267,7 +267,7 @@ public final class DefaultOrderImportExcelListener extends AnalysisEventListener
if (4 == rowIndex) {
validOrderInfoLength(leftKey, leftVal, 64);
validOrderInfoLength(rightKey, rightVal, 255);
orderDO.setSplitter(StringUtils.isNotEmpty(leftVal) ? leftKey : EMPTY_STRING);
orderDO.setSplitter(StringUtils.isNotEmpty(leftVal) ? leftVal : EMPTY_STRING);
orderDO.setRemark(rightVal);
}
orderDO.setDataType(DataTypeEnum.FILE_IMPORT.getStatus());
@@ -704,7 +704,7 @@ public class DefaultExcelOrderImportFactory {
.reservedEdgeRight(BigDecimal.ZERO)
.reservedEdgeUp(BigDecimal.ZERO)
.reservedEdgeDown(BigDecimal.ZERO)
.holeFace(Integer.valueOf(typographyDTO.getValue()))
.holeArrange(Integer.valueOf(typographyDTO.getValue()))
.texture(Integer.valueOf(grainDTO.getValue()))
.area(tempDataDO.getArea())
.openDoorType(Integer.valueOf(doorDTO.getValue()))
@@ -717,7 +717,6 @@ public class DefaultExcelOrderImportFactory {
.bodyName(bodyName)
.customPlateNoBuilder(new StringBuilder())
.organId(organId)
.holeArrange(0)
.holeFace(0)
.unregularPointCount(0)
.frontHoleCount(0)
@@ -530,7 +530,7 @@ public class DefaultXmlOrderImportFactory {
.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())))
.holeArrange(Integer.valueOf(DictFrameworkUtils.parseDictDataValue(DictTypeConstants.TYPOGRAPHY_TYPE, blockXmlVO.getLayoutFace())))
.isDoor(doorType != 0)
.openDoorType(doorType)
.isSculpt(false)
@@ -539,7 +539,6 @@ public class DefaultXmlOrderImportFactory {
.isSide2v(false)
.customPlateNoBuilder(new StringBuilder())
.organId(organId)
.holeArrange(0)
.holeFace(0)
.unregularPointCount(0)
.frontHoleCount(0)