|  |  |  | 
|---|
|  |  |  | <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" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | 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, | 
|---|
|  |  |  | 
|---|
|  |  |  | 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--> | 
|---|
|  |  |  | 
|---|
|  |  |  | 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}, | 
|---|
|  |  |  | 
|---|
|  |  |  | #{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> | 
|---|
|  |  |  | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="life4Factor != null"> | 
|---|
|  |  |  | life4_factor, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="lat != null"> | 
|---|
|  |  |  | lat, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="stopped != null"> | 
|---|
|  |  |  | stopped, | 
|---|
|  |  |  | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="life4Factor != null"> | 
|---|
|  |  |  | #{life4Factor,jdbcType=DOUBLE}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="lat != null"> | 
|---|
|  |  |  | #{lat,jdbcType=DOUBLE}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="stopped != null"> | 
|---|
|  |  |  | #{stopped,jdbcType=TINYINT}, | 
|---|
|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | 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}, | 
|---|