| | |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.BaseAnnextypeMapper"> |
| | | |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.BaseAnnextype" id="BaseAnnextypeResult"> |
| | | <result property="id" column="ID" /> |
| | | <result property="donationcategory" column="donationcategory" /> |
| | | <result property="annextype" column="annextype" /> |
| | | <result property="annexname" column="annexname" /> |
| | | <result property="caseNo" column="case_no" /> |
| | | <result property="need" column="need" /> |
| | | <result property="seqno" column="seqno" /> |
| | | <result property="remark" column="remark" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectBaseAnnextypeVo"> |
| | | select ID, donationcategory, annextype, annexname, need, seqno, remark, del_flag, create_by, create_time, update_by, update_time from base_annextype |
| | | select ID, case_no,donationcategory, annextype, annexname, need, seqno, remark, del_flag, create_by, create_time, update_by, update_time from base_annextype |
| | | </sql> |
| | | |
| | | <select id="selectBaseAnnextypeList" parameterType="com.ruoyi.project.domain.BaseAnnextype" resultMap="BaseAnnextypeResult"> |
| | |
| | | <if test="annexname != null and annexname != ''"> and annexname like concat('%', #{annexname}, '%')</if> |
| | | <if test="need != null "> and need = #{need}</if> |
| | | <if test="seqno != null "> and seqno = #{seqno}</if> |
| | | <if test="caseNo != null "> and case_no = #{caseNo}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |