chenlu
2025-12-19 fbd881bdd757de4bbb44c073f9a3db4c73b2ebd4
north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
@@ -29,7 +29,8 @@
                            perimeter,
                            monolithic_perimeter,
                            other_columns,
                            file_name
                            file_name,
                            process_attribute
                          )
        values
        <foreach collection ="orderDetails" item="orderDetail" separator =",">
@@ -57,7 +58,8 @@
            #{orderDetail.perimeter},
            #{orderDetail.monolithicPerimeter},
            #{orderDetail.otherColumns},
            #{orderDetail.fileName}
            #{orderDetail.fileName},
            #{orderDetail.processAttribute}
             )
        </foreach>
    </insert>
@@ -318,6 +320,10 @@
            and a.order_number like concat('%',#{orderDetail.orderNumber},'%')
        </if>
        <if test="orderDetail.buildingNumber != null and orderDetail.buildingNumber != ''">
            and a.building_number like concat('%',#{orderDetail.buildingNumber},'%')
        </if>
        <if test="orderDetail.width != null and orderDetail.width != '' and model==0">
            and a.width regexp REGEXP_REPLACE(#{orderDetail.width},'\\.0+$','')
        </if>
@@ -476,6 +482,10 @@
            and a.order_number like concat('%',#{orderDetail.orderNumber},'%')
        </if>
        <if test="orderDetail.buildingNumber != null and orderDetail.buildingNumber != ''">
            and a.building_number like concat('%',#{orderDetail.buildingNumber},'%')
        </if>
        <if test="orderDetail.width != null and orderDetail.width != ''">
            and a.width regexp REGEXP_REPLACE(#{orderDetail.width},'\\.0+$','')
        </if>