yuan
2026-08-23 fd80c03df8aa8261e4c8174b9ee0a91edb45d60c
src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -11,6 +11,11 @@
        <result column="no" property="no" />
        <result column="remark" property="remark" />
        <result column="salary_quota" property="salaryQuota" />
        <result column="standard_quantity" property="standardQuantity" />
        <result column="violin_factor" property="violinFactor" />
        <result column="viola_factor" property="violaFactor" />
        <result column="bass_factor" property="bassFactor" />
        <result column="conversion_factor" property="conversionFactor" />
        <result column="is_quality" property="isQuality" />
        <result column="type" property="type" />
        <result column="device_ledger_id" property="deviceLedgerId" />
@@ -18,4 +23,20 @@
        <result column="dept_id" property="deptId" />
    </resultMap>
    <select id="listPage" resultType="com.ruoyi.technology.bean.vo.TechnologyOperationVo">
        select *
        from technology_operation t
        <where>
            <if test="c.name != null and c.name != ''">
                and t.name like concat('%', #{c.name}, '%')
            </if>
            <if test="c.no != null and c.no != ''">
                and t.no like concat('%', #{c.no}, '%')
            </if>
            <if test="c.type != null">
                and t.type = #{c.type}
            </if>
        </where>
        order by t.id desc
    </select>
</mapper>