|
|
@ -534,10 +534,12 @@ |
|
|
WHERE a.BU = #{buNo} and a.Site = #{site} and a.document_type = '产品文档' and a.userid = #{userid} |
|
|
WHERE a.BU = #{buNo} and a.Site = #{site} and a.document_type = '产品文档' and a.userid = #{userid} |
|
|
</select> |
|
|
</select> |
|
|
<select id="searchSopFileList" resultType="com.xujie.sys.modules.oss.entity.SysOssEntity"> |
|
|
<select id="searchSopFileList" resultType="com.xujie.sys.modules.oss.entity.SysOssEntity"> |
|
|
SELECT a.sop_name as file_name, |
|
|
|
|
|
|
|
|
SELECT a.sop_name + '.' + SUBSTRING(sop_url, CHARINDEX('.', sop_url) + 1, LEN(sop_url)) as file_name, |
|
|
a.creation_date as create_date, |
|
|
a.creation_date as create_date, |
|
|
a.created_by as created_by, |
|
|
a.created_by as created_by, |
|
|
a.sop_url as url, |
|
|
a.sop_url as url, |
|
|
|
|
|
a.id, |
|
|
|
|
|
'-2' as order_ref3, |
|
|
SUBSTRING(a.sop_url, CHARINDEX('.', a.sop_url) + 1, LEN(a.sop_url)) as file_type |
|
|
SUBSTRING(a.sop_url, CHARINDEX('.', a.sop_url) + 1, LEN(a.sop_url)) as file_type |
|
|
FROM part_sop as a |
|
|
FROM part_sop as a |
|
|
<where> |
|
|
<where> |
|
|
|