Commit a4042e3f authored by xixinzhao's avatar xixinzhao

Merge branch 'developer' of http://39.98.45.134:8090/moa/amos-boot-biz into developer

parents 31f21084 ee682228
...@@ -12,13 +12,15 @@ import lombok.Getter; ...@@ -12,13 +12,15 @@ import lombok.Getter;
@AllArgsConstructor @AllArgsConstructor
public enum PowerStationNodeEnum { public enum PowerStationNodeEnum {
经销商确认("经销商确认", "0"),
设计审核("设计审核", "1"), 经销商审核("经销商确认", "hygf_02"),
投融审核("投融审核", "2"), 设计审核("设计审核", "hygf_03"),
法务审核("法务审核", "3"), 投融审核("投融审核", "hygf_05"),
设计上传图纸("设计上传图纸", "4"), 法务审核("法务审核", "hygf_07"),
经销商上传图纸("经销商上传图纸", "5"), 设计上传图纸("设计上传图纸", "hygf_09"),
文件审核("文件审核", "6"); 经销商上传图纸("经销商上传图纸", "hygf_10"),
文件审核("文件审核", "hygf_11");
/** /**
* 名称,描述 * 名称,描述
......
...@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = "${workflow.feign.name:AMOS-API-WORKFLOW}", path = "workflow", configuration = {MultipartSupportConfig.class}) @FeignClient(name = "${workflow.feign.name:AMOS-API-WORKFLOW}", path = "workflow", configuration = {MultipartSupportConfig.class})
public interface SupervisionFeignClient { public interface WorkflowFeignClient {
/*** /***
* 根据task_id 获取节点信息 * 根据task_id 获取节点信息
......
...@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.PowerStation; ...@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.PowerStation;
import com.yeejoin.amos.boot.module.hygf.api.fegin.IdxFeginService; import com.yeejoin.amos.boot.module.hygf.api.fegin.IdxFeginService;
import com.yeejoin.amos.boot.module.hygf.api.mapper.PowerStationMapper; import com.yeejoin.amos.boot.module.hygf.api.mapper.PowerStationMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IPowerStationService; import com.yeejoin.amos.boot.module.hygf.api.service.IPowerStationService;
import com.yeejoin.amos.boot.module.hygf.biz.feign.WorkflowFeignClient;
import com.yeejoin.amos.component.feign.model.FeignClientResult; import com.yeejoin.amos.component.feign.model.FeignClientResult;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -38,6 +39,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS ...@@ -38,6 +39,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
private static final String VERIFY_RESULT_YES="yes"; private static final String VERIFY_RESULT_YES="yes";
private static final String VERIFY_RESULT_NO="no"; private static final String VERIFY_RESULT_NO="no";
@Autowired
WorkflowFeignClient workflowFeignClient;
/** /**
* 分页查询 * 分页查询
...@@ -102,6 +105,13 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS ...@@ -102,6 +105,13 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
} }
} }
// 2. 更新流程状态 // 2. 更新流程状态
String code = null; String code = null;
try{ try{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment