pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml
@@ -18,7 +18,6 @@
    <result column="life3_end" jdbcType="INTEGER" property="life3End" />
    <result column="life4_start" jdbcType="INTEGER" property="life4Start" />
    <result column="life4_end" jdbcType="INTEGER" property="life4End" />
    <result column="lat" jdbcType="DOUBLE" property="lat" />
    <result column="stopped" jdbcType="TINYINT" property="stopped" />
    <result column="remarks" jdbcType="VARCHAR" property="remarks" />
    <result column="create_dt" jdbcType="TIMESTAMP" property="createDt" />
@@ -31,7 +30,7 @@
    life2_start, life2_end, life2_factor,
    life3_start, life3_end, life3_factor,
    life4_start, life4_end, life4_factor,
    lat, stopped, remarks, create_dt, deleted
    stopped, remarks, create_dt, deleted
  </sql>
  <sql id="Part_Column_List">
    id, weather_id, `name`, start_dt, end_dt,
@@ -39,7 +38,7 @@
    life2_start, life2_end, life2_factor,
    life3_start, life3_end, life3_factor,
    life4_start, life4_end, life4_factor,
    lat, stopped, remarks, create_dt
    stopped, remarks, create_dt
  </sql>
  <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
    <!--@mbg.generated-->
@@ -60,7 +59,7 @@
    life2_start, life2_end, life2_factor,
    life3_start, life3_end, life3_factor,
    life4_start, life4_end, life4_factor,
    lat, stopped, remarks, create_dt, deleted
    stopped, remarks, create_dt, deleted
    )
    values (#{id,jdbcType=BIGINT}, #{weatherId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
    #{startDt,jdbcType=VARCHAR}, #{endDt,jdbcType=VARCHAR},
@@ -68,7 +67,7 @@
    #{life2Start,jdbcType=INTEGER}, #{life2End,jdbcType=INTEGER}, #{life2Factor,jdbcType=DOUBLE},
    #{life3Start,jdbcType=INTEGER}, #{life3End,jdbcType=INTEGER}, #{life3Factor,jdbcType=DOUBLE},
    #{life4Start,jdbcType=INTEGER}, #{life4End,jdbcType=INTEGER}, #{life4Factor,jdbcType=DOUBLE},
    #{lat,jdbcType=DOUBLE}, #{stopped,jdbcType=TINYINT},
    #{stopped,jdbcType=TINYINT},
    #{remarks,jdbcType=VARCHAR}, #{createDt,jdbcType=TIMESTAMP}, #{deleted,jdbcType=TINYINT}
    )
  </insert>
@@ -126,9 +125,6 @@
      </if>
      <if test="life4Factor != null">
        life4_factor,
      </if>
      <if test="lat != null">
        lat,
      </if>
      <if test="stopped != null">
        stopped,
@@ -194,9 +190,6 @@
      </if>
      <if test="life4Factor != null">
        #{life4Factor,jdbcType=DOUBLE},
      </if>
      <if test="lat != null">
        #{lat,jdbcType=DOUBLE},
      </if>
      <if test="stopped != null">
        #{stopped,jdbcType=TINYINT},
@@ -264,9 +257,6 @@
      <if test="life4Factor != null">
        life4_factor = #{life4Factor,jdbcType=DOUBLE},
      </if>
      <if test="lat != null">
        lat = #{lat,jdbcType=DOUBLE},
      </if>
      <if test="stopped != null">
        stopped = #{stopped,jdbcType=TINYINT},
      </if>
@@ -301,7 +291,6 @@
    life4_start = #{life4Start,jdbcType=INTEGER},
    life4_end = #{life4End,jdbcType=INTEGER},
    life4_factor = #{life4Factor,jdbcType=DOUBLE},
    lat = #{lat,jdbcType=DOUBLE},
    stopped = #{stopped,jdbcType=TINYINT},
    remarks = #{remarks,jdbcType=VARCHAR},
    create_dt = #{createDt,jdbcType=TIMESTAMP},