萤石云

This commit is contained in:
lcj
2025-09-28 20:14:39 +08:00
parent cbf4b3b22e
commit 39038889b6
5 changed files with 16 additions and 2 deletions

View File

@ -101,6 +101,11 @@ public class OthYs7Device implements Serializable {
*/ */
private Integer videoEncrypted; private Integer videoEncrypted;
/**
* 设备详情
*/
private String detail;
/** /**
* 备注 * 备注
*/ */

View File

@ -35,6 +35,11 @@ public class OthYs7DeviceUpdateReq implements Serializable {
*/ */
private String deviceVersion; private String deviceVersion;
/**
* 设备详情
*/
private String detail;
/** /**
* 备注 * 备注
*/ */

View File

@ -87,6 +87,11 @@ public class OthYs7DeviceVo implements Serializable {
@ExcelProperty(value = "视频加密(0关闭 1开启)") @ExcelProperty(value = "视频加密(0关闭 1开启)")
private Integer videoEncrypted; private Integer videoEncrypted;
/**
* 设备详情
*/
private String detail;
/** /**
* 备注 * 备注
*/ */

View File

@ -14,7 +14,6 @@ import org.dromara.common.core.utils.ObjectUtils;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.satoken.utils.LoginHelper;
import org.dromara.manager.ys7manager.Ys7Constant; import org.dromara.manager.ys7manager.Ys7Constant;
import org.dromara.manager.ys7manager.Ys7Manager; import org.dromara.manager.ys7manager.Ys7Manager;
import org.dromara.manager.ys7manager.enums.DeviceOnOffLineEnum; import org.dromara.manager.ys7manager.enums.DeviceOnOffLineEnum;

View File

@ -166,7 +166,7 @@ public class PgsProgressPlanDetailServiceImpl extends ServiceImpl<PgsProgressPla
} }
// 判断当前详情是否已提交 // 判断当前详情是否已提交
if (progressPlanDetail.getStatus().equals("3")) { if (progressPlanDetail.getStatus().equals("3")) {
throw new ServiceException("当前详情已在施工产值中提交,无法提交", HttpStatus.BAD_REQUEST); throw new ServiceException("当前详情已在施工产值中审核完成,无法提交", HttpStatus.BAD_REQUEST);
} }
Long progressPlanId = progressPlanDetail.getProgressPlanId(); Long progressPlanId = progressPlanDetail.getProgressPlanId();
PgsProgressPlan progressPlan = progressPlanService.getById(progressPlanId); PgsProgressPlan progressPlan = progressPlanService.getById(progressPlanId);