This commit is contained in:
2026-04-30 15:22:32 +08:00
5 changed files with 35 additions and 17 deletions

View File

@@ -72,11 +72,15 @@ public class CrmOrderItem extends BaseEntity {
/**
* 宽度公差
*/
private BigDecimal widthTolerance;
private String widthTolerance;
/**
* 厚度公差
*/
private BigDecimal thicknessTolerance;
private String thicknessTolerance;
/**
* 表面质量
*/
private String surfaceQuality;
/**
* 合同定价
*/
@@ -108,11 +112,11 @@ public class CrmOrderItem extends BaseEntity {
/**
* 宽度
*/
private BigDecimal width;
private String width;
/**
* 厚度
*/
private BigDecimal thickness;
private String thickness;
/**
* 用途
*/

View File

@@ -81,12 +81,17 @@ public class CrmOrderItemBo extends BaseEntity {
/**
* 宽度公差
*/
private BigDecimal widthTolerance;
private String widthTolerance;
/**
* 厚度公差
*/
private BigDecimal thicknessTolerance;
private String thicknessTolerance;
/**
* 表面质量
*/
private String surfaceQuality;
/**
* 合同定价
@@ -126,12 +131,12 @@ public class CrmOrderItemBo extends BaseEntity {
/**
* 宽度
*/
private BigDecimal width;
private String width;
/**
* 厚度
*/
private BigDecimal thickness;
private String thickness;
/**
* 用途

View File

@@ -99,13 +99,19 @@ public class CrmOrderItemVo {
* 宽度公差
*/
@ExcelProperty(value = "宽度公差")
private BigDecimal widthTolerance;
private String widthTolerance;
/**
* 厚度公差
*/
@ExcelProperty(value = "厚度公差")
private BigDecimal thicknessTolerance;
private String thicknessTolerance;
/**
* 表面质量
*/
@ExcelProperty(value = "表面质量")
private String surfaceQuality;
/**
* 合同定价
@@ -153,13 +159,13 @@ public class CrmOrderItemVo {
* 宽度
*/
@ExcelProperty(value = "宽度")
private BigDecimal width;
private String width;
/**
* 厚度
*/
@ExcelProperty(value = "厚度")
private BigDecimal thickness;
private String thickness;
/**
* 用途

View File

@@ -95,17 +95,18 @@ public class CrmOrderItemServiceImpl implements ICrmOrderItemService {
lqw.eq(StringUtils.isNotBlank(bo.getMaterial()), CrmOrderItem::getMaterial, bo.getMaterial());
lqw.eq(StringUtils.isNotBlank(bo.getGrade()), CrmOrderItem::getGrade, bo.getGrade());
lqw.eq(bo.getWeight() != null, CrmOrderItem::getWeight, bo.getWeight());
lqw.eq(bo.getWidthTolerance() != null, CrmOrderItem::getWidthTolerance, bo.getWidthTolerance());
lqw.eq(bo.getThicknessTolerance() != null, CrmOrderItem::getThicknessTolerance, bo.getThicknessTolerance());
lqw.eq(StringUtils.isNotBlank(bo.getWidthTolerance()), CrmOrderItem::getWidthTolerance, bo.getWidthTolerance());
lqw.eq(StringUtils.isNotBlank(bo.getThicknessTolerance()), CrmOrderItem::getThicknessTolerance, bo.getThicknessTolerance());
lqw.eq(bo.getContractPrice() != null, CrmOrderItem::getContractPrice, bo.getContractPrice());
lqw.eq(StringUtils.isNotBlank(bo.getCustomizer()), CrmOrderItem::getCustomizer, bo.getCustomizer());
lqw.eq(StringUtils.isNotBlank(bo.getShipper()), CrmOrderItem::getShipper, bo.getShipper());
lqw.eq(StringUtils.isNotBlank(bo.getProductionBatch()), CrmOrderItem::getProductionBatch, bo.getProductionBatch());
lqw.eq(StringUtils.isNotBlank(bo.getSurfaceTreatment()), CrmOrderItem::getSurfaceTreatment, bo.getSurfaceTreatment());
lqw.eq(StringUtils.isNotBlank(bo.getSurfaceQuality()), CrmOrderItem::getSurfaceQuality, bo.getSurfaceQuality());
lqw.eq(StringUtils.isNotBlank(bo.getEdgeCuttingReq()), CrmOrderItem::getEdgeCuttingReq, bo.getEdgeCuttingReq());
lqw.eq(StringUtils.isNotBlank(bo.getPackagingReq()), CrmOrderItem::getPackagingReq, bo.getPackagingReq());
lqw.eq(bo.getWidth() != null, CrmOrderItem::getWidth, bo.getWidth());
lqw.eq(bo.getThickness() != null, CrmOrderItem::getThickness, bo.getThickness());
lqw.eq(StringUtils.isNotBlank(bo.getWidth()), CrmOrderItem::getWidth, bo.getWidth());
lqw.eq(StringUtils.isNotBlank(bo.getThickness()), CrmOrderItem::getThickness, bo.getThickness());
lqw.eq(StringUtils.isNotBlank(bo.getPurpose()), CrmOrderItem::getPurpose, bo.getPurpose());
return lqw;
}

View File

@@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="shipper" column="shipper"/>
<result property="productionBatch" column="production_batch"/>
<result property="surfaceTreatment" column="surface_treatment"/>
<result property="surfaceQuality" column="surface_quality"/>
<result property="edgeCuttingReq" column="edge_cutting_req"/>
<result property="packagingReq" column="packaging_req"/>
<result property="width" column="width"/>
@@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
shipper,
production_batch,
surface_treatment,
surface_quality,
edge_cutting_req,
packaging_req,
width,
@@ -77,4 +79,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
</mapper>
</mapper>