gongchunyi
5 小时以前 a8188d1675594d7756eddccc3eda60601325942a
src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -12,10 +12,28 @@
        <result column="remark" property="remark" />
        <result column="salary_quota" property="salaryQuota" />
        <result column="is_quality" property="isQuality" />
        <result column="is_production" property="isProduction" />
        <result column="is_pick" property="isPick" />
        <result column="type" property="type" />
        <result column="device_ledger_id" property="deviceLedgerId" />
        <result column="create_user" property="createUser" />
        <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 asc
    </select>
</mapper>