Commit 5c599972 authored by xixinzhao's avatar xixinzhao

提交

parent 56675ac0
......@@ -11,8 +11,8 @@ import lombok.Getter;
@AllArgsConstructor
public enum PowerStationProcessStateEnum {
进行中("进行中", "0", "progress"),
通过("通过", "1", "yes"),
不通过("不通过", "2", "no"),
通过("通过", "1", "0"),
不通过("不通过", "2", "1"),
完成("完成", "3", "complete"),
作废("作废", "4", "reject");
......
......@@ -61,8 +61,8 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
DesignInformationServiceImpl designInformationService;
private static final String IDX_REQUEST_STATE="200";
private static final String VERIFY_RESULT_YES="yes";
private static final String VERIFY_RESULT_NO="no";
private static final String VERIFY_RESULT_YES="1";
private static final String VERIFY_RESULT_NO="0";
@Autowired
WorkflowFeignClient workflowFeignClient;
......@@ -118,7 +118,7 @@ public class PowerStationServiceImpl extends BaseService<PowerStationDto, PowerS
if (PowerStationNodeEnum.设计上传图纸.getCode().equals(nodeCode)||PowerStationNodeEnum.经销商上传图纸.getCode().equals(nodeCode)) {
this.updateSeve(powerStation.getPeasantHouseholdId(),kv);
} else {
String result = String.valueOf(kv.get("VERIFY_RESULT"));
String result = String.valueOf(kv.get("approvalStatue"));
if (VERIFY_RESULT_NO.equals(result)) {
powerStation.setProcessStatus(PowerStationProcessStateEnum.不通过.getName());
}
......
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