| 对比新文件 |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.technology.mapper.TechnologyOperationMapper"> |
| | | |
| | | <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.technology.pojo.TechnologyOperation"> |
| | | <id column="id" property="id" /> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="name" property="name" /> |
| | | <result column="no" property="no" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="salary_quota" property="salaryQuota" /> |
| | | <result column="is_quality" property="isQuality" /> |
| | | <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> |