|
|
@@ -104,11 +104,11 @@ public abstract class AbstractSalaryStdChgOpPlugin extends AbstractOperationServ
|
|
|
}
|
|
|
|
|
|
// 执行取消提交操作
|
|
|
- OperationResult unsubmitResult = OperationServiceHelper.executeOperate("unsubmit", getEntityId(), load,OperateOption.create());
|
|
|
- if (unsubmitResult.isSuccess()) {
|
|
|
+ /* OperationResult unsubmitResult = OperationServiceHelper.executeOperate("unsubmit", getEntityId(), load,OperateOption.create());
|
|
|
+ if (unsubmitResult.isSuccess()) {*/
|
|
|
OperateOption option = OperateOption.create();
|
|
|
- // 跳过状态校验
|
|
|
- option.setVariableValue("rmStatusControl", "true");
|
|
|
+ //修改和删除不校验是否是暂存状态(只能修改暂存的数据。只能删除暂存的数据。)
|
|
|
+ option.setVariableValue("forceNoAudit","true");
|
|
|
|
|
|
// 执行保存操作
|
|
|
OperationResult saveResult = SaveServiceHelper.saveOperate(getEntityId(), load, option);
|
|
|
@@ -121,8 +121,8 @@ public abstract class AbstractSalaryStdChgOpPlugin extends AbstractOperationServ
|
|
|
if (submitResult != null && !submitResult.isSuccess()) {
|
|
|
throw new ValidationException(StrFormatter.format("回写【{}】失败,原因:{}",getEntityName(),submitResult.getMessage()));
|
|
|
}
|
|
|
- } else {
|
|
|
+ /*} else {
|
|
|
throw new ValidationException(StrFormatter.format("回写【{}】失败,原因:{}",getEntityName(),unsubmitResult.getMessage()));
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
}
|