| | |
| | | |
| | | <select id="selectSvyTaskList" parameterType="com.smartor.domain.SvyTask" resultMap="SvyTaskResult"> |
| | | <include refid="selectSvyTaskVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="svrtaskid != null ">and svrtaskid = #{svrtaskid}</if> |
| | | <if test="taskName != null and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if> |
| | | <if test="templateid != null and templateid != ''">and templateid = #{templateid}</if> |
| | |
| | | </if> |
| | | <if test="libtemplateid != null ">and libtemplateid = #{libtemplateid}</if> |
| | | <if test="libtemplatename != null and libtemplatename != ''">and libtemplatename = #{libtemplatename}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyTaskByTaskid" parameterType="Long" resultMap="SvyTaskResult"> |