刘小明
2024-09-03 b5a3c0f6823d17d4acd97545cee3556a07f09865
pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
@@ -49,19 +49,19 @@
      <if test="id != null">
        id,
      </if>
      <if test="scheduleId != null">
      <if test="scheduleId!= null and scheduleId !=''">
        schedule_id,
      </if>
      <if test="planId != null">
        plan_id,
      </if>
      <if test="nodeId != null">
      <if test="nodeId!= null">
        node_id,
      </if>
      <if test="stationId != null">
        station_id,
      </if>
      <if test="workDetails != null">
      <if test="workDetails!= null and workDetails !=''">
        work_details,
      </if>
    </trim>
@@ -69,19 +69,19 @@
      <if test="id != null">
        #{id,jdbcType=BIGINT},
      </if>
      <if test="scheduleId != null">
      <if test="scheduleId!= null and scheduleId !=''">
        #{scheduleId,jdbcType=BIGINT},
      </if>
      <if test="planId != null">
        #{planId,jdbcType=BIGINT},
      </if>
      <if test="nodeId != null">
      <if test="nodeId!= null">
        #{nodeId,jdbcType=BIGINT},
      </if>
      <if test="stationId != null">
        #{stationId,jdbcType=BIGINT},
      </if>
      <if test="workDetails != null">
      <if test="workDetails!= null and workDetails !=''">
        #{workDetails,jdbcType=VARCHAR},
      </if>
    </trim>
@@ -90,19 +90,19 @@
    <!--@mbg.generated-->
    update pr_schedule_rel
    <set>
      <if test="scheduleId != null">
      <if test="scheduleId!= null and scheduleId !=''">
        schedule_id = #{scheduleId,jdbcType=BIGINT},
      </if>
      <if test="planId != null">
        plan_id = #{planId,jdbcType=BIGINT},
      </if>
      <if test="nodeId != null">
      <if test="nodeId!= null">
        node_id = #{nodeId,jdbcType=BIGINT},
      </if>
      <if test="stationId != null">
        station_id = #{stationId,jdbcType=BIGINT},
      </if>
      <if test="workDetails != null">
      <if test="workDetails!= null and workDetails !=''">
        work_details = #{workDetails,jdbcType=VARCHAR},
      </if>
    </set>