Commit af5cda54 by wenyang Committed by akexiu

团队商机预测,解决完成率报错问题(除数为0无法计算)

parent 6de0af31
......@@ -2986,10 +2986,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if (practitionerId != null) {
//等保调整
List<AclCustomer> findByObjSortable = aclPractitionerDALService.getAclCustomers(practitionerId, null);
// if (null == findByObjSortable) {
// responseVO.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("630028")));
// return responseVO;
// }
if (null == findByObjSortable) {
responseVO.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("630028")));
return responseVO;
}
Integer time = requestVO.getTime();
time = (time == null) ? 1 : time;
PageHelper.clearPage();//偶然遇到了这个问题,同一个查询结果一会是10个(预期),一会是真实个数(刷新/重启应用就又变成真实个数) 查看日志,发现了问题:结果为10个时查询SQL自动加上了Limit 10
......
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