|
|
@@ -64,7 +64,7 @@ public class AppEngineController {
|
|
|
StTaskitem taskitem = null;
|
|
|
if (flowEnteredParam.getIsBatches() == false && flowEnteredParam.getTableData() != null && flowEnteredParam.getTableData().length() > 0) {
|
|
|
//如果不是批量的审批通过,则先走一下保存
|
|
|
- taskitem = flowService.Save(flowEnteredParam);
|
|
|
+ taskitem = flowService.Save(flowEnteredParam,false);
|
|
|
flowEnteredParam.setTaskid(taskitem.getObjectid());
|
|
|
}
|
|
|
try {
|
|
|
@@ -84,7 +84,7 @@ public class AppEngineController {
|
|
|
StTaskitem taskitem = null;
|
|
|
if (flowEnteredParam.getIsBatches() == false && flowEnteredParam.getTableData() != null && flowEnteredParam.getTableData().length() > 0) {
|
|
|
//如果不是批量的审批通过,则先走一下保存
|
|
|
- taskitem = flowService.Save(flowEnteredParam);
|
|
|
+ taskitem = flowService.Save(flowEnteredParam,true);
|
|
|
flowEnteredParam.setTaskid(taskitem.getObjectid());
|
|
|
}
|
|
|
try {
|
|
|
@@ -110,7 +110,7 @@ public class AppEngineController {
|
|
|
*/
|
|
|
@PostMapping("/instance/save")
|
|
|
public StResult SaveInstance(@Validated @RequestBody FlowEnteredParam flowEnteredParam) {
|
|
|
- StTaskitem taskitem = flowService.Save(flowEnteredParam);
|
|
|
+ StTaskitem taskitem = flowService.Save(flowEnteredParam,true);
|
|
|
return StResult.success(taskitem);
|
|
|
}
|
|
|
|