forked from rongchao/epmet-cloud-rizhao
				
			
				 12 changed files with 162 additions and 12 deletions
			
			
		@ -0,0 +1,60 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dto.screen; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.math.BigDecimal; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 客户指标详情 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2020-08-19 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class IndexGroupDetailDTO { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * index_group.id | 
				
			|||
     */ | 
				
			|||
	private String indexGroupId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 指标id | 
				
			|||
     */ | 
				
			|||
	private String indexId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 权重(同一组权重总和=1) | 
				
			|||
     */ | 
				
			|||
	private BigDecimal weight; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 是否启用:启用:enable 禁用:disabled | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
	/** | 
				
			|||
	 * 阈值 如果是百分比 则为除以100以后的值 | 
				
			|||
	 */ | 
				
			|||
	private BigDecimal threshold; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,28 @@ | 
				
			|||
package com.epmet.dto.screen.result; | 
				
			|||
 | 
				
			|||
import com.epmet.dto.screen.IndexGroupDetailDTO; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * desc:计算指标时 获取要计算的组的指标 | 
				
			|||
 * | 
				
			|||
 * @author liujianjun | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class IndexGroupDetailResult implements Serializable { | 
				
			|||
    private static final long serialVersionUID = 3937041236261115759L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 是否有下一组 | 
				
			|||
     */ | 
				
			|||
    private Boolean hasNextGroup; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * desc:指标详情列表 如果hasNextGroup是true则返回的是明细,否则返回的是上级的分组的指标明细 | 
				
			|||
     * 例如:网格的三大能力上次已经返回完毕,下一次调用时返回的是网格相关的三大能力的 指标明细 | 
				
			|||
     */ | 
				
			|||
    private List<IndexGroupDetailDTO> indexGroupDetailList; | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue