Commit fa32a87e authored by tangwei's avatar tangwei

增加工作流

parent 6cb7ce3f
...@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.hygf.api.entity.PowerStation; ...@@ -8,6 +8,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;
...@@ -37,6 +38,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS ...@@ -37,6 +38,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;
/** /**
* 分页查询 * 分页查询
...@@ -101,6 +104,13 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS ...@@ -101,6 +104,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