| | |
| | | <result property="pid" column="pid"/> |
| | | <result property="categoryid" column="categoryid"/> |
| | | <result property="templateType" column="template_type"/> |
| | | <result property="isMydException" column="is_myd_exception"/> |
| | | <result property="dimension" column="dimension"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceSubtaskDetailTtraceVo"> |
| | | select id, |
| | | detail_id, |
| | | is_myd_exception, |
| | | dimension, |
| | | template_type, |
| | | sub_id, |
| | | taskid, |
| | |
| | | <if test="type != null and type != ''"> |
| | | and type = #{type} |
| | | </if> |
| | | <if test="dimension != null and dimension != ''"> |
| | | and dimension = #{dimension} |
| | | </if> |
| | | <if test="isMydException != null "> |
| | | and is_myd_exception = #{isMydException} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="tracedeallist" parameterType="com.smartor.domain.VO.DetailTraceDealVO" |
| | |
| | | </if> |
| | | <if test="templateType != null"> |
| | | and template_type = #{templateType} |
| | | </if> |
| | | <if test="isMydException != null "> |
| | | and is_myd_exception = #{isMydException} |
| | | </if> |
| | | <if test="dimension != null and dimension != ''"> |
| | | and dimension = #{dimension} |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | </if> |
| | | <if test="templateType != null">template_type, |
| | | </if> |
| | | <if test="dimension != null">dimension, |
| | | </if> |
| | | <if test="isMydException != null">is_myd_exception, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="detailId != null">#{detailId}, |
| | |
| | | <if test="type != null">#{type}, |
| | | </if> |
| | | <if test="templateType != null">#{templateType}, |
| | | </if> |
| | | <if test="dimension != null">#{dimension}, |
| | | </if> |
| | | <if test="isMydException != null">#{isMydException}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="templateType != null">template_type = |
| | | #{templateType}, |
| | | </if> |
| | | <if test="dimension != null">dimension = |
| | | #{dimension}, |
| | | </if> |
| | | <if test="isMydException != null">is_myd_exception = |
| | | #{isMydException}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |