YSP样例配置增加有效配置规则量限制验证,如果达到规则量限制,则不允许提交。
Signed-off-by: zhangwei <zhangwei2@iie.ac.cn>
This commit is contained in:
@@ -18,4 +18,5 @@ public interface ConfigureStatisticsDao {
|
||||
public List<Object[]> getConfigStatisticTime();
|
||||
public List<Object[]> getRequestStatisticTime();
|
||||
public List<Object[]> getRequestStateStatistics(@Param("requestList")List<RequestInfo> requestList,@Param("serviceList")List<FunctionServiceDict> serviceList) ;
|
||||
public Integer getEffectiveCfgNum(@Param("serviceId")Integer serviceId);
|
||||
}
|
||||
|
||||
@@ -45,4 +45,7 @@
|
||||
from request_num_statistics c
|
||||
group by request_id)
|
||||
</select> -->
|
||||
<select id="getEffectiveCfgNum" resultType="Integer">
|
||||
select count(distinct c.compile_id) from cfg_num_statistics c where c.service_id=#{serviceId} and c.cfg_state=1;
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user