|
@@ -9,6 +9,7 @@ import com.diagbot.service.impl.QcAbnormalServiceImpl;
|
|
import com.diagbot.util.DateUtil;
|
|
import com.diagbot.util.DateUtil;
|
|
import com.diagbot.util.SysUserUtils;
|
|
import com.diagbot.util.SysUserUtils;
|
|
import com.diagbot.vo.QcAbnormalDelVO;
|
|
import com.diagbot.vo.QcAbnormalDelVO;
|
|
|
|
+import com.diagbot.vo.QcAbnormalSaveNameVO;
|
|
import com.diagbot.vo.QcAbnormalSaveVO;
|
|
import com.diagbot.vo.QcAbnormalSaveVO;
|
|
import com.diagbot.vo.QcAbnormalVO;
|
|
import com.diagbot.vo.QcAbnormalVO;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -73,4 +74,21 @@ public class QcAbnormalFacade extends QcAbnormalServiceImpl {
|
|
.set("modifier", SysUserUtils.getCurrentPrincipleID())
|
|
.set("modifier", SysUserUtils.getCurrentPrincipleID())
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * 根据异常异常描述和异常类型 更新所有异常异常描一样的数据。
|
|
|
|
+ *
|
|
|
|
+ * @param qcAbnormalSaveNameVO 异常数据监控信息更新参数
|
|
|
|
+ * @return 是否成功
|
|
|
|
+ */
|
|
|
|
+ public Boolean saveQcAnnormalNameAll(QcAbnormalSaveNameVO qcAbnormalSaveNameVO) {
|
|
|
|
+ return this.update(new UpdateWrapper<QcAbnormal>()
|
|
|
|
+ .eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
|
+ .eq("hospital_id", SysUserUtils.getCurrentHospitalID())
|
|
|
|
+ .eq("description", qcAbnormalSaveNameVO.getDescription())
|
|
|
|
+ .set("status", qcAbnormalSaveNameVO.getStatus())
|
|
|
|
+ .set("remark", qcAbnormalSaveNameVO.getRemark())
|
|
|
|
+ .set("gmt_modified", DateUtil.now())
|
|
|
|
+ .set("modifier", SysUserUtils.getCurrentPrincipleID())
|
|
|
|
+ );
|
|
|
|
+ }
|
|
}
|
|
}
|