| | |
| | | <result property="appltype" column="appltype"/> |
| | | <result property="patCycle" column="pat_cycle"/> |
| | | <result property="diagType" column="diag_type"/> |
| | | <!-- 2026-11:点位编码(同德「按点位」需求),建子任务时原样拷到 service_subtask --> |
| | | <result property="pointLocation" column="point_location"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceTaskVo"> |
| | |
| | | nexttaskflag, |
| | | nexttaskid, |
| | | nexttaskname, |
| | | diag_type |
| | | diag_type, |
| | | point_location |
| | | from service_task |
| | | </sql> |
| | | |
| | |
| | | service_task.nexttaskid, |
| | | service_task.nexttaskname, |
| | | service_task.orgid, |
| | | service_task.campusid from service_task |
| | | service_task.campusid, |
| | | service_task.point_location from service_task |
| | | where 1=1 |
| | | and service_task.del_flag = 0 |
| | | <!-- and taskid in (--> |
| | |
| | | <if test="appltype != null ">appltype,</if> |
| | | <if test="patCycle != null ">pat_cycle,</if> |
| | | <if test="diagType != null and diagType != ''">diag_type,</if> |
| | | <if test="pointLocation != null and pointLocation != ''">point_location,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskName != null">#{taskName},</if> |
| | |
| | | <if test="appltype != null ">#{appltype},</if> |
| | | <if test="patCycle != null ">#{patCycle},</if> |
| | | <if test="diagType != null and diagType != ''">#{diagType},</if> |
| | | <if test="pointLocation != null and pointLocation != ''">#{pointLocation},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="appltype != null ">appltype = #{appltype},</if> |
| | | <if test="patCycle != null ">pat_cycle = #{patCycle},</if> |
| | | <if test="diagType != null and diagType != ''">diag_type = #{diagType},</if> |
| | | <if test="pointLocation != null and pointLocation != ''">point_location = #{pointLocation},</if> |
| | | </trim> |
| | | where taskid = #{taskid} |
| | | </update> |