邱宇豪
2023-11-27 b1c00ede50ba51a46b1cfbcdf129f1e68b228e6c
hd/pipe/materialsManage/src/main/resources/mapping/MinXingPlantMapper.xml
@@ -8,13 +8,16 @@
        <if test="id != null">
            id,
        </if>
          <if test="createDate != null">
              create_date,
          </if>
        <if test="type != null">
            type,
        </if>
        <if test="opType != null">
            op_Type,
              op_type,
        </if>
        <if test="materialName != null">
          <if test="dictId != null">
            material_name,
        </if>
        <if test="materialValue != null">
@@ -26,17 +29,14 @@
        <if test="afterStock != null">
            after_stock,
        </if>
          <if test="companyId != null">
              company_id,
          </if>
        <if test="remark != null">
            remark,
        </if>
        <if test="pipeId != null">
            pipe_id,
        </if>
        <if test="pipeNum != null">
            pipe_num,
        </if>
        <if test="createDate != null">
            create_date,
          <if test="createUser != null">
              create_user,
        </if>
        <if test="supplierName != null">
            supplier_name,
@@ -46,14 +46,17 @@
        <if test="id != null">
            #{id},
        </if>
          <if test="createDate != null">
              #{createDate},
          </if>
        <if test="type != null">
            #{type},
        </if>
        <if test=" != null">
          <if test="opType != null">
            #{opType},
        </if>
        <if test="materialName != null">
            #{materialName},
          <if test="dictId != null">
              #{dictId},
        </if>
        <if test="materialValue != null">
            #{materialValue},
@@ -64,17 +67,14 @@
        <if test="afterStock != null">
            #{afterStock},
        </if>
          <if test="companyId != null">
              #{companyId},
          </if>
        <if test="remark != null">
            #{remark},
        </if>
        <if test="pipeId != null">
            #{pipeId},
        </if>
        <if test="pipeNum != null">
            #{pipeNum},
        </if>
        <if test="createDate != null">
            #{createDate},
          <if test="createUser != null">
              #{createUser},
        </if>
        <if test="supplierName != null">
            #{supplierName},
@@ -174,6 +174,9 @@
      <if test="createUser != null">
        create_user,
      </if>
      <if test="supplierName != null">
        supplier_name,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
@@ -209,6 +212,9 @@
      <if test="createUser != null">
        #{createUser},
      </if>
      <if test="supplierName != null">
        #{supplierName},
      </if>
    </trim>
  </insert>
  <select id="selectInventoryRecordList" parameterType="com.thhy.materials.modules.biz.mixingstationstorage.dto.TMaterialStockRecordDto" resultType="com.thhy.materials.modules.biz.mixingstationstorage.entity.TMaterialStockRecordVo">