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