| 文件名从 smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml 修改 |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatSatisfactionMapper"> |
| | | <mapper namespace="com.ruoyi.satisfaction.mapper.PatSatisfactionMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatSatisfaction" id="PatSatisfactionResult"> |
| | | <resultMap type="com.ruoyi.satisfaction.domain.PatSatisfaction" id="PatSatisfactionResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="patName" column="pat_name"/> |
| | | <result property="patCode" column="pat_code"/> |
| | |
| | | from pat_satisfaction |
| | | </sql> |
| | | |
| | | <select id="selectPatSatisfactionList" parameterType="com.smartor.domain.PatSatisfaction" |
| | | <select id="selectPatSatisfactionList" parameterType="com.ruoyi.satisfaction.domain.PatSatisfaction" |
| | | resultMap="PatSatisfactionResult"> |
| | | <include refid="selectPatSatisfactionVo"/> |
| | | where 1=1 |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatSatisfaction" parameterType="com.smartor.domain.PatSatisfaction"> |
| | | <insert id="insertPatSatisfaction" parameterType="com.ruoyi.satisfaction.domain.PatSatisfaction"> |
| | | insert into pat_satisfaction |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id, |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatSatisfaction" parameterType="com.smartor.domain.PatSatisfaction"> |
| | | <update id="updatePatSatisfaction" parameterType="com.ruoyi.satisfaction.domain.PatSatisfaction"> |
| | | update pat_satisfaction |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="patName != null">pat_name = |