微信打卡接口优化
This commit is contained in:
		@@ -66,4 +66,10 @@ public interface SysWxUserLogMapper
 | 
			
		||||
 | 
			
		||||
    public int checkWxLogInfoCount(String openid);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据openid和手机号查询打卡记录
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    public List<WxLogInfo> getWxLogInfoList(SysWxUserLog sysWxUserLog);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -65,4 +65,10 @@ public interface ISysWxUserLogService
 | 
			
		||||
    public int deleteSysWxUserLogById(String openid);
 | 
			
		||||
 | 
			
		||||
    public int checkWxLogInfoCount(String openid);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据openid和手机号查询打卡记录
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    public List<WxLogInfo> getWxLogInfoList(SysWxUserLog sysWxUserLog);
 | 
			
		||||
}
 | 
			
		||||
@@ -100,5 +100,12 @@ public class SysWxUserLogServiceImpl implements ISysWxUserLogService {
 | 
			
		||||
        return sysWxUserLogMapper.checkWxLogInfoCount(openid);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据openid和手机号查询打卡记录
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<WxLogInfo> getWxLogInfoList(SysWxUserLog sysWxUserLog){
 | 
			
		||||
        return sysWxUserLogMapper.getWxLogInfoList(sysWxUserLog);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user