|
@@ -315,10 +315,7 @@ public class BizMissionDocServiceImpl implements IBizMissionDocService {
|
|
|
long time = DateUtil.between(clinicStartTime, queryDate, DateUnit.DAY);
|
|
long time = DateUtil.between(clinicStartTime, queryDate, DateUnit.DAY);
|
|
|
//判断传入时间跟手术开始时间之前 手术当天算术前
|
|
//判断传入时间跟手术开始时间之前 手术当天算术前
|
|
|
boolean isBefore = DateUtil.compare(queryDate, clinicStartTime) <= 0;
|
|
boolean isBefore = DateUtil.compare(queryDate, clinicStartTime) <= 0;
|
|
|
- String phase =clinicPhase;
|
|
|
|
|
- if(StrUtil.isEmpty(clinicPhase)){
|
|
|
|
|
- phase = isBefore ? ClinicPhaseEnums.BEFORE : ClinicPhaseEnums.AFTER;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ String phase = isBefore ? ClinicPhaseEnums.BEFORE : ClinicPhaseEnums.AFTER;
|
|
|
return baseRepository.selectBizDeptAndDocByDeptIdList(new BizWxQueryDTO(deptId, time, phase));
|
|
return baseRepository.selectBizDeptAndDocByDeptIdList(new BizWxQueryDTO(deptId, time, phase));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|