特种作业最终状态
This commit is contained in:
parent
83f24094bd
commit
bcc9375b7a
@ -22,11 +22,13 @@ import com.zhgd.xmgl.modules.xz.mapper.XzDangerousEngineeringAcceptanceMapper;
|
|||||||
import com.zhgd.xmgl.modules.xz.security.entity.XzSecurityQualityInspectionRecord;
|
import com.zhgd.xmgl.modules.xz.security.entity.XzSecurityQualityInspectionRecord;
|
||||||
import com.zhgd.xmgl.modules.xz.security.mapper.XzSecurityQualityInspectionRecordMapper;
|
import com.zhgd.xmgl.modules.xz.security.mapper.XzSecurityQualityInspectionRecordMapper;
|
||||||
import com.zhgd.xmgl.modules.xz.service.IXzDangerousEngineeringAcceptanceService;
|
import com.zhgd.xmgl.modules.xz.service.IXzDangerousEngineeringAcceptanceService;
|
||||||
|
import com.zhgd.xmgl.modules.xz.special.service.*;
|
||||||
import com.zhgd.xmgl.modules.xz.special.service.impl.XzSpecialOperationFireSafetyServiceImpl;
|
import com.zhgd.xmgl.modules.xz.special.service.impl.XzSpecialOperationFireSafetyServiceImpl;
|
||||||
import com.zhgd.xmgl.security.util.SecurityUtils;
|
import com.zhgd.xmgl.security.util.SecurityUtils;
|
||||||
import com.zhgd.xmgl.util.PageUtil;
|
import com.zhgd.xmgl.util.PageUtil;
|
||||||
import com.zhgd.xmgl.util.RefUtil;
|
import com.zhgd.xmgl.util.RefUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
@ -58,6 +60,33 @@ public class XzDangerousEngineeringAcceptanceServiceImpl extends ServiceImpl<XzD
|
|||||||
private SystemUserServiceImpl systemUserService;
|
private SystemUserServiceImpl systemUserService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private XzSpecialOperationFireSafetyServiceImpl xzSpecialOperationFireSafetyService;
|
private XzSpecialOperationFireSafetyServiceImpl xzSpecialOperationFireSafetyService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzBlindPlatePlugSafeService XzBlindPlatePlugSafeService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzGasAnalyzeService XzGasAnalyzeService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzGroundSafetService XzGroundSafetService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzHighJobSafeService XzHighJobSafeService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzHoistSafetyWorkService XzHoistSafetyWorkService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzLimitSpaceSafeService XzLimitSpaceSafeService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzOpenCircuitSafeService XzOpenCircuitSafeService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzSpecialOperationFireSafetyService XzSpecialOperationFireSafetyService;
|
||||||
|
@Lazy
|
||||||
|
@Autowired
|
||||||
|
private IXzTemporaryElectricitySafeService XzTemporaryElectricitySafeService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IPage<XzDangerousEngineeringAcceptance> queryPageList(HashMap<String, Object> paramMap) {
|
public IPage<XzDangerousEngineeringAcceptance> queryPageList(HashMap<String, Object> paramMap) {
|
||||||
@ -159,6 +188,20 @@ public class XzDangerousEngineeringAcceptanceServiceImpl extends ServiceImpl<XzD
|
|||||||
dangerousEngineeringRecordService.finish(engineeringId);
|
dangerousEngineeringRecordService.finish(engineeringId);
|
||||||
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 2)) {
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 2)) {
|
||||||
xzSpecialOperationFireSafetyService.finish(engineeringId);
|
xzSpecialOperationFireSafetyService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 3)) {
|
||||||
|
XzLimitSpaceSafeService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 4)) {
|
||||||
|
XzBlindPlatePlugSafeService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 5)) {
|
||||||
|
XzHighJobSafeService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 6)) {
|
||||||
|
XzHoistSafetyWorkService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 7)) {
|
||||||
|
XzTemporaryElectricitySafeService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 8)) {
|
||||||
|
XzGroundSafetService.finish(engineeringId);
|
||||||
|
} else if (Objects.equals(acceptance.getAcceptanceResult(), 1) && Objects.equals(acceptance.getType(), 9)) {
|
||||||
|
xzSpecialOperationFireSafetyService.finish(engineeringId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user