zoujiajian 1 anno fa
parent
commit
113094ed70

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/mange/usermirror/impl/UserMirrorCommonServiceImpl.java

@@ -148,7 +148,7 @@ public class UserMirrorCommonServiceImpl implements UserMirrorCommonService {
 	public void verifyUserMIrrorShopApply(UserMirrorShopInfoApplyReq applyReq) {
 		UserMirrorShopApplyRecord userMirrorShopApplyRecord = userMirrorShopApplyRecordMapper.selectById(applyReq.getId());
 
-		UserMirrorShopApplyRecord.Status status = applyReq.getStatus();
+		UserMirrorShopApplyRecord.Status status = applyReq.getVerifyStatus();
 		if (status == UserMirrorShopApplyRecord.Status.fail && StrUtil.isEmpty(applyReq.getReason())) {
 			throw BusinessRuntimeException.getInstance("请输入审核失败原因");
 		}
@@ -162,7 +162,7 @@ public class UserMirrorCommonServiceImpl implements UserMirrorCommonService {
 			userMirrorShop.setLogo(userMirrorShop.getLogo());
 			userMirrorShopMapper.updateById(userMirrorShop);
 		}
-		userMirrorShopApplyRecord.setVerifyStatus(applyReq.getStatus());
+		userMirrorShopApplyRecord.setVerifyStatus(applyReq.getVerifyStatus());
 		userMirrorShopApplyRecord.setReason(applyReq.getReason());
 		userMirrorShopApplyRecordMapper.updateById(userMirrorShopApplyRecord);
 	}