|
@@ -99,6 +99,9 @@
|
|
|
<if test="companyType!=null and companyType!=''">
|
|
<if test="companyType!=null and companyType!=''">
|
|
|
AND "companyType" = #{companyType}
|
|
AND "companyType" = #{companyType}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="companyId!=null and companyId!=''">
|
|
|
|
|
+ AND "companyId" = #{companyId}
|
|
|
|
|
+ </if>
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label", #{index})
|
|
AND REGEXP_LIKE("label", #{index})
|
|
|
</if>
|
|
</if>
|
|
@@ -131,6 +134,9 @@
|
|
|
<if test="remark!=null and remark!=''">
|
|
<if test="remark!=null and remark!=''">
|
|
|
AND REGEXP_LIKE("remark", #{remark})
|
|
AND REGEXP_LIKE("remark", #{remark})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="materialTypeId!=null and materialTypeId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("materialTypeId", #{materialTypeId})
|
|
|
|
|
+ </if>
|
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
|
AND "id" in
|
|
AND "id" in
|
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
@@ -214,8 +220,8 @@
|
|
|
PERSONNEL_ID "id",
|
|
PERSONNEL_ID "id",
|
|
|
PERSONNEL_ID "value",
|
|
PERSONNEL_ID "value",
|
|
|
PERSONNEL_NAME "label",
|
|
PERSONNEL_NAME "label",
|
|
|
- PERSONNEL_NAME "text"
|
|
|
|
|
-
|
|
|
|
|
|
|
+ PERSONNEL_NAME "text",
|
|
|
|
|
+ 'personnelName' "prop"
|
|
|
from RMS_PERSONNEL
|
|
from RMS_PERSONNEL
|
|
|
where DELETED = 0
|
|
where DELETED = 0
|
|
|
)
|
|
)
|
|
@@ -223,6 +229,9 @@
|
|
|
<if test="personnelPost!=null and personnelPost!=''">
|
|
<if test="personnelPost!=null and personnelPost!=''">
|
|
|
AND "personnelPost" = #{personnelPost}
|
|
AND "personnelPost" = #{personnelPost}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="personnelId!=null and personnelId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("personnelId", #{personnelId})
|
|
|
|
|
+ </if>
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label", #{index})
|
|
AND REGEXP_LIKE("label", #{index})
|
|
|
</if>
|
|
</if>
|
|
@@ -242,7 +251,9 @@
|
|
|
RCA .CAPACITY_ID "id",
|
|
RCA .CAPACITY_ID "id",
|
|
|
RCA .CAPACITY_ID "value",
|
|
RCA .CAPACITY_ID "value",
|
|
|
RCA .CAPACITY_NUMBER "label",
|
|
RCA .CAPACITY_NUMBER "label",
|
|
|
- RCA .CAPACITY_NUMBER "text"
|
|
|
|
|
|
|
+ RCA .CAPACITY_NUMBER "text",
|
|
|
|
|
+ RCA.CAPACITY_NUMBER "capacityNumber",
|
|
|
|
|
+ 'capacityNumber' "prop"
|
|
|
FROM RMS_CAPACITY RCA
|
|
FROM RMS_CAPACITY RCA
|
|
|
LEFT JOIN RMS_CAPACITY_CARRIER RCC ON RCA .CAPACITY_ID = RCC .CAPACITY_ID
|
|
LEFT JOIN RMS_CAPACITY_CARRIER RCC ON RCA .CAPACITY_ID = RCC .CAPACITY_ID
|
|
|
LEFT JOIN RMS_COMPANY RC ON RC .COMPANY_ID = RCC .COMPANY_ID
|
|
LEFT JOIN RMS_COMPANY RC ON RC .COMPANY_ID = RCC .COMPANY_ID
|
|
@@ -262,6 +273,9 @@
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label", #{index})
|
|
AND REGEXP_LIKE("label", #{index})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="capacityId!=null and capacityId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("capacityId", #{capacityId})
|
|
|
|
|
+ </if>
|
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
|
AND "id" in
|
|
AND "id" in
|
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
@@ -314,6 +328,9 @@
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label", #{index})
|
|
AND REGEXP_LIKE("label", #{index})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="transrangeId!=null and transrangeId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("transrangeId", #{transrangeId})
|
|
|
|
|
+ </if>
|
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
<if test="id!=null and id.size>0 and !(index!=null and index!='')">
|
|
|
AND "id" in
|
|
AND "id" in
|
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
@@ -368,6 +385,9 @@
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE(RCT.CAPACITY_TYPE_NAME, #{index})
|
|
AND REGEXP_LIKE(RCT.CAPACITY_TYPE_NAME, #{index})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="capacityTypeId!=null and capacityTypeId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE(RCT.CAPACITY_TYPE_ID, #{capacityTypeId})
|
|
|
|
|
+ </if>
|
|
|
</where>
|
|
</where>
|
|
|
GROUP BY RCT .CAPACITY_TYPE_ID,RCT.CAPACITY_TYPE_NAME,RCT .CAPACITY_MAX_LOAD
|
|
GROUP BY RCT .CAPACITY_TYPE_ID,RCT.CAPACITY_TYPE_NAME,RCT .CAPACITY_MAX_LOAD
|
|
|
FETCH NEXT 10 ROWS ONLY
|
|
FETCH NEXT 10 ROWS ONLY
|
|
@@ -425,6 +445,9 @@
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label" || "points", #{index})
|
|
AND REGEXP_LIKE("label" || "points", #{index})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="lineId!=null and lineId!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("lineId" , #{lineId})
|
|
|
|
|
+ </if>
|
|
|
<if test="lineType!=null and lineType!=''">
|
|
<if test="lineType!=null and lineType!=''">
|
|
|
AND REGEXP_LIKE("lineType" , #{lineType})
|
|
AND REGEXP_LIKE("lineType" , #{lineType})
|
|
|
</if>
|
|
</if>
|