|
@@ -322,13 +322,17 @@
|
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text",
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text",
|
|
|
OPERATION_POINT_CODE "code",
|
|
OPERATION_POINT_CODE "code",
|
|
|
REMARK "remark",
|
|
REMARK "remark",
|
|
|
- alternate_fields3 "f3"
|
|
|
|
|
|
|
+ alternate_fields3 "f3",
|
|
|
|
|
+ WAREHOUSE_TYPE "warehouseType"
|
|
|
from RMS_OPERATION_POINT
|
|
from RMS_OPERATION_POINT
|
|
|
<where>
|
|
<where>
|
|
|
DELETED = 0
|
|
DELETED = 0
|
|
|
<if test="operationPointType!=null and operationPointType!=''">
|
|
<if test="operationPointType!=null and operationPointType!=''">
|
|
|
AND REGEXP_LIKE(OPERATION_POINT_TYPE, #{operationPointType})
|
|
AND REGEXP_LIKE(OPERATION_POINT_TYPE, #{operationPointType})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="warehouseType !=null and warehouseType!=''">
|
|
|
|
|
+ AND REGEXP_LIKE(warehouse_type, #{warehouseType})
|
|
|
|
|
+ </if>
|
|
|
<if test="receivingPointId!=null and receivingPointId!=''">
|
|
<if test="receivingPointId!=null and receivingPointId!=''">
|
|
|
AND OPERATION_POINT_ID = #{receivingPointId}
|
|
AND OPERATION_POINT_ID = #{receivingPointId}
|
|
|
</if>
|
|
</if>
|
|
@@ -360,7 +364,8 @@
|
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text",
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text",
|
|
|
OPERATION_POINT_CODE "code",
|
|
OPERATION_POINT_CODE "code",
|
|
|
REMARK "remark",
|
|
REMARK "remark",
|
|
|
- alternate_fields3 "f3"
|
|
|
|
|
|
|
+ alternate_fields3 "f3",
|
|
|
|
|
+ WAREHOUSE_TYPE "warehouseType"
|
|
|
from RMS_OPERATION_POINT
|
|
from RMS_OPERATION_POINT
|
|
|
where OPERATION_POINT_ID in
|
|
where OPERATION_POINT_ID in
|
|
|
<foreach collection="id" item="item" open="(" close=")" separator=",">
|
|
<foreach collection="id" item="item" open="(" close=")" separator=",">
|
|
@@ -583,7 +588,7 @@
|
|
|
GROUP BY CAPACITY_ID
|
|
GROUP BY CAPACITY_ID
|
|
|
) T ON T."capacityId" = RCA .CAPACITY_ID
|
|
) T ON T."capacityId" = RCA .CAPACITY_ID
|
|
|
</if>
|
|
</if>
|
|
|
- WHERE RCA .DELETED = 0
|
|
|
|
|
|
|
+ WHERE RCA .DELETED in( 0,3)
|
|
|
<if test="capacityTypeId !=null">
|
|
<if test="capacityTypeId !=null">
|
|
|
AND RCT.CAPACITY_TYPE_ID in (
|
|
AND RCT.CAPACITY_TYPE_ID in (
|
|
|
select rct.capacity_type_id from rms_capacity_type rct
|
|
select rct.capacity_type_id from rms_capacity_type rct
|
|
@@ -2203,7 +2208,7 @@
|
|
|
'capacityNumber' "prop"
|
|
'capacityNumber' "prop"
|
|
|
FROM
|
|
FROM
|
|
|
RMS_CAPACITY RCA
|
|
RMS_CAPACITY RCA
|
|
|
- WHERE RCA .DELETED = 0
|
|
|
|
|
|
|
+ WHERE RCA .DELETED in ( 0,3)
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE(
|
|
AND REGEXP_LIKE(
|
|
|
CASE WHEN RCA.REMARK1 is null
|
|
CASE WHEN RCA.REMARK1 is null
|