工程图片

This commit is contained in:
cwchen 2024-04-23 11:13:45 +08:00
parent 9bcdf0a4fb
commit 4ee453abfc
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@
<select id="getFiles" resultType="com.securitycontrol.entity.system.vo.ResourceFileVo">
SELECT id AS resourceId,
file_id AS fileId
FROM tb_resource_file WHERE source_id = #{userId}
FROM tb_resource_file WHERE source_id = #{userId} AND del_flag = 0
</select>
<!--获取人员出入记录-->
<select id="getPersonnelAccessLists" resultType="com.securitycontrol.entity.background.vo.UserAccessVo">

View File

@ -263,7 +263,7 @@
SELECT id AS resourceId,
file_id AS fileId,
CASE source_type WHEN '工程图片' THEN '1' WHEN '工程平面图' THEN '2' END AS sourceType
FROM tb_resource_file WHERE source_id = #{proId}
FROM tb_resource_file WHERE source_id = #{proId} AND del_flag = 0
</select>
<!--获取工序列表-->
<select id="getGxPlanLists" resultType="com.securitycontrol.entity.system.base.vo.GxPlanVo">