【生成实训中增加subtype属性】
This commit is contained in:
parent
0189a4a7fa
commit
2a93d7fa6a
@ -92,6 +92,8 @@ public abstract class OperationRule {
|
|||||||
|
|
||||||
private Long commandId;
|
private Long commandId;
|
||||||
|
|
||||||
|
private String subType;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Operation2VO.ClientOperation2VO convert2BO(Simulation simulation, Object mapElement) {
|
public Operation2VO.ClientOperation2VO convert2BO(Simulation simulation, Object mapElement) {
|
||||||
Operation2VO.ClientOperation2VO operation2 = new Operation2VO.ClientOperation2VO();
|
Operation2VO.ClientOperation2VO operation2 = new Operation2VO.ClientOperation2VO();
|
||||||
@ -109,6 +111,8 @@ public abstract class OperationRule {
|
|||||||
operation2.setOperationType(operationType);
|
operation2.setOperationType(operationType);
|
||||||
// 参数规则
|
// 参数规则
|
||||||
operation2.setParams(new HashMap<>());
|
operation2.setParams(new HashMap<>());
|
||||||
|
// 二级定位
|
||||||
|
operation2.setSubType(subType);
|
||||||
if (!CollectionUtils.isEmpty(params)) {
|
if (!CollectionUtils.isEmpty(params)) {
|
||||||
params.forEach((k, v) -> {
|
params.forEach((k, v) -> {
|
||||||
String vStr = String.valueOf(v);
|
String vStr = String.valueOf(v);
|
||||||
|
Loading…
Reference in New Issue
Block a user