添加查询打卡情况接口
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package com.stdiet.custom.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.stdiet.custom.domain.SysWxUserInfo;
|
||||
import com.stdiet.custom.domain.SysWxUserLog;
|
||||
import com.stdiet.custom.page.WxLogInfo;
|
||||
|
||||
@ -61,4 +63,7 @@ public interface SysWxUserLogMapper
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysWxUserLogByIds(String[] openids);
|
||||
|
||||
public int checkWxLogInfoCount(String openid);
|
||||
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package com.stdiet.custom.page;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WxCurUserLogInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
package com.stdiet.custom.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.stdiet.custom.domain.SysWxUserInfo;
|
||||
import com.stdiet.custom.domain.SysWxUserLog;
|
||||
import com.stdiet.custom.page.WxLogInfo;
|
||||
|
||||
@ -61,4 +63,6 @@ public interface ISysWxUserLogService
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysWxUserLogById(String openid);
|
||||
|
||||
public int checkWxLogInfoCount(String openid);
|
||||
}
|
@ -3,6 +3,7 @@ package com.stdiet.custom.service.impl;
|
||||
import java.util.List;
|
||||
|
||||
import com.stdiet.common.utils.DateUtils;
|
||||
import com.stdiet.custom.domain.SysWxUserInfo;
|
||||
import com.stdiet.custom.page.WxLogInfo;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -93,4 +94,11 @@ public class SysWxUserLogServiceImpl implements ISysWxUserLogService {
|
||||
public int deleteSysWxUserLogById(String openid) {
|
||||
return sysWxUserLogMapper.deleteSysWxUserLogById(openid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int checkWxLogInfoCount(String openid) {
|
||||
return sysWxUserLogMapper.checkWxLogInfoCount(openid);
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user