| | |
| | | from service_subtask_detail_trace |
| | | </sql> |
| | | |
| | | <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.smartor.domain.ServiceSubtaskDetailTrace" |
| | | <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.smartor.domain.VO.ServiceSubtaskDetailTraceVO" |
| | | resultMap="ServiceSubtaskDetailTtraceResult"> |
| | | <include refid="selectServiceSubtaskDetailTtraceVo"/> |
| | | where del_flag=0 |
| | |
| | | <if test="valueType != null and valueType != ''"> |
| | | and value_type = #{valueType} |
| | | </if> |
| | | <if test="scriptid != null "> |
| | | <if test="scriptid != null and scriptids==null "> |
| | | and scriptid = #{scriptid} |
| | | </if> |
| | | <if test="scriptids != null "> |
| | | and scriptid in |
| | | <foreach item="scriptid" collection="scriptids" open="(" separator="," close=")"> |
| | | #{scriptid} |
| | | </foreach> |
| | | </if> |
| | | <if test="answerps != null and answerps != ''"> |
| | | and answerps = #{answerps} |
| | |
| | | <if test="type != null and type != ''"> |
| | | and type = #{type} |
| | | </if> |
| | | <if test="templateType != null"> |
| | | and template_type = #{templateType} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | <select id="selectServiceSubtaskDetailTtraceById" parameterType="Long" |