|
@@ -35,6 +35,9 @@ public interface ProEconShutdownEvent2Mapper extends BaseMapper<ProEconShutdownE
|
|
|
"<if test='modelId != null'>",
|
|
|
"and a.model_id=#{modelId}",
|
|
|
"</if>",
|
|
|
+ "<if test='wtId != null'>",
|
|
|
+ "and s.windturbine_id=#{wtId}",
|
|
|
+ "</if>",
|
|
|
"<if test='type != null'>",
|
|
|
"and s.stop_type_id=#{type}",
|
|
|
"</if>",
|
|
@@ -44,7 +47,7 @@ public interface ProEconShutdownEvent2Mapper extends BaseMapper<ProEconShutdownE
|
|
|
"</where>",
|
|
|
|
|
|
"</script>"})
|
|
|
- List<ProEconShutdownEvent2> queryShutdownEvent(@Param("wpId") String wpId, @Param("modelId") String modelId,@Param("begin")Date begin, @Param("end") Date end, @Param("type") String type);
|
|
|
+ List<ProEconShutdownEvent2> queryShutdownEvent(@Param("wpId") String wpId, @Param("modelId") String modelId,@Param("begin")Date begin, @Param("end") Date end, @Param("type") String type, @Param("wtId") String wtId);
|
|
|
|
|
|
|
|
|
@Select({"<script>",
|