Commit 79ce9253 by tiger

节点日志

1 parent dc49c658
...@@ -137,7 +137,12 @@ public class SopInstNodeExecuteJobHandler { ...@@ -137,7 +137,12 @@ public class SopInstNodeExecuteJobHandler {
// 保存快照 // 保存快照
updateBatch(sop, node, snapshotStruct); updateBatch(sop, node, snapshotStruct);
} else {
SopXxlJobUtil.log(log, "【执行Sop节点】【{}:{}】,执行次数超限!节点当日执行次数:{},当日限制次数:{}", sop.getInst().getInstId(),
sop.getInst().getInstName(), node.getDailyCount(), node.getDailyLimit());
} }
} else {
SopXxlJobUtil.log(log, "【执行Sop节点】【{}:{}】,节点nodeSkip=1,跳过任务!", sop.getInst().getInstId(), sop.getInst().getInstName());
} }
// 更新后续节点状态 // 更新后续节点状态
......
package cn.com.glsx.process.modules.controller; package cn.com.glsx.process.modules.controller;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.github.pagehelper.PageInfo;
import com.glsx.plat.core.annotation.ResponseResultBody;
import com.glsx.plat.core.web.Result;
import cn.com.glsx.cdp.modules.model.customer.CustomerSopJourneyDTO; import cn.com.glsx.cdp.modules.model.customer.CustomerSopJourneyDTO;
import cn.com.glsx.cdp.modules.model.customer.CustomerSopJourneyDetailDTO; import cn.com.glsx.cdp.modules.model.customer.CustomerSopJourneyDetailDTO;
import cn.com.glsx.process.modules.BaseController; import cn.com.glsx.process.modules.BaseController;
...@@ -10,17 +26,9 @@ import cn.com.glsx.process.modules.model.SopInstSearch; ...@@ -10,17 +26,9 @@ import cn.com.glsx.process.modules.model.SopInstSearch;
import cn.com.glsx.process.modules.model.SopJourneyStageUpdate; import cn.com.glsx.process.modules.model.SopJourneyStageUpdate;
import cn.com.glsx.process.modules.service.SopInstService; import cn.com.glsx.process.modules.service.SopInstService;
import cn.com.glsx.process.util.FileUploadServerData; import cn.com.glsx.process.util.FileUploadServerData;
import com.github.pagehelper.PageInfo;
import com.glsx.plat.core.annotation.ResponseResultBody;
import com.glsx.plat.core.web.Result;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.Map;
@Slf4j @Slf4j
@Tag(name = "SOP门店模板实例开放接口") @Tag(name = "SOP门店模板实例开放接口")
......
package cn.com.glsx.process.modules.controller; package cn.com.glsx.process.modules.controller;
import java.util.List;
import javax.annotation.Resource; import javax.annotation.Resource;
import cn.com.glsx.process.modules.entity.SopTpl;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -12,6 +13,7 @@ import com.github.pagehelper.PageInfo; ...@@ -12,6 +13,7 @@ import com.github.pagehelper.PageInfo;
import com.glsx.plat.core.annotation.ResponseResultBody; import com.glsx.plat.core.annotation.ResponseResultBody;
import cn.com.glsx.process.modules.BaseController; import cn.com.glsx.process.modules.BaseController;
import cn.com.glsx.process.modules.entity.SopTpl;
import cn.com.glsx.process.modules.model.SopTplDTO; import cn.com.glsx.process.modules.model.SopTplDTO;
import cn.com.glsx.process.modules.model.SopTplSearch; import cn.com.glsx.process.modules.model.SopTplSearch;
import cn.com.glsx.process.modules.service.SopTplService; import cn.com.glsx.process.modules.service.SopTplService;
...@@ -19,8 +21,6 @@ import io.swagger.v3.oas.annotations.Operation; ...@@ -19,8 +21,6 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.List;
@Slf4j @Slf4j
@Tag(name = "SOP模板开放接口") @Tag(name = "SOP模板开放接口")
@RestController @RestController
......
...@@ -6,8 +6,6 @@ import javax.annotation.Resource; ...@@ -6,8 +6,6 @@ import javax.annotation.Resource;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!