巡检bug修复
This commit is contained in:
parent
8850c3c833
commit
ae25863731
@ -140,6 +140,7 @@ public class CheckingPointController {
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "body", required = false, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "body", required = false, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "xzCheckingRouteTaskId", value = "星纵-巡检路线的任务Id", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "checkingPointId", value = "巡检点表id", paramType = "body", required = false, dataType = "String"),
|
||||
})
|
||||
@PostMapping(value = "/getTaskDetailPage")
|
||||
public Result<IPage<TaskDetailPageVo>> getTaskDetailPage(@ApiIgnore @RequestBody Map<String,Object> param) {
|
||||
|
||||
@ -140,9 +140,11 @@
|
||||
join xz_checking_route_task xcrt on xcr.id = xcrt.xz_checking_route_id
|
||||
left join checking_point_info t on t.checking_point_id = cp.id and t.xz_checking_route_task_id = xcrt.id
|
||||
left join system_user su on t.checking_point_user_id = su.user_id
|
||||
left join enterprise_info ei on find_in_set(ei.id,cp.enterprise_id)
|
||||
left join system_user uo on t.operate_id = uo.user_id
|
||||
left join quality_region qr on qr.id = cp.quality_region_id
|
||||
WHERE xcrt.id = #{param.xzCheckingRouteTaskId}
|
||||
<if test="param.checkingPointId != null and param.checkingPointId != ''">
|
||||
and xcrtp.checking_point_id = #{param.checkingPointId}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user