mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-04 06:07:59 +08:00 
			
		
		
		
	🐛 #2235 【企业微信】 修复获取打卡数据时间检查不正确的问题
This commit is contained in:
		@ -53,7 +53,7 @@ public class WxCpOaServiceImpl implements WxCpOaService {
 | 
				
			|||||||
    long endTimestamp = endTime.getTime() / 1000L;
 | 
					    long endTimestamp = endTime.getTime() / 1000L;
 | 
				
			||||||
    long startTimestamp = startTime.getTime() / 1000L;
 | 
					    long startTimestamp = startTime.getTime() / 1000L;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (endTimestamp - startTimestamp < 0 || endTimestamp - startTimestamp >= MONTH_SECONDS) {
 | 
					    if (endTimestamp - startTimestamp < 0 || endTimestamp - startTimestamp >= MONTH_SECONDS * 1000L) {
 | 
				
			||||||
      throw new WxRuntimeException("获取记录时间跨度不超过一个月");
 | 
					      throw new WxRuntimeException("获取记录时间跨度不超过一个月");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user