Compare commits
No commits in common. "126b878f3dea7b5d9801802ce5cc5de3c083fd3b" and "523299f91a59b738b98da3780b72e84cd4943857" have entirely different histories.
126b878f3d
...
523299f91a
@ -56,15 +56,7 @@ public class StatsCaseClinicalController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Long articleReadNum = caseClinicalArticleDao.getTotalReadNum();
|
Long articleReadNum = caseClinicalArticleDao.getTotalReadNum();
|
||||||
if (articleReadNum == null){
|
|
||||||
articleReadNum = 0L;
|
|
||||||
}
|
|
||||||
|
|
||||||
Long videoReadNum = caseClinicalVideoDao.getTotalReadNum();
|
Long videoReadNum = caseClinicalVideoDao.getTotalReadNum();
|
||||||
if (videoReadNum == null){
|
|
||||||
videoReadNum = 0L;
|
|
||||||
}
|
|
||||||
|
|
||||||
g.setArticleReadNum(Math.toIntExact(articleReadNum));
|
g.setArticleReadNum(Math.toIntExact(articleReadNum));
|
||||||
g.setVideoReadNum(Math.toIntExact(videoReadNum));
|
g.setVideoReadNum(Math.toIntExact(videoReadNum));
|
||||||
|
|
||||||
|
|||||||
@ -53,10 +53,6 @@ public class StatsCaseExchangeController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Long totalCommentNum = caseExchangeDao.getTotalCommentNum();
|
Long totalCommentNum = caseExchangeDao.getTotalCommentNum();
|
||||||
if (totalCommentNum == null){
|
|
||||||
totalCommentNum = 0L;
|
|
||||||
}
|
|
||||||
|
|
||||||
g.setExchangeCommentNum(Math.toIntExact(totalCommentNum));
|
g.setExchangeCommentNum(Math.toIntExact(totalCommentNum));
|
||||||
|
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
|
|||||||
@ -13,12 +13,12 @@ public abstract class BaseInterceptor implements HandlerInterceptor {
|
|||||||
// "POST:/api/public/.*", // POST 请求,匹配 /api/public/xx
|
// "POST:/api/public/.*", // POST 请求,匹配 /api/public/xx
|
||||||
// "GET:/api/users" , // GET 请求,匹配具体路径
|
// "GET:/api/users" , // GET 请求,匹配具体路径
|
||||||
"POST:/api/login/wechat/mobile", // 登陆
|
"POST:/api/login/wechat/mobile", // 登陆
|
||||||
// "GET:/api/index/clinical", // 首页-临床病例库
|
"GET:/api/index/clinical", // 首页-临床病例库
|
||||||
"POST:/api/login/mobile", // 登陆
|
"POST:/api/login/mobile", // 登陆
|
||||||
"POST:/api/code/phone", // 获取验证码
|
"POST:/api/code/phone", // 获取验证码
|
||||||
"POST:/api/login/hcp", // 登陆-hcp
|
"POST:/api/login/hcp", // 登陆-hcp
|
||||||
"POST:/api/app/clinical/video" // 视频同步
|
"POST:/api/app/clinical/video" , // 视频同步
|
||||||
// "GET:/api/clinical/stats" // 统计
|
"GET:/api/clinical/stats" // 统计
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user