|
|
@@ -234,6 +234,19 @@ public class IotRyDailyReportController {
|
|
|
}
|
|
|
// 返回当前日报可以设置的任务井集合
|
|
|
result.setWellNamePair(wellNamePair);
|
|
|
+ // 如果是录井1队 填写钻井日报模板 但是不需要填写进尺 system_dept_type.category
|
|
|
+ IotDeptTypePageReqVO deptTypeReqVO = new IotDeptTypePageReqVO();
|
|
|
+ deptTypeReqVO.setType("zj");
|
|
|
+ List<IotDeptTypeDO> deptTypes = iotDeptTypeMapper.selectList(deptTypeReqVO);
|
|
|
+ if (CollUtil.isNotEmpty(deptTypes)) {
|
|
|
+ deptTypes.forEach(dept -> {
|
|
|
+ if (deptId.equals(dept.getDeptId()) && "lj".equals(dept.getCategory())) {
|
|
|
+ // 当前队伍是录井1队 不需要填写 井深
|
|
|
+ result.setFootageReadOnly(true);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
return success(result);
|
|
|
}
|
|
|
|