|
@@ -199,10 +199,10 @@ public class ABehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
updateWrapper.eq("behospital_code", aPlaceFileVO.getBehospitalCode());
|
|
|
updateWrapper.eq("hospital_id", aPlaceFileVO.getHospitalId());
|
|
|
updateWrapper.eq("is_deleted",IsDeleteEnum.N);
|
|
|
- if("0".equals(aPlaceFileVO.getDeleteState())){
|
|
|
+ if("0".equals(aPlaceFileVO.getPlaceState())){
|
|
|
//取消归档为运行病历
|
|
|
updateWrapper.set("is_placefile","0");
|
|
|
- }else if("1".equals(aPlaceFileVO.getDeleteState())){
|
|
|
+ }else if("1".equals(aPlaceFileVO.getPlaceState())){
|
|
|
//归档为终末病历
|
|
|
updateWrapper.set("is_placefile","1");
|
|
|
}
|