444
This commit is contained in:
parent
6c4d7a90f8
commit
7d388adbde
@ -35,6 +35,10 @@ public class StatsCaseClinicalController extends BaseController {
|
|||||||
|
|
||||||
StatsCaseClinicalDto g = StatsCaseClinicalDto.GetDto(statsCaseClinical);
|
StatsCaseClinicalDto g = StatsCaseClinicalDto.GetDto(statsCaseClinical);
|
||||||
|
|
||||||
|
if (g == null){
|
||||||
|
return Response.success(new StatsCaseClinicalDto());
|
||||||
|
}
|
||||||
|
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,6 +57,10 @@ public class StatsCaseClinicalController extends BaseController {
|
|||||||
|
|
||||||
StatsCaseClinicalHospitalDto g = StatsCaseClinicalHospitalDto.GetDto(statsCaseClinicalHospital);
|
StatsCaseClinicalHospitalDto g = StatsCaseClinicalHospitalDto.GetDto(statsCaseClinicalHospital);
|
||||||
|
|
||||||
|
if (g == null){
|
||||||
|
return Response.success(new StatsCaseClinicalHospitalDto());
|
||||||
|
}
|
||||||
|
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,6 +78,10 @@ public class StatsCaseClinicalController extends BaseController {
|
|||||||
|
|
||||||
StatsCaseClinicalDoctorDto g = StatsCaseClinicalDoctorDto.GetDto(statsCaseClinicalDoctor);
|
StatsCaseClinicalDoctorDto g = StatsCaseClinicalDoctorDto.GetDto(statsCaseClinicalDoctor);
|
||||||
|
|
||||||
|
if (g == null){
|
||||||
|
return Response.success(new StatsCaseClinicalDoctorDto());
|
||||||
|
}
|
||||||
|
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,6 +5,7 @@ import com.example.caseData.common.Response;
|
|||||||
import com.example.caseData.dao.StatsCaseExchangeDao;
|
import com.example.caseData.dao.StatsCaseExchangeDao;
|
||||||
import com.example.caseData.dao.StatsCaseExchangeUserDao;
|
import com.example.caseData.dao.StatsCaseExchangeUserDao;
|
||||||
import com.example.caseData.dao.StatsCaseExchangeUserDao;
|
import com.example.caseData.dao.StatsCaseExchangeUserDao;
|
||||||
|
import com.example.caseData.dto.statsCaseClinical.StatsCaseClinicalDto;
|
||||||
import com.example.caseData.dto.statsCaseExchange.StatsCaseExchangeDto;
|
import com.example.caseData.dto.statsCaseExchange.StatsCaseExchangeDto;
|
||||||
import com.example.caseData.dto.statsCaseExchange.StatsCaseExchangeDto;
|
import com.example.caseData.dto.statsCaseExchange.StatsCaseExchangeDto;
|
||||||
import com.example.caseData.dto.statsCaseExchangeUser.StatsCaseExchangeUserDto;
|
import com.example.caseData.dto.statsCaseExchangeUser.StatsCaseExchangeUserDto;
|
||||||
@ -39,6 +40,9 @@ public class StatsCaseExchangeController extends BaseController {
|
|||||||
|
|
||||||
StatsCaseExchangeDto g = StatsCaseExchangeDto.GetDto(statsCaseExchange);
|
StatsCaseExchangeDto g = StatsCaseExchangeDto.GetDto(statsCaseExchange);
|
||||||
|
|
||||||
|
if (g == null){
|
||||||
|
return Response.success(new StatsCaseExchangeDto());
|
||||||
|
}
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,6 +61,9 @@ public class StatsCaseExchangeController extends BaseController {
|
|||||||
StatsCaseExchangeUserModel statsCaseExchangeUser = statsCaseExchangeUserDao.selectOne(queryWrapper);
|
StatsCaseExchangeUserModel statsCaseExchangeUser = statsCaseExchangeUserDao.selectOne(queryWrapper);
|
||||||
|
|
||||||
StatsCaseExchangeUserDto g = StatsCaseExchangeUserDto.GetDto(statsCaseExchangeUser);
|
StatsCaseExchangeUserDto g = StatsCaseExchangeUserDto.GetDto(statsCaseExchangeUser);
|
||||||
|
if (g == null){
|
||||||
|
return Response.success(new StatsCaseExchangeUserDto());
|
||||||
|
}
|
||||||
|
|
||||||
return Response.success(g);
|
return Response.success(g);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,37 +22,37 @@ public class StatsCaseClinicalDto {
|
|||||||
* 数量-文章
|
* 数量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_num")
|
@JsonProperty("article_num")
|
||||||
private Integer articleNum;
|
private Integer articleNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-文章
|
* 总阅读量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_read_num")
|
@JsonProperty("article_read_num")
|
||||||
private Integer articleReadNum;
|
private Integer articleReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-文章
|
* 总收藏量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_collect_num")
|
@JsonProperty("article_collect_num")
|
||||||
private Integer articleCollectNum;
|
private Integer articleCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 数量-视频
|
* 数量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_num")
|
@JsonProperty("video_num")
|
||||||
private Integer videoNum;
|
private Integer videoNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-视频
|
* 总阅读量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_read_num")
|
@JsonProperty("video_read_num")
|
||||||
private Integer videoReadNum;
|
private Integer videoReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-视频
|
* 总收藏量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_collect_num")
|
@JsonProperty("video_collect_num")
|
||||||
private Integer videoCollectNum;
|
private Integer videoCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
@ -30,19 +30,19 @@ public class StatsCaseClinicalDoctorDto {
|
|||||||
* 数量-文章
|
* 数量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_num")
|
@JsonProperty("article_num")
|
||||||
private Integer articleNum;
|
private Integer articleNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-文章
|
* 总阅读量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_read_num")
|
@JsonProperty("article_read_num")
|
||||||
private Integer articleReadNum;
|
private Integer articleReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-文章
|
* 总收藏量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_collect_num")
|
@JsonProperty("article_collect_num")
|
||||||
private Integer articleCollectNum;
|
private Integer articleCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 最后一篇文章发表时间
|
* 最后一篇文章发表时间
|
||||||
@ -54,19 +54,19 @@ public class StatsCaseClinicalDoctorDto {
|
|||||||
* 数量-视频
|
* 数量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_num")
|
@JsonProperty("video_num")
|
||||||
private Integer videoNum;
|
private Integer videoNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-视频
|
* 总阅读量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_read_num")
|
@JsonProperty("video_read_num")
|
||||||
private Integer videoReadNum;
|
private Integer videoReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-视频
|
* 总收藏量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_collect_num")
|
@JsonProperty("video_collect_num")
|
||||||
private Integer videoCollectNum;
|
private Integer videoCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
@ -31,19 +31,19 @@ public class StatsCaseClinicalHospitalDto {
|
|||||||
* 数量-文章
|
* 数量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_num")
|
@JsonProperty("article_num")
|
||||||
private Integer articleNum;
|
private Integer articleNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-文章
|
* 总阅读量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_read_num")
|
@JsonProperty("article_read_num")
|
||||||
private Integer articleReadNum;
|
private Integer articleReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-文章
|
* 总收藏量-文章
|
||||||
*/
|
*/
|
||||||
@JsonProperty("article_collect_num")
|
@JsonProperty("article_collect_num")
|
||||||
private Integer articleCollectNum;
|
private Integer articleCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 最后一篇文章发表时间
|
* 最后一篇文章发表时间
|
||||||
@ -55,19 +55,19 @@ public class StatsCaseClinicalHospitalDto {
|
|||||||
* 数量-视频
|
* 数量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_num")
|
@JsonProperty("video_num")
|
||||||
private Integer videoNum;
|
private Integer videoNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-视频
|
* 总阅读量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_read_num")
|
@JsonProperty("video_read_num")
|
||||||
private Integer videoReadNum;
|
private Integer videoReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-视频
|
* 总收藏量-视频
|
||||||
*/
|
*/
|
||||||
@JsonProperty("video_collect_num")
|
@JsonProperty("video_collect_num")
|
||||||
private Integer videoCollectNum;
|
private Integer videoCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
@ -22,19 +22,19 @@ public class StatsCaseExchangeDto {
|
|||||||
* 数量-病例交流
|
* 数量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_num")
|
@JsonProperty("exchange_num")
|
||||||
private Integer exchangeNum;
|
private Integer exchangeNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-病例交流
|
* 总阅读量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_read_num")
|
@JsonProperty("exchange_read_num")
|
||||||
private Integer exchangeReadNum;
|
private Integer exchangeReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-病例交流
|
* 总收藏量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_collect_num")
|
@JsonProperty("exchange_collect_num")
|
||||||
private Integer exchangeCollectNum;
|
private Integer exchangeCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
@ -28,19 +28,19 @@ public class StatsCaseExchangeUserDto {
|
|||||||
* 数量-病例交流
|
* 数量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_num")
|
@JsonProperty("exchange_num")
|
||||||
private Integer exchangeNum;
|
private Integer exchangeNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总阅读量-病例交流
|
* 总阅读量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_read_num")
|
@JsonProperty("exchange_read_num")
|
||||||
private Integer exchangeReadNum;
|
private Integer exchangeReadNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 总收藏量-病例交流
|
* 总收藏量-病例交流
|
||||||
*/
|
*/
|
||||||
@JsonProperty("exchange_collect_num")
|
@JsonProperty("exchange_collect_num")
|
||||||
private Integer exchangeCollectNum;
|
private Integer exchangeCollectNum = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user