|
|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="entityName" column="entity_name" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="startTime" column="start_time" />
|
|
|
+ <result property="forecastTime" column="forecast_time" />
|
|
|
<result property="power" column="power" />
|
|
|
<result property="power15" column="power15" />
|
|
|
<result property="power30" column="power30" />
|
|
|
@@ -45,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="entityType != null "> and entity_type = #{entityType}</if>
|
|
|
<if test="entityName != null and entityName != ''"> and entity_name like concat('%', #{entityName}, '%')</if>
|
|
|
<if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
+ <if test="forecastTime != null "> and forecast_time = #{forecastTime}</if>
|
|
|
<if test="power != null and power != ''"> and power = #{power}</if>
|
|
|
<if test="power15 != null and power15 != ''"> and power15 = #{power15}</if>
|
|
|
<if test="power30 != null and power30 != ''"> and power30 = #{power30}</if>
|
|
|
@@ -86,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="entityName != null">entity_name,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="startTime != null">start_time,</if>
|
|
|
+ <if test="startTime != null">forecast_time,</if>
|
|
|
<if test="power != null">power,</if>
|
|
|
<if test="power15 != null">power15,</if>
|
|
|
<if test="power30 != null">power30,</if>
|
|
|
@@ -112,6 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="entityName != null">#{entityName},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="startTime != null">#{startTime},</if>
|
|
|
+ <if test="forecastTime != null">#{forecastTime},</if>
|
|
|
<if test="power != null">#{power},</if>
|
|
|
<if test="power15 != null">#{power15},</if>
|
|
|
<if test="power30 != null">#{power30},</if>
|
|
|
@@ -142,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="entityName != null">entity_name = #{entityName},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="startTime != null">start_time = #{startTime},</if>
|
|
|
+ <if test="forecastTime != null">forecast_time = #{forecastTime},</if>
|
|
|
<if test="power != null">power = #{power},</if>
|
|
|
<if test="power15 != null">power15 = #{power15},</if>
|
|
|
<if test="power30 != null">power30 = #{power30},</if>
|