Commit bacba7e7 authored by lisong's avatar lisong

更新流程日志接口

parent 4ab78d56
...@@ -11,5 +11,5 @@ import java.util.Map; ...@@ -11,5 +11,5 @@ import java.util.Map;
@Repository @Repository
public interface PipeMapper extends BaseMapper<Pipe> { public interface PipeMapper extends BaseMapper<Pipe> {
Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> page,@Param("instanceId") Long instanceId); Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> page,@Param("instanceId") String instanceId);
} }
...@@ -8,5 +8,5 @@ public interface IPipeService { ...@@ -8,5 +8,5 @@ public interface IPipeService {
void addPipeMessage(String jsonMessage, Long projectId); void addPipeMessage(String jsonMessage, Long projectId);
Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> mapPage, Long instanceId); Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> mapPage, String instanceId);
} }
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
FROM FROM
tz_ugp_initiation_log AS il tz_ugp_initiation_log AS il
WHERE WHERE
il.instanceId = #{instanceId} il.instance_id = #{instanceId}
ORDER BY ORDER BY
il.rec_date il.rec_date
......
...@@ -185,7 +185,7 @@ public class PipeController extends BaseController { ...@@ -185,7 +185,7 @@ public class PipeController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getOperationalLogs") @GetMapping(value = "/getOperationalLogs")
@ApiOperation(httpMethod = "GET", value = "通用流程操作日志查询", notes = "通用流程操作日志查询") @ApiOperation(httpMethod = "GET", value = "通用流程操作日志查询", notes = "通用流程操作日志查询")
public ResponseModel<Object> getOperationalLogs(@RequestParam("instanceId") Long instanceId, public ResponseModel<Object> getOperationalLogs(@RequestParam("instanceId") String instanceId,
@RequestParam("current") int current, @RequestParam("current") int current,
@RequestParam("size") int size) { @RequestParam("size") int size) {
Page<Map<String, Object>> mapPage = new Page(current, size); Page<Map<String, Object>> mapPage = new Page(current, size);
......
...@@ -42,7 +42,7 @@ public class IPipeServiceImpl extends BaseService<PipeDto, Pipe, PipeMapper> imp ...@@ -42,7 +42,7 @@ public class IPipeServiceImpl extends BaseService<PipeDto, Pipe, PipeMapper> imp
} }
@Override @Override
public Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> mapPage, Long instanceId) { public Page<Map<String, Object>> getOperationalLogs(Page<Map<String, Object>> mapPage, String instanceId) {
return pipeMapper.getOperationalLogs(mapPage, instanceId); return pipeMapper.getOperationalLogs(mapPage, instanceId);
} }
} }
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