|
@@ -0,0 +1,26 @@
|
|
|
|
+package com.platform.service.workflow.viewStrategy.impl;
|
|
|
|
+
|
|
|
|
+import com.platform.common.util.JsonUtils;
|
|
|
|
+import com.platform.dao.entity.custom.CustomFormData;
|
|
|
|
+import com.platform.dao.enums.CategoryTypeEnum;
|
|
|
|
+import com.platform.dao.enums.SbFormTypeEnum;
|
|
|
|
+import com.platform.service.workflow.viewStrategy.EffectiveComposer;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
|
+
|
|
|
|
+@Slf4j
|
|
|
|
+@Component
|
|
|
|
+@Service("sbScrapEffectiveComposer")
|
|
|
|
+public class SbTransferEffectiveComposer implements EffectiveComposer {
|
|
|
|
+ @Override
|
|
|
|
+ public String getType() {
|
|
|
|
+ return CategoryTypeEnum.SB_FORM.getValue() + SbFormTypeEnum.SB_TRANSFER.getValue();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void effectiveComposer(CustomFormData data) {
|
|
|
|
+ log.info("------------------设备调拨的后置处理------------------");
|
|
|
|
+ log.info(JsonUtils.objectToJson(data));
|
|
|
|
+ }
|
|
|
|
+}
|