liu
17 小时以前 3e144b2eb8fc9447d2d092edb71db533d12abc52
src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -11,6 +11,12 @@
        <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="mid_violin_factor" property="midViolinFactor" />
        <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 +24,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>