Browse Source

2025.11.20 产品文档收集-待上传文件-查询条件增加文档类型ID、文档类型

java8
jiayang yue 3 months ago
parent
commit
1a5d6e80fa
  1. 22
      src/main/resources/mapper/pms/ProofingInformationMapper.xml

22
src/main/resources/mapper/pms/ProofingInformationMapper.xml

@ -338,6 +338,12 @@
<if test="query.documentDefinitionListId != null and query.documentDefinitionListId != ''">
AND documentDefinitionListId = #{query.documentDefinitionListId}
</if>
<if test="query.documentTypeId != null and query.documentTypeId != ''">
AND document_type_id = #{query.documentTypeId}
</if>
<if test="query.documentType != null and query.documentType != ''">
AND document_type like '%' + #{query.documentType} + '%'
</if>
</where>
order by project_id
</select>
@ -462,6 +468,16 @@
AND #{query.endDate} >= build_date
]]>
</if>
<if test="query.documentTypeId != null and query.documentTypeId != ''">
<![CDATA[
AND document_type_id = #{query.documentTypeId}
]]>
</if>
<if test="query.documentType != null and query.documentType != ''">
<![CDATA[
AND document_type like '%' + #{query.documentType} + '%'
]]>
</if>
<![CDATA[
ORDER BY project_id
]]>
@ -544,6 +560,12 @@
<if test="query.endDate != null ">
AND #{query.endDate} >= build_date
</if>
<if test="query.documentTypeId != null and query.documentTypeId != ''">
AND document_type_id = #{query.documentTypeId}
</if>
<if test="query.documentType != null and query.documentType != ''">
AND document_type like '%' + #{query.documentType} + '%'
</if>
</where>
order by project_id
</select>

Loading…
Cancel
Save