|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.ccsens.carbasics.bean.vo; |
|
|
|
|
|
|
|
import com.ccsens.carbasics.util.Constant; |
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
@ -144,13 +145,13 @@ public class PatientVo { |
|
|
|
private int times; |
|
|
|
|
|
|
|
public int getDataStatus() { |
|
|
|
if(dataStatus == 1 && times >= 1){ |
|
|
|
if(dataStatus == Constant.DataStatus.FirstAidPass.status && times >= 1){ |
|
|
|
return 100; |
|
|
|
} |
|
|
|
if(dataStatus == 3 && times >= 1){ |
|
|
|
if(dataStatus == Constant.DataStatus.DischargePass.status && times >= 1){ |
|
|
|
return 100; |
|
|
|
} |
|
|
|
if(dataStatus == 6 && times >= 1){ |
|
|
|
if(dataStatus == Constant.DataStatus.ApplyForRefuse.status && times >= 1){ |
|
|
|
return 101; |
|
|
|
} |
|
|
|
return dataStatus; |
|
|
|