标准号,标准名称分开搜索
This commit is contained in:
+1
-5
@@ -559,13 +559,9 @@
|
|||||||
</if>
|
</if>
|
||||||
<!-- 标准编号111 -->
|
<!-- 标准编号111 -->
|
||||||
<if test="standNumber != null and standNumber != ''">
|
<if test="standNumber != null and standNumber != ''">
|
||||||
and (
|
and
|
||||||
(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER,'-',
|
(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER,'-',
|
||||||
SAR_STANDARDS_INFO.STAND_YEAR) like concat(concat('%',#{standNumber}),'%') and SAR_STANDARDS_INFO.STAND_YEAR != '')
|
SAR_STANDARDS_INFO.STAND_YEAR) like concat(concat('%',#{standNumber}),'%') and SAR_STANDARDS_INFO.STAND_YEAR != '')
|
||||||
or (concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER) like concat(concat('%',#{standNumber}),'%')
|
|
||||||
and SAR_STANDARDS_INFO.STAND_YEAR = '')
|
|
||||||
or (stand_name like concat(concat('%',#{standNumber}),'%'))
|
|
||||||
)
|
|
||||||
</if>
|
</if>
|
||||||
<!-- 标准名称 -->
|
<!-- 标准名称 -->
|
||||||
<if test="standName != null and standName != ''">
|
<if test="standName != null and standName != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user