标准号搜索框可以搜索标准名称
标准名称搜索框可以搜索标准号
This commit is contained in:
+4
-4
@@ -758,15 +758,15 @@
|
|||||||
SAR_STANDARDS_INFO.STAND_YEAR),' ','')) like trim(replace(concat(concat('%',#{page.standNumber}),'%'),' ','')) and SAR_STANDARDS_INFO.STAND_YEAR != '')
|
SAR_STANDARDS_INFO.STAND_YEAR),' ','')) like trim(replace(concat(concat('%',#{page.standNumber}),'%'),' ','')) and SAR_STANDARDS_INFO.STAND_YEAR != '')
|
||||||
or (trim(replace(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER),' ','')) like trim(replace(concat(concat('%',#{page.standNumber}),'%'),' ',''))
|
or (trim(replace(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER),' ','')) like trim(replace(concat(concat('%',#{page.standNumber}),'%'),' ',''))
|
||||||
and SAR_STANDARDS_INFO.STAND_YEAR = '')
|
and SAR_STANDARDS_INFO.STAND_YEAR = '')
|
||||||
or (stand_name like concat(concat('%',#{page.standNumber}),'%'))
|
<!-- or (stand_name like concat(concat('%',#{page.standNumber}),'%')) -->
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<!-- 标准名称 -->
|
<!-- 标准名称 -->
|
||||||
<if test="page.standName != null and page.standName != ''">
|
<if test="page.standName != null and page.standName != ''">
|
||||||
and stand_name like concat(concat('%',#{page.standName}),'%')
|
and stand_name like concat(concat('%',#{page.standName}),'%')
|
||||||
or STAND_NUMBER like concat(concat('%',#{page.standName}),'%')
|
<!-- or STAND_NUMBER like concat(concat('%',#{page.standName}),'%') -->
|
||||||
or STAND_YEAR like concat(concat('%',#{page.standName}),'%')
|
<!-- or STAND_YEAR like concat(concat('%',#{page.standName}),'%') -->
|
||||||
or STAND_SORT like concat(concat('%',#{page.standName}),'%')
|
<!-- or STAND_SORT like concat(concat('%',#{page.standName}),'%') -->
|
||||||
</if>
|
</if>
|
||||||
<if test="page.standEnName != null and page.standEnName != ''">
|
<if test="page.standEnName != null and page.standEnName != ''">
|
||||||
and stand_en_name like concat(concat('%',#{page.standEnName}),'%')
|
and stand_en_name like concat(concat('%',#{page.standEnName}),'%')
|
||||||
|
|||||||
Reference in New Issue
Block a user