|
@@ -3575,5 +3575,305 @@
|
|
|
</if>
|
|
</if>
|
|
|
order By TRUST_DATE_TIME desc
|
|
order By TRUST_DATE_TIME desc
|
|
|
</select>
|
|
</select>
|
|
|
-
|
|
|
|
|
|
|
+ <select id="selectByParameterDoubles" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select"/>
|
|
|
|
|
+ where TRUST_AVAILABILITY_TIME >= SYSDATE
|
|
|
|
|
+ <if test="predictionNo != null and predictionNo != ''">
|
|
|
|
|
+ and PREDICTION_NO = #{predictionNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null and noticeNo != ''">
|
|
|
|
|
+ and NOTICE_NO = #{noticeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carNo != null and carNo != ''">
|
|
|
|
|
+ and CAR_NO = #{carNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trailerNo != null and trailerNo != ''">
|
|
|
|
|
+ and TRAILER_NO = #{trailerNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null and matterNo != ''">
|
|
|
|
|
+ and MATTER_NO = #{matterNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null and matterName != ''">
|
|
|
|
|
+ and MATTER_NAME = #{matterName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null and contractNo != ''">
|
|
|
|
|
+ and CONTRACT_NO = #{contractNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null and batchNo != ''">
|
|
|
|
|
+ and BATCH_NO = #{batchNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null and customerSupplierNo != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NO = #{customerSupplierNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null and customerSupplierName != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NAME = #{customerSupplierName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null and sourceArea != ''">
|
|
|
|
|
+ and SOURCE_AREA = #{sourceArea}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null and forwardingUnitNo != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NO = #{forwardingUnitNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null and forwardingUnitName != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NAME = #{forwardingUnitName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null and receivingUintNo != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NO = #{receivingUintNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null and receivingUintName != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NAME = #{receivingUintName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null and materialNo != ''">
|
|
|
|
|
+ and MATERIAL_NO = #{materialNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null and materialName != ''">
|
|
|
|
|
+ and MATERIAL_NAME = #{materialName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null and specNo != ''">
|
|
|
|
|
+ and SPEC_NO = #{specNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null and specName != ''">
|
|
|
|
|
+ and SPEC_NAME = #{specName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="shipmentGrossWeight != null">
|
|
|
|
|
+ and SHIPMENT_GROSS_WEIGHT = #{shipmentGrossWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="shipmentNetWeight != null">
|
|
|
|
|
+ and SHIPMENT_NET_WEIGHT = #{shipmentNetWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="shipmentNum != null">
|
|
|
|
|
+ and SHIPMENT_NUM = #{shipmentNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="addWeightSum != null">
|
|
|
|
|
+ and ADD_WEIGHT_SUM = #{addWeightSum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="bindCardNo != null and bindCardNo != ''">
|
|
|
|
|
+ and BIND_CARD_NO = #{bindCardNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null and loadPointNo != ''">
|
|
|
|
|
+ and LOAD_POINT_NO = #{loadPointNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null and loadPointName != ''">
|
|
|
|
|
+ and LOAD_POINT_NAME = #{loadPointName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null and sampleNo != ''">
|
|
|
|
|
+ and SAMPLE_NO = #{sampleNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null and sampleVoucher != ''">
|
|
|
|
|
+ and SAMPLE_VOUCHER = #{sampleVoucher}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null and carrierUnitNo != ''">
|
|
|
|
|
+ and CARRIER_UNIT_NO = #{carrierUnitNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null and carrierUnitName != ''">
|
|
|
|
|
+ and CARRIER_UNIT_NAME = #{carrierUnitName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionType != null and predictionType != ''">
|
|
|
|
|
+ and PREDICTION_TYPE = #{predictionType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionCombination != null and predictionCombination != ''">
|
|
|
|
|
+ and PREDICTION_COMBINATION = #{predictionCombination}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null and meterTypeNo != ''">
|
|
|
|
|
+ and METER_TYPE_NO = #{meterTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null and meterTypeName != ''">
|
|
|
|
|
+ and METER_TYPE_NAME = #{meterTypeName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="usedType != null and usedType != ''">
|
|
|
|
|
+ and USED_TYPE = #{usedType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="effectiveStartTime != null">
|
|
|
|
|
+ and TO_CHAR(EFFECTIVE_START_TIME,'yyyy-MM-dd') = #{effectiveStartTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="effectiveEndTime != null">
|
|
|
|
|
+ and TO_CHAR(EFFECTIVE_END_TIME,'yyyy-MM-dd') = #{effectiveEndTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="effectiveWeight != null">
|
|
|
|
|
+ and EFFECTIVE_WEIGHT = #{effectiveWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="effectiveNum != null">
|
|
|
|
|
+ and EFFECTIVE_NUM = #{effectiveNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterWeight != null">
|
|
|
|
|
+ and METER_WEIGHT = #{meterWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterNum != null">
|
|
|
|
|
+ and METER_NUM = #{meterNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO = #{railwayNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null and meterProcessNo != ''">
|
|
|
|
|
+ and METER_PROCESS_NO = #{meterProcessNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null and meterProcessEditionNo != ''">
|
|
|
|
|
+ and METER_PROCESS_EDITION_NO = #{meterProcessEditionNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null and memo != ''">
|
|
|
|
|
+ and MEMO = #{memo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
|
|
+ and VALUE_FLAG = #{valueFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="usedTime != null">
|
|
|
|
|
+ and TO_CHAR(USED_TIME,'yyyy-MM-dd') = #{usedTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManNo != null and createManNo != ''">
|
|
|
|
|
+ and CREATE_MAN_NO = #{createManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
|
|
+ and CREATE_MAN_NAME = #{createManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null and updateManNo != ''">
|
|
|
|
|
+ and UPDATE_MAN_NO = #{updateManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null and updateManName != ''">
|
|
|
|
|
+ and UPDATE_MAN_NAME = #{updateManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deleteManNo != null and deleteManNo != ''">
|
|
|
|
|
+ and DELETE_MAN_NO = #{deleteManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deleteManName != null and deleteManName != ''">
|
|
|
|
|
+ and DELETE_MAN_NAME = #{deleteManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="deleteTime != null">
|
|
|
|
|
+ and TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = #{deleteTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="pValueFlag != null and pValueFlag != ''">
|
|
|
|
|
+ and P_VALUE_FLAG = #{pValueFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carAllocationTime != null">
|
|
|
|
|
+ and TO_CHAR(CAR_ALLOCATION_TIME,'yyyy-MM-dd') = #{carAllocationTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isCompleted != null and isCompleted != ''">
|
|
|
|
|
+ and IS_COMPLETED = #{isCompleted}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="limsSamplingFlag != null and limsSamplingFlag != ''">
|
|
|
|
|
+ and LIMS_SAMPLING_FLAG = #{limsSamplingFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="heatNo != null and heatNo != ''">
|
|
|
|
|
+ and HEAT_NO = #{heatNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="idNum != null and idNum != ''">
|
|
|
|
|
+ and ID_NUM = #{idNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionSource != null and predictionSource != ''">
|
|
|
|
|
+ and PREDICTION_SOURCE = #{predictionSource}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createDepname != null and createDepname != ''">
|
|
|
|
|
+ and CREATE_DEPNAME = #{createDepname}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createDepid != null and createDepid != ''">
|
|
|
|
|
+ and CREATE_DEPID = #{createDepid}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="lineDesc != null and lineDesc != ''">
|
|
|
|
|
+ and LINE_DESC = #{lineDesc}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null and voucherIdentity != ''">
|
|
|
|
|
+ and VOUCHER_IDENTITY = #{voucherIdentity}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null and voucherItem != ''">
|
|
|
|
|
+ and VOUCHER_ITEM = #{voucherItem}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null and businessGroup != ''">
|
|
|
|
|
+ and BUSINESS_GROUP = #{businessGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null and tempConveyance != ''">
|
|
|
|
|
+ and TEMP_CONVEYANCE = #{tempConveyance}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null and conveyanceType != ''">
|
|
|
|
|
+ and CONVEYANCE_TYPE = #{conveyanceType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null and resourceSystem != ''">
|
|
|
|
|
+ and RESOURCE_SYSTEM = #{resourceSystem}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ and GROUP_PACKAGE_AMOUNT = #{groupPackageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null and groupPackageUnit != ''">
|
|
|
|
|
+ and GROUP_PACKAGE_UNIT = #{groupPackageUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ and PACKAGE_AMOUNT = #{packageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null and packageUnit != ''">
|
|
|
|
|
+ and PACKAGE_UNIT = #{packageUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ and THEORY_AMOUNT = #{theoryAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null and measureBatch != ''">
|
|
|
|
|
+ and MEASURE_BATCH = #{measureBatch}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ and MEASURE_BATCH_COUNT = #{measureBatchCount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null and senderType != ''">
|
|
|
|
|
+ and SENDER_TYPE = #{senderType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null and senderRemark != ''">
|
|
|
|
|
+ and SENDER_REMARK = #{senderRemark}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null and receiverType != ''">
|
|
|
|
|
+ and RECEIVER_TYPE = #{receiverType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null and receiverRemark != ''">
|
|
|
|
|
+ and RECEIVER_REMARK = #{receiverRemark}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustDepartmentName != null and trustDepartmentName != ''">
|
|
|
|
|
+ and TRUST_DEPARTMENT_NAME = #{trustDepartmentName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustDepartment != null and trustDepartment != ''">
|
|
|
|
|
+ and TRUST_DEPARTMENT = #{trustDepartment}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustor != null and trustor != ''">
|
|
|
|
|
+ and TRUSTOR = #{trustor}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustDateTime != null">
|
|
|
|
|
+ and TO_CHAR(TRUST_DATE_TIME,'yyyy-MM-dd') = #{trustDateTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustAvailabilityTime != null">
|
|
|
|
|
+ and TO_CHAR(TRUST_AVAILABILITY_TIME,'yyyy-MM-dd') = #{trustAvailabilityTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustIp != null and trustIp != ''">
|
|
|
|
|
+ and TRUST_IP = #{trustIp}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="stationType != null and stationType != ''">
|
|
|
|
|
+ and STATION_TYPE = #{stationType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureStation != null and measureStation != ''">
|
|
|
|
|
+ and MEASURE_STATION = #{measureStation}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureStationName != null and measureStationName != ''">
|
|
|
|
|
+ and MEASURE_STATION_NAME = #{measureStationName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null and amountUnit != ''">
|
|
|
|
|
+ and AMOUNT_UNIT = #{amountUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="trustDay != null">
|
|
|
|
|
+ and TRUST_DAY = #{trustDay}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceGroup != null and conveyanceGroup != ''">
|
|
|
|
|
+ and CONVEYANCE_GROUP = #{conveyanceGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="revocartionStatus != null and revocartionStatus != ''">
|
|
|
|
|
+ and REVOCARTION_STATUS = #{revocartionStatus}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="useSite != null and useSite != ''">
|
|
|
|
|
+ and USE_SITE = #{useSite}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null and uploadFlag != ''">
|
|
|
|
|
+ and UPLOAD_FLAG = #{uploadFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="submitFlag != null and submitFlag != ''">
|
|
|
|
|
+ and SUBMIT_FLAG = #{submitFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </select>
|
|
|
</mapper>
|
|
</mapper>
|