|
@@ -50,8 +50,7 @@ public class MedCheckInfoFacade extends MedCheckInfoServiceImpl {
|
|
if (data != null) {
|
|
if (data != null) {
|
|
if (data.getStatus() == 1) {
|
|
if (data.getStatus() == 1) {
|
|
//检验核查人是否是本人
|
|
//检验核查人是否是本人
|
|
- boolean b = data.getCheckId() == principleId;
|
|
|
|
- if (b) {
|
|
|
|
|
|
+ if (data.getCheckId().equals(principleId)) {
|
|
//是本人且该数据已核查,不能改为未核查
|
|
//是本人且该数据已核查,不能改为未核查
|
|
if (medCheckInfoAddVO.getCheckStatus() == 0) {
|
|
if (medCheckInfoAddVO.getCheckStatus() == 0) {
|
|
throw new CommonException(CommonErrorCode.NOT_EXISTS, "该数据已核查,不能改成未核查!");
|
|
throw new CommonException(CommonErrorCode.NOT_EXISTS, "该数据已核查,不能改成未核查!");
|