对比新文件 |
| | |
| | | <?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.approve.mapper.ApproveProcessMapper"> |
| | | |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.approve.pojo.ApproveProcess"> |
| | | <id property="id" column="id" /> |
| | | <result property="approveId" column="approve_id" /> |
| | | <result property="approveUser" column="approve_user" /> |
| | | <result property="approveDeptId" column="approve_dept_id" /> |
| | | <result property="approveDeptName" column="approve_dept_name" /> |
| | | <result property="approveUserIds" column="approve_user_ids" /> |
| | | <result property="approveUserNames" column="approve_user_names" /> |
| | | <result property="approveReason" column="approve_reason" /> |
| | | <result property="approveTime" column="approve_time" /> |
| | | <result property="approveOverTime" column="approve_over_time" /> |
| | | <result property="approveStatus" column="approve_status" /> |
| | | <result property="approveDelete" column="approve_delete" /> |
| | | <result property="tenantId" column="tenant_id" /> |
| | | <result property="approveType" column="approve_type" /> |
| | | <result property="approveRemark" column="approve_remark" /> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | | id,approve_id,approve_user,approve_dept_id,approve_dept_name,approve_user_ids, |
| | | approve_user_names,approve_reason,approve_time,approve_over_time,approve_status, |
| | | approve_delete,tenant_id,approve_type,approve_remark |
| | | </sql> |
| | | <select id="listPage" resultType="com.ruoyi.approve.pojo.ApproveProcess"> |
| | | select * from approve_process where approve_delete = 0 |
| | | <if test="req.approveId != null and req.approveId != ''"> |
| | | and approve_id like concat('%',#{req.approveId},'%') |
| | | </if> |
| | | </select> |
| | | </mapper> |