冀北电能质量问题流程修改
This commit is contained in:
@@ -24,7 +24,8 @@
|
|||||||
supervision_warning_leaflet.create_time,
|
supervision_warning_leaflet.create_time,
|
||||||
supervision_warning_leaflet.update_by,
|
supervision_warning_leaflet.update_by,
|
||||||
supervision_warning_leaflet.update_time,
|
supervision_warning_leaflet.update_time,
|
||||||
supervision_warning_leaflet.file_path
|
supervision_warning_leaflet.file_path,
|
||||||
|
supervision_warning_leaflet.deal_state
|
||||||
FROM supervision_warning_leaflet supervision_warning_leaflet
|
FROM supervision_warning_leaflet supervision_warning_leaflet
|
||||||
WHERE ${ew.sqlSegment}
|
WHERE ${ew.sqlSegment}
|
||||||
</select>
|
</select>
|
||||||
@@ -50,7 +51,8 @@
|
|||||||
supervision_warning_leaflet.create_time,
|
supervision_warning_leaflet.create_time,
|
||||||
supervision_warning_leaflet.update_by,
|
supervision_warning_leaflet.update_by,
|
||||||
supervision_warning_leaflet.update_time,
|
supervision_warning_leaflet.update_time,
|
||||||
supervision_warning_leaflet.file_path
|
supervision_warning_leaflet.file_path,
|
||||||
|
supervision_warning_leaflet.deal_state
|
||||||
FROM supervision_warning_leaflet supervision_warning_leaflet
|
FROM supervision_warning_leaflet supervision_warning_leaflet
|
||||||
WHERE ${ew.sqlSegment}
|
WHERE ${ew.sqlSegment}
|
||||||
</select>
|
</select>
|
||||||
@@ -76,7 +78,8 @@
|
|||||||
supervision_warning_leaflet.create_time,
|
supervision_warning_leaflet.create_time,
|
||||||
supervision_warning_leaflet.update_by,
|
supervision_warning_leaflet.update_by,
|
||||||
supervision_warning_leaflet.update_time,
|
supervision_warning_leaflet.update_time,
|
||||||
supervision_warning_leaflet.file_path
|
supervision_warning_leaflet.file_path,
|
||||||
|
supervision_warning_leaflet.deal_state
|
||||||
FROM supervision_warning_leaflet supervision_warning_leaflet
|
FROM supervision_warning_leaflet supervision_warning_leaflet
|
||||||
WHERE ${ew.sqlSegment}
|
WHERE ${ew.sqlSegment}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ import com.njcn.supervision.enums.*;
|
|||||||
import com.njcn.supervision.mapper.survey.SurveyTestMapper;
|
import com.njcn.supervision.mapper.survey.SurveyTestMapper;
|
||||||
import com.njcn.supervision.pojo.param.leaflet.WarningAddParam;
|
import com.njcn.supervision.pojo.param.leaflet.WarningAddParam;
|
||||||
import com.njcn.supervision.pojo.param.survey.SurveyTestParam;
|
import com.njcn.supervision.pojo.param.survey.SurveyTestParam;
|
||||||
|
import com.njcn.supervision.pojo.po.leaflet.WarningLeaflet;
|
||||||
import com.njcn.supervision.pojo.po.survey.SurveyPlan;
|
import com.njcn.supervision.pojo.po.survey.SurveyPlan;
|
||||||
import com.njcn.supervision.pojo.po.survey.SurveyTest;
|
import com.njcn.supervision.pojo.po.survey.SurveyTest;
|
||||||
import com.njcn.supervision.pojo.vo.survey.SurveyTestVO;
|
import com.njcn.supervision.pojo.vo.survey.SurveyTestVO;
|
||||||
@@ -361,6 +362,12 @@ public class SurveyTestServiceImpl extends ServiceImpl<SurveyTestMapper, SurveyT
|
|||||||
surveyTestVO.setPlanName(surveyPlan.getPlanName());
|
surveyTestVO.setPlanName(surveyPlan.getPlanName());
|
||||||
surveyTestVO.setSupvType(surveyPlan.getSupvType());
|
surveyTestVO.setSupvType(surveyPlan.getSupvType());
|
||||||
surveyTestVO.setSupvObjectName(surveyPlan.getSupvObjectName());
|
surveyTestVO.setSupvObjectName(surveyPlan.getSupvObjectName());
|
||||||
|
WarningLeaflet one = warningLeafletService.lambdaQuery().eq(WarningLeaflet::getProblemId, id).one();
|
||||||
|
if(Objects.nonNull(one)){
|
||||||
|
surveyTestVO.setReformAdvice(one.getReformAdvice());
|
||||||
|
surveyTestVO.setTakeStep(one.getTakeStep());
|
||||||
|
surveyTestVO.setReportPath(one.getReportPath());
|
||||||
|
}
|
||||||
//负责单位
|
//负责单位
|
||||||
surveyTestVO.setDeptName(deptFeignClient.getDeptById(surveyTestVO.getDeptId()).getData().getName());
|
surveyTestVO.setDeptName(deptFeignClient.getDeptById(surveyTestVO.getDeptId()).getData().getName());
|
||||||
//变电站名称
|
//变电站名称
|
||||||
|
|||||||
Reference in New Issue
Block a user