萤石云
This commit is contained in:
@ -101,6 +101,11 @@ public class OthYs7Device implements Serializable {
|
||||
*/
|
||||
private Integer videoEncrypted;
|
||||
|
||||
/**
|
||||
* 设备详情
|
||||
*/
|
||||
private String detail;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@ -35,6 +35,11 @@ public class OthYs7DeviceUpdateReq implements Serializable {
|
||||
*/
|
||||
private String deviceVersion;
|
||||
|
||||
/**
|
||||
* 设备详情
|
||||
*/
|
||||
private String detail;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@ -87,6 +87,11 @@ public class OthYs7DeviceVo implements Serializable {
|
||||
@ExcelProperty(value = "视频加密(0关闭 1开启)")
|
||||
private Integer videoEncrypted;
|
||||
|
||||
/**
|
||||
* 设备详情
|
||||
*/
|
||||
private String detail;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@ -14,7 +14,6 @@ import org.dromara.common.core.utils.ObjectUtils;
|
||||
import org.dromara.common.core.utils.StringUtils;
|
||||
import org.dromara.common.mybatis.core.page.PageQuery;
|
||||
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.Ys7Manager;
|
||||
import org.dromara.manager.ys7manager.enums.DeviceOnOffLineEnum;
|
||||
|
||||
@ -166,7 +166,7 @@ public class PgsProgressPlanDetailServiceImpl extends ServiceImpl<PgsProgressPla
|
||||
}
|
||||
// 判断当前详情是否已提交
|
||||
if (progressPlanDetail.getStatus().equals("3")) {
|
||||
throw new ServiceException("当前详情已在施工产值中提交,无法提交", HttpStatus.BAD_REQUEST);
|
||||
throw new ServiceException("当前详情已在施工产值中审核完成,无法提交", HttpStatus.BAD_REQUEST);
|
||||
}
|
||||
Long progressPlanId = progressPlanDetail.getProgressPlanId();
|
||||
PgsProgressPlan progressPlan = progressPlanService.getById(progressPlanId);
|
||||
|
||||
Reference in New Issue
Block a user