|
@@ -1,11 +1,19 @@
|
|
package com.rongwei.bscommon.sys.service.impl;
|
|
package com.rongwei.bscommon.sys.service.impl;
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
+import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
+import com.rongwei.bscommon.sys.service.ZhcxProjectManageService;
|
|
import com.rongwei.bsentity.domain.ZhcxLowaltitudeDebtfreeCheckDo;
|
|
import com.rongwei.bsentity.domain.ZhcxLowaltitudeDebtfreeCheckDo;
|
|
import com.rongwei.bscommon.sys.dao.ZhcxLowaltitudeDebtfreeCheckDao;
|
|
import com.rongwei.bscommon.sys.dao.ZhcxLowaltitudeDebtfreeCheckDao;
|
|
import com.rongwei.bscommon.sys.service.ZhcxLowaltitudeDebtfreeCheckService;
|
|
import com.rongwei.bscommon.sys.service.ZhcxLowaltitudeDebtfreeCheckService;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
+import com.rongwei.bsentity.domain.ZhcxProjectManageDo;
|
|
|
|
+import com.rongwei.bsentity.dto.lowaltitude.AddHoistingPlanDateRequest;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
* 低空不欠债检查 服务实现类
|
|
* 低空不欠债检查 服务实现类
|
|
@@ -17,4 +25,25 @@ import org.springframework.stereotype.Service;
|
|
@Service
|
|
@Service
|
|
public class ZhcxLowaltitudeDebtfreeCheckServiceImpl extends ServiceImpl<ZhcxLowaltitudeDebtfreeCheckDao, ZhcxLowaltitudeDebtfreeCheckDo> implements ZhcxLowaltitudeDebtfreeCheckService {
|
|
public class ZhcxLowaltitudeDebtfreeCheckServiceImpl extends ServiceImpl<ZhcxLowaltitudeDebtfreeCheckDao, ZhcxLowaltitudeDebtfreeCheckDo> implements ZhcxLowaltitudeDebtfreeCheckService {
|
|
|
|
|
|
-}
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private ZhcxProjectManageService projectManageService;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 添加吊装日期
|
|
|
|
+ *
|
|
|
|
+ * @param req
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public void addHoistingPlanDate(AddHoistingPlanDateRequest req) {
|
|
|
|
+
|
|
|
|
+ final ZhcxProjectManageDo project = projectManageService.getById(req.getProjectId());
|
|
|
|
+
|
|
|
|
+ LambdaQueryWrapper<ZhcxLowaltitudeDebtfreeCheckDo> queryWrapper = Wrappers.lambdaQuery();
|
|
|
|
+ queryWrapper.eq(ZhcxLowaltitudeDebtfreeCheckDo::getProjectid, req.getProjectId())
|
|
|
|
+ .eq(ZhcxLowaltitudeDebtfreeCheckDo::getMachinenoid, req.getMachineNoId())
|
|
|
|
+ .eq(ZhcxLowaltitudeDebtfreeCheckDo::getDeleted, "0");
|
|
|
|
+ List<ZhcxLowaltitudeDebtfreeCheckDo> existsList = list(queryWrapper);
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|