|
@@ -0,0 +1,2794 @@
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
+<mapper namespace="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.mapper.MeterWorkMeasuringInstrumentSecondMapper">
|
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.model.MeterWorkMeasuringInstrumentSecond">
|
|
|
|
|
+ <id column="ACTUAL_NO" jdbcType="VARCHAR" property="actualNo" />
|
|
|
|
|
+ <result column="PREDICTION_NO" jdbcType="VARCHAR" property="predictionNo" />
|
|
|
|
|
+ <result column="NOTICE_NO" jdbcType="VARCHAR" property="noticeNo" />
|
|
|
|
|
+ <result column="RAILWAY_NO" jdbcType="VARCHAR" property="railwayNo" />
|
|
|
|
|
+ <result column="RAILWAY_CARRIAGE_NO" jdbcType="VARCHAR" property="railwayCarriageNo" />
|
|
|
|
|
+ <result column="MATTER_NO" jdbcType="VARCHAR" property="matterNo" />
|
|
|
|
|
+ <result column="MATTER_NAME" jdbcType="VARCHAR" property="matterName" />
|
|
|
|
|
+ <result column="CONTRACT_NO" jdbcType="VARCHAR" property="contractNo" />
|
|
|
|
|
+ <result column="BATCH_NO" jdbcType="VARCHAR" property="batchNo" />
|
|
|
|
|
+ <result column="CUSTOMER_SUPPLIER_NO" jdbcType="VARCHAR" property="customerSupplierNo" />
|
|
|
|
|
+ <result column="CUSTOMER_SUPPLIER_NAME" jdbcType="VARCHAR" property="customerSupplierName" />
|
|
|
|
|
+ <result column="FORWARDING_UNIT_NO" jdbcType="VARCHAR" property="forwardingUnitNo" />
|
|
|
|
|
+ <result column="FORWARDING_UNIT_NAME" jdbcType="VARCHAR" property="forwardingUnitName" />
|
|
|
|
|
+ <result column="RECEIVING_UINT_NO" jdbcType="VARCHAR" property="receivingUintNo" />
|
|
|
|
|
+ <result column="RECEIVING_UINT_NAME" jdbcType="VARCHAR" property="receivingUintName" />
|
|
|
|
|
+ <result column="MATERIAL_NO" jdbcType="VARCHAR" property="materialNo" />
|
|
|
|
|
+ <result column="MATERIAL_NAME" jdbcType="VARCHAR" property="materialName" />
|
|
|
|
|
+ <result column="SPEC_NO" jdbcType="VARCHAR" property="specNo" />
|
|
|
|
|
+ <result column="SPEC_NAME" jdbcType="VARCHAR" property="specName" />
|
|
|
|
|
+ <result column="LOAD_POINT_NO" jdbcType="VARCHAR" property="loadPointNo" />
|
|
|
|
|
+ <result column="LOAD_POINT_NAME" jdbcType="VARCHAR" property="loadPointName" />
|
|
|
|
|
+ <result column="SAMPLE_VOUCHER" jdbcType="VARCHAR" property="sampleVoucher" />
|
|
|
|
|
+ <result column="CARRIER_UNIT_NO" jdbcType="VARCHAR" property="carrierUnitNo" />
|
|
|
|
|
+ <result column="CARRIER_UNIT_NAME" jdbcType="VARCHAR" property="carrierUnitName" />
|
|
|
|
|
+ <result column="METER_TYPE_NO" jdbcType="VARCHAR" property="meterTypeNo" />
|
|
|
|
|
+ <result column="METER_TYPE_NAME" jdbcType="VARCHAR" property="meterTypeName" />
|
|
|
|
|
+ <result column="METER_PROCESS_NO" jdbcType="VARCHAR" property="meterProcessNo" />
|
|
|
|
|
+ <result column="METER_PROCESS_EDITION_NO" jdbcType="VARCHAR" property="meterProcessEditionNo" />
|
|
|
|
|
+ <result column="ACTUAL_FIRST1_NO" jdbcType="VARCHAR" property="actualFirst1No" />
|
|
|
|
|
+ <result column="GROSS_WEIGHT" jdbcType="DECIMAL" property="grossWeight" />
|
|
|
|
|
+ <result column="GROSS_MAN_NO" jdbcType="VARCHAR" property="grossManNo" />
|
|
|
|
|
+ <result column="GROSS_MAN_NAME" jdbcType="VARCHAR" property="grossManName" />
|
|
|
|
|
+ <result column="GROSS_TIME" jdbcType="TIMESTAMP" property="grossTime" />
|
|
|
|
|
+ <result column="BASE_SPOT1_NO" jdbcType="VARCHAR" property="baseSpot1No" />
|
|
|
|
|
+ <result column="BASE_SPOT1_NAME" jdbcType="VARCHAR" property="baseSpot1Name" />
|
|
|
|
|
+ <result column="GROSS_CLASS" jdbcType="VARCHAR" property="grossClass" />
|
|
|
|
|
+ <result column="GROSS_GROUP" jdbcType="VARCHAR" property="grossGroup" />
|
|
|
|
|
+ <result column="GROSS_MODE" jdbcType="VARCHAR" property="grossMode" />
|
|
|
|
|
+ <result column="ACTUAL_FIRST2_NO" jdbcType="VARCHAR" property="actualFirst2No" />
|
|
|
|
|
+ <result column="TARE_WEIGHT" jdbcType="DECIMAL" property="tareWeight" />
|
|
|
|
|
+ <result column="TARE_MAN_NO" jdbcType="VARCHAR" property="tareManNo" />
|
|
|
|
|
+ <result column="TARE_MAN_NAME" jdbcType="VARCHAR" property="tareManName" />
|
|
|
|
|
+ <result column="TARE_TIME" jdbcType="TIMESTAMP" property="tareTime" />
|
|
|
|
|
+ <result column="BASE_SPOT2_NO" jdbcType="VARCHAR" property="baseSpot2No" />
|
|
|
|
|
+ <result column="BASE_SPOT2_NAME" jdbcType="VARCHAR" property="baseSpot2Name" />
|
|
|
|
|
+ <result column="TARE_CLASS" jdbcType="VARCHAR" property="tareClass" />
|
|
|
|
|
+ <result column="TARE_GROUP" jdbcType="VARCHAR" property="tareGroup" />
|
|
|
|
|
+ <result column="TARE_MODE" jdbcType="VARCHAR" property="tareMode" />
|
|
|
|
|
+ <result column="NET_WEIGHT" jdbcType="DECIMAL" property="netWeight" />
|
|
|
|
|
+ <result column="NET_MAN_NO" jdbcType="VARCHAR" property="netManNo" />
|
|
|
|
|
+ <result column="NET_MAN_NAME" jdbcType="VARCHAR" property="netManName" />
|
|
|
|
|
+ <result column="NET_TIME" jdbcType="TIMESTAMP" property="netTime" />
|
|
|
|
|
+ <result column="NET_SPOT3_NO" jdbcType="VARCHAR" property="netSpot3No" />
|
|
|
|
|
+ <result column="NET_SPOT3_NAME" jdbcType="VARCHAR" property="netSpot3Name" />
|
|
|
|
|
+ <result column="NET_CLASS" jdbcType="VARCHAR" property="netClass" />
|
|
|
|
|
+ <result column="NET_GROUP" jdbcType="VARCHAR" property="netGroup" />
|
|
|
|
|
+ <result column="NET_MODE" jdbcType="VARCHAR" property="netMode" />
|
|
|
|
|
+ <result column="VALUE_FLAG" jdbcType="VARCHAR" property="valueFlag" />
|
|
|
|
|
+ <result column="UPLOAD_FLAG" jdbcType="VARCHAR" property="uploadFlag" />
|
|
|
|
|
+ <result column="CHECK_MAN_NO" jdbcType="VARCHAR" property="checkManNo" />
|
|
|
|
|
+ <result column="CHECK_MAN_NAME" jdbcType="VARCHAR" property="checkManName" />
|
|
|
|
|
+ <result column="CHECK_TIME" jdbcType="TIMESTAMP" property="checkTime" />
|
|
|
|
|
+ <result column="UPLOAD_MAN_NO" jdbcType="VARCHAR" property="uploadManNo" />
|
|
|
|
|
+ <result column="UPLOAD_MAN_NAME" jdbcType="VARCHAR" property="uploadManName" />
|
|
|
|
|
+ <result column="UPLOAD_TIME" jdbcType="TIMESTAMP" property="uploadTime" />
|
|
|
|
|
+ <result column="SAMPLE_NO" jdbcType="VARCHAR" property="sampleNo" />
|
|
|
|
|
+ <result column="RAILWAY_TYPE_NO" jdbcType="VARCHAR" property="railwayTypeNo" />
|
|
|
|
|
+ <result column="RAILWAY_TYPE_NAME" jdbcType="VARCHAR" property="railwayTypeName" />
|
|
|
|
|
+ <result column="MEMO" jdbcType="VARCHAR" property="memo" />
|
|
|
|
|
+ <result column="WATER_NUM" jdbcType="DECIMAL" property="waterNum" />
|
|
|
|
|
+ <result column="ARRIVAL" jdbcType="VARCHAR" property="arrival" />
|
|
|
|
|
+ <result column="STATION" jdbcType="VARCHAR" property="station" />
|
|
|
|
|
+ <result column="UPDATE_MAN_NO" jdbcType="VARCHAR" property="updateManNo" />
|
|
|
|
|
+ <result column="UPDATE_MAN_NAME" jdbcType="VARCHAR" property="updateManName" />
|
|
|
|
|
+ <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
+ <result column="SOURCE_AREA" jdbcType="VARCHAR" property="sourceArea" />
|
|
|
|
|
+ <result column="VOUCHER_IDENTITY" jdbcType="VARCHAR" property="voucherIdentity" />
|
|
|
|
|
+ <result column="VOUCHER_ITEM" jdbcType="VARCHAR" property="voucherItem" />
|
|
|
|
|
+ <result column="BUSINESS_GROUP" jdbcType="VARCHAR" property="businessGroup" />
|
|
|
|
|
+ <result column="TEMP_CONVEYANCE" jdbcType="VARCHAR" property="tempConveyance" />
|
|
|
|
|
+ <result column="CONVEYANCE_TYPE" jdbcType="VARCHAR" property="conveyanceType" />
|
|
|
|
|
+ <result column="RESOURCE_SYSTEM" jdbcType="VARCHAR" property="resourceSystem" />
|
|
|
|
|
+ <result column="GROUP_PACKAGE_AMOUNT" jdbcType="DECIMAL" property="groupPackageAmount" />
|
|
|
|
|
+ <result column="GROUP_PACKAGE_UNIT" jdbcType="VARCHAR" property="groupPackageUnit" />
|
|
|
|
|
+ <result column="PACKAGE_AMOUNT" jdbcType="DECIMAL" property="packageAmount" />
|
|
|
|
|
+ <result column="PACKAGE_UNIT" jdbcType="VARCHAR" property="packageUnit" />
|
|
|
|
|
+ <result column="THEORY_AMOUNT" jdbcType="DECIMAL" property="theoryAmount" />
|
|
|
|
|
+ <result column="MEASURE_BATCH" jdbcType="VARCHAR" property="measureBatch" />
|
|
|
|
|
+ <result column="MEASURE_BATCH_COUNT" jdbcType="DECIMAL" property="measureBatchCount" />
|
|
|
|
|
+ <result column="SENDER_TYPE" jdbcType="VARCHAR" property="senderType" />
|
|
|
|
|
+ <result column="SENDER_REMARK" jdbcType="VARCHAR" property="senderRemark" />
|
|
|
|
|
+ <result column="RECEIVER_TYPE" jdbcType="VARCHAR" property="receiverType" />
|
|
|
|
|
+ <result column="RECEIVER_REMARK" jdbcType="VARCHAR" property="receiverRemark" />
|
|
|
|
|
+ <result column="AMOUNT_UNIT" jdbcType="VARCHAR" property="amountUnit" />
|
|
|
|
|
+ <result column="MEASURE_OBJECT_TYPE" jdbcType="VARCHAR" property="measureObjectType" />
|
|
|
|
|
+ <result column="MEASURE_TASK_NUM" jdbcType="VARCHAR" property="measureTaskNum" />
|
|
|
|
|
+ <result column="BILL_TYPE" jdbcType="VARCHAR" property="billType" />
|
|
|
|
|
+ <result column="CREATE_MAN_NAME" jdbcType="VARCHAR" property="createManName" />
|
|
|
|
|
+ <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
|
|
+ <result column="DATA_SOURCE" jdbcType="VARCHAR" property="dataSource" />
|
|
|
|
|
+ <result column="NOTE" jdbcType="VARCHAR" property="note" />
|
|
|
|
|
+ <result column="IS_PRE_SACALE" jdbcType="VARCHAR" property="isPreSacale" />
|
|
|
|
|
+ </resultMap>
|
|
|
|
|
+ <sql id="columns">
|
|
|
|
|
+ ACTUAL_NO, PREDICTION_NO, NOTICE_NO, RAILWAY_NO, RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
|
|
|
+ MATTER_NAME, CONTRACT_NO, BATCH_NO, CUSTOMER_SUPPLIER_NO, CUSTOMER_SUPPLIER_NAME,
|
|
|
|
|
+ FORWARDING_UNIT_NO, FORWARDING_UNIT_NAME, RECEIVING_UINT_NO, RECEIVING_UINT_NAME,
|
|
|
|
|
+ MATERIAL_NO, MATERIAL_NAME, SPEC_NO, SPEC_NAME, LOAD_POINT_NO, LOAD_POINT_NAME, SAMPLE_VOUCHER,
|
|
|
|
|
+ CARRIER_UNIT_NO, CARRIER_UNIT_NAME, METER_TYPE_NO, METER_TYPE_NAME, METER_PROCESS_NO,
|
|
|
|
|
+ METER_PROCESS_EDITION_NO, ACTUAL_FIRST1_NO, GROSS_WEIGHT, GROSS_MAN_NO, GROSS_MAN_NAME,
|
|
|
|
|
+ GROSS_TIME, BASE_SPOT1_NO, BASE_SPOT1_NAME, GROSS_CLASS, GROSS_GROUP, GROSS_MODE,
|
|
|
|
|
+ ACTUAL_FIRST2_NO, TARE_WEIGHT, TARE_MAN_NO, TARE_MAN_NAME, TARE_TIME, BASE_SPOT2_NO,
|
|
|
|
|
+ BASE_SPOT2_NAME, TARE_CLASS, TARE_GROUP, TARE_MODE, NET_WEIGHT, NET_MAN_NO, NET_MAN_NAME,
|
|
|
|
|
+ NET_TIME, NET_SPOT3_NO, NET_SPOT3_NAME, NET_CLASS, NET_GROUP, NET_MODE, VALUE_FLAG,
|
|
|
|
|
+ UPLOAD_FLAG, CHECK_MAN_NO, CHECK_MAN_NAME, CHECK_TIME, UPLOAD_MAN_NO, UPLOAD_MAN_NAME,
|
|
|
|
|
+ UPLOAD_TIME, SAMPLE_NO, RAILWAY_TYPE_NO, RAILWAY_TYPE_NAME, MEMO, WATER_NUM, ARRIVAL,
|
|
|
|
|
+ STATION, UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, SOURCE_AREA, VOUCHER_IDENTITY,
|
|
|
|
|
+ VOUCHER_ITEM, BUSINESS_GROUP, TEMP_CONVEYANCE, CONVEYANCE_TYPE, RESOURCE_SYSTEM,
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT, GROUP_PACKAGE_UNIT, PACKAGE_AMOUNT, PACKAGE_UNIT, THEORY_AMOUNT,
|
|
|
|
|
+ MEASURE_BATCH, MEASURE_BATCH_COUNT, SENDER_TYPE, SENDER_REMARK, RECEIVER_TYPE, RECEIVER_REMARK,
|
|
|
|
|
+ AMOUNT_UNIT, MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME, CREATE_TIME,
|
|
|
|
|
+ DATA_SOURCE, NOTE, IS_PRE_SACALE
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <sql id="columns_alias">
|
|
|
|
|
+ t.ACTUAL_NO, t.PREDICTION_NO, t.NOTICE_NO, t.RAILWAY_NO, t.RAILWAY_CARRIAGE_NO, t.MATTER_NO,
|
|
|
|
|
+ t.MATTER_NAME, t.CONTRACT_NO, t.BATCH_NO, t.CUSTOMER_SUPPLIER_NO, t.CUSTOMER_SUPPLIER_NAME,
|
|
|
|
|
+ t.FORWARDING_UNIT_NO, t.FORWARDING_UNIT_NAME, t.RECEIVING_UINT_NO, t.RECEIVING_UINT_NAME,
|
|
|
|
|
+ t.MATERIAL_NO, t.MATERIAL_NAME, t.SPEC_NO, t.SPEC_NAME, t.LOAD_POINT_NO, t.LOAD_POINT_NAME,
|
|
|
|
|
+ t.SAMPLE_VOUCHER, t.CARRIER_UNIT_NO, t.CARRIER_UNIT_NAME, t.METER_TYPE_NO, t.METER_TYPE_NAME,
|
|
|
|
|
+ t.METER_PROCESS_NO, t.METER_PROCESS_EDITION_NO, t.ACTUAL_FIRST1_NO, t.GROSS_WEIGHT,
|
|
|
|
|
+ t.GROSS_MAN_NO, t.GROSS_MAN_NAME, t.GROSS_TIME, t.BASE_SPOT1_NO, t.BASE_SPOT1_NAME,
|
|
|
|
|
+ t.GROSS_CLASS, t.GROSS_GROUP, t.GROSS_MODE, t.ACTUAL_FIRST2_NO, t.TARE_WEIGHT, t.TARE_MAN_NO,
|
|
|
|
|
+ t.TARE_MAN_NAME, t.TARE_TIME, t.BASE_SPOT2_NO, t.BASE_SPOT2_NAME, t.TARE_CLASS, t.TARE_GROUP,
|
|
|
|
|
+ t.TARE_MODE, t.NET_WEIGHT, t.NET_MAN_NO, t.NET_MAN_NAME, t.NET_TIME, t.NET_SPOT3_NO,
|
|
|
|
|
+ t.NET_SPOT3_NAME, t.NET_CLASS, t.NET_GROUP, t.NET_MODE, t.VALUE_FLAG, t.UPLOAD_FLAG,
|
|
|
|
|
+ t.CHECK_MAN_NO, t.CHECK_MAN_NAME, t.CHECK_TIME, t.UPLOAD_MAN_NO, t.UPLOAD_MAN_NAME,
|
|
|
|
|
+ t.UPLOAD_TIME, t.SAMPLE_NO, t.RAILWAY_TYPE_NO, t.RAILWAY_TYPE_NAME, t.MEMO, t.WATER_NUM,
|
|
|
|
|
+ t.ARRIVAL, t.STATION, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME, t.SOURCE_AREA,
|
|
|
|
|
+ t.VOUCHER_IDENTITY, t.VOUCHER_ITEM, t.BUSINESS_GROUP, t.TEMP_CONVEYANCE, t.CONVEYANCE_TYPE,
|
|
|
|
|
+ t.RESOURCE_SYSTEM, t.GROUP_PACKAGE_AMOUNT, t.GROUP_PACKAGE_UNIT, t.PACKAGE_AMOUNT,
|
|
|
|
|
+ t.PACKAGE_UNIT, t.THEORY_AMOUNT, t.MEASURE_BATCH, t.MEASURE_BATCH_COUNT, t.SENDER_TYPE,
|
|
|
|
|
+ t.SENDER_REMARK, t.RECEIVER_TYPE, t.RECEIVER_REMARK, t.AMOUNT_UNIT, t.MEASURE_OBJECT_TYPE,
|
|
|
|
|
+ t.MEASURE_TASK_NUM, t.BILL_TYPE, t.CREATE_MAN_NAME, t.CREATE_TIME, t.DATA_SOURCE,
|
|
|
|
|
+ t.NOTE, t.IS_PRE_SACALE
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <sql id="select">
|
|
|
|
|
+ SELECT <include refid="columns"/> FROM METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <sql id="select_alias">
|
|
|
|
|
+ SELECT <include refid="columns_alias"/> FROM METER_WORK_MEASURING_INSTRUMENT_SECOND t
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <sql id="where">
|
|
|
|
|
+ <where>
|
|
|
|
|
+ <if test="actualNo != null and actualNo != ''">
|
|
|
|
|
+ and ACTUAL_NO = #{actualNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionNo != null and predictionNo != ''">
|
|
|
|
|
+ and PREDICTION_NO = #{predictionNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null and noticeNo != ''">
|
|
|
|
|
+ and NOTICE_NO = #{noticeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO = #{railwayNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null and railwayCarriageNo != ''">
|
|
|
|
|
+ and RAILWAY_CARRIAGE_NO = #{railwayCarriageNo}
|
|
|
|
|
+ </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="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="loadPointNo != null and loadPointNo != ''">
|
|
|
|
|
+ and LOAD_POINT_NO = #{loadPointNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null and loadPointName != ''">
|
|
|
|
|
+ and LOAD_POINT_NAME = #{loadPointName}
|
|
|
|
|
+ </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="meterTypeNo != null and meterTypeNo != ''">
|
|
|
|
|
+ and METER_TYPE_NO = #{meterTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null and meterTypeName != ''">
|
|
|
|
|
+ and METER_TYPE_NAME = #{meterTypeName}
|
|
|
|
|
+ </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="actualFirst1No != null and actualFirst1No != ''">
|
|
|
|
|
+ and ACTUAL_FIRST1_NO = #{actualFirst1No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ and GROSS_WEIGHT = #{grossWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null and grossManNo != ''">
|
|
|
|
|
+ and GROSS_MAN_NO = #{grossManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null and grossManName != ''">
|
|
|
|
|
+ and GROSS_MAN_NAME = #{grossManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ and TO_CHAR(GROSS_TIME,'yyyy-MM-dd') = #{grossTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null and baseSpot1No != ''">
|
|
|
|
|
+ and BASE_SPOT1_NO = #{baseSpot1No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null and baseSpot1Name != ''">
|
|
|
|
|
+ and BASE_SPOT1_NAME = #{baseSpot1Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null and grossClass != ''">
|
|
|
|
|
+ and GROSS_CLASS = #{grossClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null and grossGroup != ''">
|
|
|
|
|
+ and GROSS_GROUP = #{grossGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null and grossMode != ''">
|
|
|
|
|
+ and GROSS_MODE = #{grossMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null and actualFirst2No != ''">
|
|
|
|
|
+ and ACTUAL_FIRST2_NO = #{actualFirst2No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ and TARE_WEIGHT = #{tareWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null and tareManNo != ''">
|
|
|
|
|
+ and TARE_MAN_NO = #{tareManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null and tareManName != ''">
|
|
|
|
|
+ and TARE_MAN_NAME = #{tareManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ and TO_CHAR(TARE_TIME,'yyyy-MM-dd') = #{tareTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null and baseSpot2No != ''">
|
|
|
|
|
+ and BASE_SPOT2_NO = #{baseSpot2No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null and baseSpot2Name != ''">
|
|
|
|
|
+ and BASE_SPOT2_NAME = #{baseSpot2Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null and tareClass != ''">
|
|
|
|
|
+ and TARE_CLASS = #{tareClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null and tareGroup != ''">
|
|
|
|
|
+ and TARE_GROUP = #{tareGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null and tareMode != ''">
|
|
|
|
|
+ and TARE_MODE = #{tareMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ and NET_WEIGHT = #{netWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null and netManNo != ''">
|
|
|
|
|
+ and NET_MAN_NO = #{netManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null and netManName != ''">
|
|
|
|
|
+ and NET_MAN_NAME = #{netManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ and TO_CHAR(NET_TIME,'yyyy-MM-dd') = #{netTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null and netSpot3No != ''">
|
|
|
|
|
+ and NET_SPOT3_NO = #{netSpot3No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null and netSpot3Name != ''">
|
|
|
|
|
+ and NET_SPOT3_NAME = #{netSpot3Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null and netClass != ''">
|
|
|
|
|
+ and NET_CLASS = #{netClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null and netGroup != ''">
|
|
|
|
|
+ and NET_GROUP = #{netGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null and netMode != ''">
|
|
|
|
|
+ and NET_MODE = #{netMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
|
|
+ and VALUE_FLAG = #{valueFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null and uploadFlag != ''">
|
|
|
|
|
+ and UPLOAD_FLAG = #{uploadFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null and checkManNo != ''">
|
|
|
|
|
+ and CHECK_MAN_NO = #{checkManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null and checkManName != ''">
|
|
|
|
|
+ and CHECK_MAN_NAME = #{checkManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ and TO_CHAR(CHECK_TIME,'yyyy-MM-dd') = #{checkTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null and uploadManNo != ''">
|
|
|
|
|
+ and UPLOAD_MAN_NO = #{uploadManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null and uploadManName != ''">
|
|
|
|
|
+ and UPLOAD_MAN_NAME = #{uploadManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ and TO_CHAR(UPLOAD_TIME,'yyyy-MM-dd') = #{uploadTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null and sampleNo != ''">
|
|
|
|
|
+ and SAMPLE_NO = #{sampleNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null and railwayTypeNo != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NO = #{railwayTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null and railwayTypeName != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NAME = #{railwayTypeName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null and memo != ''">
|
|
|
|
|
+ and MEMO = #{memo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ and WATER_NUM = #{waterNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null and arrival != ''">
|
|
|
|
|
+ and ARRIVAL = #{arrival}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null and station != ''">
|
|
|
|
|
+ and STATION = #{station}
|
|
|
|
|
+ </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="sourceArea != null and sourceArea != ''">
|
|
|
|
|
+ and SOURCE_AREA = #{sourceArea}
|
|
|
|
|
+ </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="amountUnit != null and amountUnit != ''">
|
|
|
|
|
+ and AMOUNT_UNIT = #{amountUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null and measureObjectType != ''">
|
|
|
|
|
+ and MEASURE_OBJECT_TYPE = #{measureObjectType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null and measureTaskNum != ''">
|
|
|
|
|
+ and MEASURE_TASK_NUM = #{measureTaskNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null and billType != ''">
|
|
|
|
|
+ and BILL_TYPE = #{billType}
|
|
|
|
|
+ </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="dataSource != null and dataSource != ''">
|
|
|
|
|
+ and DATA_SOURCE = #{dataSource}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null and note != ''">
|
|
|
|
|
+ and NOTE = #{note}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null and isPreSacale != ''">
|
|
|
|
|
+ and IS_PRE_SACALE = #{isPreSacale}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </where>
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <sql id="whereLike">
|
|
|
|
|
+ <where>
|
|
|
|
|
+ <if test="actualNo != null and actualNo != ''">
|
|
|
|
|
+ and ACTUAL_NO LIKE '%${actualNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionNo != null and predictionNo != ''">
|
|
|
|
|
+ and PREDICTION_NO LIKE '%${predictionNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null and noticeNo != ''">
|
|
|
|
|
+ and NOTICE_NO LIKE '%${noticeNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO LIKE '%${railwayNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null and railwayCarriageNo != ''">
|
|
|
|
|
+ and RAILWAY_CARRIAGE_NO LIKE '%${railwayCarriageNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null and matterNo != ''">
|
|
|
|
|
+ and MATTER_NO LIKE '%${matterNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null and matterName != ''">
|
|
|
|
|
+ and MATTER_NAME LIKE '%${matterName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null and contractNo != ''">
|
|
|
|
|
+ and CONTRACT_NO LIKE '%${contractNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null and batchNo != ''">
|
|
|
|
|
+ and BATCH_NO LIKE '%${batchNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null and customerSupplierNo != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NO LIKE '%${customerSupplierNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null and customerSupplierName != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NAME LIKE '%${customerSupplierName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null and forwardingUnitNo != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NO LIKE '%${forwardingUnitNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null and forwardingUnitName != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NAME LIKE '%${forwardingUnitName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null and receivingUintNo != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NO LIKE '%${receivingUintNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null and receivingUintName != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NAME LIKE '%${receivingUintName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null and materialNo != ''">
|
|
|
|
|
+ and MATERIAL_NO LIKE '%${materialNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null and materialName != ''">
|
|
|
|
|
+ and MATERIAL_NAME LIKE '%${materialName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null and specNo != ''">
|
|
|
|
|
+ and SPEC_NO LIKE '%${specNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null and specName != ''">
|
|
|
|
|
+ and SPEC_NAME LIKE '%${specName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null and loadPointNo != ''">
|
|
|
|
|
+ and LOAD_POINT_NO LIKE '%${loadPointNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null and loadPointName != ''">
|
|
|
|
|
+ and LOAD_POINT_NAME LIKE '%${loadPointName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null and sampleVoucher != ''">
|
|
|
|
|
+ and SAMPLE_VOUCHER LIKE '%${sampleVoucher}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null and carrierUnitNo != ''">
|
|
|
|
|
+ and CARRIER_UNIT_NO LIKE '%${carrierUnitNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null and carrierUnitName != ''">
|
|
|
|
|
+ and CARRIER_UNIT_NAME LIKE '%${carrierUnitName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null and meterTypeNo != ''">
|
|
|
|
|
+ and METER_TYPE_NO LIKE '%${meterTypeNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null and meterTypeName != ''">
|
|
|
|
|
+ and METER_TYPE_NAME LIKE '%${meterTypeName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null and meterProcessNo != ''">
|
|
|
|
|
+ and METER_PROCESS_NO LIKE '%${meterProcessNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null and meterProcessEditionNo != ''">
|
|
|
|
|
+ and METER_PROCESS_EDITION_NO LIKE '%${meterProcessEditionNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst1No != null and actualFirst1No != ''">
|
|
|
|
|
+ and ACTUAL_FIRST1_NO LIKE '%${actualFirst1No}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ and GROSS_WEIGHT = #{grossWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null and grossManNo != ''">
|
|
|
|
|
+ and GROSS_MAN_NO LIKE '%${grossManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null and grossManName != ''">
|
|
|
|
|
+ and GROSS_MAN_NAME LIKE '%${grossManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ and TO_CHAR(GROSS_TIME,'yyyy-MM-dd') = #{grossTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null and baseSpot1No != ''">
|
|
|
|
|
+ and BASE_SPOT1_NO LIKE '%${baseSpot1No}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null and baseSpot1Name != ''">
|
|
|
|
|
+ and BASE_SPOT1_NAME LIKE '%${baseSpot1Name}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null and grossClass != ''">
|
|
|
|
|
+ and GROSS_CLASS LIKE '%${grossClass}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null and grossGroup != ''">
|
|
|
|
|
+ and GROSS_GROUP LIKE '%${grossGroup}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null and grossMode != ''">
|
|
|
|
|
+ and GROSS_MODE LIKE '%${grossMode}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null and actualFirst2No != ''">
|
|
|
|
|
+ and ACTUAL_FIRST2_NO LIKE '%${actualFirst2No}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ and TARE_WEIGHT = #{tareWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null and tareManNo != ''">
|
|
|
|
|
+ and TARE_MAN_NO LIKE '%${tareManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null and tareManName != ''">
|
|
|
|
|
+ and TARE_MAN_NAME LIKE '%${tareManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ and TO_CHAR(TARE_TIME,'yyyy-MM-dd') = #{tareTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null and baseSpot2No != ''">
|
|
|
|
|
+ and BASE_SPOT2_NO LIKE '%${baseSpot2No}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null and baseSpot2Name != ''">
|
|
|
|
|
+ and BASE_SPOT2_NAME LIKE '%${baseSpot2Name}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null and tareClass != ''">
|
|
|
|
|
+ and TARE_CLASS LIKE '%${tareClass}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null and tareGroup != ''">
|
|
|
|
|
+ and TARE_GROUP LIKE '%${tareGroup}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null and tareMode != ''">
|
|
|
|
|
+ and TARE_MODE LIKE '%${tareMode}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ and NET_WEIGHT = #{netWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null and netManNo != ''">
|
|
|
|
|
+ and NET_MAN_NO LIKE '%${netManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null and netManName != ''">
|
|
|
|
|
+ and NET_MAN_NAME LIKE '%${netManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ and TO_CHAR(NET_TIME,'yyyy-MM-dd') = #{netTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null and netSpot3No != ''">
|
|
|
|
|
+ and NET_SPOT3_NO LIKE '%${netSpot3No}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null and netSpot3Name != ''">
|
|
|
|
|
+ and NET_SPOT3_NAME LIKE '%${netSpot3Name}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null and netClass != ''">
|
|
|
|
|
+ and NET_CLASS LIKE '%${netClass}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null and netGroup != ''">
|
|
|
|
|
+ and NET_GROUP LIKE '%${netGroup}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null and netMode != ''">
|
|
|
|
|
+ and NET_MODE LIKE '%${netMode}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
|
|
+ and VALUE_FLAG LIKE '%${valueFlag}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null and uploadFlag != ''">
|
|
|
|
|
+ and UPLOAD_FLAG LIKE '%${uploadFlag}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null and checkManNo != ''">
|
|
|
|
|
+ and CHECK_MAN_NO LIKE '%${checkManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null and checkManName != ''">
|
|
|
|
|
+ and CHECK_MAN_NAME LIKE '%${checkManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ and TO_CHAR(CHECK_TIME,'yyyy-MM-dd') = #{checkTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null and uploadManNo != ''">
|
|
|
|
|
+ and UPLOAD_MAN_NO LIKE '%${uploadManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null and uploadManName != ''">
|
|
|
|
|
+ and UPLOAD_MAN_NAME LIKE '%${uploadManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ and TO_CHAR(UPLOAD_TIME,'yyyy-MM-dd') = #{uploadTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null and sampleNo != ''">
|
|
|
|
|
+ and SAMPLE_NO LIKE '%${sampleNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null and railwayTypeNo != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NO LIKE '%${railwayTypeNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null and railwayTypeName != ''">
|
|
|
|
|
+ and RAILWAY_TYPE_NAME LIKE '%${railwayTypeName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null and memo != ''">
|
|
|
|
|
+ and MEMO LIKE '%${memo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ and WATER_NUM = #{waterNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null and arrival != ''">
|
|
|
|
|
+ and ARRIVAL LIKE '%${arrival}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null and station != ''">
|
|
|
|
|
+ and STATION LIKE '%${station}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null and updateManNo != ''">
|
|
|
|
|
+ and UPDATE_MAN_NO LIKE '%${updateManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null and updateManName != ''">
|
|
|
|
|
+ and UPDATE_MAN_NAME LIKE '%${updateManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null and sourceArea != ''">
|
|
|
|
|
+ and SOURCE_AREA LIKE '%${sourceArea}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null and voucherIdentity != ''">
|
|
|
|
|
+ and VOUCHER_IDENTITY LIKE '%${voucherIdentity}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null and voucherItem != ''">
|
|
|
|
|
+ and VOUCHER_ITEM LIKE '%${voucherItem}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null and businessGroup != ''">
|
|
|
|
|
+ and BUSINESS_GROUP LIKE '%${businessGroup}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null and tempConveyance != ''">
|
|
|
|
|
+ and TEMP_CONVEYANCE LIKE '%${tempConveyance}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null and conveyanceType != ''">
|
|
|
|
|
+ and CONVEYANCE_TYPE LIKE '%${conveyanceType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null and resourceSystem != ''">
|
|
|
|
|
+ and RESOURCE_SYSTEM LIKE '%${resourceSystem}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ and GROUP_PACKAGE_AMOUNT = #{groupPackageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null and groupPackageUnit != ''">
|
|
|
|
|
+ and GROUP_PACKAGE_UNIT LIKE '%${groupPackageUnit}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ and PACKAGE_AMOUNT = #{packageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null and packageUnit != ''">
|
|
|
|
|
+ and PACKAGE_UNIT LIKE '%${packageUnit}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ and THEORY_AMOUNT = #{theoryAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null and measureBatch != ''">
|
|
|
|
|
+ and MEASURE_BATCH LIKE '%${measureBatch}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ and MEASURE_BATCH_COUNT = #{measureBatchCount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null and senderType != ''">
|
|
|
|
|
+ and SENDER_TYPE LIKE '%${senderType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null and senderRemark != ''">
|
|
|
|
|
+ and SENDER_REMARK LIKE '%${senderRemark}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null and receiverType != ''">
|
|
|
|
|
+ and RECEIVER_TYPE LIKE '%${receiverType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null and receiverRemark != ''">
|
|
|
|
|
+ and RECEIVER_REMARK LIKE '%${receiverRemark}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null and amountUnit != ''">
|
|
|
|
|
+ and AMOUNT_UNIT LIKE '%${amountUnit}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null and measureObjectType != ''">
|
|
|
|
|
+ and MEASURE_OBJECT_TYPE LIKE '%${measureObjectType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null and measureTaskNum != ''">
|
|
|
|
|
+ and MEASURE_TASK_NUM LIKE '%${measureTaskNum}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null and billType != ''">
|
|
|
|
|
+ and BILL_TYPE LIKE '%${billType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
|
|
+ and CREATE_MAN_NAME LIKE '%${createManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null and dataSource != ''">
|
|
|
|
|
+ and DATA_SOURCE LIKE '%${dataSource}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null and note != ''">
|
|
|
|
|
+ and NOTE LIKE '%${note}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null and isPreSacale != ''">
|
|
|
|
|
+ and IS_PRE_SACALE LIKE '%${isPreSacale}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </where>
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
|
|
+ delete from METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </delete>
|
|
|
|
|
+ <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
|
|
|
|
|
+ delete from METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ where 1!=1
|
|
|
|
|
+ <if test="predictionNo != null and predictionNo != ''">
|
|
|
|
|
+ or PREDICTION_NO = #{predictionNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null and noticeNo != ''">
|
|
|
|
|
+ or NOTICE_NO = #{noticeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ or RAILWAY_NO = #{railwayNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null and railwayCarriageNo != ''">
|
|
|
|
|
+ or RAILWAY_CARRIAGE_NO = #{railwayCarriageNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null and matterNo != ''">
|
|
|
|
|
+ or MATTER_NO = #{matterNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null and matterName != ''">
|
|
|
|
|
+ or MATTER_NAME = #{matterName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null and contractNo != ''">
|
|
|
|
|
+ or CONTRACT_NO = #{contractNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null and batchNo != ''">
|
|
|
|
|
+ or BATCH_NO = #{batchNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null and customerSupplierNo != ''">
|
|
|
|
|
+ or CUSTOMER_SUPPLIER_NO = #{customerSupplierNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null and customerSupplierName != ''">
|
|
|
|
|
+ or CUSTOMER_SUPPLIER_NAME = #{customerSupplierName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null and forwardingUnitNo != ''">
|
|
|
|
|
+ or FORWARDING_UNIT_NO = #{forwardingUnitNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null and forwardingUnitName != ''">
|
|
|
|
|
+ or FORWARDING_UNIT_NAME = #{forwardingUnitName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null and receivingUintNo != ''">
|
|
|
|
|
+ or RECEIVING_UINT_NO = #{receivingUintNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null and receivingUintName != ''">
|
|
|
|
|
+ or RECEIVING_UINT_NAME = #{receivingUintName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null and materialNo != ''">
|
|
|
|
|
+ or MATERIAL_NO = #{materialNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null and materialName != ''">
|
|
|
|
|
+ or MATERIAL_NAME = #{materialName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null and specNo != ''">
|
|
|
|
|
+ or SPEC_NO = #{specNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null and specName != ''">
|
|
|
|
|
+ or SPEC_NAME = #{specName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null and loadPointNo != ''">
|
|
|
|
|
+ or LOAD_POINT_NO = #{loadPointNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null and loadPointName != ''">
|
|
|
|
|
+ or LOAD_POINT_NAME = #{loadPointName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null and sampleVoucher != ''">
|
|
|
|
|
+ or SAMPLE_VOUCHER = #{sampleVoucher}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null and carrierUnitNo != ''">
|
|
|
|
|
+ or CARRIER_UNIT_NO = #{carrierUnitNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null and carrierUnitName != ''">
|
|
|
|
|
+ or CARRIER_UNIT_NAME = #{carrierUnitName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null and meterTypeNo != ''">
|
|
|
|
|
+ or METER_TYPE_NO = #{meterTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null and meterTypeName != ''">
|
|
|
|
|
+ or METER_TYPE_NAME = #{meterTypeName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null and meterProcessNo != ''">
|
|
|
|
|
+ or METER_PROCESS_NO = #{meterProcessNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null and meterProcessEditionNo != ''">
|
|
|
|
|
+ or METER_PROCESS_EDITION_NO = #{meterProcessEditionNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst1No != null and actualFirst1No != ''">
|
|
|
|
|
+ or ACTUAL_FIRST1_NO = #{actualFirst1No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ or GROSS_WEIGHT = #{grossWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null and grossManNo != ''">
|
|
|
|
|
+ or GROSS_MAN_NO = #{grossManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null and grossManName != ''">
|
|
|
|
|
+ or GROSS_MAN_NAME = #{grossManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ or TO_CHAR(GROSS_TIME,'yyyy-MM-dd') = '#{grossTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null and baseSpot1No != ''">
|
|
|
|
|
+ or BASE_SPOT1_NO = #{baseSpot1No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null and baseSpot1Name != ''">
|
|
|
|
|
+ or BASE_SPOT1_NAME = #{baseSpot1Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null and grossClass != ''">
|
|
|
|
|
+ or GROSS_CLASS = #{grossClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null and grossGroup != ''">
|
|
|
|
|
+ or GROSS_GROUP = #{grossGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null and grossMode != ''">
|
|
|
|
|
+ or GROSS_MODE = #{grossMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null and actualFirst2No != ''">
|
|
|
|
|
+ or ACTUAL_FIRST2_NO = #{actualFirst2No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ or TARE_WEIGHT = #{tareWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null and tareManNo != ''">
|
|
|
|
|
+ or TARE_MAN_NO = #{tareManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null and tareManName != ''">
|
|
|
|
|
+ or TARE_MAN_NAME = #{tareManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ or TO_CHAR(TARE_TIME,'yyyy-MM-dd') = '#{tareTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null and baseSpot2No != ''">
|
|
|
|
|
+ or BASE_SPOT2_NO = #{baseSpot2No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null and baseSpot2Name != ''">
|
|
|
|
|
+ or BASE_SPOT2_NAME = #{baseSpot2Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null and tareClass != ''">
|
|
|
|
|
+ or TARE_CLASS = #{tareClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null and tareGroup != ''">
|
|
|
|
|
+ or TARE_GROUP = #{tareGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null and tareMode != ''">
|
|
|
|
|
+ or TARE_MODE = #{tareMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ or NET_WEIGHT = #{netWeight}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null and netManNo != ''">
|
|
|
|
|
+ or NET_MAN_NO = #{netManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null and netManName != ''">
|
|
|
|
|
+ or NET_MAN_NAME = #{netManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ or TO_CHAR(NET_TIME,'yyyy-MM-dd') = '#{netTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null and netSpot3No != ''">
|
|
|
|
|
+ or NET_SPOT3_NO = #{netSpot3No}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null and netSpot3Name != ''">
|
|
|
|
|
+ or NET_SPOT3_NAME = #{netSpot3Name}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null and netClass != ''">
|
|
|
|
|
+ or NET_CLASS = #{netClass}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null and netGroup != ''">
|
|
|
|
|
+ or NET_GROUP = #{netGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null and netMode != ''">
|
|
|
|
|
+ or NET_MODE = #{netMode}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
|
|
+ or VALUE_FLAG = #{valueFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null and uploadFlag != ''">
|
|
|
|
|
+ or UPLOAD_FLAG = #{uploadFlag}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null and checkManNo != ''">
|
|
|
|
|
+ or CHECK_MAN_NO = #{checkManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null and checkManName != ''">
|
|
|
|
|
+ or CHECK_MAN_NAME = #{checkManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ or TO_CHAR(CHECK_TIME,'yyyy-MM-dd') = '#{checkTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null and uploadManNo != ''">
|
|
|
|
|
+ or UPLOAD_MAN_NO = #{uploadManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null and uploadManName != ''">
|
|
|
|
|
+ or UPLOAD_MAN_NAME = #{uploadManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ or TO_CHAR(UPLOAD_TIME,'yyyy-MM-dd') = '#{uploadTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null and sampleNo != ''">
|
|
|
|
|
+ or SAMPLE_NO = #{sampleNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null and railwayTypeNo != ''">
|
|
|
|
|
+ or RAILWAY_TYPE_NO = #{railwayTypeNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null and railwayTypeName != ''">
|
|
|
|
|
+ or RAILWAY_TYPE_NAME = #{railwayTypeName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null and memo != ''">
|
|
|
|
|
+ or MEMO = #{memo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ or WATER_NUM = #{waterNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null and arrival != ''">
|
|
|
|
|
+ or ARRIVAL = #{arrival}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null and station != ''">
|
|
|
|
|
+ or STATION = #{station}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null and updateManNo != ''">
|
|
|
|
|
+ or UPDATE_MAN_NO = #{updateManNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null and updateManName != ''">
|
|
|
|
|
+ or UPDATE_MAN_NAME = #{updateManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null and sourceArea != ''">
|
|
|
|
|
+ or SOURCE_AREA = #{sourceArea}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null and voucherIdentity != ''">
|
|
|
|
|
+ or VOUCHER_IDENTITY = #{voucherIdentity}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null and voucherItem != ''">
|
|
|
|
|
+ or VOUCHER_ITEM = #{voucherItem}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null and businessGroup != ''">
|
|
|
|
|
+ or BUSINESS_GROUP = #{businessGroup}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null and tempConveyance != ''">
|
|
|
|
|
+ or TEMP_CONVEYANCE = #{tempConveyance}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null and conveyanceType != ''">
|
|
|
|
|
+ or CONVEYANCE_TYPE = #{conveyanceType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null and resourceSystem != ''">
|
|
|
|
|
+ or RESOURCE_SYSTEM = #{resourceSystem}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ or GROUP_PACKAGE_AMOUNT = #{groupPackageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null and groupPackageUnit != ''">
|
|
|
|
|
+ or GROUP_PACKAGE_UNIT = #{groupPackageUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ or PACKAGE_AMOUNT = #{packageAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null and packageUnit != ''">
|
|
|
|
|
+ or PACKAGE_UNIT = #{packageUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ or THEORY_AMOUNT = #{theoryAmount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null and measureBatch != ''">
|
|
|
|
|
+ or MEASURE_BATCH = #{measureBatch}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ or MEASURE_BATCH_COUNT = #{measureBatchCount}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null and senderType != ''">
|
|
|
|
|
+ or SENDER_TYPE = #{senderType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null and senderRemark != ''">
|
|
|
|
|
+ or SENDER_REMARK = #{senderRemark}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null and receiverType != ''">
|
|
|
|
|
+ or RECEIVER_TYPE = #{receiverType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null and receiverRemark != ''">
|
|
|
|
|
+ or RECEIVER_REMARK = #{receiverRemark}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null and amountUnit != ''">
|
|
|
|
|
+ or AMOUNT_UNIT = #{amountUnit}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null and measureObjectType != ''">
|
|
|
|
|
+ or MEASURE_OBJECT_TYPE = #{measureObjectType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null and measureTaskNum != ''">
|
|
|
|
|
+ or MEASURE_TASK_NUM = #{measureTaskNum}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null and billType != ''">
|
|
|
|
|
+ or BILL_TYPE = #{billType}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
|
|
+ or CREATE_MAN_NAME = #{createManName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ or TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null and dataSource != ''">
|
|
|
|
|
+ or DATA_SOURCE = #{dataSource}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null and note != ''">
|
|
|
|
|
+ or NOTE = #{note}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null and isPreSacale != ''">
|
|
|
|
|
+ or IS_PRE_SACALE = #{isPreSacale}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </delete>
|
|
|
|
|
+ <insert id="insert" parameterType="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.model.MeterWorkMeasuringInstrumentSecond">
|
|
|
|
|
+ insert into METER_WORK_MEASURING_INSTRUMENT_SECOND (ACTUAL_NO, PREDICTION_NO, NOTICE_NO,
|
|
|
|
|
+ RAILWAY_NO, RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
|
|
|
+ MATTER_NAME, CONTRACT_NO, BATCH_NO,
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NO, CUSTOMER_SUPPLIER_NAME,
|
|
|
|
|
+ FORWARDING_UNIT_NO, FORWARDING_UNIT_NAME, RECEIVING_UINT_NO,
|
|
|
|
|
+ RECEIVING_UINT_NAME, MATERIAL_NO, MATERIAL_NAME,
|
|
|
|
|
+ SPEC_NO, SPEC_NAME, LOAD_POINT_NO,
|
|
|
|
|
+ LOAD_POINT_NAME, SAMPLE_VOUCHER, CARRIER_UNIT_NO,
|
|
|
|
|
+ CARRIER_UNIT_NAME, METER_TYPE_NO, METER_TYPE_NAME,
|
|
|
|
|
+ METER_PROCESS_NO, METER_PROCESS_EDITION_NO,
|
|
|
|
|
+ ACTUAL_FIRST1_NO, GROSS_WEIGHT, GROSS_MAN_NO,
|
|
|
|
|
+ GROSS_MAN_NAME, GROSS_TIME, BASE_SPOT1_NO,
|
|
|
|
|
+ BASE_SPOT1_NAME, GROSS_CLASS, GROSS_GROUP,
|
|
|
|
|
+ GROSS_MODE, ACTUAL_FIRST2_NO, TARE_WEIGHT,
|
|
|
|
|
+ TARE_MAN_NO, TARE_MAN_NAME, TARE_TIME,
|
|
|
|
|
+ BASE_SPOT2_NO, BASE_SPOT2_NAME, TARE_CLASS,
|
|
|
|
|
+ TARE_GROUP, TARE_MODE, NET_WEIGHT,
|
|
|
|
|
+ NET_MAN_NO, NET_MAN_NAME, NET_TIME,
|
|
|
|
|
+ NET_SPOT3_NO, NET_SPOT3_NAME, NET_CLASS,
|
|
|
|
|
+ NET_GROUP, NET_MODE, VALUE_FLAG,
|
|
|
|
|
+ UPLOAD_FLAG, CHECK_MAN_NO, CHECK_MAN_NAME,
|
|
|
|
|
+ CHECK_TIME, UPLOAD_MAN_NO, UPLOAD_MAN_NAME,
|
|
|
|
|
+ UPLOAD_TIME, SAMPLE_NO, RAILWAY_TYPE_NO,
|
|
|
|
|
+ RAILWAY_TYPE_NAME, MEMO, WATER_NUM,
|
|
|
|
|
+ ARRIVAL, STATION, UPDATE_MAN_NO,
|
|
|
|
|
+ UPDATE_MAN_NAME, UPDATE_TIME, SOURCE_AREA,
|
|
|
|
|
+ VOUCHER_IDENTITY, VOUCHER_ITEM, BUSINESS_GROUP,
|
|
|
|
|
+ TEMP_CONVEYANCE, CONVEYANCE_TYPE, RESOURCE_SYSTEM,
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT, GROUP_PACKAGE_UNIT, PACKAGE_AMOUNT,
|
|
|
|
|
+ PACKAGE_UNIT, THEORY_AMOUNT, MEASURE_BATCH,
|
|
|
|
|
+ MEASURE_BATCH_COUNT, SENDER_TYPE, SENDER_REMARK,
|
|
|
|
|
+ RECEIVER_TYPE, RECEIVER_REMARK, AMOUNT_UNIT,
|
|
|
|
|
+ MEASURE_OBJECT_TYPE, MEASURE_TASK_NUM, BILL_TYPE,
|
|
|
|
|
+ CREATE_MAN_NAME, CREATE_TIME, DATA_SOURCE,
|
|
|
|
|
+ NOTE, IS_PRE_SACALE)
|
|
|
|
|
+ values (#{actualNo,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, #{noticeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{railwayNo,jdbcType=VARCHAR}, #{railwayCarriageNo,jdbcType=VARCHAR}, #{matterNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{matterName,jdbcType=VARCHAR}, #{contractNo,jdbcType=VARCHAR}, #{batchNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{customerSupplierNo,jdbcType=VARCHAR}, #{customerSupplierName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{forwardingUnitNo,jdbcType=VARCHAR}, #{forwardingUnitName,jdbcType=VARCHAR}, #{receivingUintNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{receivingUintName,jdbcType=VARCHAR}, #{materialNo,jdbcType=VARCHAR}, #{materialName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{specNo,jdbcType=VARCHAR}, #{specName,jdbcType=VARCHAR}, #{loadPointNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{loadPointName,jdbcType=VARCHAR}, #{sampleVoucher,jdbcType=VARCHAR}, #{carrierUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{carrierUnitName,jdbcType=VARCHAR}, #{meterTypeNo,jdbcType=VARCHAR}, #{meterTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{meterProcessNo,jdbcType=VARCHAR}, #{meterProcessEditionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{actualFirst1No,jdbcType=VARCHAR}, #{grossWeight,jdbcType=DECIMAL}, #{grossManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{grossManName,jdbcType=VARCHAR}, #{grossTime,jdbcType=TIMESTAMP}, #{baseSpot1No,jdbcType=VARCHAR},
|
|
|
|
|
+ #{baseSpot1Name,jdbcType=VARCHAR}, #{grossClass,jdbcType=VARCHAR}, #{grossGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ #{grossMode,jdbcType=VARCHAR}, #{actualFirst2No,jdbcType=VARCHAR}, #{tareWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ #{tareManNo,jdbcType=VARCHAR}, #{tareManName,jdbcType=VARCHAR}, #{tareTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{baseSpot2No,jdbcType=VARCHAR}, #{baseSpot2Name,jdbcType=VARCHAR}, #{tareClass,jdbcType=VARCHAR},
|
|
|
|
|
+ #{tareGroup,jdbcType=VARCHAR}, #{tareMode,jdbcType=VARCHAR}, #{netWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ #{netManNo,jdbcType=VARCHAR}, #{netManName,jdbcType=VARCHAR}, #{netTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{netSpot3No,jdbcType=VARCHAR}, #{netSpot3Name,jdbcType=VARCHAR}, #{netClass,jdbcType=VARCHAR},
|
|
|
|
|
+ #{netGroup,jdbcType=VARCHAR}, #{netMode,jdbcType=VARCHAR}, #{valueFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ #{uploadFlag,jdbcType=VARCHAR}, #{checkManNo,jdbcType=VARCHAR}, #{checkManName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{checkTime,jdbcType=TIMESTAMP}, #{uploadManNo,jdbcType=VARCHAR}, #{uploadManName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{uploadTime,jdbcType=TIMESTAMP}, #{sampleNo,jdbcType=VARCHAR}, #{railwayTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{railwayTypeName,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, #{waterNum,jdbcType=DECIMAL},
|
|
|
|
|
+ #{arrival,jdbcType=VARCHAR}, #{station,jdbcType=VARCHAR}, #{updateManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{sourceArea,jdbcType=VARCHAR},
|
|
|
|
|
+ #{voucherIdentity,jdbcType=VARCHAR}, #{voucherItem,jdbcType=VARCHAR}, #{businessGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ #{tempConveyance,jdbcType=VARCHAR}, #{conveyanceType,jdbcType=VARCHAR}, #{resourceSystem,jdbcType=VARCHAR},
|
|
|
|
|
+ #{groupPackageAmount,jdbcType=DECIMAL}, #{groupPackageUnit,jdbcType=VARCHAR}, #{packageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ #{packageUnit,jdbcType=VARCHAR}, #{theoryAmount,jdbcType=DECIMAL}, #{measureBatch,jdbcType=VARCHAR},
|
|
|
|
|
+ #{measureBatchCount,jdbcType=DECIMAL}, #{senderType,jdbcType=VARCHAR}, #{senderRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ #{receiverType,jdbcType=VARCHAR}, #{receiverRemark,jdbcType=VARCHAR}, #{amountUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ #{measureObjectType,jdbcType=VARCHAR}, #{measureTaskNum,jdbcType=VARCHAR}, #{billType,jdbcType=VARCHAR},
|
|
|
|
|
+ #{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{dataSource,jdbcType=VARCHAR},
|
|
|
|
|
+ #{note,jdbcType=VARCHAR}, #{isPreSacale,jdbcType=VARCHAR})
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <insert id="insertSelective" parameterType="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.model.MeterWorkMeasuringInstrumentSecond">
|
|
|
|
|
+ insert into METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="actualNo != null">
|
|
|
|
|
+ ACTUAL_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionNo != null">
|
|
|
|
|
+ PREDICTION_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null">
|
|
|
|
|
+ NOTICE_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null">
|
|
|
|
|
+ RAILWAY_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null">
|
|
|
|
|
+ RAILWAY_CARRIAGE_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null">
|
|
|
|
|
+ MATTER_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null">
|
|
|
|
|
+ MATTER_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null">
|
|
|
|
|
+ CONTRACT_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null">
|
|
|
|
|
+ BATCH_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null">
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null">
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null">
|
|
|
|
|
+ FORWARDING_UNIT_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null">
|
|
|
|
|
+ FORWARDING_UNIT_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null">
|
|
|
|
|
+ RECEIVING_UINT_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null">
|
|
|
|
|
+ RECEIVING_UINT_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null">
|
|
|
|
|
+ MATERIAL_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null">
|
|
|
|
|
+ MATERIAL_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null">
|
|
|
|
|
+ SPEC_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null">
|
|
|
|
|
+ SPEC_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null">
|
|
|
|
|
+ LOAD_POINT_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null">
|
|
|
|
|
+ LOAD_POINT_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null">
|
|
|
|
|
+ SAMPLE_VOUCHER,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null">
|
|
|
|
|
+ CARRIER_UNIT_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null">
|
|
|
|
|
+ CARRIER_UNIT_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null">
|
|
|
|
|
+ METER_TYPE_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null">
|
|
|
|
|
+ METER_TYPE_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null">
|
|
|
|
|
+ METER_PROCESS_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null">
|
|
|
|
|
+ METER_PROCESS_EDITION_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst1No != null">
|
|
|
|
|
+ ACTUAL_FIRST1_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ GROSS_WEIGHT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null">
|
|
|
|
|
+ GROSS_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null">
|
|
|
|
|
+ GROSS_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ GROSS_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null">
|
|
|
|
|
+ BASE_SPOT1_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null">
|
|
|
|
|
+ BASE_SPOT1_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null">
|
|
|
|
|
+ GROSS_CLASS,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null">
|
|
|
|
|
+ GROSS_GROUP,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null">
|
|
|
|
|
+ GROSS_MODE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null">
|
|
|
|
|
+ ACTUAL_FIRST2_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ TARE_WEIGHT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null">
|
|
|
|
|
+ TARE_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null">
|
|
|
|
|
+ TARE_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ TARE_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null">
|
|
|
|
|
+ BASE_SPOT2_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null">
|
|
|
|
|
+ BASE_SPOT2_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null">
|
|
|
|
|
+ TARE_CLASS,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null">
|
|
|
|
|
+ TARE_GROUP,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null">
|
|
|
|
|
+ TARE_MODE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ NET_WEIGHT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null">
|
|
|
|
|
+ NET_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null">
|
|
|
|
|
+ NET_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ NET_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null">
|
|
|
|
|
+ NET_SPOT3_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null">
|
|
|
|
|
+ NET_SPOT3_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null">
|
|
|
|
|
+ NET_CLASS,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null">
|
|
|
|
|
+ NET_GROUP,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null">
|
|
|
|
|
+ NET_MODE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null">
|
|
|
|
|
+ VALUE_FLAG,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null">
|
|
|
|
|
+ UPLOAD_FLAG,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null">
|
|
|
|
|
+ CHECK_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null">
|
|
|
|
|
+ CHECK_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ CHECK_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null">
|
|
|
|
|
+ UPLOAD_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null">
|
|
|
|
|
+ UPLOAD_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ UPLOAD_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null">
|
|
|
|
|
+ SAMPLE_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null">
|
|
|
|
|
+ RAILWAY_TYPE_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null">
|
|
|
|
|
+ RAILWAY_TYPE_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null">
|
|
|
|
|
+ MEMO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ WATER_NUM,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null">
|
|
|
|
|
+ ARRIVAL,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null">
|
|
|
|
|
+ STATION,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null">
|
|
|
|
|
+ UPDATE_MAN_NO,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null">
|
|
|
|
|
+ UPDATE_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ UPDATE_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null">
|
|
|
|
|
+ SOURCE_AREA,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null">
|
|
|
|
|
+ VOUCHER_IDENTITY,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null">
|
|
|
|
|
+ VOUCHER_ITEM,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null">
|
|
|
|
|
+ BUSINESS_GROUP,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null">
|
|
|
|
|
+ TEMP_CONVEYANCE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null">
|
|
|
|
|
+ CONVEYANCE_TYPE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null">
|
|
|
|
|
+ RESOURCE_SYSTEM,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null">
|
|
|
|
|
+ GROUP_PACKAGE_UNIT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ PACKAGE_AMOUNT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null">
|
|
|
|
|
+ PACKAGE_UNIT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ THEORY_AMOUNT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null">
|
|
|
|
|
+ MEASURE_BATCH,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ MEASURE_BATCH_COUNT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null">
|
|
|
|
|
+ SENDER_TYPE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null">
|
|
|
|
|
+ SENDER_REMARK,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null">
|
|
|
|
|
+ RECEIVER_TYPE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null">
|
|
|
|
|
+ RECEIVER_REMARK,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null">
|
|
|
|
|
+ AMOUNT_UNIT,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null">
|
|
|
|
|
+ MEASURE_OBJECT_TYPE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null">
|
|
|
|
|
+ MEASURE_TASK_NUM,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null">
|
|
|
|
|
+ BILL_TYPE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null">
|
|
|
|
|
+ CREATE_MAN_NAME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ CREATE_TIME,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null">
|
|
|
|
|
+ DATA_SOURCE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null">
|
|
|
|
|
+ NOTE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null">
|
|
|
|
|
+ IS_PRE_SACALE,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="actualNo != null">
|
|
|
|
|
+ #{actualNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionNo != null">
|
|
|
|
|
+ #{predictionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null">
|
|
|
|
|
+ #{noticeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null">
|
|
|
|
|
+ #{railwayNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null">
|
|
|
|
|
+ #{railwayCarriageNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null">
|
|
|
|
|
+ #{matterNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null">
|
|
|
|
|
+ #{matterName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null">
|
|
|
|
|
+ #{contractNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null">
|
|
|
|
|
+ #{batchNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null">
|
|
|
|
|
+ #{customerSupplierNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null">
|
|
|
|
|
+ #{customerSupplierName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null">
|
|
|
|
|
+ #{forwardingUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null">
|
|
|
|
|
+ #{forwardingUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null">
|
|
|
|
|
+ #{receivingUintNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null">
|
|
|
|
|
+ #{receivingUintName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null">
|
|
|
|
|
+ #{materialNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null">
|
|
|
|
|
+ #{materialName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null">
|
|
|
|
|
+ #{specNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null">
|
|
|
|
|
+ #{specName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null">
|
|
|
|
|
+ #{loadPointNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null">
|
|
|
|
|
+ #{loadPointName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null">
|
|
|
|
|
+ #{sampleVoucher,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null">
|
|
|
|
|
+ #{carrierUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null">
|
|
|
|
|
+ #{carrierUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null">
|
|
|
|
|
+ #{meterTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null">
|
|
|
|
|
+ #{meterTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null">
|
|
|
|
|
+ #{meterProcessNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null">
|
|
|
|
|
+ #{meterProcessEditionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst1No != null">
|
|
|
|
|
+ #{actualFirst1No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ #{grossWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null">
|
|
|
|
|
+ #{grossManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null">
|
|
|
|
|
+ #{grossManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ #{grossTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null">
|
|
|
|
|
+ #{baseSpot1No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null">
|
|
|
|
|
+ #{baseSpot1Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null">
|
|
|
|
|
+ #{grossClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null">
|
|
|
|
|
+ #{grossGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null">
|
|
|
|
|
+ #{grossMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null">
|
|
|
|
|
+ #{actualFirst2No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ #{tareWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null">
|
|
|
|
|
+ #{tareManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null">
|
|
|
|
|
+ #{tareManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ #{tareTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null">
|
|
|
|
|
+ #{baseSpot2No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null">
|
|
|
|
|
+ #{baseSpot2Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null">
|
|
|
|
|
+ #{tareClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null">
|
|
|
|
|
+ #{tareGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null">
|
|
|
|
|
+ #{tareMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ #{netWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null">
|
|
|
|
|
+ #{netManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null">
|
|
|
|
|
+ #{netManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ #{netTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null">
|
|
|
|
|
+ #{netSpot3No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null">
|
|
|
|
|
+ #{netSpot3Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null">
|
|
|
|
|
+ #{netClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null">
|
|
|
|
|
+ #{netGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null">
|
|
|
|
|
+ #{netMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null">
|
|
|
|
|
+ #{valueFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null">
|
|
|
|
|
+ #{uploadFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null">
|
|
|
|
|
+ #{checkManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null">
|
|
|
|
|
+ #{checkManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ #{checkTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null">
|
|
|
|
|
+ #{uploadManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null">
|
|
|
|
|
+ #{uploadManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ #{uploadTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null">
|
|
|
|
|
+ #{sampleNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null">
|
|
|
|
|
+ #{railwayTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null">
|
|
|
|
|
+ #{railwayTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null">
|
|
|
|
|
+ #{memo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ #{waterNum,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null">
|
|
|
|
|
+ #{arrival,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null">
|
|
|
|
|
+ #{station,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null">
|
|
|
|
|
+ #{updateManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null">
|
|
|
|
|
+ #{updateManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null">
|
|
|
|
|
+ #{sourceArea,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null">
|
|
|
|
|
+ #{voucherIdentity,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null">
|
|
|
|
|
+ #{voucherItem,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null">
|
|
|
|
|
+ #{businessGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null">
|
|
|
|
|
+ #{tempConveyance,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null">
|
|
|
|
|
+ #{conveyanceType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null">
|
|
|
|
|
+ #{resourceSystem,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ #{groupPackageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null">
|
|
|
|
|
+ #{groupPackageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ #{packageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null">
|
|
|
|
|
+ #{packageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ #{theoryAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null">
|
|
|
|
|
+ #{measureBatch,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ #{measureBatchCount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null">
|
|
|
|
|
+ #{senderType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null">
|
|
|
|
|
+ #{senderRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null">
|
|
|
|
|
+ #{receiverType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null">
|
|
|
|
|
+ #{receiverRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null">
|
|
|
|
|
+ #{amountUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null">
|
|
|
|
|
+ #{measureObjectType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null">
|
|
|
|
|
+ #{measureTaskNum,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null">
|
|
|
|
|
+ #{billType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null">
|
|
|
|
|
+ #{createManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null">
|
|
|
|
|
+ #{dataSource,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null">
|
|
|
|
|
+ #{note,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null">
|
|
|
|
|
+ #{isPreSacale,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.model.MeterWorkMeasuringInstrumentSecond">
|
|
|
|
|
+ update METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ set PREDICTION_NO = #{predictionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ NOTICE_NO = #{noticeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ RAILWAY_NO = #{railwayNo,jdbcType=VARCHAR},
|
|
|
|
|
+ RAILWAY_CARRIAGE_NO = #{railwayCarriageNo,jdbcType=VARCHAR},
|
|
|
|
|
+ MATTER_NO = #{matterNo,jdbcType=VARCHAR},
|
|
|
|
|
+ MATTER_NAME = #{matterName,jdbcType=VARCHAR},
|
|
|
|
|
+ CONTRACT_NO = #{contractNo,jdbcType=VARCHAR},
|
|
|
|
|
+ BATCH_NO = #{batchNo,jdbcType=VARCHAR},
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NO = #{customerSupplierNo,jdbcType=VARCHAR},
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NAME = #{customerSupplierName,jdbcType=VARCHAR},
|
|
|
|
|
+ FORWARDING_UNIT_NO = #{forwardingUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ FORWARDING_UNIT_NAME = #{forwardingUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ RECEIVING_UINT_NO = #{receivingUintNo,jdbcType=VARCHAR},
|
|
|
|
|
+ RECEIVING_UINT_NAME = #{receivingUintName,jdbcType=VARCHAR},
|
|
|
|
|
+ MATERIAL_NO = #{materialNo,jdbcType=VARCHAR},
|
|
|
|
|
+ MATERIAL_NAME = #{materialName,jdbcType=VARCHAR},
|
|
|
|
|
+ SPEC_NO = #{specNo,jdbcType=VARCHAR},
|
|
|
|
|
+ SPEC_NAME = #{specName,jdbcType=VARCHAR},
|
|
|
|
|
+ LOAD_POINT_NO = #{loadPointNo,jdbcType=VARCHAR},
|
|
|
|
|
+ LOAD_POINT_NAME = #{loadPointName,jdbcType=VARCHAR},
|
|
|
|
|
+ SAMPLE_VOUCHER = #{sampleVoucher,jdbcType=VARCHAR},
|
|
|
|
|
+ CARRIER_UNIT_NO = #{carrierUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ CARRIER_UNIT_NAME = #{carrierUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ METER_TYPE_NO = #{meterTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ METER_TYPE_NAME = #{meterTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ METER_PROCESS_NO = #{meterProcessNo,jdbcType=VARCHAR},
|
|
|
|
|
+ METER_PROCESS_EDITION_NO = #{meterProcessEditionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ ACTUAL_FIRST1_NO = #{actualFirst1No,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_WEIGHT = #{grossWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ GROSS_MAN_NO = #{grossManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_MAN_NAME = #{grossManName,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_TIME = #{grossTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ BASE_SPOT1_NO = #{baseSpot1No,jdbcType=VARCHAR},
|
|
|
|
|
+ BASE_SPOT1_NAME = #{baseSpot1Name,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_CLASS = #{grossClass,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_GROUP = #{grossGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ GROSS_MODE = #{grossMode,jdbcType=VARCHAR},
|
|
|
|
|
+ ACTUAL_FIRST2_NO = #{actualFirst2No,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_WEIGHT = #{tareWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ TARE_MAN_NO = #{tareManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_MAN_NAME = #{tareManName,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_TIME = #{tareTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ BASE_SPOT2_NO = #{baseSpot2No,jdbcType=VARCHAR},
|
|
|
|
|
+ BASE_SPOT2_NAME = #{baseSpot2Name,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_CLASS = #{tareClass,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_GROUP = #{tareGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ TARE_MODE = #{tareMode,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_WEIGHT = #{netWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ NET_MAN_NO = #{netManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_MAN_NAME = #{netManName,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_TIME = #{netTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ NET_SPOT3_NO = #{netSpot3No,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_SPOT3_NAME = #{netSpot3Name,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_CLASS = #{netClass,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_GROUP = #{netGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ NET_MODE = #{netMode,jdbcType=VARCHAR},
|
|
|
|
|
+ VALUE_FLAG = #{valueFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ UPLOAD_FLAG = #{uploadFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ CHECK_MAN_NO = #{checkManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ CHECK_MAN_NAME = #{checkManName,jdbcType=VARCHAR},
|
|
|
|
|
+ CHECK_TIME = #{checkTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ UPLOAD_MAN_NO = #{uploadManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ UPLOAD_MAN_NAME = #{uploadManName,jdbcType=VARCHAR},
|
|
|
|
|
+ UPLOAD_TIME = #{uploadTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ SAMPLE_NO = #{sampleNo,jdbcType=VARCHAR},
|
|
|
|
|
+ RAILWAY_TYPE_NO = #{railwayTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ RAILWAY_TYPE_NAME = #{railwayTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ MEMO = #{memo,jdbcType=VARCHAR},
|
|
|
|
|
+ WATER_NUM = #{waterNum,jdbcType=DECIMAL},
|
|
|
|
|
+ ARRIVAL = #{arrival,jdbcType=VARCHAR},
|
|
|
|
|
+ STATION = #{station,jdbcType=VARCHAR},
|
|
|
|
|
+ UPDATE_MAN_NO = #{updateManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ UPDATE_MAN_NAME = #{updateManName,jdbcType=VARCHAR},
|
|
|
|
|
+ UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ SOURCE_AREA = #{sourceArea,jdbcType=VARCHAR},
|
|
|
|
|
+ VOUCHER_IDENTITY = #{voucherIdentity,jdbcType=VARCHAR},
|
|
|
|
|
+ VOUCHER_ITEM = #{voucherItem,jdbcType=VARCHAR},
|
|
|
|
|
+ BUSINESS_GROUP = #{businessGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ TEMP_CONVEYANCE = #{tempConveyance,jdbcType=VARCHAR},
|
|
|
|
|
+ CONVEYANCE_TYPE = #{conveyanceType,jdbcType=VARCHAR},
|
|
|
|
|
+ RESOURCE_SYSTEM = #{resourceSystem,jdbcType=VARCHAR},
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT = #{groupPackageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ GROUP_PACKAGE_UNIT = #{groupPackageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ PACKAGE_AMOUNT = #{packageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ PACKAGE_UNIT = #{packageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ THEORY_AMOUNT = #{theoryAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ MEASURE_BATCH = #{measureBatch,jdbcType=VARCHAR},
|
|
|
|
|
+ MEASURE_BATCH_COUNT = #{measureBatchCount,jdbcType=DECIMAL},
|
|
|
|
|
+ SENDER_TYPE = #{senderType,jdbcType=VARCHAR},
|
|
|
|
|
+ SENDER_REMARK = #{senderRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ RECEIVER_TYPE = #{receiverType,jdbcType=VARCHAR},
|
|
|
|
|
+ RECEIVER_REMARK = #{receiverRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ AMOUNT_UNIT = #{amountUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ MEASURE_OBJECT_TYPE = #{measureObjectType,jdbcType=VARCHAR},
|
|
|
|
|
+ MEASURE_TASK_NUM = #{measureTaskNum,jdbcType=VARCHAR},
|
|
|
|
|
+ BILL_TYPE = #{billType,jdbcType=VARCHAR},
|
|
|
|
|
+ CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
|
|
|
|
|
+ CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ DATA_SOURCE = #{dataSource,jdbcType=VARCHAR},
|
|
|
|
|
+ NOTE = #{note,jdbcType=VARCHAR},
|
|
|
|
|
+ IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR}
|
|
|
|
|
+ where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </update>
|
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.meterwork.meterworkmeasuringinstrumentsecond.model.MeterWorkMeasuringInstrumentSecond">
|
|
|
|
|
+ update METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="predictionNo != null">
|
|
|
|
|
+ PREDICTION_NO = #{predictionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null">
|
|
|
|
|
+ NOTICE_NO = #{noticeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null">
|
|
|
|
|
+ RAILWAY_NO = #{railwayNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null">
|
|
|
|
|
+ RAILWAY_CARRIAGE_NO = #{railwayCarriageNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null">
|
|
|
|
|
+ MATTER_NO = #{matterNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null">
|
|
|
|
|
+ MATTER_NAME = #{matterName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null">
|
|
|
|
|
+ CONTRACT_NO = #{contractNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null">
|
|
|
|
|
+ BATCH_NO = #{batchNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null">
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NO = #{customerSupplierNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null">
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NAME = #{customerSupplierName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null">
|
|
|
|
|
+ FORWARDING_UNIT_NO = #{forwardingUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null">
|
|
|
|
|
+ FORWARDING_UNIT_NAME = #{forwardingUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null">
|
|
|
|
|
+ RECEIVING_UINT_NO = #{receivingUintNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null">
|
|
|
|
|
+ RECEIVING_UINT_NAME = #{receivingUintName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null">
|
|
|
|
|
+ MATERIAL_NO = #{materialNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null">
|
|
|
|
|
+ MATERIAL_NAME = #{materialName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specNo != null">
|
|
|
|
|
+ SPEC_NO = #{specNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="specName != null">
|
|
|
|
|
+ SPEC_NAME = #{specName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointNo != null">
|
|
|
|
|
+ LOAD_POINT_NO = #{loadPointNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="loadPointName != null">
|
|
|
|
|
+ LOAD_POINT_NAME = #{loadPointName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleVoucher != null">
|
|
|
|
|
+ SAMPLE_VOUCHER = #{sampleVoucher,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitNo != null">
|
|
|
|
|
+ CARRIER_UNIT_NO = #{carrierUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="carrierUnitName != null">
|
|
|
|
|
+ CARRIER_UNIT_NAME = #{carrierUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeNo != null">
|
|
|
|
|
+ METER_TYPE_NO = #{meterTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterTypeName != null">
|
|
|
|
|
+ METER_TYPE_NAME = #{meterTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessNo != null">
|
|
|
|
|
+ METER_PROCESS_NO = #{meterProcessNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="meterProcessEditionNo != null">
|
|
|
|
|
+ METER_PROCESS_EDITION_NO = #{meterProcessEditionNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst1No != null">
|
|
|
|
|
+ ACTUAL_FIRST1_NO = #{actualFirst1No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossWeight != null">
|
|
|
|
|
+ GROSS_WEIGHT = #{grossWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManNo != null">
|
|
|
|
|
+ GROSS_MAN_NO = #{grossManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossManName != null">
|
|
|
|
|
+ GROSS_MAN_NAME = #{grossManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossTime != null">
|
|
|
|
|
+ GROSS_TIME = #{grossTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1No != null">
|
|
|
|
|
+ BASE_SPOT1_NO = #{baseSpot1No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot1Name != null">
|
|
|
|
|
+ BASE_SPOT1_NAME = #{baseSpot1Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossClass != null">
|
|
|
|
|
+ GROSS_CLASS = #{grossClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossGroup != null">
|
|
|
|
|
+ GROSS_GROUP = #{grossGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="grossMode != null">
|
|
|
|
|
+ GROSS_MODE = #{grossMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualFirst2No != null">
|
|
|
|
|
+ ACTUAL_FIRST2_NO = #{actualFirst2No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareWeight != null">
|
|
|
|
|
+ TARE_WEIGHT = #{tareWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManNo != null">
|
|
|
|
|
+ TARE_MAN_NO = #{tareManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareManName != null">
|
|
|
|
|
+ TARE_MAN_NAME = #{tareManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareTime != null">
|
|
|
|
|
+ TARE_TIME = #{tareTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2No != null">
|
|
|
|
|
+ BASE_SPOT2_NO = #{baseSpot2No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="baseSpot2Name != null">
|
|
|
|
|
+ BASE_SPOT2_NAME = #{baseSpot2Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareClass != null">
|
|
|
|
|
+ TARE_CLASS = #{tareClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareGroup != null">
|
|
|
|
|
+ TARE_GROUP = #{tareGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tareMode != null">
|
|
|
|
|
+ TARE_MODE = #{tareMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netWeight != null">
|
|
|
|
|
+ NET_WEIGHT = #{netWeight,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManNo != null">
|
|
|
|
|
+ NET_MAN_NO = #{netManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netManName != null">
|
|
|
|
|
+ NET_MAN_NAME = #{netManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netTime != null">
|
|
|
|
|
+ NET_TIME = #{netTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3No != null">
|
|
|
|
|
+ NET_SPOT3_NO = #{netSpot3No,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netSpot3Name != null">
|
|
|
|
|
+ NET_SPOT3_NAME = #{netSpot3Name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netClass != null">
|
|
|
|
|
+ NET_CLASS = #{netClass,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netGroup != null">
|
|
|
|
|
+ NET_GROUP = #{netGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="netMode != null">
|
|
|
|
|
+ NET_MODE = #{netMode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="valueFlag != null">
|
|
|
|
|
+ VALUE_FLAG = #{valueFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadFlag != null">
|
|
|
|
|
+ UPLOAD_FLAG = #{uploadFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManNo != null">
|
|
|
|
|
+ CHECK_MAN_NO = #{checkManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkManName != null">
|
|
|
|
|
+ CHECK_MAN_NAME = #{checkManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkTime != null">
|
|
|
|
|
+ CHECK_TIME = #{checkTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManNo != null">
|
|
|
|
|
+ UPLOAD_MAN_NO = #{uploadManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadManName != null">
|
|
|
|
|
+ UPLOAD_MAN_NAME = #{uploadManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="uploadTime != null">
|
|
|
|
|
+ UPLOAD_TIME = #{uploadTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sampleNo != null">
|
|
|
|
|
+ SAMPLE_NO = #{sampleNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeNo != null">
|
|
|
|
|
+ RAILWAY_TYPE_NO = #{railwayTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayTypeName != null">
|
|
|
|
|
+ RAILWAY_TYPE_NAME = #{railwayTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="memo != null">
|
|
|
|
|
+ MEMO = #{memo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="waterNum != null">
|
|
|
|
|
+ WATER_NUM = #{waterNum,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="arrival != null">
|
|
|
|
|
+ ARRIVAL = #{arrival,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="station != null">
|
|
|
|
|
+ STATION = #{station,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null">
|
|
|
|
|
+ UPDATE_MAN_NO = #{updateManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null">
|
|
|
|
|
+ UPDATE_MAN_NAME = #{updateManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateTime != null">
|
|
|
|
|
+ UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="sourceArea != null">
|
|
|
|
|
+ SOURCE_AREA = #{sourceArea,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherIdentity != null">
|
|
|
|
|
+ VOUCHER_IDENTITY = #{voucherIdentity,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="voucherItem != null">
|
|
|
|
|
+ VOUCHER_ITEM = #{voucherItem,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="businessGroup != null">
|
|
|
|
|
+ BUSINESS_GROUP = #{businessGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="tempConveyance != null">
|
|
|
|
|
+ TEMP_CONVEYANCE = #{tempConveyance,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="conveyanceType != null">
|
|
|
|
|
+ CONVEYANCE_TYPE = #{conveyanceType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="resourceSystem != null">
|
|
|
|
|
+ RESOURCE_SYSTEM = #{resourceSystem,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageAmount != null">
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT = #{groupPackageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="groupPackageUnit != null">
|
|
|
|
|
+ GROUP_PACKAGE_UNIT = #{groupPackageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageAmount != null">
|
|
|
|
|
+ PACKAGE_AMOUNT = #{packageAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="packageUnit != null">
|
|
|
|
|
+ PACKAGE_UNIT = #{packageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="theoryAmount != null">
|
|
|
|
|
+ THEORY_AMOUNT = #{theoryAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatch != null">
|
|
|
|
|
+ MEASURE_BATCH = #{measureBatch,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureBatchCount != null">
|
|
|
|
|
+ MEASURE_BATCH_COUNT = #{measureBatchCount,jdbcType=DECIMAL},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderType != null">
|
|
|
|
|
+ SENDER_TYPE = #{senderType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="senderRemark != null">
|
|
|
|
|
+ SENDER_REMARK = #{senderRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverType != null">
|
|
|
|
|
+ RECEIVER_TYPE = #{receiverType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receiverRemark != null">
|
|
|
|
|
+ RECEIVER_REMARK = #{receiverRemark,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="amountUnit != null">
|
|
|
|
|
+ AMOUNT_UNIT = #{amountUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureObjectType != null">
|
|
|
|
|
+ MEASURE_OBJECT_TYPE = #{measureObjectType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="measureTaskNum != null">
|
|
|
|
|
+ MEASURE_TASK_NUM = #{measureTaskNum,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="billType != null">
|
|
|
|
|
+ BILL_TYPE = #{billType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null">
|
|
|
|
|
+ CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createTime != null">
|
|
|
|
|
+ CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="dataSource != null">
|
|
|
|
|
+ DATA_SOURCE = #{dataSource,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="note != null">
|
|
|
|
|
+ NOTE = #{note,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="isPreSacale != null">
|
|
|
|
|
+ IS_PRE_SACALE = #{isPreSacale,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </set>
|
|
|
|
|
+ where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </update>
|
|
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select"/>
|
|
|
|
|
+ where ACTUAL_NO = #{actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select"/>
|
|
|
|
|
+ <include refid="where"/>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select"/>
|
|
|
|
|
+ <include refid="whereLike"/>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <insert id="batchInsert" parameterType="java.util.List">
|
|
|
|
|
+ insert into METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ (ACTUAL_NO,
|
|
|
|
|
+ PREDICTION_NO, NOTICE_NO, RAILWAY_NO,
|
|
|
|
|
+ RAILWAY_CARRIAGE_NO, MATTER_NO,
|
|
|
|
|
+ MATTER_NAME, CONTRACT_NO, BATCH_NO,
|
|
|
|
|
+ CUSTOMER_SUPPLIER_NO, CUSTOMER_SUPPLIER_NAME,
|
|
|
|
|
+ FORWARDING_UNIT_NO, FORWARDING_UNIT_NAME,
|
|
|
|
|
+ RECEIVING_UINT_NO, RECEIVING_UINT_NAME,
|
|
|
|
|
+ MATERIAL_NO, MATERIAL_NAME, SPEC_NO,
|
|
|
|
|
+ SPEC_NAME, LOAD_POINT_NO, LOAD_POINT_NAME,
|
|
|
|
|
+ SAMPLE_VOUCHER, CARRIER_UNIT_NO,
|
|
|
|
|
+ CARRIER_UNIT_NAME, METER_TYPE_NO,
|
|
|
|
|
+ METER_TYPE_NAME, METER_PROCESS_NO,
|
|
|
|
|
+ METER_PROCESS_EDITION_NO, ACTUAL_FIRST1_NO,
|
|
|
|
|
+ GROSS_WEIGHT, GROSS_MAN_NO, GROSS_MAN_NAME,
|
|
|
|
|
+ GROSS_TIME, BASE_SPOT1_NO, BASE_SPOT1_NAME,
|
|
|
|
|
+ GROSS_CLASS, GROSS_GROUP, GROSS_MODE,
|
|
|
|
|
+ ACTUAL_FIRST2_NO, TARE_WEIGHT, TARE_MAN_NO,
|
|
|
|
|
+ TARE_MAN_NAME, TARE_TIME, BASE_SPOT2_NO,
|
|
|
|
|
+ BASE_SPOT2_NAME, TARE_CLASS, TARE_GROUP,
|
|
|
|
|
+ TARE_MODE, NET_WEIGHT, NET_MAN_NO,
|
|
|
|
|
+ NET_MAN_NAME, NET_TIME, NET_SPOT3_NO,
|
|
|
|
|
+ NET_SPOT3_NAME, NET_CLASS, NET_GROUP,
|
|
|
|
|
+ NET_MODE, VALUE_FLAG, UPLOAD_FLAG,
|
|
|
|
|
+ CHECK_MAN_NO, CHECK_MAN_NAME, CHECK_TIME,
|
|
|
|
|
+ UPLOAD_MAN_NO, UPLOAD_MAN_NAME, UPLOAD_TIME,
|
|
|
|
|
+ SAMPLE_NO, RAILWAY_TYPE_NO, RAILWAY_TYPE_NAME,
|
|
|
|
|
+ MEMO, WATER_NUM, ARRIVAL,
|
|
|
|
|
+ STATION, UPDATE_MAN_NO, UPDATE_MAN_NAME,
|
|
|
|
|
+ UPDATE_TIME, SOURCE_AREA, VOUCHER_IDENTITY,
|
|
|
|
|
+ VOUCHER_ITEM, BUSINESS_GROUP, TEMP_CONVEYANCE,
|
|
|
|
|
+ CONVEYANCE_TYPE, RESOURCE_SYSTEM,
|
|
|
|
|
+ GROUP_PACKAGE_AMOUNT, GROUP_PACKAGE_UNIT,
|
|
|
|
|
+ PACKAGE_AMOUNT, PACKAGE_UNIT, THEORY_AMOUNT,
|
|
|
|
|
+ MEASURE_BATCH, MEASURE_BATCH_COUNT,
|
|
|
|
|
+ SENDER_TYPE, SENDER_REMARK, RECEIVER_TYPE,
|
|
|
|
|
+ RECEIVER_REMARK, AMOUNT_UNIT, MEASURE_OBJECT_TYPE,
|
|
|
|
|
+ MEASURE_TASK_NUM, BILL_TYPE, CREATE_MAN_NAME,
|
|
|
|
|
+ CREATE_TIME, DATA_SOURCE, NOTE,
|
|
|
|
|
+ IS_PRE_SACALE)
|
|
|
|
|
+ ( <foreach collection="list" item="item" separator="union all">
|
|
|
|
|
+ select
|
|
|
|
|
+ #{item.actualNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.predictionNo,jdbcType=VARCHAR}, #{item.noticeNo,jdbcType=VARCHAR}, #{item.railwayNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.railwayCarriageNo,jdbcType=VARCHAR}, #{item.matterNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.matterName,jdbcType=VARCHAR}, #{item.contractNo,jdbcType=VARCHAR}, #{item.batchNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.customerSupplierNo,jdbcType=VARCHAR}, #{item.customerSupplierName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.forwardingUnitNo,jdbcType=VARCHAR}, #{item.forwardingUnitName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.receivingUintNo,jdbcType=VARCHAR}, #{item.receivingUintName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.materialNo,jdbcType=VARCHAR}, #{item.materialName,jdbcType=VARCHAR}, #{item.specNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.specName,jdbcType=VARCHAR}, #{item.loadPointNo,jdbcType=VARCHAR}, #{item.loadPointName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.sampleVoucher,jdbcType=VARCHAR}, #{item.carrierUnitNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.carrierUnitName,jdbcType=VARCHAR}, #{item.meterTypeNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.meterTypeName,jdbcType=VARCHAR}, #{item.meterProcessNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.meterProcessEditionNo,jdbcType=VARCHAR}, #{item.actualFirst1No,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.grossWeight,jdbcType=DECIMAL}, #{item.grossManNo,jdbcType=VARCHAR}, #{item.grossManName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.grossTime,jdbcType=TIMESTAMP}, #{item.baseSpot1No,jdbcType=VARCHAR}, #{item.baseSpot1Name,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.grossClass,jdbcType=VARCHAR}, #{item.grossGroup,jdbcType=VARCHAR}, #{item.grossMode,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.actualFirst2No,jdbcType=VARCHAR}, #{item.tareWeight,jdbcType=DECIMAL}, #{item.tareManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.tareManName,jdbcType=VARCHAR}, #{item.tareTime,jdbcType=TIMESTAMP}, #{item.baseSpot2No,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.baseSpot2Name,jdbcType=VARCHAR}, #{item.tareClass,jdbcType=VARCHAR}, #{item.tareGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.tareMode,jdbcType=VARCHAR}, #{item.netWeight,jdbcType=DECIMAL}, #{item.netManNo,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.netManName,jdbcType=VARCHAR}, #{item.netTime,jdbcType=TIMESTAMP}, #{item.netSpot3No,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.netSpot3Name,jdbcType=VARCHAR}, #{item.netClass,jdbcType=VARCHAR}, #{item.netGroup,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.netMode,jdbcType=VARCHAR}, #{item.valueFlag,jdbcType=VARCHAR}, #{item.uploadFlag,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.checkManNo,jdbcType=VARCHAR}, #{item.checkManName,jdbcType=VARCHAR}, #{item.checkTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{item.uploadManNo,jdbcType=VARCHAR}, #{item.uploadManName,jdbcType=VARCHAR}, #{item.uploadTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{item.sampleNo,jdbcType=VARCHAR}, #{item.railwayTypeNo,jdbcType=VARCHAR}, #{item.railwayTypeName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.memo,jdbcType=VARCHAR}, #{item.waterNum,jdbcType=DECIMAL}, #{item.arrival,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.station,jdbcType=VARCHAR}, #{item.updateManNo,jdbcType=VARCHAR}, #{item.updateManName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.updateTime,jdbcType=TIMESTAMP}, #{item.sourceArea,jdbcType=VARCHAR}, #{item.voucherIdentity,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.voucherItem,jdbcType=VARCHAR}, #{item.businessGroup,jdbcType=VARCHAR}, #{item.tempConveyance,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.conveyanceType,jdbcType=VARCHAR}, #{item.resourceSystem,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.groupPackageAmount,jdbcType=DECIMAL}, #{item.groupPackageUnit,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.packageAmount,jdbcType=DECIMAL}, #{item.packageUnit,jdbcType=VARCHAR}, #{item.theoryAmount,jdbcType=DECIMAL},
|
|
|
|
|
+ #{item.measureBatch,jdbcType=VARCHAR}, #{item.measureBatchCount,jdbcType=DECIMAL},
|
|
|
|
|
+ #{item.senderType,jdbcType=VARCHAR}, #{item.senderRemark,jdbcType=VARCHAR}, #{item.receiverType,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.receiverRemark,jdbcType=VARCHAR}, #{item.amountUnit,jdbcType=VARCHAR}, #{item.measureObjectType,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.measureTaskNum,jdbcType=VARCHAR}, #{item.billType,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.createTime,jdbcType=TIMESTAMP}, #{item.dataSource,jdbcType=VARCHAR}, #{item.note,jdbcType=VARCHAR},
|
|
|
|
|
+ #{item.isPreSacale,jdbcType=VARCHAR} from dual
|
|
|
|
|
+ </foreach> )
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <update id="batchUpdate" parameterType="java.util.List">
|
|
|
|
|
+ update METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ set
|
|
|
|
|
+ ACTUAL_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,PREDICTION_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.predictionNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NOTICE_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.noticeNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RAILWAY_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RAILWAY_CARRIAGE_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayCarriageNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MATTER_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MATTER_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.matterName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CONTRACT_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.contractNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BATCH_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.batchNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CUSTOMER_SUPPLIER_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CUSTOMER_SUPPLIER_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.customerSupplierName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,FORWARDING_UNIT_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,FORWARDING_UNIT_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.forwardingUnitName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RECEIVING_UINT_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RECEIVING_UINT_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.receivingUintName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MATERIAL_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MATERIAL_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.materialName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SPEC_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.specNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SPEC_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.specName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,LOAD_POINT_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,LOAD_POINT_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.loadPointName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SAMPLE_VOUCHER=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleVoucher,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CARRIER_UNIT_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CARRIER_UNIT_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.carrierUnitName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,METER_TYPE_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,METER_TYPE_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterTypeName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,METER_PROCESS_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,METER_PROCESS_EDITION_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.meterProcessEditionNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,ACTUAL_FIRST1_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst1No,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_WEIGHT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossWeight,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BASE_SPOT1_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1No,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BASE_SPOT1_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot1Name,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_CLASS=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossClass,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_GROUP=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossGroup,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROSS_MODE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.grossMode,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,ACTUAL_FIRST2_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.actualFirst2No,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_WEIGHT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareWeight,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BASE_SPOT2_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2No,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BASE_SPOT2_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.baseSpot2Name,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_CLASS=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareClass,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_GROUP=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareGroup,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TARE_MODE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tareMode,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_WEIGHT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netWeight,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_SPOT3_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3No,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_SPOT3_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netSpot3Name,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_CLASS=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netClass,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_GROUP=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netGroup,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NET_MODE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.netMode,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,VALUE_FLAG=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.valueFlag,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPLOAD_FLAG=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadFlag,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CHECK_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CHECK_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CHECK_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.checkTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPLOAD_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPLOAD_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPLOAD_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.uploadTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SAMPLE_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.sampleNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RAILWAY_TYPE_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RAILWAY_TYPE_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.railwayTypeName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MEMO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,WATER_NUM=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.waterNum,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,ARRIVAL=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.arrival,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,STATION=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.station,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPDATE_MAN_NO=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPDATE_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,UPDATE_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SOURCE_AREA=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.sourceArea,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,VOUCHER_IDENTITY=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherIdentity,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,VOUCHER_ITEM=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.voucherItem,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BUSINESS_GROUP=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.businessGroup,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,TEMP_CONVEYANCE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.tempConveyance,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CONVEYANCE_TYPE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.conveyanceType,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RESOURCE_SYSTEM=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.resourceSystem,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROUP_PACKAGE_AMOUNT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageAmount,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,GROUP_PACKAGE_UNIT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.groupPackageUnit,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,PACKAGE_AMOUNT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageAmount,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,PACKAGE_UNIT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.packageUnit,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,THEORY_AMOUNT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.theoryAmount,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MEASURE_BATCH=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatch,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MEASURE_BATCH_COUNT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureBatchCount,jdbcType=DECIMAL}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SENDER_TYPE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderType,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,SENDER_REMARK=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.senderRemark,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RECEIVER_TYPE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverType,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,RECEIVER_REMARK=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.receiverRemark,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,AMOUNT_UNIT=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.amountUnit,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MEASURE_OBJECT_TYPE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureObjectType,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,MEASURE_TASK_NUM=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.measureTaskNum,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,BILL_TYPE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.billType,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CREATE_MAN_NAME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,CREATE_TIME=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,DATA_SOURCE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.dataSource,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,NOTE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.note,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ ,IS_PRE_SACALE=
|
|
|
|
|
+ <foreach collection="list" item="item" index="index" separator=" " open="case ACTUAL_NO" close="end">
|
|
|
|
|
+ when #{item.actualNo,jdbcType=VARCHAR} then #{item.isPreSacale,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ where ACTUAL_NO in
|
|
|
|
|
+ <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
|
|
|
|
|
+ #{item.actualNo,jdbcType=VARCHAR}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </update>
|
|
|
|
|
+ <delete id="batchDelete" parameterType="java.util.List">
|
|
|
|
|
+ delete from METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ where ACTUAL_NO in
|
|
|
|
|
+ <foreach collection="list" item="id" open="(" close=")" separator=",">
|
|
|
|
|
+ #{id}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </delete>
|
|
|
|
|
+ <!-- 友情提示!!!-->
|
|
|
|
|
+ <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
|
|
|
|
|
+ <select id="getNewID" parameterType="java.lang.String" resultType="java.lang.String">
|
|
|
|
|
+ SELECT LPAD(NVL(MAX(TO_NUMBER(SUBSTR(ACTUAL_NO, LENGTH(ACTUAL_NO) - 3))),0) + 1,4,'0') ACTUAL_NO
|
|
|
|
|
+ FROM METER_WORK_MEASURING_INSTRUMENT_SECOND where instr(ACTUAL_NO,#{afl,jdbcType=VARCHAR})>0
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <select id="likeDesc" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select" />
|
|
|
|
|
+ where 1= 1
|
|
|
|
|
+ <if test="actualNo != null and actualNo != ''">
|
|
|
|
|
+ and ACTUAL_NO like '%${actualNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="actualNo != null and actualNo != ''">
|
|
|
|
|
+ and ACTUAL_NO LIKE '%${actualNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="predictionNo != null and predictionNo != ''">
|
|
|
|
|
+ and PREDICTION_NO LIKE '%${predictionNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="noticeNo != null and noticeNo != ''">
|
|
|
|
|
+ and NOTICE_NO LIKE '%${noticeNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayNo != null and railwayNo != ''">
|
|
|
|
|
+ and RAILWAY_NO LIKE '%${railwayNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="railwayCarriageNo != null and railwayCarriageNo != ''">
|
|
|
|
|
+ and RAILWAY_CARRIAGE_NO LIKE '%${railwayCarriageNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterNo != null and matterNo != ''">
|
|
|
|
|
+ and MATTER_NO LIKE '%${matterNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matterName != null and matterName != ''">
|
|
|
|
|
+ and MATTER_NAME LIKE '%${matterName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="contractNo != null and contractNo != ''">
|
|
|
|
|
+ and CONTRACT_NO LIKE '%${contractNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="batchNo != null and batchNo != ''">
|
|
|
|
|
+ and BATCH_NO LIKE '%${batchNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierNo != null and customerSupplierNo != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NO LIKE '%${customerSupplierNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="customerSupplierName != null and customerSupplierName != ''">
|
|
|
|
|
+ and CUSTOMER_SUPPLIER_NAME LIKE '%${customerSupplierName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitNo != null and forwardingUnitNo != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NO LIKE '%${forwardingUnitNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="forwardingUnitName != null and forwardingUnitName != ''">
|
|
|
|
|
+ and FORWARDING_UNIT_NAME LIKE '%${forwardingUnitName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintNo != null and receivingUintNo != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NO LIKE '%${receivingUintNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="receivingUintName != null and receivingUintName != ''">
|
|
|
|
|
+ and RECEIVING_UINT_NAME LIKE '%${receivingUintName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialNo != null and materialNo != ''">
|
|
|
|
|
+ and MATERIAL_NO LIKE '%${materialNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="materialName != null and materialName != ''">
|
|
|
|
|
+ and MATERIAL_NAME LIKE '%${materialName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null and updateManNo != ''">
|
|
|
|
|
+ and UPDATE_MAN_NO LIKE '%${updateManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null and updateManName != ''">
|
|
|
|
|
+ and UPDATE_MAN_NAME LIKE '%${updateManName}'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
|
|
+ and CREATE_MAN_NAME LIKE '%${createManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="startTime != null and endTime != null and startTime != '' and endTime != ''">
|
|
|
|
|
+ and NET_TIME >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss') and NET_TIME <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
|
|
+ </if>
|
|
|
|
|
+ order by net_time desc
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="getCreateManNo" parameterType="java.util.HashMap" resultType="String">
|
|
|
|
|
+ select distinct create_man_name
|
|
|
|
|
+ from METER_WORK_MEASURING_INSTRUMENT_SECOND
|
|
|
|
|
+ group by create_man_name
|
|
|
|
|
+ </select>
|
|
|
|
|
+</mapper>
|