guoyujie
4 天以前 045128ca645bf1668c6c3b050746e90cd8935258
north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
@@ -320,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>
@@ -478,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>