|
|
@ -16,6 +16,7 @@ import com.ccsens.health.util.HealthConstant; |
|
|
|
import com.ccsens.util.*; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.ccsens.util.exception.BaseException; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -100,7 +101,7 @@ public class StudentService implements IStudentService{ |
|
|
|
public long updateStudentNum() { |
|
|
|
MemberExample example = new MemberExample(); |
|
|
|
long total = memberDao.countByExample(example); |
|
|
|
redisUtil.set(HealthConstant.MEMBER_TOTAL_REDIS, total); |
|
|
|
redisUtil.set(HealthConstant.MEMBER_TOTAL_REDIS, total, HealthConstant.REDIS_TIME); |
|
|
|
log.info("更新成员总数redis结束:{}", total); |
|
|
|
return total; |
|
|
|
} |
|
|
@ -172,6 +173,10 @@ public class StudentService implements IStudentService{ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public MemberVo.ContactPatientVo getContactPatient(QueryDto<MemberDto.ContactPatientDto> params) { |
|
|
|
return null; |
|
|
|
log.info("查询接触病患学生列表:{}", params); |
|
|
|
MemberVo.ContactPatientVo vo = new MemberVo.ContactPatientVo(); |
|
|
|
|
|
|
|
|
|
|
|
return vo; |
|
|
|
} |
|
|
|
} |
|
|
|