1.17
parent
690e465eea
commit
b62f617ad0
|
@ -27,14 +27,6 @@ public class HealthJobTitleController {
|
|||
private BannersService bannersService;
|
||||
|
||||
|
||||
|
||||
@GetMapping("/findDoctorNoticeReadNum")
|
||||
public HealthR<List<NoticeReadNumVo>> findDoctorNoticeReadNum(@RequestHeader Integer doctorId,
|
||||
@RequestHeader String sessionId) {
|
||||
List<NoticeReadNumVo> healthR = healthJobTitleService.findDoctorNoticeReadNum(doctorId);
|
||||
return HealthR.ok(healthR);
|
||||
}
|
||||
|
||||
@GetMapping("/findHistoryInquiryRecord")
|
||||
public HealthR<List<DoctorHistoryInquiryVo>> findHistoryInquiryRecord(@RequestHeader Integer doctorId,
|
||||
@RequestHeader String sessionId,
|
||||
|
@ -44,13 +36,6 @@ public class HealthJobTitleController {
|
|||
return null;
|
||||
}
|
||||
|
||||
@GetMapping("/findDoctorWallet")
|
||||
public HealthR<WalletVo> findDoctorWallet(@RequestHeader Integer doctorId,
|
||||
@RequestHeader String sessionId) {
|
||||
|
||||
WalletVo healthR = healthJobTitleService.findDoctorWallet(doctorId);
|
||||
return HealthR.ok(healthR);
|
||||
}
|
||||
|
||||
@PostMapping("/drawCash")
|
||||
public HealthR drawCash(@RequestHeader Integer doctorId,
|
||||
|
@ -60,14 +45,7 @@ public class HealthJobTitleController {
|
|||
return healthR;
|
||||
}
|
||||
|
||||
@GetMapping("/findDoctorIncomeRecordList")
|
||||
public HealthR<List<DoctorIncomeRecordVo>> findDoctorIncomeRecordList(@RequestHeader Integer doctorId,
|
||||
@RequestHeader String sessionId,
|
||||
@RequestParam Integer page,
|
||||
@RequestParam Integer count) {
|
||||
List<DoctorIncomeRecordVo> doctorIncomeRecordEntities = healthJobTitleService.findDoctorIncomeRecordList(doctorId, page, count);
|
||||
return HealthR.ok(doctorIncomeRecordEntities);
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/bannersShow")
|
||||
public HealthR<List<Banners>> bannersShow() {
|
||||
|
@ -101,22 +79,9 @@ public class HealthJobTitleController {
|
|||
return healthR;
|
||||
}
|
||||
|
||||
@GetMapping("/findDoctorById")
|
||||
public HealthR<DoctorVo> findDoctorById(@RequestHeader Integer doctorId,
|
||||
@RequestHeader String sessionId) {
|
||||
return HealthR.ok(healthJobTitleService.findDoctorById(doctorId));
|
||||
}
|
||||
|
||||
@GetMapping("/findSystemImagePic")
|
||||
public HealthR<List<FindImagePicVo>> findSystemImagePic() {
|
||||
return HealthR.ok(healthJobTitleService.findSystemImagePic());
|
||||
}
|
||||
|
||||
@PostMapping("/uploadImagePic")
|
||||
public HealthR uploadImagePic(@RequestParam("imagePic") MultipartFile imagePic,
|
||||
@RequestHeader String sessionId,
|
||||
@RequestHeader Integer doctorId) {
|
||||
return HealthR.ok(healthJobTitleService.uploadImagePic(imagePic, doctorId, sessionId));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -164,7 +164,6 @@ public class HealthJobTitleServiceImpl extends BaseController implements HealthJ
|
|||
|
||||
@Override
|
||||
public List<DoctorIncomeRecordVo> findDoctorIncomeRecordList(Integer doctorId, Integer page, Integer count) {
|
||||
startPage(page,count);
|
||||
List<DoctorIncomeRecordEntity> doctorIncomeRecordList = healthJobTitleMapper.findDoctorIncomeRecordList(doctorId);
|
||||
ArrayList<DoctorIncomeRecordVo> doctorIncomeRecordVos = new ArrayList<>();
|
||||
for (DoctorIncomeRecordEntity doctorIncomeRecordEntity : doctorIncomeRecordList) {
|
||||
|
|
|
@ -20,7 +20,6 @@ public class SickCircleServiceImpl extends BaseController implements SickCircleS
|
|||
private SickCircleMapper sickCircleMapper;
|
||||
@Override
|
||||
public List<SickCircleVo> findSickCircleList(Integer page, Integer size, Integer departmentId) {
|
||||
startPage(page,size);
|
||||
List<SickCircleEntity> list = sickCircleMapper.findSickCircleList(departmentId);
|
||||
ArrayList<SickCircleVo> sickCircleVos = new ArrayList<>();
|
||||
for (SickCircleEntity sickCircleEntity : list) {
|
||||
|
|
Loading…
Reference in New Issue