| 文件名从 smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml 修改 |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.ServiceSubtaskDetailTraceMapper"> |
| | | <mapper namespace="com.ruoyi.task.mapper.ServiceSubtaskDetailTraceMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.ServiceSubtaskDetailTrace" id="ServiceSubtaskDetailTtraceResult"> |
| | | <resultMap type="com.ruoyi.task.domain.ServiceSubtaskDetailTrace" id="ServiceSubtaskDetailTtraceResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="detailId" column="detail_id"/> |
| | | <result property="subId" column="sub_id"/> |
| | |
| | | from service_subtask_detail_trace |
| | | </sql> |
| | | |
| | | <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.smartor.domain.VO.ServiceSubtaskDetailTraceVO" |
| | | <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.ruoyi.task.domain.VO.ServiceSubtaskDetailTraceVO" |
| | | resultMap="ServiceSubtaskDetailTtraceResult"> |
| | | <include refid="selectServiceSubtaskDetailTtraceVo"/> |
| | | where del_flag=0 |
| | |
| | | where del_flag=0 and id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertServiceSubtaskDetailTtrace" parameterType="com.smartor.domain.ServiceSubtaskDetailTrace" |
| | | <insert id="insertServiceSubtaskDetailTtrace" parameterType="com.ruoyi.task.domain.ServiceSubtaskDetailTrace" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into service_subtask_detail_trace |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateServiceSubtaskDetailTtrace" parameterType="com.smartor.domain.ServiceSubtaskDetailTrace"> |
| | | <update id="updateServiceSubtaskDetailTtrace" parameterType="com.ruoyi.task.domain.ServiceSubtaskDetailTrace"> |
| | | update service_subtask_detail_trace |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="detailId != null">detail_id = |