Browse Source

解决BUG

master
张江玮 2 years ago
parent
commit
9b95d60d87
  1. 7
      lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/CallTask.java

7
lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/CallTask.java

@ -4,12 +4,11 @@ import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.RequiredArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.nl.exception.BadRequestException;
import org.nl.modules.system.util.CodeUtil;
import org.nl.wms.sch.manage.AbstractAcsTask;
import org.nl.wms.sch.manage.TaskStatusEnum;
import org.nl.wql.WQL;
import org.nl.wql.core.bean.WQLObject;
import org.springframework.stereotype.Service;
@ -22,7 +21,7 @@ import org.springframework.transaction.annotation.Transactional;
* @date 2022/10/11 19:19
*/
@Service
@RequiredArgsConstructor
@NoArgsConstructor
@Slf4j
public class CallTask extends AbstractAcsTask {
@ -37,7 +36,7 @@ public class CallTask extends AbstractAcsTask {
@Transactional(rollbackFor = Exception.class)
@Override
public void updateTaskStatus(JSONObject taskJSON, String status) {
new SendTask().updateTaskStatus(taskJSON, status);
sendTask.updateTaskStatus(taskJSON, status);
}
@Override

Loading…
Cancel
Save