Browse Source

隐患代码迁移

zhongwei
ty 9 months ago
parent
commit
d522c72631
  1. 25
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/feign/SafeInnerDangerClient.java

25
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/feign/SafeInnerDangerClient.java

@ -0,0 +1,25 @@
package com.hnac.hzims.safeproduct.feign;
import com.hnac.hzims.middle.process.to.ProcessWorkFlowResponse;
import com.hnac.hzims.safeproduct.flow.service.IInnerDangerFlowService;
import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
@RestController
@AllArgsConstructor
public class SafeInnerDangerClient implements ISafeInnerDangerClient {
private IInnerDangerFlowService service;
@PostMapping(SAVE_HIDDENDANGER)
@Override
public R saveDefect(@RequestBody ProcessWorkFlowResponse processWorkFlowResponse) {
return service.listenAndUpdateDefect(processWorkFlowResponse);
}
}
Loading…
Cancel
Save