1.调整配网用户接口超100%问题
2.去除预处理县级数据统计
This commit is contained in:
@@ -524,7 +524,7 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
<if test="param.userName!=null and param.userName!=''">
|
||||
and pms_power_client.name like CONCAT('%', #{param.userName}, '%')
|
||||
and pms_power_client.name like CONCAT('%', #{param.userName}, '%') or pms_power_client.id like CONCAT('%', #{param.userName}, '%')
|
||||
</if>
|
||||
) t where 1 = 1
|
||||
<if test="param.comFlag!=null">
|
||||
|
||||
@@ -66,7 +66,7 @@ public class PwUserMonitorDataServiceImpl implements PwUserMonitorDataService {
|
||||
page.getRecords().forEach(item->{
|
||||
if(map.containsKey(item.getLineIndex())){
|
||||
PwUserMonitorDataVO pwUserMonitorDataVO = map.get(item.getLineIndex());
|
||||
pwUserMonitorDataVO.setIntegrityRate(item.getIntegrityData());
|
||||
pwUserMonitorDataVO.setIntegrityRate(item.getIntegrityData() > 100 ?100:item.getIntegrityData());
|
||||
voList.add(pwUserMonitorDataVO);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user