Merge branch 'develop_master' into 'FOTON'
Develop master See merge request LiuChao/foton-slrs-system-rest!323
This commit is contained in:
+12
-12
@@ -17,6 +17,12 @@
|
|||||||
WHERE
|
WHERE
|
||||||
sar_stand_project_library.project_number in ( SELECT product_id FROM sar_standard_compliance_product_assess WHERE STAND_ID=#{product.standId})
|
sar_stand_project_library.project_number in ( SELECT product_id FROM sar_standard_compliance_product_assess WHERE STAND_ID=#{product.standId})
|
||||||
AND CLOSE_STATE = '1'
|
AND CLOSE_STATE = '1'
|
||||||
|
<if test="null != product.productName and ''!= product.productName">
|
||||||
|
and product_name like concat(concat('%',#{product.productName}),'%')
|
||||||
|
</if>
|
||||||
|
<if test="null != product.productId and ''!= product.productId">
|
||||||
|
and project_number like concat(concat('%',#{product.productId}),'%')
|
||||||
|
</if>
|
||||||
group by
|
group by
|
||||||
PRODUCT_NAME,
|
PRODUCT_NAME,
|
||||||
sar_stand_project_library.project_group,
|
sar_stand_project_library.project_group,
|
||||||
@@ -25,12 +31,6 @@
|
|||||||
sar_stand_project_library.project_number,
|
sar_stand_project_library.project_number,
|
||||||
sar_stand_project_library.id,
|
sar_stand_project_library.id,
|
||||||
ts_user.UNAME
|
ts_user.UNAME
|
||||||
<if test="null != product.productName and ''!= product.productName">
|
|
||||||
and product_name like concat(concat('%',#{product.productName}),'%')
|
|
||||||
</if>
|
|
||||||
<if test="null != product.productId and ''!= product.productId">
|
|
||||||
and project_number like concat(concat('%',#{product.productId}),'%')
|
|
||||||
</if>
|
|
||||||
ORDER BY
|
ORDER BY
|
||||||
PRODUCT_NAME ASC
|
PRODUCT_NAME ASC
|
||||||
limit ${(page-1)*pageSize},${pageSize}
|
limit ${(page-1)*pageSize},${pageSize}
|
||||||
@@ -46,6 +46,12 @@
|
|||||||
WHERE
|
WHERE
|
||||||
sar_stand_project_library.project_number in (SELECT product_id FROM sar_standard_compliance_product_assess WHERE STAND_ID=#{product.standId})
|
sar_stand_project_library.project_number in (SELECT product_id FROM sar_standard_compliance_product_assess WHERE STAND_ID=#{product.standId})
|
||||||
AND CLOSE_STATE = '1'
|
AND CLOSE_STATE = '1'
|
||||||
|
<if test="null != product.productName and ''!= product.productName">
|
||||||
|
and product_name like concat(concat('%',#{product.productName}),'%')
|
||||||
|
</if>
|
||||||
|
<if test="null != product.productId and ''!= product.productId">
|
||||||
|
and project_number like concat(concat('%',#{product.productId}),'%')
|
||||||
|
</if>
|
||||||
group by
|
group by
|
||||||
PRODUCT_NAME,
|
PRODUCT_NAME,
|
||||||
sar_stand_project_library.project_group,
|
sar_stand_project_library.project_group,
|
||||||
@@ -54,12 +60,6 @@
|
|||||||
sar_stand_project_library.project_number,
|
sar_stand_project_library.project_number,
|
||||||
sar_stand_project_library.id,
|
sar_stand_project_library.id,
|
||||||
ts_user.UNAME
|
ts_user.UNAME
|
||||||
<if test="null != product.productName and ''!= product.productName">
|
|
||||||
and product_name like concat(concat('%',#{product.productName}),'%')
|
|
||||||
</if>
|
|
||||||
<if test="null != product.productId and ''!= product.productId">
|
|
||||||
and project_number like concat(concat('%',#{product.productId}),'%')
|
|
||||||
</if>
|
|
||||||
ORDER BY
|
ORDER BY
|
||||||
PRODUCT_NAME ASC
|
PRODUCT_NAME ASC
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user