Commit 526b9bf0 authored by suhuiguang's avatar suhuiguang

refactor(大编辑):代码重构

1.已纳管设备编辑接口实现 2.已纳管装置编辑接口实现
parent eadb8d57
...@@ -58,7 +58,7 @@ public class BizRelationDataDto { ...@@ -58,7 +58,7 @@ public class BizRelationDataDto {
private String unitCode; private String unitCode;
/** /**
* 单是否已经完成 * 单是否已经完成
*/ */
private Boolean bizIsFinished; private Boolean bizIsFinished;
} }
...@@ -34,7 +34,7 @@ public class NewProjectDataChangeHandler extends DefaultBizDataChangeHandler<Bas ...@@ -34,7 +34,7 @@ public class NewProjectDataChangeHandler extends DefaultBizDataChangeHandler<Bas
} }
@Override @Override
public Boolean beforeCheck(String bizId, String applyNo, ModelType model, Map<String, Object> changeData) { public Boolean beforeCheck(String projectContraptionId, String applyNo, ModelType model, Map<String, Object> changeData) {
return true; return true;
} }
......
...@@ -21,8 +21,9 @@ public interface IBizDataChangeHandleStrategy { ...@@ -21,8 +21,9 @@ public interface IBizDataChangeHandleStrategy {
/** /**
* 获取变更信息详情-二级详情 * 获取变更信息详情-二级详情
*
* @param applyNo 单据或者设备唯一,单据编辑时用来查询eq表 * @param applyNo 单据或者设备唯一,单据编辑时用来查询eq表
* @param bizId 设备record * @param bizId 设备record或者装置id
* @param type 编辑的资源的类型:设备、装置 * @param type 编辑的资源的类型:设备、装置
* @return 变更信息详情 * @return 变更信息详情
*/ */
...@@ -40,6 +41,7 @@ public interface IBizDataChangeHandleStrategy { ...@@ -40,6 +41,7 @@ public interface IBizDataChangeHandleStrategy {
/** /**
* 保存 * 保存
*
* @param bizId 设备record或者装置id * @param bizId 设备record或者装置id
* @param applyNo 单据编号 * @param applyNo 单据编号
* @param model @see ModelType * @param model @see ModelType
...@@ -50,6 +52,7 @@ public interface IBizDataChangeHandleStrategy { ...@@ -50,6 +52,7 @@ public interface IBizDataChangeHandleStrategy {
/** /**
* 前置校验 如业务字段的重复性检验 * 前置校验 如业务字段的重复性检验
*
* @param bizId 设备record或者装置id * @param bizId 设备record或者装置id
* @param applyNo 单据编号 * @param applyNo 单据编号
* @param model 类型 * @param model 类型
...@@ -95,8 +98,9 @@ public interface IBizDataChangeHandleStrategy { ...@@ -95,8 +98,9 @@ public interface IBizDataChangeHandleStrategy {
/** /**
* 查询变更日志 * 查询变更日志
*
* @param bizId 业务id * @param bizId 业务id
* @return 分页数据 * @return 分页数据
*/ */
IPage<?> getChangeLogs(String bizId , int current, int size); IPage<?> getChangeLogs(String bizId, int current, int size);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment