| 文件名从 smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml 修改 |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.ServiceOutPathMapper"> |
| | | <mapper namespace="com.ruoyi.task.mapper.ServiceOutPathMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.ServiceOutPath" id="ServiceOutPathResult"> |
| | | <resultMap type="com.ruoyi.task.domain.ServiceOutPath" id="ServiceOutPathResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="param1" column="param1"/> |
| | | <result property="param2" column="param2"/> |
| | |
| | | from service_out_path |
| | | </sql> |
| | | |
| | | <select id="selectServiceOutPathList" parameterType="com.smartor.domain.ServiceOutPath" |
| | | <select id="selectServiceOutPathList" parameterType="com.ruoyi.task.domain.ServiceOutPath" |
| | | resultMap="ServiceOutPathResult"> |
| | | <include refid="selectServiceOutPathVo"/> |
| | | where 1=1 |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertServiceOutPath" parameterType="com.smartor.domain.ServiceOutPath" useGeneratedKeys="true" |
| | | <insert id="insertServiceOutPath" parameterType="com.ruoyi.task.domain.ServiceOutPath" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into service_out_path |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateServiceOutPath" parameterType="com.smartor.domain.ServiceOutPath"> |
| | | <update id="updateServiceOutPath" parameterType="com.ruoyi.task.domain.ServiceOutPath"> |
| | | update service_out_path |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="param1 != null">param1 = |