Merge remote-tracking branch 'origin/develop_master' into develop_master
This commit is contained in:
+6
-6
@@ -754,9 +754,9 @@
|
|||||||
<!-- 标准编号111 -->
|
<!-- 标准编号111 -->
|
||||||
<if test="page.standNumber != null and page.standNumber != ''">
|
<if test="page.standNumber != null and page.standNumber != ''">
|
||||||
and (
|
and (
|
||||||
(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER,'-',
|
(trim(replace(concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER,'-',
|
||||||
SAR_STANDARDS_INFO.STAND_YEAR) like 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 (concat(SAR_STANDARDS_INFO.STAND_SORT,' ',SAR_STANDARDS_INFO.STAND_NUMBER) like 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}),'%'))
|
||||||
)
|
)
|
||||||
@@ -995,9 +995,9 @@
|
|||||||
<if test="mark == 999 ">
|
<if test="mark == 999 ">
|
||||||
and sar_standards_info.ID in (select distinct stand_id from sar_stand_items)
|
and sar_standards_info.ID in (select distinct stand_id from sar_stand_items)
|
||||||
</if>
|
</if>
|
||||||
<if test='page.orderByA != null and page.orderByA != "" and page.order1 != null and page.order1 != ""
|
<if test='(page.orderByA != null and page.orderByA != "" and page.order1 != null and page.order1 != "")
|
||||||
and page.standType != null and page.standType != "" '>
|
or (page.standType != null and page.standType != "") '>
|
||||||
<include refid="standSort_in"/>
|
<include refid="standSort_in"/>
|
||||||
</if>
|
</if>
|
||||||
limit ${page.pager.startIndex-1},${page.pageSize}
|
limit ${page.pager.startIndex-1},${page.pageSize}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user