|  |  |  | 
|---|
|  |  |  | <!--@mbg.generated--> | 
|---|
|  |  |  | insert into pr_schedule_rel | 
|---|
|  |  |  | <trim prefix="(" suffix=")" suffixOverrides=","> | 
|---|
|  |  |  | <if test="id != null and id !=''"> | 
|---|
|  |  |  | <if test="id != null"> | 
|---|
|  |  |  | id, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="scheduleId!= null and scheduleId !=''"> | 
|---|
|  |  |  | schedule_id, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="planId != null and planId !=''"> | 
|---|
|  |  |  | <if test="planId != null"> | 
|---|
|  |  |  | plan_id, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="nodeId!= null and nodeId !=''"> | 
|---|
|  |  |  | <if test="nodeId!= null"> | 
|---|
|  |  |  | node_id, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="stationId != null and stationId !=''"> | 
|---|
|  |  |  | <if test="stationId != null"> | 
|---|
|  |  |  | station_id, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="workDetails!= null and workDetails !=''"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </trim> | 
|---|
|  |  |  | <trim prefix="values (" suffix=")" suffixOverrides=","> | 
|---|
|  |  |  | <if test="id != null and id !=''"> | 
|---|
|  |  |  | <if test="id != null"> | 
|---|
|  |  |  | #{id,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="scheduleId!= null and scheduleId !=''"> | 
|---|
|  |  |  | #{scheduleId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="planId != null and planId !=''"> | 
|---|
|  |  |  | <if test="planId != null"> | 
|---|
|  |  |  | #{planId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="nodeId!= null and nodeId !=''"> | 
|---|
|  |  |  | <if test="nodeId!= null"> | 
|---|
|  |  |  | #{nodeId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="stationId != null and stationId !=''"> | 
|---|
|  |  |  | <if test="stationId != null"> | 
|---|
|  |  |  | #{stationId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="workDetails!= null and workDetails !=''"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="scheduleId!= null and scheduleId !=''"> | 
|---|
|  |  |  | schedule_id = #{scheduleId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="planId != null and planId !=''"> | 
|---|
|  |  |  | <if test="planId != null"> | 
|---|
|  |  |  | plan_id = #{planId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="nodeId!= null and nodeId !=''"> | 
|---|
|  |  |  | <if test="nodeId!= null"> | 
|---|
|  |  |  | node_id = #{nodeId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="stationId != null and stationId !=''"> | 
|---|
|  |  |  | <if test="stationId != null"> | 
|---|
|  |  |  | station_id = #{stationId,jdbcType=BIGINT}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="workDetails!= null and workDetails !=''"> | 
|---|