|
|
|
@@ -151,7 +151,7 @@ public class WxProfitSharingReceiverApplyController extends BaseController { |
|
|
|
if(receiverApply == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(), "未找到进件数据"); |
|
|
|
} |
|
|
|
if(!EnumSharingReceiverApplymentState.APPLYMENT_STATE_CANCELED.getCode().equals(receiverApply.getApplymentState())){ |
|
|
|
if(EnumSharingReceiverApplymentState.APPLYMENT_STATE_CANCELED.getCode().equals(receiverApply.getApplymentState())){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(), "已作废,才能删除"); |
|
|
|
} |
|
|
|
return wxProfitSharingReceiverApplyService.updateDel(delApply); |
|
|
|
|