Переглянути джерело

新增“计量物料配置直接录入”API

duyong 4 роки тому
батько
коміт
9b0f09cf29

+ 112 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/controller/MeterBaseMatterInfoDirectController.java

@@ -0,0 +1,112 @@
+package com.steerinfo.baseinfo.meterbasematterinfodirect.controller;
+
+import com.steerinfo.framework.controller.BaseRESTfulController;
+import com.steerinfo.framework.controller.RESTfulResult;
+import com.steerinfo.framework.service.pagehelper.PageList;
+import com.steerinfo.framework.utils.collection.ListUtils;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.service.IMeterBaseMatterInfoDirectService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.ArrayList;
+import java.math.BigDecimal;
+
+/**
+ * MeterBaseMatterInfoDirect RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-02-11 06:04
+ * 类描述
+ * 修订历史:
+ * 日期:2022-02-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterInfoDirect RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/meterbasematterinfodirects")
+@Api(value = "/${api.version}/meterbasematterinfodirects", tags = "计量物料配置直接录入 - BaseRESTfulController")
+public class MeterBaseMatterInfoDirectController extends BaseRESTfulController {
+
+    @Autowired
+    IMeterBaseMatterInfoDirectService meterBaseMatterInfoDirectService;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("meterbasematterinfodirect:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterBaseMatterInfoDirect> list = meterBaseMatterInfoDirectService.queryForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+
+    @ApiOperation(value="获取列表", notes="分页模糊查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("meterbasematterinfodirect:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterBaseMatterInfoDirect> list = meterBaseMatterInfoDirectService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+    
+    @ApiOperation(value="创建", notes="根据MeterBaseMatterInfoDirect对象创建")
+    @ApiImplicitParam(name = "meterBaseMatterInfoDirect", value = "详细实体meterBaseMatterInfoDirect", required = true, dataType = "MeterBaseMatterInfoDirect")
+    //@RequiresPermissions("meterbasematterinfodirect:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@ModelAttribute MeterBaseMatterInfoDirect model){
+        MeterBaseMatterInfoDirect meterBaseMatterInfoDirect = meterBaseMatterInfoDirectService.add(model);
+        return success(meterBaseMatterInfoDirect);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("meterbasematterinfodirect:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable String id){
+        MeterBaseMatterInfoDirect meterBaseMatterInfoDirect = meterBaseMatterInfoDirectService.getById(id);
+        return success(meterBaseMatterInfoDirect);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的meterBaseMatterInfoDirect信息来更新详细信息")
+    @ApiImplicitParams({
+        @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+        @ApiImplicitParam(name = "meterBaseMatterInfoDirect", value = "详细实体meterBaseMatterInfoDirect", required = true, dataType = "MeterBaseMatterInfoDirect")
+    })
+    //@RequiresPermissions("meterbasematterinfodirect:update")
+    @PutMapping(value = "/{id}", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@PathVariable String id, @RequestBody MeterBaseMatterInfoDirect model){
+        model.setId(id);
+        MeterBaseMatterInfoDirect meterBaseMatterInfoDirect = meterBaseMatterInfoDirectService.modify(model);
+        return success(meterBaseMatterInfoDirect);
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("meterbasematterinfodirect:delete")
+    @DeleteMapping(value = "/{id}")//String
+    public RESTfulResult delete(@PathVariable String id){
+    	List<String> list = Arrays.asList(id.split(","));
+    	if(ListUtils.isNotEmpty(list)) {
+	    	List<String> ids = ListUtils.convertList(list);
+			  meterBaseMatterInfoDirectService.delete(ids);
+    	}
+      return success();
+    }
+}

+ 10 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/mapper/MeterBaseMatterInfoDirectMapper.java

@@ -0,0 +1,10 @@
+package com.steerinfo.baseinfo.meterbasematterinfodirect.mapper;
+
+import com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import java.math.*;
+import org.apache.ibatis.annotations.Mapper;
+
+@Mapper
+public interface MeterBaseMatterInfoDirectMapper extends IBaseMapper<MeterBaseMatterInfoDirect, String> {
+}

+ 884 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/mapper/MeterBaseMatterInfoDirectMapper.xml

@@ -0,0 +1,884 @@
+<?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.baseinfo.meterbasematterinfodirect.mapper.MeterBaseMatterInfoDirectMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect">
+    <id column="MATTER_NO" jdbcType="VARCHAR" property="matterNo" />
+    <result column="MATTER_NAME" jdbcType="VARCHAR" property="matterName" />
+    <result column="INDEX_CODE" jdbcType="VARCHAR" property="indexCode" />
+    <result column="MNEMONIC_CODE" jdbcType="VARCHAR" property="mnemonicCode" />
+    <result column="MATTER_NATURE_NO" jdbcType="VARCHAR" property="matterNatureNo" />
+    <result column="MATTER_NATURE_NAME" jdbcType="VARCHAR" property="matterNatureName" />
+    <result column="METER_NATURE_NO" jdbcType="VARCHAR" property="meterNatureNo" />
+    <result column="METER_NATURE_NAME" jdbcType="VARCHAR" property="meterNatureName" />
+    <result column="VALID_FLAG" jdbcType="VARCHAR" property="validFlag" />
+    <result column="CREATE_MAN_NO" jdbcType="VARCHAR" property="createManNo" />
+    <result column="CREATE_MAN_NAME" jdbcType="VARCHAR" property="createManName" />
+    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
+    <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="DELETE_MAN_NO" jdbcType="VARCHAR" property="deleteManNo" />
+    <result column="DELETE_MAN_NAME" jdbcType="VARCHAR" property="deleteManName" />
+    <result column="DELETE_TIME" jdbcType="TIMESTAMP" property="deleteTime" />
+    <result column="METER_CODE" jdbcType="VARCHAR" property="meterCode" />
+    <result column="ALLOWED_TARE_WEIGHT" jdbcType="VARCHAR" property="allowedTareWeight" />
+    <result column="ALLOWED_ADD_WEIGHT" jdbcType="VARCHAR" property="allowedAddWeight" />
+    <result column="SCALE_VALID_PERIOD" jdbcType="VARCHAR" property="scaleValidPeriod" />
+    <result column="SPEC_NAME" jdbcType="VARCHAR" property="specName" />
+    <result column="MEMO" jdbcType="VARCHAR" property="memo" />
+    <result column="REPORT_CODE" jdbcType="VARCHAR" property="reportCode" />
+    <result column="SETTLEMENT_UNIT" jdbcType="VARCHAR" property="settlementUnit" />
+    <result column="SETTLEMENT_PRICE" jdbcType="DECIMAL" property="settlementPrice" />
+    <result column="BELT_TYPE_CODE" jdbcType="VARCHAR" property="beltTypeCode" />
+    <result column="BELT_TYPE_NAME" jdbcType="VARCHAR" property="beltTypeName" />
+    <result column="IS_SECOND_RESOURCES" jdbcType="VARCHAR" property="isSecondResources" />
+    <result column="IS_LIANDA" jdbcType="VARCHAR" property="isLianda" />
+  </resultMap>
+  <sql id="columns">
+    MATTER_NO, MATTER_NAME, INDEX_CODE, MNEMONIC_CODE, MATTER_NATURE_NO, MATTER_NATURE_NAME, 
+    METER_NATURE_NO, METER_NATURE_NAME, VALID_FLAG, CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+    UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME, 
+    METER_CODE, ALLOWED_TARE_WEIGHT, ALLOWED_ADD_WEIGHT, SCALE_VALID_PERIOD, SPEC_NAME, 
+    MEMO, REPORT_CODE, SETTLEMENT_UNIT, SETTLEMENT_PRICE, BELT_TYPE_CODE, BELT_TYPE_NAME, 
+    IS_SECOND_RESOURCES, IS_LIANDA
+  </sql>
+  <sql id="columns_alias">
+    t.MATTER_NO, t.MATTER_NAME, t.INDEX_CODE, t.MNEMONIC_CODE, t.MATTER_NATURE_NO, t.MATTER_NATURE_NAME, 
+    t.METER_NATURE_NO, t.METER_NATURE_NAME, t.VALID_FLAG, t.CREATE_MAN_NO, t.CREATE_MAN_NAME, 
+    t.CREATE_TIME, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME, t.DELETE_MAN_NO, 
+    t.DELETE_MAN_NAME, t.DELETE_TIME, t.METER_CODE, t.ALLOWED_TARE_WEIGHT, t.ALLOWED_ADD_WEIGHT, 
+    t.SCALE_VALID_PERIOD, t.SPEC_NAME, t.MEMO, t.REPORT_CODE, t.SETTLEMENT_UNIT, t.SETTLEMENT_PRICE, 
+    t.BELT_TYPE_CODE, t.BELT_TYPE_NAME, t.IS_SECOND_RESOURCES, t.IS_LIANDA
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM METER_BASE_MATTER_INFO_DIRECT
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM METER_BASE_MATTER_INFO_DIRECT t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="matterNo != null and matterNo != ''">
+        and MATTER_NO = #{matterNo}
+      </if>
+      <if test="matterName != null and matterName != ''">
+        and MATTER_NAME = #{matterName}
+      </if>
+      <if test="indexCode != null and indexCode != ''">
+        and INDEX_CODE = #{indexCode}
+      </if>
+      <if test="mnemonicCode != null and mnemonicCode != ''">
+        and MNEMONIC_CODE = #{mnemonicCode}
+      </if>
+      <if test="matterNatureNo != null and matterNatureNo != ''">
+        and MATTER_NATURE_NO = #{matterNatureNo}
+      </if>
+      <if test="matterNatureName != null and matterNatureName != ''">
+        and MATTER_NATURE_NAME = #{matterNatureName}
+      </if>
+      <if test="meterNatureNo != null and meterNatureNo != ''">
+        and METER_NATURE_NO = #{meterNatureNo}
+      </if>
+      <if test="meterNatureName != null and meterNatureName != ''">
+        and METER_NATURE_NAME = #{meterNatureName}
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        and VALID_FLAG = #{validFlag}
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        and CREATE_MAN_NO = #{createManNo}
+      </if>
+      <if test="createManName != null and createManName != ''">
+        and CREATE_MAN_NAME = #{createManName}
+      </if>
+      <if test="createTime != null">
+        and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
+      </if>
+      <if test="updateManNo != null and updateManNo != ''">
+        and UPDATE_MAN_NO = #{updateManNo}
+      </if>
+      <if test="updateManName != null and updateManName != ''">
+        and UPDATE_MAN_NAME = #{updateManName}
+      </if>
+      <if test="updateTime != null">
+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
+      </if>
+      <if test="deleteManNo != null and deleteManNo != ''">
+        and DELETE_MAN_NO = #{deleteManNo}
+      </if>
+      <if test="deleteManName != null and deleteManName != ''">
+        and DELETE_MAN_NAME = #{deleteManName}
+      </if>
+      <if test="deleteTime != null">
+        and TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = #{deleteTime}
+      </if>
+      <if test="meterCode != null and meterCode != ''">
+        and METER_CODE = #{meterCode}
+      </if>
+      <if test="allowedTareWeight != null and allowedTareWeight != ''">
+        and ALLOWED_TARE_WEIGHT = #{allowedTareWeight}
+      </if>
+      <if test="allowedAddWeight != null and allowedAddWeight != ''">
+        and ALLOWED_ADD_WEIGHT = #{allowedAddWeight}
+      </if>
+      <if test="scaleValidPeriod != null and scaleValidPeriod != ''">
+        and SCALE_VALID_PERIOD = #{scaleValidPeriod}
+      </if>
+      <if test="specName != null and specName != ''">
+        and SPEC_NAME = #{specName}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO = #{memo}
+      </if>
+      <if test="reportCode != null and reportCode != ''">
+        and REPORT_CODE = #{reportCode}
+      </if>
+      <if test="settlementUnit != null and settlementUnit != ''">
+        and SETTLEMENT_UNIT = #{settlementUnit}
+      </if>
+      <if test="settlementPrice != null">
+        and SETTLEMENT_PRICE = #{settlementPrice}
+      </if>
+      <if test="beltTypeCode != null and beltTypeCode != ''">
+        and BELT_TYPE_CODE = #{beltTypeCode}
+      </if>
+      <if test="beltTypeName != null and beltTypeName != ''">
+        and BELT_TYPE_NAME = #{beltTypeName}
+      </if>
+      <if test="isSecondResources != null and isSecondResources != ''">
+        and IS_SECOND_RESOURCES = #{isSecondResources}
+      </if>
+      <if test="isLianda != null and isLianda != ''">
+        and IS_LIANDA = #{isLianda}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <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="indexCode != null and indexCode != ''">
+        and INDEX_CODE LIKE '%${indexCode}%'
+      </if>
+      <if test="mnemonicCode != null and mnemonicCode != ''">
+        and MNEMONIC_CODE LIKE '%${mnemonicCode}%'
+      </if>
+      <if test="matterNatureNo != null and matterNatureNo != ''">
+        and MATTER_NATURE_NO LIKE '%${matterNatureNo}%'
+      </if>
+      <if test="matterNatureName != null and matterNatureName != ''">
+        and MATTER_NATURE_NAME LIKE '%${matterNatureName}%'
+      </if>
+      <if test="meterNatureNo != null and meterNatureNo != ''">
+        and METER_NATURE_NO LIKE '%${meterNatureNo}%'
+      </if>
+      <if test="meterNatureName != null and meterNatureName != ''">
+        and METER_NATURE_NAME LIKE '%${meterNatureName}%'
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        and VALID_FLAG LIKE '%${validFlag}%'
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        and CREATE_MAN_NO LIKE '%${createManNo}%'
+      </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="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="deleteManNo != null and deleteManNo != ''">
+        and DELETE_MAN_NO LIKE '%${deleteManNo}%'
+      </if>
+      <if test="deleteManName != null and deleteManName != ''">
+        and DELETE_MAN_NAME LIKE '%${deleteManName}%'
+      </if>
+      <if test="deleteTime != null">
+        and TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = #{deleteTime}
+      </if>
+      <if test="meterCode != null and meterCode != ''">
+        and METER_CODE LIKE '%${meterCode}%'
+      </if>
+      <if test="allowedTareWeight != null and allowedTareWeight != ''">
+        and ALLOWED_TARE_WEIGHT LIKE '%${allowedTareWeight}%'
+      </if>
+      <if test="allowedAddWeight != null and allowedAddWeight != ''">
+        and ALLOWED_ADD_WEIGHT LIKE '%${allowedAddWeight}%'
+      </if>
+      <if test="scaleValidPeriod != null and scaleValidPeriod != ''">
+        and SCALE_VALID_PERIOD LIKE '%${scaleValidPeriod}%'
+      </if>
+      <if test="specName != null and specName != ''">
+        and SPEC_NAME LIKE '%${specName}%'
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO LIKE '%${memo}%'
+      </if>
+      <if test="reportCode != null and reportCode != ''">
+        and REPORT_CODE LIKE '%${reportCode}%'
+      </if>
+      <if test="settlementUnit != null and settlementUnit != ''">
+        and SETTLEMENT_UNIT LIKE '%${settlementUnit}%'
+      </if>
+      <if test="settlementPrice != null">
+        and SETTLEMENT_PRICE = #{settlementPrice}
+      </if>
+      <if test="beltTypeCode != null and beltTypeCode != ''">
+        and BELT_TYPE_CODE LIKE '%${beltTypeCode}%'
+      </if>
+      <if test="beltTypeName != null and beltTypeName != ''">
+        and BELT_TYPE_NAME LIKE '%${beltTypeName}%'
+      </if>
+      <if test="isSecondResources != null and isSecondResources != ''">
+        and IS_SECOND_RESOURCES LIKE '%${isSecondResources}%'
+      </if>
+      <if test="isLianda != null and isLianda != ''">
+        and IS_LIANDA LIKE '%${isLianda}%'
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from METER_BASE_MATTER_INFO_DIRECT
+    where MATTER_NO = #{matterNo,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from METER_BASE_MATTER_INFO_DIRECT
+    where 1!=1 
+      <if test="matterName != null and matterName != ''">
+        or MATTER_NAME = #{matterName}
+      </if>
+      <if test="indexCode != null and indexCode != ''">
+        or INDEX_CODE = #{indexCode}
+      </if>
+      <if test="mnemonicCode != null and mnemonicCode != ''">
+        or MNEMONIC_CODE = #{mnemonicCode}
+      </if>
+      <if test="matterNatureNo != null and matterNatureNo != ''">
+        or MATTER_NATURE_NO = #{matterNatureNo}
+      </if>
+      <if test="matterNatureName != null and matterNatureName != ''">
+        or MATTER_NATURE_NAME = #{matterNatureName}
+      </if>
+      <if test="meterNatureNo != null and meterNatureNo != ''">
+        or METER_NATURE_NO = #{meterNatureNo}
+      </if>
+      <if test="meterNatureName != null and meterNatureName != ''">
+        or METER_NATURE_NAME = #{meterNatureName}
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        or VALID_FLAG = #{validFlag}
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        or CREATE_MAN_NO = #{createManNo}
+      </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="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="deleteManNo != null and deleteManNo != ''">
+        or DELETE_MAN_NO = #{deleteManNo}
+      </if>
+      <if test="deleteManName != null and deleteManName != ''">
+        or DELETE_MAN_NAME = #{deleteManName}
+      </if>
+      <if test="deleteTime != null">
+        or TO_CHAR(DELETE_TIME,'yyyy-MM-dd') = '#{deleteTime}'
+      </if>
+      <if test="meterCode != null and meterCode != ''">
+        or METER_CODE = #{meterCode}
+      </if>
+      <if test="allowedTareWeight != null and allowedTareWeight != ''">
+        or ALLOWED_TARE_WEIGHT = #{allowedTareWeight}
+      </if>
+      <if test="allowedAddWeight != null and allowedAddWeight != ''">
+        or ALLOWED_ADD_WEIGHT = #{allowedAddWeight}
+      </if>
+      <if test="scaleValidPeriod != null and scaleValidPeriod != ''">
+        or SCALE_VALID_PERIOD = #{scaleValidPeriod}
+      </if>
+      <if test="specName != null and specName != ''">
+        or SPEC_NAME = #{specName}
+      </if>
+      <if test="memo != null and memo != ''">
+        or MEMO = #{memo}
+      </if>
+      <if test="reportCode != null and reportCode != ''">
+        or REPORT_CODE = #{reportCode}
+      </if>
+      <if test="settlementUnit != null and settlementUnit != ''">
+        or SETTLEMENT_UNIT = #{settlementUnit}
+      </if>
+      <if test="settlementPrice != null">
+        or SETTLEMENT_PRICE = #{settlementPrice}
+      </if>
+      <if test="beltTypeCode != null and beltTypeCode != ''">
+        or BELT_TYPE_CODE = #{beltTypeCode}
+      </if>
+      <if test="beltTypeName != null and beltTypeName != ''">
+        or BELT_TYPE_NAME = #{beltTypeName}
+      </if>
+      <if test="isSecondResources != null and isSecondResources != ''">
+        or IS_SECOND_RESOURCES = #{isSecondResources}
+      </if>
+      <if test="isLianda != null and isLianda != ''">
+        or IS_LIANDA = #{isLianda}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect">
+    insert into METER_BASE_MATTER_INFO_DIRECT (MATTER_NO, MATTER_NAME, INDEX_CODE, 
+      MNEMONIC_CODE, MATTER_NATURE_NO, MATTER_NATURE_NAME, 
+      METER_NATURE_NO, METER_NATURE_NAME, VALID_FLAG, 
+      CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+      UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, 
+      DELETE_MAN_NO, DELETE_MAN_NAME, DELETE_TIME, 
+      METER_CODE, ALLOWED_TARE_WEIGHT, ALLOWED_ADD_WEIGHT, 
+      SCALE_VALID_PERIOD, SPEC_NAME, MEMO, 
+      REPORT_CODE, SETTLEMENT_UNIT, SETTLEMENT_PRICE, 
+      BELT_TYPE_CODE, BELT_TYPE_NAME, IS_SECOND_RESOURCES, 
+      IS_LIANDA)
+    values (#{matterNo,jdbcType=VARCHAR}, #{matterName,jdbcType=VARCHAR}, #{indexCode,jdbcType=VARCHAR}, 
+      #{mnemonicCode,jdbcType=VARCHAR}, #{matterNatureNo,jdbcType=VARCHAR}, #{matterNatureName,jdbcType=VARCHAR}, 
+      #{meterNatureNo,jdbcType=VARCHAR}, #{meterNatureName,jdbcType=VARCHAR}, #{validFlag,jdbcType=VARCHAR}, 
+      #{createManNo,jdbcType=VARCHAR}, #{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
+      #{updateManNo,jdbcType=VARCHAR}, #{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, 
+      #{deleteManNo,jdbcType=VARCHAR}, #{deleteManName,jdbcType=VARCHAR}, #{deleteTime,jdbcType=TIMESTAMP}, 
+      #{meterCode,jdbcType=VARCHAR}, #{allowedTareWeight,jdbcType=VARCHAR}, #{allowedAddWeight,jdbcType=VARCHAR}, 
+      #{scaleValidPeriod,jdbcType=VARCHAR}, #{specName,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR}, 
+      #{reportCode,jdbcType=VARCHAR}, #{settlementUnit,jdbcType=VARCHAR}, #{settlementPrice,jdbcType=DECIMAL}, 
+      #{beltTypeCode,jdbcType=VARCHAR}, #{beltTypeName,jdbcType=VARCHAR}, #{isSecondResources,jdbcType=VARCHAR}, 
+      #{isLianda,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect">
+    insert into METER_BASE_MATTER_INFO_DIRECT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="matterNo != null">
+        MATTER_NO,
+      </if>
+      <if test="matterName != null">
+        MATTER_NAME,
+      </if>
+      <if test="indexCode != null">
+        INDEX_CODE,
+      </if>
+      <if test="mnemonicCode != null">
+        MNEMONIC_CODE,
+      </if>
+      <if test="matterNatureNo != null">
+        MATTER_NATURE_NO,
+      </if>
+      <if test="matterNatureName != null">
+        MATTER_NATURE_NAME,
+      </if>
+      <if test="meterNatureNo != null">
+        METER_NATURE_NO,
+      </if>
+      <if test="meterNatureName != null">
+        METER_NATURE_NAME,
+      </if>
+      <if test="validFlag != null">
+        VALID_FLAG,
+      </if>
+      <if test="createManNo != null">
+        CREATE_MAN_NO,
+      </if>
+      <if test="createManName != null">
+        CREATE_MAN_NAME,
+      </if>
+      <if test="createTime != null">
+        CREATE_TIME,
+      </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="deleteManNo != null">
+        DELETE_MAN_NO,
+      </if>
+      <if test="deleteManName != null">
+        DELETE_MAN_NAME,
+      </if>
+      <if test="deleteTime != null">
+        DELETE_TIME,
+      </if>
+      <if test="meterCode != null">
+        METER_CODE,
+      </if>
+      <if test="allowedTareWeight != null">
+        ALLOWED_TARE_WEIGHT,
+      </if>
+      <if test="allowedAddWeight != null">
+        ALLOWED_ADD_WEIGHT,
+      </if>
+      <if test="scaleValidPeriod != null">
+        SCALE_VALID_PERIOD,
+      </if>
+      <if test="specName != null">
+        SPEC_NAME,
+      </if>
+      <if test="memo != null">
+        MEMO,
+      </if>
+      <if test="reportCode != null">
+        REPORT_CODE,
+      </if>
+      <if test="settlementUnit != null">
+        SETTLEMENT_UNIT,
+      </if>
+      <if test="settlementPrice != null">
+        SETTLEMENT_PRICE,
+      </if>
+      <if test="beltTypeCode != null">
+        BELT_TYPE_CODE,
+      </if>
+      <if test="beltTypeName != null">
+        BELT_TYPE_NAME,
+      </if>
+      <if test="isSecondResources != null">
+        IS_SECOND_RESOURCES,
+      </if>
+      <if test="isLianda != null">
+        IS_LIANDA,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="matterNo != null">
+        #{matterNo,jdbcType=VARCHAR},
+      </if>
+      <if test="matterName != null">
+        #{matterName,jdbcType=VARCHAR},
+      </if>
+      <if test="indexCode != null">
+        #{indexCode,jdbcType=VARCHAR},
+      </if>
+      <if test="mnemonicCode != null">
+        #{mnemonicCode,jdbcType=VARCHAR},
+      </if>
+      <if test="matterNatureNo != null">
+        #{matterNatureNo,jdbcType=VARCHAR},
+      </if>
+      <if test="matterNatureName != null">
+        #{matterNatureName,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNatureNo != null">
+        #{meterNatureNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNatureName != null">
+        #{meterNatureName,jdbcType=VARCHAR},
+      </if>
+      <if test="validFlag != null">
+        #{validFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="createManNo != null">
+        #{createManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="createManName != null">
+        #{createManName,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </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="deleteManNo != null">
+        #{deleteManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="deleteManName != null">
+        #{deleteManName,jdbcType=VARCHAR},
+      </if>
+      <if test="deleteTime != null">
+        #{deleteTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="meterCode != null">
+        #{meterCode,jdbcType=VARCHAR},
+      </if>
+      <if test="allowedTareWeight != null">
+        #{allowedTareWeight,jdbcType=VARCHAR},
+      </if>
+      <if test="allowedAddWeight != null">
+        #{allowedAddWeight,jdbcType=VARCHAR},
+      </if>
+      <if test="scaleValidPeriod != null">
+        #{scaleValidPeriod,jdbcType=VARCHAR},
+      </if>
+      <if test="specName != null">
+        #{specName,jdbcType=VARCHAR},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="reportCode != null">
+        #{reportCode,jdbcType=VARCHAR},
+      </if>
+      <if test="settlementUnit != null">
+        #{settlementUnit,jdbcType=VARCHAR},
+      </if>
+      <if test="settlementPrice != null">
+        #{settlementPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="beltTypeCode != null">
+        #{beltTypeCode,jdbcType=VARCHAR},
+      </if>
+      <if test="beltTypeName != null">
+        #{beltTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="isSecondResources != null">
+        #{isSecondResources,jdbcType=VARCHAR},
+      </if>
+      <if test="isLianda != null">
+        #{isLianda,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect">
+    update METER_BASE_MATTER_INFO_DIRECT
+    set MATTER_NAME = #{matterName,jdbcType=VARCHAR},
+      INDEX_CODE = #{indexCode,jdbcType=VARCHAR},
+      MNEMONIC_CODE = #{mnemonicCode,jdbcType=VARCHAR},
+      MATTER_NATURE_NO = #{matterNatureNo,jdbcType=VARCHAR},
+      MATTER_NATURE_NAME = #{matterNatureName,jdbcType=VARCHAR},
+      METER_NATURE_NO = #{meterNatureNo,jdbcType=VARCHAR},
+      METER_NATURE_NAME = #{meterNatureName,jdbcType=VARCHAR},
+      VALID_FLAG = #{validFlag,jdbcType=VARCHAR},
+      CREATE_MAN_NO = #{createManNo,jdbcType=VARCHAR},
+      CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_MAN_NO = #{updateManNo,jdbcType=VARCHAR},
+      UPDATE_MAN_NAME = #{updateManName,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
+      DELETE_MAN_NO = #{deleteManNo,jdbcType=VARCHAR},
+      DELETE_MAN_NAME = #{deleteManName,jdbcType=VARCHAR},
+      DELETE_TIME = #{deleteTime,jdbcType=TIMESTAMP},
+      METER_CODE = #{meterCode,jdbcType=VARCHAR},
+      ALLOWED_TARE_WEIGHT = #{allowedTareWeight,jdbcType=VARCHAR},
+      ALLOWED_ADD_WEIGHT = #{allowedAddWeight,jdbcType=VARCHAR},
+      SCALE_VALID_PERIOD = #{scaleValidPeriod,jdbcType=VARCHAR},
+      SPEC_NAME = #{specName,jdbcType=VARCHAR},
+      MEMO = #{memo,jdbcType=VARCHAR},
+      REPORT_CODE = #{reportCode,jdbcType=VARCHAR},
+      SETTLEMENT_UNIT = #{settlementUnit,jdbcType=VARCHAR},
+      SETTLEMENT_PRICE = #{settlementPrice,jdbcType=DECIMAL},
+      BELT_TYPE_CODE = #{beltTypeCode,jdbcType=VARCHAR},
+      BELT_TYPE_NAME = #{beltTypeName,jdbcType=VARCHAR},
+      IS_SECOND_RESOURCES = #{isSecondResources,jdbcType=VARCHAR},
+      IS_LIANDA = #{isLianda,jdbcType=VARCHAR}
+    where MATTER_NO = #{matterNo,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect">
+    update METER_BASE_MATTER_INFO_DIRECT
+    <set>
+      <if test="matterName != null">
+        MATTER_NAME = #{matterName,jdbcType=VARCHAR},
+      </if>
+      <if test="indexCode != null">
+        INDEX_CODE = #{indexCode,jdbcType=VARCHAR},
+      </if>
+      <if test="mnemonicCode != null">
+        MNEMONIC_CODE = #{mnemonicCode,jdbcType=VARCHAR},
+      </if>
+      <if test="matterNatureNo != null">
+        MATTER_NATURE_NO = #{matterNatureNo,jdbcType=VARCHAR},
+      </if>
+      <if test="matterNatureName != null">
+        MATTER_NATURE_NAME = #{matterNatureName,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNatureNo != null">
+        METER_NATURE_NO = #{meterNatureNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNatureName != null">
+        METER_NATURE_NAME = #{meterNatureName,jdbcType=VARCHAR},
+      </if>
+      <if test="validFlag != null">
+        VALID_FLAG = #{validFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="createManNo != null">
+        CREATE_MAN_NO = #{createManNo,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="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="deleteManNo != null">
+        DELETE_MAN_NO = #{deleteManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="deleteManName != null">
+        DELETE_MAN_NAME = #{deleteManName,jdbcType=VARCHAR},
+      </if>
+      <if test="deleteTime != null">
+        DELETE_TIME = #{deleteTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="meterCode != null">
+        METER_CODE = #{meterCode,jdbcType=VARCHAR},
+      </if>
+      <if test="allowedTareWeight != null">
+        ALLOWED_TARE_WEIGHT = #{allowedTareWeight,jdbcType=VARCHAR},
+      </if>
+      <if test="allowedAddWeight != null">
+        ALLOWED_ADD_WEIGHT = #{allowedAddWeight,jdbcType=VARCHAR},
+      </if>
+      <if test="scaleValidPeriod != null">
+        SCALE_VALID_PERIOD = #{scaleValidPeriod,jdbcType=VARCHAR},
+      </if>
+      <if test="specName != null">
+        SPEC_NAME = #{specName,jdbcType=VARCHAR},
+      </if>
+      <if test="memo != null">
+        MEMO = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="reportCode != null">
+        REPORT_CODE = #{reportCode,jdbcType=VARCHAR},
+      </if>
+      <if test="settlementUnit != null">
+        SETTLEMENT_UNIT = #{settlementUnit,jdbcType=VARCHAR},
+      </if>
+      <if test="settlementPrice != null">
+        SETTLEMENT_PRICE = #{settlementPrice,jdbcType=DECIMAL},
+      </if>
+      <if test="beltTypeCode != null">
+        BELT_TYPE_CODE = #{beltTypeCode,jdbcType=VARCHAR},
+      </if>
+      <if test="beltTypeName != null">
+        BELT_TYPE_NAME = #{beltTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="isSecondResources != null">
+        IS_SECOND_RESOURCES = #{isSecondResources,jdbcType=VARCHAR},
+      </if>
+      <if test="isLianda != null">
+        IS_LIANDA = #{isLianda,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where MATTER_NO = #{matterNo,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where MATTER_NO = #{matterNo,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_BASE_MATTER_INFO_DIRECT 
+      (MATTER_NO, 
+      MATTER_NAME, INDEX_CODE, MNEMONIC_CODE, 
+      MATTER_NATURE_NO, MATTER_NATURE_NAME, 
+      METER_NATURE_NO, METER_NATURE_NAME, 
+      VALID_FLAG, CREATE_MAN_NO, CREATE_MAN_NAME, 
+      CREATE_TIME, UPDATE_MAN_NO, UPDATE_MAN_NAME, 
+      UPDATE_TIME, DELETE_MAN_NO, DELETE_MAN_NAME, 
+      DELETE_TIME, METER_CODE, ALLOWED_TARE_WEIGHT, 
+      ALLOWED_ADD_WEIGHT, SCALE_VALID_PERIOD, 
+      SPEC_NAME, MEMO, REPORT_CODE, 
+      SETTLEMENT_UNIT, SETTLEMENT_PRICE, 
+      BELT_TYPE_CODE, BELT_TYPE_NAME, IS_SECOND_RESOURCES, 
+      IS_LIANDA)
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.matterNo,jdbcType=VARCHAR}, 
+      #{item.matterName,jdbcType=VARCHAR}, #{item.indexCode,jdbcType=VARCHAR}, #{item.mnemonicCode,jdbcType=VARCHAR}, 
+      #{item.matterNatureNo,jdbcType=VARCHAR}, #{item.matterNatureName,jdbcType=VARCHAR}, 
+      #{item.meterNatureNo,jdbcType=VARCHAR}, #{item.meterNatureName,jdbcType=VARCHAR}, 
+      #{item.validFlag,jdbcType=VARCHAR}, #{item.createManNo,jdbcType=VARCHAR}, #{item.createManName,jdbcType=VARCHAR}, 
+      #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateManNo,jdbcType=VARCHAR}, #{item.updateManName,jdbcType=VARCHAR}, 
+      #{item.updateTime,jdbcType=TIMESTAMP}, #{item.deleteManNo,jdbcType=VARCHAR}, #{item.deleteManName,jdbcType=VARCHAR}, 
+      #{item.deleteTime,jdbcType=TIMESTAMP}, #{item.meterCode,jdbcType=VARCHAR}, #{item.allowedTareWeight,jdbcType=VARCHAR}, 
+      #{item.allowedAddWeight,jdbcType=VARCHAR}, #{item.scaleValidPeriod,jdbcType=VARCHAR}, 
+      #{item.specName,jdbcType=VARCHAR}, #{item.memo,jdbcType=VARCHAR}, #{item.reportCode,jdbcType=VARCHAR}, 
+      #{item.settlementUnit,jdbcType=VARCHAR}, #{item.settlementPrice,jdbcType=DECIMAL}, 
+      #{item.beltTypeCode,jdbcType=VARCHAR}, #{item.beltTypeName,jdbcType=VARCHAR}, #{item.isSecondResources,jdbcType=VARCHAR}, 
+      #{item.isLianda,jdbcType=VARCHAR} from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update METER_BASE_MATTER_INFO_DIRECT
+     set
+       MATTER_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.matterNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MATTER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.matterName,jdbcType=VARCHAR}
+       </foreach>
+       ,INDEX_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.indexCode,jdbcType=VARCHAR}
+       </foreach>
+       ,MNEMONIC_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.mnemonicCode,jdbcType=VARCHAR}
+       </foreach>
+       ,MATTER_NATURE_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.matterNatureNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MATTER_NATURE_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.matterNatureName,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_NATURE_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.meterNatureNo,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_NATURE_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.meterNatureName,jdbcType=VARCHAR}
+       </foreach>
+       ,VALID_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.validFlag,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.createManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,DELETE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.deleteManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,DELETE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.deleteManName,jdbcType=VARCHAR}
+       </foreach>
+       ,DELETE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.deleteTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,METER_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.meterCode,jdbcType=VARCHAR}
+       </foreach>
+       ,ALLOWED_TARE_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.allowedTareWeight,jdbcType=VARCHAR}
+       </foreach>
+       ,ALLOWED_ADD_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.allowedAddWeight,jdbcType=VARCHAR}
+       </foreach>
+       ,SCALE_VALID_PERIOD=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.scaleValidPeriod,jdbcType=VARCHAR}
+       </foreach>
+       ,SPEC_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.specName,jdbcType=VARCHAR}
+       </foreach>
+       ,MEMO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
+       </foreach>
+       ,REPORT_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.reportCode,jdbcType=VARCHAR}
+       </foreach>
+       ,SETTLEMENT_UNIT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.settlementUnit,jdbcType=VARCHAR}
+       </foreach>
+       ,SETTLEMENT_PRICE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.settlementPrice,jdbcType=DECIMAL}
+       </foreach>
+       ,BELT_TYPE_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.beltTypeCode,jdbcType=VARCHAR}
+       </foreach>
+       ,BELT_TYPE_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.beltTypeName,jdbcType=VARCHAR}
+       </foreach>
+       ,IS_SECOND_RESOURCES=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.isSecondResources,jdbcType=VARCHAR}
+       </foreach>
+       ,IS_LIANDA=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MATTER_NO" close="end">
+          when #{item.matterNo,jdbcType=VARCHAR} then #{item.isLianda,jdbcType=VARCHAR}
+       </foreach>
+     where MATTER_NO in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.matterNo,jdbcType=VARCHAR}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from METER_BASE_MATTER_INFO_DIRECT
+    where MATTER_NO in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  
+</mapper>

+ 498 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/model/MeterBaseMatterInfoDirect.java

@@ -0,0 +1,498 @@
+package com.steerinfo.baseinfo.meterbasematterinfodirect.model;
+
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@ApiModel(value="null")
+public class MeterBaseMatterInfoDirect implements IBasePO<String> {
+    /**
+     * 物料编号(MATTER_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="物料编号",required=true)
+    private String matterNo;
+
+    /**
+     * 物料名称(MATTER_NAME,VARCHAR,200)
+     */
+    @ApiModelProperty(value="物料名称",required=true)
+    private String matterName;
+
+    /**
+     * 索引码(INDEX_CODE,VARCHAR,40)
+     */
+    @ApiModelProperty(value="索引码",required=false)
+    private String indexCode;
+
+    /**
+     * 助记码(MNEMONIC_CODE,VARCHAR,50)
+     */
+    @ApiModelProperty(value="助记码",required=false)
+    private String mnemonicCode;
+
+    /**
+     * 物料属性编号(MATTER_NATURE_NO,VARCHAR,30)
+     */
+    @ApiModelProperty(value="物料属性编号",required=false)
+    private String matterNatureNo;
+
+    /**
+     * 物料属性名称(MATTER_NATURE_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="物料属性名称",required=false)
+    private String matterNatureName;
+
+    /**
+     * 计量属性编号(METER_NATURE_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="计量属性编号",required=false)
+    private String meterNatureNo;
+
+    /**
+     * 计量属性名称(METER_NATURE_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="计量属性名称",required=false)
+    private String meterNatureName;
+
+    /**
+     * 标志(0:无效;1:有效)(VALID_FLAG,VARCHAR,1)
+     */
+    @ApiModelProperty(value="标志(0:无效;1:有效)",required=false)
+    private String validFlag;
+
+    /**
+     * 创建人编号(CREATE_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="创建人编号",required=true)
+    private String createManNo;
+
+    /**
+     * 创建人姓名(CREATE_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="创建人姓名",required=true)
+    private String createManName;
+
+    /**
+     * 创建时间(YYYY-MM-DD HH:mm:SS)(CREATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="创建时间(YYYY-MM-DD HH:mm:SS)",required=true)
+    private Date createTime;
+
+    /**
+     * 修改人编号(UPDATE_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="修改人编号",required=false)
+    private String updateManNo;
+
+    /**
+     * 修改人姓名(UPDATE_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="修改人姓名",required=false)
+    private String updateManName;
+
+    /**
+     * 修改时间(YYYY-MM-DD HH:mm:SS)(UPDATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="修改时间(YYYY-MM-DD HH:mm:SS)",required=false)
+    private Date updateTime;
+
+    /**
+     * 删除人编号(DELETE_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="删除人编号",required=false)
+    private String deleteManNo;
+
+    /**
+     * 删除人姓名(DELETE_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="删除人姓名",required=false)
+    private String deleteManName;
+
+    /**
+     * 删除时间(YYYY-MM-DD HH:mm:SS)(DELETE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="删除时间(YYYY-MM-DD HH:mm:SS)",required=false)
+    private Date deleteTime;
+
+    /**
+     * 计量码(METER_CODE,VARCHAR,5)
+     */
+    @ApiModelProperty(value="计量码",required=false)
+    private String meterCode;
+
+    /**
+     * 是否允许使用期限皮重(0不可,1可以)(ALLOWED_TARE_WEIGHT,VARCHAR,1)
+     */
+    @ApiModelProperty(value="是否允许使用期限皮重(0不可,1可以)",required=false)
+    private String allowedTareWeight;
+
+    /**
+     * 是否允许使用附加重量(0不可,1可以)(ALLOWED_ADD_WEIGHT,VARCHAR,1)
+     */
+    @ApiModelProperty(value="是否允许使用附加重量(0不可,1可以)",required=false)
+    private String allowedAddWeight;
+
+    /**
+     * 预报有效天数,默认为5天;(SCALE_VALID_PERIOD,VARCHAR,2)
+     */
+    @ApiModelProperty(value="预报有效天数,默认为5天;",required=false)
+    private String scaleValidPeriod;
+
+    /**
+     * 规格(SPEC_NAME,VARCHAR,100)
+     */
+    @ApiModelProperty(value="规格",required=false)
+    private String specName;
+
+    /**
+     * 备注(MEMO,VARCHAR,200)
+     */
+    @ApiModelProperty(value="备注",required=false)
+    private String memo;
+
+    /**
+     * 001035001为普通物资,001035002是直达材料,001035003是废旧物资,具体类型可以在基础数据配置下物料分类-按报表中添加;(REPORT_CODE,VARCHAR,20)
+     */
+    @ApiModelProperty(value="001035001为普通物资,001035002是直达材料,001035003是废旧物资,具体类型可以在基础数据配置下物料分类-按报表中添加;",required=false)
+    private String reportCode;
+
+    /**
+     * 结算单位(如营销中心)(SETTLEMENT_UNIT,VARCHAR,100)
+     */
+    @ApiModelProperty(value="结算单位(如营销中心)",required=false)
+    private String settlementUnit;
+
+    /**
+     * 结算单价(SETTLEMENT_PRICE,DECIMAL,10)
+     */
+    @ApiModelProperty(value="结算单价",required=false)
+    private BigDecimal settlementPrice;
+
+    /**
+     * 皮带秤物料分类编码(001046)(BELT_TYPE_CODE,VARCHAR,20)
+     */
+    @ApiModelProperty(value="皮带秤物料分类编码(001046)",required=false)
+    private String beltTypeCode;
+
+    /**
+     * 皮带秤物料分类名称(BELT_TYPE_NAME,VARCHAR,20)
+     */
+    @ApiModelProperty(value="皮带秤物料分类名称",required=false)
+    private String beltTypeName;
+
+    /**
+     * 是否二次资源物料(IS_SECOND_RESOURCES,VARCHAR,1)
+     */
+    @ApiModelProperty(value="是否二次资源物料",required=false)
+    private String isSecondResources;
+
+    /**
+     * 是否是联达物料 0否1是(IS_LIANDA,VARCHAR,1)
+     */
+    @ApiModelProperty(value="是否是联达物料 0否1是",required=false)
+    private String isLianda;
+
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public String getId() {
+        return this.matterNo;
+    }
+
+    @Override
+    public void setId(String matterNo) {
+        this.matterNo = matterNo == null ? null : matterNo.trim();
+    }
+
+    public String getMatterNo() {
+        return matterNo;
+    }
+
+    public void setMatterNo(String matterNo) {
+        this.matterNo = matterNo == null ? null : matterNo.trim();
+    }
+
+    public String getMatterName() {
+        return matterName;
+    }
+
+    public void setMatterName(String matterName) {
+        this.matterName = matterName == null ? null : matterName.trim();
+    }
+
+    public String getIndexCode() {
+        return indexCode;
+    }
+
+    public void setIndexCode(String indexCode) {
+        this.indexCode = indexCode == null ? null : indexCode.trim();
+    }
+
+    public String getMnemonicCode() {
+        return mnemonicCode;
+    }
+
+    public void setMnemonicCode(String mnemonicCode) {
+        this.mnemonicCode = mnemonicCode == null ? null : mnemonicCode.trim();
+    }
+
+    public String getMatterNatureNo() {
+        return matterNatureNo;
+    }
+
+    public void setMatterNatureNo(String matterNatureNo) {
+        this.matterNatureNo = matterNatureNo == null ? null : matterNatureNo.trim();
+    }
+
+    public String getMatterNatureName() {
+        return matterNatureName;
+    }
+
+    public void setMatterNatureName(String matterNatureName) {
+        this.matterNatureName = matterNatureName == null ? null : matterNatureName.trim();
+    }
+
+    public String getMeterNatureNo() {
+        return meterNatureNo;
+    }
+
+    public void setMeterNatureNo(String meterNatureNo) {
+        this.meterNatureNo = meterNatureNo == null ? null : meterNatureNo.trim();
+    }
+
+    public String getMeterNatureName() {
+        return meterNatureName;
+    }
+
+    public void setMeterNatureName(String meterNatureName) {
+        this.meterNatureName = meterNatureName == null ? null : meterNatureName.trim();
+    }
+
+    public String getValidFlag() {
+        return validFlag;
+    }
+
+    public void setValidFlag(String validFlag) {
+        this.validFlag = validFlag == null ? null : validFlag.trim();
+    }
+
+    public String getCreateManNo() {
+        return createManNo;
+    }
+
+    public void setCreateManNo(String createManNo) {
+        this.createManNo = createManNo == null ? null : createManNo.trim();
+    }
+
+    public String getCreateManName() {
+        return createManName;
+    }
+
+    public void setCreateManName(String createManName) {
+        this.createManName = createManName == null ? null : createManName.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateManNo() {
+        return updateManNo;
+    }
+
+    public void setUpdateManNo(String updateManNo) {
+        this.updateManNo = updateManNo == null ? null : updateManNo.trim();
+    }
+
+    public String getUpdateManName() {
+        return updateManName;
+    }
+
+    public void setUpdateManName(String updateManName) {
+        this.updateManName = updateManName == null ? null : updateManName.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getDeleteManNo() {
+        return deleteManNo;
+    }
+
+    public void setDeleteManNo(String deleteManNo) {
+        this.deleteManNo = deleteManNo == null ? null : deleteManNo.trim();
+    }
+
+    public String getDeleteManName() {
+        return deleteManName;
+    }
+
+    public void setDeleteManName(String deleteManName) {
+        this.deleteManName = deleteManName == null ? null : deleteManName.trim();
+    }
+
+    public Date getDeleteTime() {
+        return deleteTime;
+    }
+
+    public void setDeleteTime(Date deleteTime) {
+        this.deleteTime = deleteTime;
+    }
+
+    public String getMeterCode() {
+        return meterCode;
+    }
+
+    public void setMeterCode(String meterCode) {
+        this.meterCode = meterCode == null ? null : meterCode.trim();
+    }
+
+    public String getAllowedTareWeight() {
+        return allowedTareWeight;
+    }
+
+    public void setAllowedTareWeight(String allowedTareWeight) {
+        this.allowedTareWeight = allowedTareWeight == null ? null : allowedTareWeight.trim();
+    }
+
+    public String getAllowedAddWeight() {
+        return allowedAddWeight;
+    }
+
+    public void setAllowedAddWeight(String allowedAddWeight) {
+        this.allowedAddWeight = allowedAddWeight == null ? null : allowedAddWeight.trim();
+    }
+
+    public String getScaleValidPeriod() {
+        return scaleValidPeriod;
+    }
+
+    public void setScaleValidPeriod(String scaleValidPeriod) {
+        this.scaleValidPeriod = scaleValidPeriod == null ? null : scaleValidPeriod.trim();
+    }
+
+    public String getSpecName() {
+        return specName;
+    }
+
+    public void setSpecName(String specName) {
+        this.specName = specName == null ? null : specName.trim();
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public void setMemo(String memo) {
+        this.memo = memo == null ? null : memo.trim();
+    }
+
+    public String getReportCode() {
+        return reportCode;
+    }
+
+    public void setReportCode(String reportCode) {
+        this.reportCode = reportCode == null ? null : reportCode.trim();
+    }
+
+    public String getSettlementUnit() {
+        return settlementUnit;
+    }
+
+    public void setSettlementUnit(String settlementUnit) {
+        this.settlementUnit = settlementUnit == null ? null : settlementUnit.trim();
+    }
+
+    public BigDecimal getSettlementPrice() {
+        return settlementPrice;
+    }
+
+    public void setSettlementPrice(BigDecimal settlementPrice) {
+        this.settlementPrice = settlementPrice;
+    }
+
+    public String getBeltTypeCode() {
+        return beltTypeCode;
+    }
+
+    public void setBeltTypeCode(String beltTypeCode) {
+        this.beltTypeCode = beltTypeCode == null ? null : beltTypeCode.trim();
+    }
+
+    public String getBeltTypeName() {
+        return beltTypeName;
+    }
+
+    public void setBeltTypeName(String beltTypeName) {
+        this.beltTypeName = beltTypeName == null ? null : beltTypeName.trim();
+    }
+
+    public String getIsSecondResources() {
+        return isSecondResources;
+    }
+
+    public void setIsSecondResources(String isSecondResources) {
+        this.isSecondResources = isSecondResources == null ? null : isSecondResources.trim();
+    }
+
+    public String getIsLianda() {
+        return isLianda;
+    }
+
+    public void setIsLianda(String isLianda) {
+        this.isLianda = isLianda == null ? null : isLianda.trim();
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", matterNo=").append(matterNo);
+        sb.append(", matterName=").append(matterName);
+        sb.append(", indexCode=").append(indexCode);
+        sb.append(", mnemonicCode=").append(mnemonicCode);
+        sb.append(", matterNatureNo=").append(matterNatureNo);
+        sb.append(", matterNatureName=").append(matterNatureName);
+        sb.append(", meterNatureNo=").append(meterNatureNo);
+        sb.append(", meterNatureName=").append(meterNatureName);
+        sb.append(", validFlag=").append(validFlag);
+        sb.append(", createManNo=").append(createManNo);
+        sb.append(", createManName=").append(createManName);
+        sb.append(", createTime=").append(createTime);
+        sb.append(", updateManNo=").append(updateManNo);
+        sb.append(", updateManName=").append(updateManName);
+        sb.append(", updateTime=").append(updateTime);
+        sb.append(", deleteManNo=").append(deleteManNo);
+        sb.append(", deleteManName=").append(deleteManName);
+        sb.append(", deleteTime=").append(deleteTime);
+        sb.append(", meterCode=").append(meterCode);
+        sb.append(", allowedTareWeight=").append(allowedTareWeight);
+        sb.append(", allowedAddWeight=").append(allowedAddWeight);
+        sb.append(", scaleValidPeriod=").append(scaleValidPeriod);
+        sb.append(", specName=").append(specName);
+        sb.append(", memo=").append(memo);
+        sb.append(", reportCode=").append(reportCode);
+        sb.append(", settlementUnit=").append(settlementUnit);
+        sb.append(", settlementPrice=").append(settlementPrice);
+        sb.append(", beltTypeCode=").append(beltTypeCode);
+        sb.append(", beltTypeName=").append(beltTypeName);
+        sb.append(", isSecondResources=").append(isSecondResources);
+        sb.append(", isLianda=").append(isLianda);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 23 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/service/IMeterBaseMatterInfoDirectService.java

@@ -0,0 +1,23 @@
+package com.steerinfo.baseinfo.meterbasematterinfodirect.service;
+
+import com.steerinfo.framework.service.IBaseService;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect;
+import java.util.Date;
+import java.math.BigDecimal;
+
+/**
+ * MeterBaseMatterInfoDirect服务接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-02-11 06:04
+ * 类描述
+ * 修订历史:
+ * 日期:2022-02-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterInfoDirect服务接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+public interface IMeterBaseMatterInfoDirectService extends IBaseService<MeterBaseMatterInfoDirect, String>{
+
+}

+ 36 - 0
src/main/java/com/steerinfo/baseinfo/meterbasematterinfodirect/service/impl/MeterBaseMatterInfoDirectServiceImpl.java

@@ -0,0 +1,36 @@
+package com.steerinfo.baseinfo.meterbasematterinfodirect.service.impl;
+
+import com.steerinfo.framework.mapper.IBaseMapper;
+import com.steerinfo.framework.service.impl.BaseServiceImpl;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.model.MeterBaseMatterInfoDirect;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.mapper.MeterBaseMatterInfoDirectMapper;
+import com.steerinfo.baseinfo.meterbasematterinfodirect.service.IMeterBaseMatterInfoDirectService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import java.util.Date;
+import java.math.BigDecimal;
+
+/**
+ * MeterBaseMatterInfoDirect服务实现:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-02-11 06:04
+ * 类描述
+ * 修订历史:
+ * 日期:2022-02-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterInfoDirect服务实现
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@Service(value = "meterBaseMatterInfoDirectService")
+public class MeterBaseMatterInfoDirectServiceImpl extends BaseServiceImpl<MeterBaseMatterInfoDirect, String> implements IMeterBaseMatterInfoDirectService {
+
+    @Autowired
+    private MeterBaseMatterInfoDirectMapper meterBaseMatterInfoDirectMapper;
+
+    @Override
+    protected IBaseMapper<MeterBaseMatterInfoDirect, String> getMapper() {
+        return meterBaseMatterInfoDirectMapper;
+    }
+}