|
|
|
@@ -216,6 +216,7 @@ public class WxProfitSharingReceiverServiceImpl implements WxProfitSharingReceiv |
|
|
|
|
|
|
|
if (returnMap.get("err_code").contains("USER_NOT_EXIST")) { |
|
|
|
receiver.setStatus(EnumProfitSharingReceiverStatus.PROFIT_SHARING_RECEIVER_STATUS_INVALID.getCode()); |
|
|
|
receiver.setUpdateTime(new Date()); |
|
|
|
wxProfitSharingReceiverMapper.updateByPrimaryKeySelective(receiver); |
|
|
|
} |
|
|
|
logger.error(ErrorCode.PROFIT_SHARING_RECEIVER_DEL_FAILED.getMessage() + returnMap.get("result_msg")); |
|
|
|
@@ -227,6 +228,7 @@ public class WxProfitSharingReceiverServiceImpl implements WxProfitSharingReceiv |
|
|
|
return new ResultData(ErrorCode.PROFIT_SHARING_RECEIVER_DEL_FAILED.getCode(), "verifyNotifyHMAC"); |
|
|
|
} |
|
|
|
receiver.setStatus(EnumProfitSharingReceiverStatus.PROFIT_SHARING_RECEIVER_STATUS_INVALID.getCode()); |
|
|
|
receiver.setUpdateTime(new Date()); |
|
|
|
wxProfitSharingReceiverMapper.updateByPrimaryKeySelective(receiver); |
|
|
|
return new ResultData(returnMap); |
|
|
|
} |
|
|
|
|