cl
2024-01-19 e0fac38b26845f25de479783e0c76cf12a5311e0
guns-vip-main/src/main/java/cn/stylefeng/guns/modular/om/productionOrderRecords/mapper/mapping/ProductionOrderRecordsMapper.xml
@@ -37,6 +37,18 @@
        select
        <include refid="Base_Column_List"/>
        from om_production_order_records where 1 = 1
        <if test="paramCondition.productNo != null and paramCondition.productNo != ''">
            and product_no like CONCAT('%',#{paramCondition.productNo},'%')
        </if>
        <if test="paramCondition.workOrderNo != null and paramCondition.workOrderNo != ''">
            and work_order_no like CONCAT('%',#{paramCondition.workOrderNo},'%')
        </if>
        <if test="paramCondition.materialCode != null and paramCondition.materialCode != ''">
            and material_code like CONCAT('%',#{paramCondition.materialCode},'%')
        </if>
        <if test="paramCondition.locationCode != null and paramCondition.locationCode != ''">
            and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
        </if>
    </select>
    <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.om.productionOrderRecords.model.params.ProductionOrderRecordsParam">