|
@@ -64,7 +64,8 @@ public class IotRyDailyReportServiceImpl implements IotRyDailyReportService {
|
|
|
if (ObjUtil.isEmpty(createReqVO.getDeptId())) {
|
|
|
throw exception(IOT_RH_DAILY_REPORT_NO_DEPT);
|
|
|
}
|
|
|
- if ("1".equals(createReqVO.getProjectClassification()) && ObjUtil.isEmpty(createReqVO.getCurrentDepth())) {
|
|
|
+ if ((StrUtil.isBlank(createReqVO.getProjectClassification())||"1".equals(createReqVO.getProjectClassification()))
|
|
|
+ && ObjUtil.isEmpty(createReqVO.getCurrentDepth())) {
|
|
|
// 钻井类型日报必须 填写当前井深
|
|
|
throw exception(IOT_RY_DAILY_REPORT_CURRENT_DEPTH_NOT_EXISTS);
|
|
|
}
|