|
|
@@ -298,7 +298,7 @@ public class PtlAgreementDispatchServiceImpl extends ServiceImpl<PtlAgreementDis
|
|
|
public HttpResult<String> deleteAfterActionById(String afterActionId) {
|
|
|
log.info("删除后置处理操作:afterActionId=[{}]",afterActionId);
|
|
|
PtlAgreementDispatchAfterAction ptlAgreementDispatchAfterAction = afterActionMapper.selectById(afterActionId);
|
|
|
- if(ptlAgreementDispatchAfterAction != null) {
|
|
|
+ if(ptlAgreementDispatchAfterAction == null) {
|
|
|
log.info("要删除的后置操作不存在. afterActionId=[{}]",afterActionId);
|
|
|
return HttpResult.error("要删除的后置操作不存在");
|
|
|
}
|