|
@ -164,7 +164,7 @@ public class PrenatalInspectorPreCardService extends BaseService {
|
|
|
//计算距离下次产检时间
|
|
|
Long nextExamDay = 0l;
|
|
|
for (PrenatalInspectorPlan plan:plans) {
|
|
|
Long temp = DateUtil.getDays(date,plan.getInspectionStartTime());
|
|
|
Long temp = DateUtil.getDays(date,plan.getInspectionTime());
|
|
|
if(nextExamDay==0||nextExamDay>temp){
|
|
|
nextExamDay = temp;
|
|
|
}
|
|
@ -249,7 +249,7 @@ public class PrenatalInspectorPreCardService extends BaseService {
|
|
|
//计算距离下次产检时间
|
|
|
Long nextExamDay = 0l;
|
|
|
for (PrenatalInspectorPlan plan:plans) {
|
|
|
Long temp = DateUtil.getDays(date,plan.getInspectionStartTime());
|
|
|
Long temp = DateUtil.getDays(date,plan.getInspectionTime());
|
|
|
if(nextExamDay==0||nextExamDay>temp){
|
|
|
nextExamDay = temp;
|
|
|
}
|