GPU缓存局部更新
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<select id="selectByFields"
|
||||
resultType="com.bipt.intelligentapplicationorchestrationservice.gpu.model.entity.GpuResource">
|
||||
SELECT *
|
||||
FROM ipz.gpu_resource
|
||||
FROM Ipz.public.gpu_resource
|
||||
<where>
|
||||
is_deleted = 0
|
||||
<if test="params.model != null and params.model != ''">
|
||||
@ -30,7 +30,7 @@
|
||||
<select id="findByPage"
|
||||
resultType="com.bipt.intelligentapplicationorchestrationservice.gpu.model.entity.GpuResource">
|
||||
SELECT *
|
||||
FROM ipz.gpu_resource
|
||||
FROM gpu_resource
|
||||
WHERE is_deleted = 0
|
||||
ORDER BY GPUId ASC
|
||||
LIMIT #{limit} OFFSET #{offset}
|
||||
@ -40,7 +40,7 @@
|
||||
<select id="findModifiedSince"
|
||||
resultType="com.bipt.intelligentapplicationorchestrationservice.gpu.model.entity.GpuResource">
|
||||
SELECT *, is_deleted
|
||||
FROM ipz.gpu_resource
|
||||
FROM gpu_resource
|
||||
WHERE update_time > #{since}
|
||||
ORDER BY update_time ASC
|
||||
</select>
|
||||
@ -49,7 +49,7 @@
|
||||
<select id="selectByIdWithLock"
|
||||
resultType="com.bipt.intelligentapplicationorchestrationservice.gpu.model.entity.GpuResource">
|
||||
SELECT *
|
||||
FROM ipz.gpu_resource
|
||||
FROM gpu_resource
|
||||
WHERE GPUId = #{gpuId}
|
||||
FOR UPDATE NOWAIT
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user