懒羊羊
2023-11-14 ee4d94defe7cc7f36f87aebf2e9efed38ba93a40
guns-vip-main/src/main/java/cn/stylefeng/guns/modular/zsx/bs/material/mapper/mapping/MaterialInfoMapper.xml
@@ -42,6 +42,9 @@
            <if test="paramCondition.typeL != null and paramCondition.typeL != ''">
                and type_l like CONCAT('%',#{paramCondition.typeL},'%')
            </if>
            <if test="paramCondition.typeZ != null and paramCondition.typeZ != ''">
                and type_Z like CONCAT('%',#{paramCondition.typeZ},'%')
            </if>
    </select>
    <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.zsx.bs.material.model.params.MaterialInfoParam">
@@ -59,6 +62,9 @@
            </if>
            <if test="paramCondition.typeL != null and paramCondition.typeL != ''">
                and type_l like CONCAT('%',#{paramCondition.typeL},'%')
            </if>
            <if test="paramCondition.typeZ != null and paramCondition.typeZ != ''">
                and type_Z like CONCAT('%',#{paramCondition.typeZ},'%')
            </if>
    </select>
@@ -78,6 +84,9 @@
            <if test="paramCondition.typeL != null and paramCondition.typeL != ''">
                and type_l like CONCAT('%',#{paramCondition.typeL},'%')
            </if>
            <if test="paramCondition.typeZ != null and paramCondition.typeZ != ''">
                and type_Z like CONCAT('%',#{paramCondition.typeZ},'%')
            </if>
    </select>
    <select id="customPageMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.zsx.bs.material.model.params.MaterialInfoParam">
@@ -96,6 +105,9 @@
            <if test="paramCondition.typeL != null and paramCondition.typeL != ''">
                and type_l like CONCAT('%',#{paramCondition.typeL},'%')
            </if>
            <if test="paramCondition.typeZ != null and paramCondition.typeZ != ''">
                and type_Z like CONCAT('%',#{paramCondition.typeZ},'%')
            </if>
    </select>
</mapper>