Эх сурвалжийг харах

重新赋值开始节点数据 修改字段名

24282 1 жил өмнө
parent
commit
9dc71fabd1

+ 1 - 1
hx-flow/src/main/java/com/fjhx/flow/entity/flow/dto/SetStartDataDto.java

@@ -20,6 +20,6 @@ public class SetStartDataDto {
      * 流程发起数据
      * 流程发起数据
      */
      */
     @NotNull(message = "流程发起数据不能为空")
     @NotNull(message = "流程发起数据不能为空")
-    private JSONObject startDate;
+    private JSONObject startData;
 
 
 }
 }

+ 1 - 1
hx-flow/src/main/java/com/fjhx/flow/service/flow/impl/FlowExampleServiceImpl.java

@@ -208,7 +208,7 @@ public class FlowExampleServiceImpl extends ServiceImpl<FlowExampleMapper, FlowE
     public void setStartData(SetStartDataDto dto) {
     public void setStartData(SetStartDataDto dto) {
         FlowExample flowExample = new FlowExample();
         FlowExample flowExample = new FlowExample();
         flowExample.setId(dto.getExampleId());
         flowExample.setId(dto.getExampleId());
-        flowExample.setStartData(dto.getStartDate().toJSONString());
+        flowExample.setStartData(dto.getStartData().toJSONString());
         updateById(flowExample);
         updateById(flowExample);
     }
     }