Commit 5b49a9a4 by guominglei

修改参数

parent ec133d5c
...@@ -24,7 +24,7 @@ public interface FlowStatusSnapshootMapper { ...@@ -24,7 +24,7 @@ public interface FlowStatusSnapshootMapper {
* @param hour * @param hour
* @return * @return
*/ */
Integer exist(String date, String hour); Integer exist(@Param("date")String date, @Param("hour")String hour);
/** /**
* 批量保存 * 批量保存
......
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
from flow_status_snapshoot from flow_status_snapshoot
where 'day' = #{date} and `hour` = #{hour} where 'day' = #{date} and `hour` = #{hour}
</select> </select>
<select id="findByTime" resultType="com.byit.model.FlowStatusSnapshoot"> <select id="findByTime" resultMap="BaseResultMap">
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from flow_status_snapshoot from flow_status_snapshoot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment