|
|
@ -8,7 +8,7 @@ |
|
|
|
<result column="department" jdbcType="VARCHAR" property="department" /> |
|
|
|
<result column="animal_heat" jdbcType="DECIMAL" property="animalHeat" /> |
|
|
|
<result column="reason" jdbcType="VARCHAR" property="reason" /> |
|
|
|
<result column="health_status" jdbcType="SMALLINT" property="healthStatus" /> |
|
|
|
<result column="health_status" jdbcType="BIGINT" property="healthStatus" /> |
|
|
|
<result column="start_time" jdbcType="BIGINT" property="startTime" /> |
|
|
|
<result column="end_time" jdbcType="BIGINT" property="endTime" /> |
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|
|
@ -115,7 +115,7 @@ |
|
|
|
) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{wkno,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
|
|
|
#{department,jdbcType=VARCHAR}, #{animalHeat,jdbcType=DECIMAL}, #{reason,jdbcType=VARCHAR}, |
|
|
|
#{healthStatus,jdbcType=SMALLINT}, #{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, |
|
|
|
#{healthStatus,jdbcType=BIGINT}, #{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, |
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} |
|
|
|
) |
|
|
|
</insert> |
|
|
@ -179,7 +179,7 @@ |
|
|
|
#{reason,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="healthStatus != null"> |
|
|
|
#{healthStatus,jdbcType=SMALLINT}, |
|
|
|
#{healthStatus,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="startTime != null"> |
|
|
|
#{startTime,jdbcType=BIGINT}, |
|
|
@ -226,7 +226,7 @@ |
|
|
|
reason = #{record.reason,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.healthStatus != null"> |
|
|
|
health_status = #{record.healthStatus,jdbcType=SMALLINT}, |
|
|
|
health_status = #{record.healthStatus,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="record.startTime != null"> |
|
|
|
start_time = #{record.startTime,jdbcType=BIGINT}, |
|
|
@ -256,7 +256,7 @@ |
|
|
|
department = #{record.department,jdbcType=VARCHAR}, |
|
|
|
animal_heat = #{record.animalHeat,jdbcType=DECIMAL}, |
|
|
|
reason = #{record.reason,jdbcType=VARCHAR}, |
|
|
|
health_status = #{record.healthStatus,jdbcType=SMALLINT}, |
|
|
|
health_status = #{record.healthStatus,jdbcType=BIGINT}, |
|
|
|
start_time = #{record.startTime,jdbcType=BIGINT}, |
|
|
|
end_time = #{record.endTime,jdbcType=BIGINT}, |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
@ -285,7 +285,7 @@ |
|
|
|
reason = #{reason,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="healthStatus != null"> |
|
|
|
health_status = #{healthStatus,jdbcType=SMALLINT}, |
|
|
|
health_status = #{healthStatus,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="startTime != null"> |
|
|
|
start_time = #{startTime,jdbcType=BIGINT}, |
|
|
@ -312,7 +312,7 @@ |
|
|
|
department = #{department,jdbcType=VARCHAR}, |
|
|
|
animal_heat = #{animalHeat,jdbcType=DECIMAL}, |
|
|
|
reason = #{reason,jdbcType=VARCHAR}, |
|
|
|
health_status = #{healthStatus,jdbcType=SMALLINT}, |
|
|
|
health_status = #{healthStatus,jdbcType=BIGINT}, |
|
|
|
start_time = #{startTime,jdbcType=BIGINT}, |
|
|
|
end_time = #{endTime,jdbcType=BIGINT}, |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|