This commit is contained in:
zhangchenbiao
2024-05-07 17:41:32 +08:00
parent 52e50b6d6e
commit f4e6b41eeb
7 changed files with 34 additions and 27 deletions

View File

@@ -135,4 +135,15 @@
update xfsg_point_audit_record set deleted = 1 where point_id = #{pointId} and cycle_count = #{cycleCount} and audit_status = 0
</update>
<select id="getPointSubmitAuditTime" resultMap="BaseResultMap">
select
point_id, receive_task_time, finish_task_time
from
xfsg_point_audit_record
where node_no = 0 and point_id in
<foreach collection="pointIds" item="pointId" open="(" close=")" separator=",">
#{pointId}
</foreach>
</select>
</mapper>

View File

@@ -100,15 +100,4 @@
select node_no from xfsg_point_todo_info where point_id = #{pointId} and status = 0 and deleted = 0 limit 1
</select>
<select id="getPointSubmitAuditTime" resultMap="BaseResultMap">
select
point_id, receive_task_time, finish_task_time
from
xfsg_point_audit_record
where node_no = 1 and point_id in
<foreach collection="pointIds" item="pointId" open="(" close=")" separator=",">
#{pointId}
</foreach>
</select>
</mapper>