Redeem před 1 týdnem
rodič
revize
48e8d84769
25 změnil soubory, kde provedl 3984 přidání a 107 odebrání
  1. 24 23
      pom.xml
  2. 17 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermap/controller/MeterBaseMatterMapController.java
  3. 3 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermap/mapper/MeterBaseMatterMapMapper.java
  4. 6 1
      src/main/java/com/steerinfo/baseinfo/meterbasemattermap/mapper/MeterBaseMatterMapMapper.xml
  5. 3 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermap/service/IMeterBaseMatterMapService.java
  6. 13 4
      src/main/java/com/steerinfo/baseinfo/meterbasemattermap/service/impl/MeterBaseMatterMapServiceImpl.java
  7. 122 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/controller/MeterBaseMatterMapOutController.java
  8. 19 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/mapper/MeterBaseMatterMapOutMapper.java
  9. 212 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/mapper/MeterBaseMatterMapOutMapper.xml
  10. 91 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/model/MeterBaseMatterMapOut.java
  11. 26 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/service/IMeterBaseMatterMapOutService.java
  12. 41 0
      src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/service/impl/MeterBaseMatterMapOutServiceImpl.java
  13. 107 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/controller/MeterReportWideController.java
  14. 11 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/mapper/MeterReportWideMapper.java
  15. 1141 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/mapper/MeterReportWideMapper.xml
  16. 526 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/model/MeterReportWide.java
  17. 23 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/service/IMeterReportWideService.java
  18. 36 0
      src/main/java/com/steerinfo/baseinfo/meterreportwide/service/impl/MeterReportWideServiceImpl.java
  19. 106 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/controller/TruckTareCheckWideController.java
  20. 9 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/mapper/TruckTareCheckWideMapper.java
  21. 961 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/mapper/TruckTareCheckWideMapper.xml
  22. 432 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/model/TruckTareCheckWide.java
  23. 21 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/service/ITruckTareCheckWideService.java
  24. 34 0
      src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/service/impl/TruckTareCheckWideServiceImpl.java
  25. 0 79
      src/main/java/com/steerinfo/metermonitor/metermonitornote/mapper/MeterMonitorNoteMapper.xml

+ 24 - 23
pom.xml

@@ -70,29 +70,30 @@
             <!-- 配置文件模版位置在 generator-maven-plugin-3.0.jar 包的主目录下 -->
             <!--<xmlProject>${project.basedir}\src\main\resources\generatorConfig.xml</xmlProject>-->
             <!-- 表生成model默认生成驼峰式:sys_user->SysUser,如果需要生成其它名字可以用逗号分隔:sys_user,User -->
-<!--            <plugin>-->
-<!--                <groupId>com.steerinfo</groupId>-->
-<!--                <artifactId>generator-maven-plugin</artifactId>-->
-<!--                <version>3.0</version>-->
-<!--                <configuration>-->
-<!--                    <connUrl>jdbc:oracle:thin:@10.99.200.87:1521/jgwzjl</connUrl>-->
-<!--                    <targetPackage>com.steerinfo.baseinfo</targetPackage>-->
-<!--                    <user>lims</user>-->
-<!--                    <password>lims_2021</password>-->
-<!--                    <tables>-->
-<!--                        <params>METER_BASE_MATTER_MAP</params>-->
-<!--                        <params>METRIC_POINT_LAYOUT</params>-->
-<!--                    </tables>-->
-<!--                </configuration>-->
-<!--                <executions>-->
-<!--                    <execution>-->
-<!--                        <phase>compile</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>steerinfo</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--            </plugin>-->
+            <plugin>
+                <groupId>com.steerinfo</groupId>
+                <artifactId>generator-maven-plugin</artifactId>
+                <version>3.0</version>
+                <configuration>
+                    <connUrl>jdbc:oracle:thin:@10.99.200.87:1521/jgwzjl</connUrl>
+                    <targetPackage>com.steerinfo.baseinfo</targetPackage>
+                    <user>lims</user>
+                    <password>lims_2021</password>
+                    <tables>
+                        <params>METER_REPORT_WIDE</params>
+                        <params>METER_BASE_MATTER_MAP_OUT</params>
+                        <params>TRUCK_TARE_CHECK_WIDE</params>
+                    </tables>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>steerinfo</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>

+ 17 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermap/controller/MeterBaseMatterMapController.java

@@ -146,6 +146,23 @@ public class MeterBaseMatterMapController extends BaseRESTfulController {
         }
     }
 
+    @ApiOperation(value="匹配是否映射關係")
+    @PostMapping(value = "/existMapping")
+    public RESTfulResult existMapping(@RequestBody Map<String,Object> map){
+        RESTfulResult rm = new RESTfulResult();
+        try {
+            rm = meterBaseMatterMapService.existMapping(map);
+            return rm;
+        }catch (Exception e){
+            rm.setCode("500");
+            rm.setSucceed(false);
+            rm.setData(null);
+            rm.setMessage("操作失败--》" + e.getMessage());
+            e.printStackTrace();
+            return rm;
+        }
+    }
+
     /**
      * 批量作废(或逻辑删除)物料映射记录
      * @param ids 以逗号分隔的映射编号字符串,例如 "MAP001,MAP002"

+ 3 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermap/mapper/MeterBaseMatterMapMapper.java

@@ -4,6 +4,7 @@ import com.steerinfo.baseinfo.meterbasemattermap.model.MeterBaseMatterMap;
 import com.steerinfo.framework.mapper.IBaseMapper;
 import java.math.*;
 import java.util.List;
+import java.util.Map;
 
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
@@ -15,4 +16,6 @@ public interface MeterBaseMatterMapMapper extends IBaseMapper<MeterBaseMatterMap
 
     void updateStatus(@Param("idList") List<String> idList,@Param("number") String number);
 
+    Integer selectMatterMap(Map<String, Object> map);
+
 }

+ 6 - 1
src/main/java/com/steerinfo/baseinfo/meterbasemattermap/mapper/MeterBaseMatterMapMapper.xml

@@ -197,7 +197,7 @@
     WHERE
       instr( MAP_NO, #{al} ) >0
   </select>
-  <update id="updateStatus">
+    <update id="updateStatus">
     UPDATE METER_BASE_MATTER_MAP
     SET VALUE_FLAG = '0'
     WHERE MAP_NO IN
@@ -205,4 +205,9 @@
       #{item}
     </foreach>
   </update>
+  <select id="selectMatterMap" resultType="java.lang.Integer">
+    SELECT COUNT(*) FROM METER_BASE_MATTER_MAP_OUT where MAATER_NO1 = #{matterNo1}
+    AND MAATER_NO2 = #{matterNo2}
+    AND VALUE_FLAG = '1'
+  </select>
 </mapper>

+ 3 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermap/service/IMeterBaseMatterMapService.java

@@ -9,6 +9,7 @@ import org.apache.ibatis.annotations.Param;
 import java.util.Date;
 import java.math.BigDecimal;
 import java.util.List;
+import java.util.Map;
 
 /**
  * MeterBaseMatterMap服务接口:
@@ -28,4 +29,6 @@ public interface IMeterBaseMatterMapService extends IBaseService<MeterBaseMatter
 
     void batchInvalid(@Param("idList") List<String> idList);
 
+    RESTfulResult existMapping(Map<String, Object> map);
+
 }

+ 13 - 4
src/main/java/com/steerinfo/baseinfo/meterbasemattermap/service/impl/MeterBaseMatterMapServiceImpl.java

@@ -19,11 +19,8 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.Date;
+import java.util.*;
 import java.math.BigDecimal;
-import java.util.HashMap;
-import java.util.List;
 
 /**
  * MeterBaseMatterMap服务实现:
@@ -273,4 +270,16 @@ public class MeterBaseMatterMapServiceImpl extends BaseServiceImpl<MeterBaseMatt
     public void batchInvalid(List<String> idList) {
         meterBaseMatterMapMapper.updateStatus(idList, "0");
     }
+
+    @Override
+    public RESTfulResult existMapping(Map<String, Object> map) {
+        RESTfulResult rm = new RESTfulResult();
+        Integer count = meterBaseMatterMapMapper.selectMatterMap(map);
+        if(count > 0){
+            rm.setData(true);
+        }else{
+            rm.setData(false);
+        }
+        return rm;
+    }
 }

+ 122 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/controller/MeterBaseMatterMapOutController.java

@@ -0,0 +1,122 @@
+package com.steerinfo.baseinfo.meterbasemattermapout.controller;
+
+import com.steerinfo.baseinfo.meterbasemattermapout.mapper.MeterBaseMatterMapOutMapper;
+import com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut;
+import com.steerinfo.baseinfo.meterbasemattermapout.service.IMeterBaseMatterMapOutService;
+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 io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+/**
+ * MeterBaseMatterMapOut RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterMapOut RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/meterbasemattermapouts")
+public class MeterBaseMatterMapOutController extends BaseRESTfulController {
+
+    @Autowired
+    IMeterBaseMatterMapOutService meterBaseMatterMapOutService;
+
+    @Autowired
+    MeterBaseMatterMapOutMapper meterBaseMatterMapOutMapper;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("meterbasemattermapout:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterBaseMatterMapOut> list = meterBaseMatterMapOutService.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("meterbasemattermapout:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterBaseMatterMapOut> list = meterBaseMatterMapOutService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+    
+    @ApiOperation(value="创建", notes="根据MeterBaseMatterMapOut对象创建")
+    @ApiImplicitParam(name = "meterBaseMatterMapOut", value = "详细实体meterBaseMatterMapOut", required = true, dataType = "MeterBaseMatterMapOut")
+    //@RequiresPermissions("meterbasemattermapout:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@ModelAttribute MeterBaseMatterMapOut model){
+        if(model.getMaaterNo1() != null && model.getMaaterNo2() != null) {
+            Map<String, Object> objectObjectHashMap = new HashMap<>();
+            objectObjectHashMap.put("maaterNo1",model.getMaaterNo1());
+            objectObjectHashMap.put("maaterNo2",model.getMaaterNo2());
+            objectObjectHashMap.put("valueFlag",model.getValueFlag());
+            List<MeterBaseMatterMapOut> matterMaps = meterBaseMatterMapOutMapper.selectByParameters(objectObjectHashMap);
+            if (matterMaps.size() > 0) {
+                return failed("该映射关系已存在");
+            }
+        }
+        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd");
+        String al = simpleDateFormat.format(new Date());
+        model.setId(al + meterBaseMatterMapOutMapper.getNewId(al));
+        MeterBaseMatterMapOut meterBaseMatterMapOut = meterBaseMatterMapOutService.add(model);
+        return success(meterBaseMatterMapOut);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("meterbasemattermapout:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable String id){
+        MeterBaseMatterMapOut meterBaseMatterMapOut = meterBaseMatterMapOutService.getById(id);
+        return success(meterBaseMatterMapOut);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的meterBaseMatterMapOut信息来更新详细信息")
+    @ApiImplicitParams({
+        @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+        @ApiImplicitParam(name = "meterBaseMatterMapOut", value = "详细实体meterBaseMatterMapOut", required = true, dataType = "MeterBaseMatterMapOut")
+    })
+    //@RequiresPermissions("meterbasemattermapout:update")
+    @PutMapping(value = "/{id}", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@PathVariable String id, @RequestBody MeterBaseMatterMapOut model){
+        model.setId(id);
+        MeterBaseMatterMapOut meterBaseMatterMapOut = meterBaseMatterMapOutService.modify(model);
+        return success(meterBaseMatterMapOut);
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("meterbasemattermapout: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);
+			  meterBaseMatterMapOutService.delete(ids);
+    	}
+      return success();
+    }
+}

+ 19 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/mapper/MeterBaseMatterMapOutMapper.java

@@ -0,0 +1,19 @@
+package com.steerinfo.baseinfo.meterbasemattermapout.mapper;
+
+import com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+@Mapper
+public interface MeterBaseMatterMapOutMapper extends IBaseMapper<MeterBaseMatterMapOut, String> {
+
+    String getNewId(@Param("al") String al);
+
+    void updateStatus(@Param("idList") List<String> idList, @Param("number") String number);
+
+    Integer selectMatterMap(Map<String, Object> map);
+}

+ 212 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/mapper/MeterBaseMatterMapOutMapper.xml

@@ -0,0 +1,212 @@
+<?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.meterbasemattermapout.mapper.MeterBaseMatterMapOutMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut">
+    <id column="MAP_NO" jdbcType="VARCHAR" property="mapNo" />
+    <result column="MAATER_NO1" jdbcType="VARCHAR" property="maaterNo1" />
+    <result column="MAATER_NO2" jdbcType="VARCHAR" property="maaterNo2" />
+    <result column="VALUE_FLAG" jdbcType="VARCHAR" property="valueFlag" />
+  </resultMap>
+  <sql id="columns">
+    MAP_NO, MAATER_NO1, MAATER_NO2, VALUE_FLAG
+  </sql>
+  <sql id="columns_alias">
+    t.MAP_NO, t.MAATER_NO1, t.MAATER_NO2, t.VALUE_FLAG
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM METER_BASE_MATTER_MAP_OUT
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM METER_BASE_MATTER_MAP_OUT t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="mapNo != null and mapNo != ''">
+        and MAP_NO = #{mapNo}
+      </if>
+      <if test="maaterNo1 != null and maaterNo1 != ''">
+        and MAATER_NO1 = #{maaterNo1}
+      </if>
+      <if test="maaterNo2 != null and maaterNo2 != ''">
+        and MAATER_NO2 = #{maaterNo2}
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        and VALUE_FLAG = #{valueFlag}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="mapNo != null and mapNo != ''">
+        and MAP_NO LIKE '%${mapNo}%'
+      </if>
+      <if test="maaterNo1 != null and maaterNo1 != ''">
+        and MAATER_NO1 LIKE '%${maaterNo1}%'
+      </if>
+      <if test="maaterNo2 != null and maaterNo2 != ''">
+        and MAATER_NO2 LIKE '%${maaterNo2}%'
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        and VALUE_FLAG LIKE '%${valueFlag}%'
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from METER_BASE_MATTER_MAP_OUT
+    where MAP_NO = #{mapNo,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from METER_BASE_MATTER_MAP_OUT
+    where 1!=1 
+      <if test="maaterNo1 != null and maaterNo1 != ''">
+        or MAATER_NO1 = #{maaterNo1}
+      </if>
+      <if test="maaterNo2 != null and maaterNo2 != ''">
+        or MAATER_NO2 = #{maaterNo2}
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        or VALUE_FLAG = #{valueFlag}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut">
+    insert into METER_BASE_MATTER_MAP_OUT (MAP_NO, MAATER_NO1, MAATER_NO2, 
+      VALUE_FLAG)
+    values (#{mapNo,jdbcType=VARCHAR}, #{maaterNo1,jdbcType=VARCHAR}, #{maaterNo2,jdbcType=VARCHAR}, 
+      #{valueFlag,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut">
+    insert into METER_BASE_MATTER_MAP_OUT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="mapNo != null">
+        MAP_NO,
+      </if>
+      <if test="maaterNo1 != null">
+        MAATER_NO1,
+      </if>
+      <if test="maaterNo2 != null">
+        MAATER_NO2,
+      </if>
+      <if test="valueFlag != null">
+        VALUE_FLAG,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="mapNo != null">
+        #{mapNo,jdbcType=VARCHAR},
+      </if>
+      <if test="maaterNo1 != null">
+        #{maaterNo1,jdbcType=VARCHAR},
+      </if>
+      <if test="maaterNo2 != null">
+        #{maaterNo2,jdbcType=VARCHAR},
+      </if>
+      <if test="valueFlag != null">
+        #{valueFlag,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut">
+    update METER_BASE_MATTER_MAP_OUT
+    set MAATER_NO1 = #{maaterNo1,jdbcType=VARCHAR},
+      MAATER_NO2 = #{maaterNo2,jdbcType=VARCHAR},
+      VALUE_FLAG = #{valueFlag,jdbcType=VARCHAR}
+    where MAP_NO = #{mapNo,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut">
+    update METER_BASE_MATTER_MAP_OUT
+    <set>
+      <if test="maaterNo1 != null">
+        MAATER_NO1 = #{maaterNo1,jdbcType=VARCHAR},
+      </if>
+      <if test="maaterNo2 != null">
+        MAATER_NO2 = #{maaterNo2,jdbcType=VARCHAR},
+      </if>
+      <if test="valueFlag != null">
+        VALUE_FLAG = #{valueFlag,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where MAP_NO = #{mapNo,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where MAP_NO = #{mapNo,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_MAP_OUT 
+      (MAP_NO, 
+      MAATER_NO1, MAATER_NO2, VALUE_FLAG
+      )
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.mapNo,jdbcType=VARCHAR}, 
+      #{item.maaterNo1,jdbcType=VARCHAR}, #{item.maaterNo2,jdbcType=VARCHAR}, #{item.valueFlag,jdbcType=VARCHAR}
+       from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update METER_BASE_MATTER_MAP_OUT
+     set
+       MAP_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MAP_NO" close="end">
+          when #{item.mapNo,jdbcType=VARCHAR} then #{item.mapNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MAATER_NO1=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MAP_NO" close="end">
+          when #{item.mapNo,jdbcType=VARCHAR} then #{item.maaterNo1,jdbcType=VARCHAR}
+       </foreach>
+       ,MAATER_NO2=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MAP_NO" close="end">
+          when #{item.mapNo,jdbcType=VARCHAR} then #{item.maaterNo2,jdbcType=VARCHAR}
+       </foreach>
+       ,VALUE_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case MAP_NO" close="end">
+          when #{item.mapNo,jdbcType=VARCHAR} then #{item.valueFlag,jdbcType=VARCHAR}
+       </foreach>
+     where MAP_NO in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.mapNo,jdbcType=VARCHAR}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from METER_BASE_MATTER_MAP_OUT
+    where MAP_NO in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  <select id="getNewId" resultType="java.lang.String" parameterType="java.lang.String">
+    SELECT
+      LPAD(
+              NVL( MAX( TO_NUMBER( SUBSTR( MAP_NO, LENGTH( MAP_NO ) - 3 ) ) ), 0 ) + 1,
+              2,
+              '0'
+      ) MAP_NO
+    FROM
+      METER_BASE_MATTER_MAP_OUT
+    WHERE
+      instr( MAP_NO, #{al} ) >0
+  </select>
+  <update id="updateStatus">
+    UPDATE METER_BASE_MATTER_MAP
+    SET VALUE_FLAG = '0'
+    WHERE MAP_NO IN
+    <foreach collection="idList" open="(" close=")" item="item" separator=",">
+      #{item}
+    </foreach>
+  </update>
+  <select id="selectMatterMap" resultType="java.lang.Integer">
+    SELECT COUNT(*) FROM METER_BASE_MATTER_MAP where MAATER_NO1 = #{matterNo1}
+                                                 AND MAATER_NO2 = #{matterNo2}
+                                                 AND VALUE_FLAG = "1"
+  </select>
+</mapper>

+ 91 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/model/MeterBaseMatterMapOut.java

@@ -0,0 +1,91 @@
+package com.steerinfo.baseinfo.meterbasemattermapout.model;
+
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+@ApiModel(value="null")
+public class MeterBaseMatterMapOut implements IBasePO<String> {
+    /**
+     * 主键(MAP_NO,VARCHAR,50)
+     */
+    @ApiModelProperty(value="主键",required=true)
+    private String mapNo;
+
+    /**
+     * 物料编号(MAATER_NO1,VARCHAR,50)
+     */
+    @ApiModelProperty(value="物料编号",required=false)
+    private String maaterNo1;
+
+    /**
+     * 映射物料编号(MAATER_NO2,VARCHAR,50)
+     */
+    @ApiModelProperty(value="映射物料编号",required=false)
+    private String maaterNo2;
+
+    /**
+     * 状态(0:无效,1:有效)(VALUE_FLAG,VARCHAR,50)
+     */
+    @ApiModelProperty(value="状态(0:无效,1:有效)",required=false)
+    private String valueFlag;
+
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public String getId() {
+        return this.mapNo;
+    }
+
+    @Override
+    public void setId(String mapNo) {
+        this.mapNo = mapNo == null ? null : mapNo.trim();
+    }
+
+    public String getMapNo() {
+        return mapNo;
+    }
+
+    public void setMapNo(String mapNo) {
+        this.mapNo = mapNo == null ? null : mapNo.trim();
+    }
+
+    public String getMaaterNo1() {
+        return maaterNo1;
+    }
+
+    public void setMaaterNo1(String maaterNo1) {
+        this.maaterNo1 = maaterNo1 == null ? null : maaterNo1.trim();
+    }
+
+    public String getMaaterNo2() {
+        return maaterNo2;
+    }
+
+    public void setMaaterNo2(String maaterNo2) {
+        this.maaterNo2 = maaterNo2 == null ? null : maaterNo2.trim();
+    }
+
+    public String getValueFlag() {
+        return valueFlag;
+    }
+
+    public void setValueFlag(String valueFlag) {
+        this.valueFlag = valueFlag == null ? null : valueFlag.trim();
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", mapNo=").append(mapNo);
+        sb.append(", maaterNo1=").append(maaterNo1);
+        sb.append(", maaterNo2=").append(maaterNo2);
+        sb.append(", valueFlag=").append(valueFlag);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 26 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/service/IMeterBaseMatterMapOutService.java

@@ -0,0 +1,26 @@
+package com.steerinfo.baseinfo.meterbasemattermapout.service;
+
+import com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut;
+import com.steerinfo.framework.service.IBaseService;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * MeterBaseMatterMapOut服务接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterMapOut服务接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+public interface IMeterBaseMatterMapOutService extends IBaseService<MeterBaseMatterMapOut, String>{
+
+    void batchInvalid(@Param("idList") List<String> idList);
+
+}

+ 41 - 0
src/main/java/com/steerinfo/baseinfo/meterbasemattermapout/service/impl/MeterBaseMatterMapOutServiceImpl.java

@@ -0,0 +1,41 @@
+package com.steerinfo.baseinfo.meterbasemattermapout.service.impl;
+
+import com.steerinfo.baseinfo.meterbasemattermapout.mapper.MeterBaseMatterMapOutMapper;
+import com.steerinfo.baseinfo.meterbasemattermapout.model.MeterBaseMatterMapOut;
+import com.steerinfo.baseinfo.meterbasemattermapout.service.IMeterBaseMatterMapOutService;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import com.steerinfo.framework.service.impl.BaseServiceImpl;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * MeterBaseMatterMapOut服务实现:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterBaseMatterMapOut服务实现
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@Service(value = "meterBaseMatterMapOutService")
+public class MeterBaseMatterMapOutServiceImpl extends BaseServiceImpl<MeterBaseMatterMapOut, String> implements IMeterBaseMatterMapOutService {
+
+    @Autowired
+    private MeterBaseMatterMapOutMapper meterBaseMatterMapOutMapper;
+
+    @Override
+    protected IBaseMapper<MeterBaseMatterMapOut, String> getMapper() {
+        return meterBaseMatterMapOutMapper;
+    }
+
+    @Override
+    public void batchInvalid(List<String> idList) {
+        meterBaseMatterMapOutMapper.updateStatus(idList, "0");
+    }
+}

+ 107 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/controller/MeterReportWideController.java

@@ -0,0 +1,107 @@
+package com.steerinfo.baseinfo.meterreportwide.controller;
+
+import com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide;
+import com.steerinfo.baseinfo.meterreportwide.service.IMeterReportWideService;
+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 io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.math.BigDecimal;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+
+/**
+ * MeterReportWide RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:MeterReportWide RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/meterreportwides")
+public class MeterReportWideController extends BaseRESTfulController {
+
+    @Autowired
+    IMeterReportWideService meterReportWideService;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("meterreportwide:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterReportWide> list = meterReportWideService.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("meterreportwide:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<MeterReportWide> list = meterReportWideService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+    
+    @ApiOperation(value="创建", notes="根据MeterReportWide对象创建")
+    @ApiImplicitParam(name = "meterReportWide", value = "详细实体meterReportWide", required = true, dataType = "MeterReportWide")
+    //@RequiresPermissions("meterreportwide:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@ModelAttribute MeterReportWide model){
+        MeterReportWide meterReportWide = meterReportWideService.add(model);
+        return success(meterReportWide);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
+    //@RequiresPermissions("meterreportwide:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable BigDecimal id){
+        MeterReportWide meterReportWide = meterReportWideService.getById(id);
+        return success(meterReportWide);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的meterReportWide信息来更新详细信息")
+    @ApiImplicitParams({
+        @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal"),
+        @ApiImplicitParam(name = "meterReportWide", value = "详细实体meterReportWide", required = true, dataType = "MeterReportWide")
+    })
+    //@RequiresPermissions("meterreportwide:update")
+    @PutMapping(value = "/{id}", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@PathVariable BigDecimal id, @RequestBody MeterReportWide model){
+        model.setId(id);
+        MeterReportWide meterReportWide = meterReportWideService.modify(model);
+        return success(meterReportWide);
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
+    //@RequiresPermissions("meterreportwide:delete")
+    @DeleteMapping(value = "/{id}")//BigDecimal
+    public RESTfulResult delete(@PathVariable String id){
+    	List<String> list = Arrays.asList(id.split(","));
+    	if(ListUtils.isNotEmpty(list)) {
+	    	List<BigDecimal> ids = ListUtils.convertList(list);
+			  meterReportWideService.delete(ids);
+    	}
+      return success();
+    }
+}

+ 11 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/mapper/MeterReportWideMapper.java

@@ -0,0 +1,11 @@
+package com.steerinfo.baseinfo.meterreportwide.mapper;
+
+import com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.math.BigDecimal;
+
+@Mapper
+public interface MeterReportWideMapper extends IBaseMapper<MeterReportWide, BigDecimal> {
+}

+ 1141 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/mapper/MeterReportWideMapper.xml

@@ -0,0 +1,1141 @@
+<?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.meterreportwide.mapper.MeterReportWideMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide">
+    <id column="WIDE_ID" jdbcType="DECIMAL" property="wideId" />
+    <result column="SYNC_TIME" jdbcType="TIMESTAMP" property="syncTime" />
+    <result column="DATA_VERSION" jdbcType="VARCHAR" property="dataVersion" />
+    <result column="IS_LATEST" jdbcType="CHAR" property="isLatest" />
+    <result column="BUSINESS_FLAG" jdbcType="VARCHAR" property="businessFlag" />
+    <result column="EXT_FIELD1" jdbcType="VARCHAR" property="extField1" />
+    <result column="EXT_FIELD2" jdbcType="VARCHAR" property="extField2" />
+    <result column="EXT_FIELD3" jdbcType="DECIMAL" property="extField3" />
+    <result column="OPERATION_TIME_ORIGINAL" jdbcType="VARCHAR" property="operationTimeOriginal" />
+    <result column="NOTE_NO" jdbcType="VARCHAR" property="noteNo" />
+    <result column="BASE_SPOT_NO" jdbcType="VARCHAR" property="baseSpotNo" />
+    <result column="BASE_SPOT_NAME" jdbcType="VARCHAR" property="baseSpotName" />
+    <result column="OPERATION_CONTENT" jdbcType="VARCHAR" property="operationContent" />
+    <result column="OPERATION_TIME" jdbcType="TIMESTAMP" property="operationTime" />
+    <result column="CAR_NO" jdbcType="VARCHAR" property="carNo" />
+    <result column="METER_MAN_NO" jdbcType="VARCHAR" property="meterManNo" />
+    <result column="METER_MAN_NAME" jdbcType="VARCHAR" property="meterManName" />
+    <result column="METER_NOTE_SOURCE" jdbcType="VARCHAR" property="meterNoteSource" />
+    <result column="NOTE_TYPE_NO" jdbcType="VARCHAR" property="noteTypeNo" />
+    <result column="NOTE_TYPE_NAME" jdbcType="VARCHAR" property="noteTypeName" />
+    <result column="PREDICTION_NO" jdbcType="VARCHAR" property="predictionNo" />
+    <result column="MEMO" jdbcType="VARCHAR" property="memo" />
+    <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="MONITOR_NOTE" jdbcType="VARCHAR" property="monitorNote" />
+    <result column="ACTUAL_FIRST_NO" jdbcType="VARCHAR" property="actualFirstNo" />
+    <result column="ACTUAL_CAR_NO" jdbcType="VARCHAR" property="actualCarNo" />
+    <result column="ACTUAL_CREATE_TIME" jdbcType="TIMESTAMP" property="actualCreateTime" />
+    <result column="FORWARDING_UNIT_NO" jdbcType="VARCHAR" property="forwardingUnitNo" />
+    <result column="FORWARDING_UNIT_NAME" jdbcType="VARCHAR" property="forwardingUnitName" />
+    <result column="RECEIVING_UNIT_NO" jdbcType="VARCHAR" property="receivingUnitNo" />
+    <result column="RECEIVING_UNIT_NAME" jdbcType="VARCHAR" property="receivingUnitName" />
+    <result column="MATTER_NO" jdbcType="VARCHAR" property="matterNo" />
+    <result column="MATTER_NAME" jdbcType="VARCHAR" property="matterName" />
+    <result column="SPEC_NO" jdbcType="VARCHAR" property="specNo" />
+    <result column="SPEC_NAME" jdbcType="VARCHAR" property="specName" />
+    <result column="TIME_DIFF_SECONDS" jdbcType="DECIMAL" property="timeDiffSeconds" />
+  </resultMap>
+  <sql id="columns">
+    WIDE_ID, SYNC_TIME, DATA_VERSION, IS_LATEST, BUSINESS_FLAG, EXT_FIELD1, EXT_FIELD2, 
+    EXT_FIELD3, OPERATION_TIME_ORIGINAL, NOTE_NO, BASE_SPOT_NO, BASE_SPOT_NAME, OPERATION_CONTENT, 
+    OPERATION_TIME, CAR_NO, METER_MAN_NO, METER_MAN_NAME, METER_NOTE_SOURCE, NOTE_TYPE_NO, 
+    NOTE_TYPE_NAME, PREDICTION_NO, MEMO, CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+    UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, MONITOR_NOTE, ACTUAL_FIRST_NO, ACTUAL_CAR_NO, 
+    ACTUAL_CREATE_TIME, FORWARDING_UNIT_NO, FORWARDING_UNIT_NAME, RECEIVING_UNIT_NO, 
+    RECEIVING_UNIT_NAME, MATTER_NO, MATTER_NAME, SPEC_NO, SPEC_NAME, TIME_DIFF_SECONDS
+  </sql>
+  <sql id="columns_alias">
+    t.WIDE_ID, t.SYNC_TIME, t.DATA_VERSION, t.IS_LATEST, t.BUSINESS_FLAG, t.EXT_FIELD1, 
+    t.EXT_FIELD2, t.EXT_FIELD3, t.OPERATION_TIME_ORIGINAL, t.NOTE_NO, t.BASE_SPOT_NO, 
+    t.BASE_SPOT_NAME, t.OPERATION_CONTENT, t.OPERATION_TIME, t.CAR_NO, t.METER_MAN_NO, 
+    t.METER_MAN_NAME, t.METER_NOTE_SOURCE, t.NOTE_TYPE_NO, t.NOTE_TYPE_NAME, t.PREDICTION_NO, 
+    t.MEMO, t.CREATE_MAN_NO, t.CREATE_MAN_NAME, t.CREATE_TIME, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, 
+    t.UPDATE_TIME, t.MONITOR_NOTE, t.ACTUAL_FIRST_NO, t.ACTUAL_CAR_NO, t.ACTUAL_CREATE_TIME, 
+    t.FORWARDING_UNIT_NO, t.FORWARDING_UNIT_NAME, t.RECEIVING_UNIT_NO, t.RECEIVING_UNIT_NAME, 
+    t.MATTER_NO, t.MATTER_NAME, t.SPEC_NO, t.SPEC_NAME, t.TIME_DIFF_SECONDS
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM METER_REPORT_WIDE
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM METER_REPORT_WIDE t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="wideId != null">
+        and WIDE_ID = #{wideId}
+      </if>
+      <if test="syncTime != null">
+        and TO_CHAR(SYNC_TIME,'yyyy-MM-dd') = #{syncTime}
+      </if>
+      <if test="dataVersion != null and dataVersion != ''">
+        and DATA_VERSION = #{dataVersion}
+      </if>
+      <if test="isLatest != null">
+        and IS_LATEST = #{isLatest}
+      </if>
+      <if test="businessFlag != null and businessFlag != ''">
+        and BUSINESS_FLAG = #{businessFlag}
+      </if>
+      <if test="extField1 != null and extField1 != ''">
+        and EXT_FIELD1 = #{extField1}
+      </if>
+      <if test="extField2 != null and extField2 != ''">
+        and EXT_FIELD2 = #{extField2}
+      </if>
+      <if test="extField3 != null">
+        and EXT_FIELD3 = #{extField3}
+      </if>
+      <if test="operationTimeOriginal != null and operationTimeOriginal != ''">
+        and OPERATION_TIME_ORIGINAL = #{operationTimeOriginal}
+      </if>
+      <if test="noteNo != null and noteNo != ''">
+        and NOTE_NO = #{noteNo}
+      </if>
+      <if test="baseSpotNo != null and baseSpotNo != ''">
+        and BASE_SPOT_NO = #{baseSpotNo}
+      </if>
+      <if test="baseSpotName != null and baseSpotName != ''">
+        and BASE_SPOT_NAME = #{baseSpotName}
+      </if>
+      <if test="operationContent != null and operationContent != ''">
+        and OPERATION_CONTENT = #{operationContent}
+      </if>
+      <if test="operationTime != null">
+        and TO_CHAR(OPERATION_TIME,'yyyy-MM-dd') = #{operationTime}
+      </if>
+      <if test="carNo != null and carNo != ''">
+        and CAR_NO = #{carNo}
+      </if>
+      <if test="meterManNo != null and meterManNo != ''">
+        and METER_MAN_NO = #{meterManNo}
+      </if>
+      <if test="meterManName != null and meterManName != ''">
+        and METER_MAN_NAME = #{meterManName}
+      </if>
+      <if test="meterNoteSource != null and meterNoteSource != ''">
+        and METER_NOTE_SOURCE = #{meterNoteSource}
+      </if>
+      <if test="noteTypeNo != null and noteTypeNo != ''">
+        and NOTE_TYPE_NO = #{noteTypeNo}
+      </if>
+      <if test="noteTypeName != null and noteTypeName != ''">
+        and NOTE_TYPE_NAME = #{noteTypeName}
+      </if>
+      <if test="predictionNo != null and predictionNo != ''">
+        and PREDICTION_NO = #{predictionNo}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO = #{memo}
+      </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="monitorNote != null and monitorNote != ''">
+        and MONITOR_NOTE = #{monitorNote}
+      </if>
+      <if test="actualFirstNo != null and actualFirstNo != ''">
+        and ACTUAL_FIRST_NO = #{actualFirstNo}
+      </if>
+      <if test="actualCarNo != null and actualCarNo != ''">
+        and ACTUAL_CAR_NO = #{actualCarNo}
+      </if>
+      <if test="actualCreateTime != null">
+        and TO_CHAR(ACTUAL_CREATE_TIME,'yyyy-MM-dd') = #{actualCreateTime}
+      </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="receivingUnitNo != null and receivingUnitNo != ''">
+        and RECEIVING_UNIT_NO = #{receivingUnitNo}
+      </if>
+      <if test="receivingUnitName != null and receivingUnitName != ''">
+        and RECEIVING_UNIT_NAME = #{receivingUnitName}
+      </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="specNo != null and specNo != ''">
+        and SPEC_NO = #{specNo}
+      </if>
+      <if test="specName != null and specName != ''">
+        and SPEC_NAME = #{specName}
+      </if>
+      <if test="timeDiffSeconds != null">
+        and TIME_DIFF_SECONDS = #{timeDiffSeconds}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="wideId != null">
+        and WIDE_ID = #{wideId}
+      </if>
+      <if test="syncTime != null">
+        and TO_CHAR(SYNC_TIME,'yyyy-MM-dd') = #{syncTime}
+      </if>
+      <if test="dataVersion != null and dataVersion != ''">
+        and DATA_VERSION LIKE '%${dataVersion}%'
+      </if>
+      <if test="isLatest != null">
+        and IS_LATEST = #{isLatest}
+      </if>
+      <if test="businessFlag != null and businessFlag != ''">
+        and BUSINESS_FLAG LIKE '%${businessFlag}%'
+      </if>
+      <if test="extField1 != null and extField1 != ''">
+        and EXT_FIELD1 LIKE '%${extField1}%'
+      </if>
+      <if test="extField2 != null and extField2 != ''">
+        and EXT_FIELD2 LIKE '%${extField2}%'
+      </if>
+      <if test="extField3 != null">
+        and EXT_FIELD3 = #{extField3}
+      </if>
+      <if test="operationTimeOriginal != null and operationTimeOriginal != ''">
+        and OPERATION_TIME_ORIGINAL LIKE '%${operationTimeOriginal}%'
+      </if>
+      <if test="noteNo != null and noteNo != ''">
+        and NOTE_NO LIKE '%${noteNo}%'
+      </if>
+      <if test="baseSpotNo != null and baseSpotNo != ''">
+        and BASE_SPOT_NO LIKE '%${baseSpotNo}%'
+      </if>
+      <if test="baseSpotName != null and baseSpotName != ''">
+        and BASE_SPOT_NAME LIKE '%${baseSpotName}%'
+      </if>
+      <if test="operationContent != null and operationContent != ''">
+        and OPERATION_CONTENT LIKE '%${operationContent}%'
+      </if>
+      <if test="operationTime != null">
+        and TO_CHAR(OPERATION_TIME,'yyyy-MM-dd') = #{operationTime}
+      </if>
+      <if test="carNo != null and carNo != ''">
+        and CAR_NO LIKE '%${carNo}%'
+      </if>
+      <if test="meterManNo != null and meterManNo != ''">
+        and METER_MAN_NO LIKE '%${meterManNo}%'
+      </if>
+      <if test="meterManName != null and meterManName != ''">
+        and METER_MAN_NAME LIKE '%${meterManName}%'
+      </if>
+      <if test="meterNoteSource != null and meterNoteSource != ''">
+        and METER_NOTE_SOURCE LIKE '%${meterNoteSource}%'
+      </if>
+      <if test="noteTypeNo != null and noteTypeNo != ''">
+        and NOTE_TYPE_NO LIKE '%${noteTypeNo}%'
+      </if>
+      <if test="noteTypeName != null and noteTypeName != ''">
+        and NOTE_TYPE_NAME LIKE '%${noteTypeName}%'
+      </if>
+      <if test="predictionNo != null and predictionNo != ''">
+        and PREDICTION_NO LIKE '%${predictionNo}%'
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO LIKE '%${memo}%'
+      </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="monitorNote != null and monitorNote != ''">
+        and MONITOR_NOTE LIKE '%${monitorNote}%'
+      </if>
+      <if test="actualFirstNo != null and actualFirstNo != ''">
+        and ACTUAL_FIRST_NO LIKE '%${actualFirstNo}%'
+      </if>
+      <if test="actualCarNo != null and actualCarNo != ''">
+        and ACTUAL_CAR_NO LIKE '%${actualCarNo}%'
+      </if>
+      <if test="actualCreateTime != null">
+        and TO_CHAR(ACTUAL_CREATE_TIME,'yyyy-MM-dd') = #{actualCreateTime}
+      </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="receivingUnitNo != null and receivingUnitNo != ''">
+        and RECEIVING_UNIT_NO LIKE '%${receivingUnitNo}%'
+      </if>
+      <if test="receivingUnitName != null and receivingUnitName != ''">
+        and RECEIVING_UNIT_NAME LIKE '%${receivingUnitName}%'
+      </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="specNo != null and specNo != ''">
+        and SPEC_NO LIKE '%${specNo}%'
+      </if>
+      <if test="specName != null and specName != ''">
+        and SPEC_NAME LIKE '%${specName}%'
+      </if>
+      <if test="timeDiffSeconds != null">
+        and TIME_DIFF_SECONDS = #{timeDiffSeconds}
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    delete from METER_REPORT_WIDE
+    where WIDE_ID = #{wideId,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from METER_REPORT_WIDE
+    where 1!=1 
+      <if test="syncTime != null">
+        or TO_CHAR(SYNC_TIME,'yyyy-MM-dd') = '#{syncTime}'
+      </if>
+      <if test="dataVersion != null and dataVersion != ''">
+        or DATA_VERSION = #{dataVersion}
+      </if>
+      <if test="isLatest != null">
+        or IS_LATEST = #{isLatest}
+      </if>
+      <if test="businessFlag != null and businessFlag != ''">
+        or BUSINESS_FLAG = #{businessFlag}
+      </if>
+      <if test="extField1 != null and extField1 != ''">
+        or EXT_FIELD1 = #{extField1}
+      </if>
+      <if test="extField2 != null and extField2 != ''">
+        or EXT_FIELD2 = #{extField2}
+      </if>
+      <if test="extField3 != null">
+        or EXT_FIELD3 = #{extField3}
+      </if>
+      <if test="operationTimeOriginal != null and operationTimeOriginal != ''">
+        or OPERATION_TIME_ORIGINAL = #{operationTimeOriginal}
+      </if>
+      <if test="noteNo != null and noteNo != ''">
+        or NOTE_NO = #{noteNo}
+      </if>
+      <if test="baseSpotNo != null and baseSpotNo != ''">
+        or BASE_SPOT_NO = #{baseSpotNo}
+      </if>
+      <if test="baseSpotName != null and baseSpotName != ''">
+        or BASE_SPOT_NAME = #{baseSpotName}
+      </if>
+      <if test="operationContent != null and operationContent != ''">
+        or OPERATION_CONTENT = #{operationContent}
+      </if>
+      <if test="operationTime != null">
+        or TO_CHAR(OPERATION_TIME,'yyyy-MM-dd') = '#{operationTime}'
+      </if>
+      <if test="carNo != null and carNo != ''">
+        or CAR_NO = #{carNo}
+      </if>
+      <if test="meterManNo != null and meterManNo != ''">
+        or METER_MAN_NO = #{meterManNo}
+      </if>
+      <if test="meterManName != null and meterManName != ''">
+        or METER_MAN_NAME = #{meterManName}
+      </if>
+      <if test="meterNoteSource != null and meterNoteSource != ''">
+        or METER_NOTE_SOURCE = #{meterNoteSource}
+      </if>
+      <if test="noteTypeNo != null and noteTypeNo != ''">
+        or NOTE_TYPE_NO = #{noteTypeNo}
+      </if>
+      <if test="noteTypeName != null and noteTypeName != ''">
+        or NOTE_TYPE_NAME = #{noteTypeName}
+      </if>
+      <if test="predictionNo != null and predictionNo != ''">
+        or PREDICTION_NO = #{predictionNo}
+      </if>
+      <if test="memo != null and memo != ''">
+        or MEMO = #{memo}
+      </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="monitorNote != null and monitorNote != ''">
+        or MONITOR_NOTE = #{monitorNote}
+      </if>
+      <if test="actualFirstNo != null and actualFirstNo != ''">
+        or ACTUAL_FIRST_NO = #{actualFirstNo}
+      </if>
+      <if test="actualCarNo != null and actualCarNo != ''">
+        or ACTUAL_CAR_NO = #{actualCarNo}
+      </if>
+      <if test="actualCreateTime != null">
+        or TO_CHAR(ACTUAL_CREATE_TIME,'yyyy-MM-dd') = '#{actualCreateTime}'
+      </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="receivingUnitNo != null and receivingUnitNo != ''">
+        or RECEIVING_UNIT_NO = #{receivingUnitNo}
+      </if>
+      <if test="receivingUnitName != null and receivingUnitName != ''">
+        or RECEIVING_UNIT_NAME = #{receivingUnitName}
+      </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="specNo != null and specNo != ''">
+        or SPEC_NO = #{specNo}
+      </if>
+      <if test="specName != null and specName != ''">
+        or SPEC_NAME = #{specName}
+      </if>
+      <if test="timeDiffSeconds != null">
+        or TIME_DIFF_SECONDS = #{timeDiffSeconds}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide">
+    insert into METER_REPORT_WIDE (WIDE_ID, SYNC_TIME, DATA_VERSION, 
+      IS_LATEST, BUSINESS_FLAG, EXT_FIELD1, 
+      EXT_FIELD2, EXT_FIELD3, OPERATION_TIME_ORIGINAL, 
+      NOTE_NO, BASE_SPOT_NO, BASE_SPOT_NAME, 
+      OPERATION_CONTENT, OPERATION_TIME, CAR_NO, 
+      METER_MAN_NO, METER_MAN_NAME, METER_NOTE_SOURCE, 
+      NOTE_TYPE_NO, NOTE_TYPE_NAME, PREDICTION_NO, 
+      MEMO, CREATE_MAN_NO, CREATE_MAN_NAME, 
+      CREATE_TIME, UPDATE_MAN_NO, UPDATE_MAN_NAME, 
+      UPDATE_TIME, MONITOR_NOTE, ACTUAL_FIRST_NO, 
+      ACTUAL_CAR_NO, ACTUAL_CREATE_TIME, FORWARDING_UNIT_NO, 
+      FORWARDING_UNIT_NAME, RECEIVING_UNIT_NO, RECEIVING_UNIT_NAME, 
+      MATTER_NO, MATTER_NAME, SPEC_NO, 
+      SPEC_NAME, TIME_DIFF_SECONDS)
+    values (#{wideId,jdbcType=DECIMAL}, #{syncTime,jdbcType=TIMESTAMP}, #{dataVersion,jdbcType=VARCHAR}, 
+      #{isLatest,jdbcType=CHAR}, #{businessFlag,jdbcType=VARCHAR}, #{extField1,jdbcType=VARCHAR}, 
+      #{extField2,jdbcType=VARCHAR}, #{extField3,jdbcType=DECIMAL}, #{operationTimeOriginal,jdbcType=VARCHAR}, 
+      #{noteNo,jdbcType=VARCHAR}, #{baseSpotNo,jdbcType=VARCHAR}, #{baseSpotName,jdbcType=VARCHAR}, 
+      #{operationContent,jdbcType=VARCHAR}, #{operationTime,jdbcType=TIMESTAMP}, #{carNo,jdbcType=VARCHAR}, 
+      #{meterManNo,jdbcType=VARCHAR}, #{meterManName,jdbcType=VARCHAR}, #{meterNoteSource,jdbcType=VARCHAR}, 
+      #{noteTypeNo,jdbcType=VARCHAR}, #{noteTypeName,jdbcType=VARCHAR}, #{predictionNo,jdbcType=VARCHAR}, 
+      #{memo,jdbcType=VARCHAR}, #{createManNo,jdbcType=VARCHAR}, #{createManName,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{updateManNo,jdbcType=VARCHAR}, #{updateManName,jdbcType=VARCHAR}, 
+      #{updateTime,jdbcType=TIMESTAMP}, #{monitorNote,jdbcType=VARCHAR}, #{actualFirstNo,jdbcType=VARCHAR}, 
+      #{actualCarNo,jdbcType=VARCHAR}, #{actualCreateTime,jdbcType=TIMESTAMP}, #{forwardingUnitNo,jdbcType=VARCHAR}, 
+      #{forwardingUnitName,jdbcType=VARCHAR}, #{receivingUnitNo,jdbcType=VARCHAR}, #{receivingUnitName,jdbcType=VARCHAR}, 
+      #{matterNo,jdbcType=VARCHAR}, #{matterName,jdbcType=VARCHAR}, #{specNo,jdbcType=VARCHAR}, 
+      #{specName,jdbcType=VARCHAR}, #{timeDiffSeconds,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide">
+    insert into METER_REPORT_WIDE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="wideId != null">
+        WIDE_ID,
+      </if>
+      <if test="syncTime != null">
+        SYNC_TIME,
+      </if>
+      <if test="dataVersion != null">
+        DATA_VERSION,
+      </if>
+      <if test="isLatest != null">
+        IS_LATEST,
+      </if>
+      <if test="businessFlag != null">
+        BUSINESS_FLAG,
+      </if>
+      <if test="extField1 != null">
+        EXT_FIELD1,
+      </if>
+      <if test="extField2 != null">
+        EXT_FIELD2,
+      </if>
+      <if test="extField3 != null">
+        EXT_FIELD3,
+      </if>
+      <if test="operationTimeOriginal != null">
+        OPERATION_TIME_ORIGINAL,
+      </if>
+      <if test="noteNo != null">
+        NOTE_NO,
+      </if>
+      <if test="baseSpotNo != null">
+        BASE_SPOT_NO,
+      </if>
+      <if test="baseSpotName != null">
+        BASE_SPOT_NAME,
+      </if>
+      <if test="operationContent != null">
+        OPERATION_CONTENT,
+      </if>
+      <if test="operationTime != null">
+        OPERATION_TIME,
+      </if>
+      <if test="carNo != null">
+        CAR_NO,
+      </if>
+      <if test="meterManNo != null">
+        METER_MAN_NO,
+      </if>
+      <if test="meterManName != null">
+        METER_MAN_NAME,
+      </if>
+      <if test="meterNoteSource != null">
+        METER_NOTE_SOURCE,
+      </if>
+      <if test="noteTypeNo != null">
+        NOTE_TYPE_NO,
+      </if>
+      <if test="noteTypeName != null">
+        NOTE_TYPE_NAME,
+      </if>
+      <if test="predictionNo != null">
+        PREDICTION_NO,
+      </if>
+      <if test="memo != null">
+        MEMO,
+      </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="monitorNote != null">
+        MONITOR_NOTE,
+      </if>
+      <if test="actualFirstNo != null">
+        ACTUAL_FIRST_NO,
+      </if>
+      <if test="actualCarNo != null">
+        ACTUAL_CAR_NO,
+      </if>
+      <if test="actualCreateTime != null">
+        ACTUAL_CREATE_TIME,
+      </if>
+      <if test="forwardingUnitNo != null">
+        FORWARDING_UNIT_NO,
+      </if>
+      <if test="forwardingUnitName != null">
+        FORWARDING_UNIT_NAME,
+      </if>
+      <if test="receivingUnitNo != null">
+        RECEIVING_UNIT_NO,
+      </if>
+      <if test="receivingUnitName != null">
+        RECEIVING_UNIT_NAME,
+      </if>
+      <if test="matterNo != null">
+        MATTER_NO,
+      </if>
+      <if test="matterName != null">
+        MATTER_NAME,
+      </if>
+      <if test="specNo != null">
+        SPEC_NO,
+      </if>
+      <if test="specName != null">
+        SPEC_NAME,
+      </if>
+      <if test="timeDiffSeconds != null">
+        TIME_DIFF_SECONDS,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="wideId != null">
+        #{wideId,jdbcType=DECIMAL},
+      </if>
+      <if test="syncTime != null">
+        #{syncTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="dataVersion != null">
+        #{dataVersion,jdbcType=VARCHAR},
+      </if>
+      <if test="isLatest != null">
+        #{isLatest,jdbcType=CHAR},
+      </if>
+      <if test="businessFlag != null">
+        #{businessFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="extField1 != null">
+        #{extField1,jdbcType=VARCHAR},
+      </if>
+      <if test="extField2 != null">
+        #{extField2,jdbcType=VARCHAR},
+      </if>
+      <if test="extField3 != null">
+        #{extField3,jdbcType=DECIMAL},
+      </if>
+      <if test="operationTimeOriginal != null">
+        #{operationTimeOriginal,jdbcType=VARCHAR},
+      </if>
+      <if test="noteNo != null">
+        #{noteNo,jdbcType=VARCHAR},
+      </if>
+      <if test="baseSpotNo != null">
+        #{baseSpotNo,jdbcType=VARCHAR},
+      </if>
+      <if test="baseSpotName != null">
+        #{baseSpotName,jdbcType=VARCHAR},
+      </if>
+      <if test="operationContent != null">
+        #{operationContent,jdbcType=VARCHAR},
+      </if>
+      <if test="operationTime != null">
+        #{operationTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="carNo != null">
+        #{carNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterManNo != null">
+        #{meterManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterManName != null">
+        #{meterManName,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNoteSource != null">
+        #{meterNoteSource,jdbcType=VARCHAR},
+      </if>
+      <if test="noteTypeNo != null">
+        #{noteTypeNo,jdbcType=VARCHAR},
+      </if>
+      <if test="noteTypeName != null">
+        #{noteTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="predictionNo != null">
+        #{predictionNo,jdbcType=VARCHAR},
+      </if>
+      <if test="memo != null">
+        #{memo,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="monitorNote != null">
+        #{monitorNote,jdbcType=VARCHAR},
+      </if>
+      <if test="actualFirstNo != null">
+        #{actualFirstNo,jdbcType=VARCHAR},
+      </if>
+      <if test="actualCarNo != null">
+        #{actualCarNo,jdbcType=VARCHAR},
+      </if>
+      <if test="actualCreateTime != null">
+        #{actualCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="forwardingUnitNo != null">
+        #{forwardingUnitNo,jdbcType=VARCHAR},
+      </if>
+      <if test="forwardingUnitName != null">
+        #{forwardingUnitName,jdbcType=VARCHAR},
+      </if>
+      <if test="receivingUnitNo != null">
+        #{receivingUnitNo,jdbcType=VARCHAR},
+      </if>
+      <if test="receivingUnitName != null">
+        #{receivingUnitName,jdbcType=VARCHAR},
+      </if>
+      <if test="matterNo != null">
+        #{matterNo,jdbcType=VARCHAR},
+      </if>
+      <if test="matterName != null">
+        #{matterName,jdbcType=VARCHAR},
+      </if>
+      <if test="specNo != null">
+        #{specNo,jdbcType=VARCHAR},
+      </if>
+      <if test="specName != null">
+        #{specName,jdbcType=VARCHAR},
+      </if>
+      <if test="timeDiffSeconds != null">
+        #{timeDiffSeconds,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide">
+    update METER_REPORT_WIDE
+    set SYNC_TIME = #{syncTime,jdbcType=TIMESTAMP},
+      DATA_VERSION = #{dataVersion,jdbcType=VARCHAR},
+      IS_LATEST = #{isLatest,jdbcType=CHAR},
+      BUSINESS_FLAG = #{businessFlag,jdbcType=VARCHAR},
+      EXT_FIELD1 = #{extField1,jdbcType=VARCHAR},
+      EXT_FIELD2 = #{extField2,jdbcType=VARCHAR},
+      EXT_FIELD3 = #{extField3,jdbcType=DECIMAL},
+      OPERATION_TIME_ORIGINAL = #{operationTimeOriginal,jdbcType=VARCHAR},
+      NOTE_NO = #{noteNo,jdbcType=VARCHAR},
+      BASE_SPOT_NO = #{baseSpotNo,jdbcType=VARCHAR},
+      BASE_SPOT_NAME = #{baseSpotName,jdbcType=VARCHAR},
+      OPERATION_CONTENT = #{operationContent,jdbcType=VARCHAR},
+      OPERATION_TIME = #{operationTime,jdbcType=TIMESTAMP},
+      CAR_NO = #{carNo,jdbcType=VARCHAR},
+      METER_MAN_NO = #{meterManNo,jdbcType=VARCHAR},
+      METER_MAN_NAME = #{meterManName,jdbcType=VARCHAR},
+      METER_NOTE_SOURCE = #{meterNoteSource,jdbcType=VARCHAR},
+      NOTE_TYPE_NO = #{noteTypeNo,jdbcType=VARCHAR},
+      NOTE_TYPE_NAME = #{noteTypeName,jdbcType=VARCHAR},
+      PREDICTION_NO = #{predictionNo,jdbcType=VARCHAR},
+      MEMO = #{memo,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},
+      MONITOR_NOTE = #{monitorNote,jdbcType=VARCHAR},
+      ACTUAL_FIRST_NO = #{actualFirstNo,jdbcType=VARCHAR},
+      ACTUAL_CAR_NO = #{actualCarNo,jdbcType=VARCHAR},
+      ACTUAL_CREATE_TIME = #{actualCreateTime,jdbcType=TIMESTAMP},
+      FORWARDING_UNIT_NO = #{forwardingUnitNo,jdbcType=VARCHAR},
+      FORWARDING_UNIT_NAME = #{forwardingUnitName,jdbcType=VARCHAR},
+      RECEIVING_UNIT_NO = #{receivingUnitNo,jdbcType=VARCHAR},
+      RECEIVING_UNIT_NAME = #{receivingUnitName,jdbcType=VARCHAR},
+      MATTER_NO = #{matterNo,jdbcType=VARCHAR},
+      MATTER_NAME = #{matterName,jdbcType=VARCHAR},
+      SPEC_NO = #{specNo,jdbcType=VARCHAR},
+      SPEC_NAME = #{specName,jdbcType=VARCHAR},
+      TIME_DIFF_SECONDS = #{timeDiffSeconds,jdbcType=DECIMAL}
+    where WIDE_ID = #{wideId,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.baseinfo.meterreportwide.model.MeterReportWide">
+    update METER_REPORT_WIDE
+    <set>
+      <if test="syncTime != null">
+        SYNC_TIME = #{syncTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="dataVersion != null">
+        DATA_VERSION = #{dataVersion,jdbcType=VARCHAR},
+      </if>
+      <if test="isLatest != null">
+        IS_LATEST = #{isLatest,jdbcType=CHAR},
+      </if>
+      <if test="businessFlag != null">
+        BUSINESS_FLAG = #{businessFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="extField1 != null">
+        EXT_FIELD1 = #{extField1,jdbcType=VARCHAR},
+      </if>
+      <if test="extField2 != null">
+        EXT_FIELD2 = #{extField2,jdbcType=VARCHAR},
+      </if>
+      <if test="extField3 != null">
+        EXT_FIELD3 = #{extField3,jdbcType=DECIMAL},
+      </if>
+      <if test="operationTimeOriginal != null">
+        OPERATION_TIME_ORIGINAL = #{operationTimeOriginal,jdbcType=VARCHAR},
+      </if>
+      <if test="noteNo != null">
+        NOTE_NO = #{noteNo,jdbcType=VARCHAR},
+      </if>
+      <if test="baseSpotNo != null">
+        BASE_SPOT_NO = #{baseSpotNo,jdbcType=VARCHAR},
+      </if>
+      <if test="baseSpotName != null">
+        BASE_SPOT_NAME = #{baseSpotName,jdbcType=VARCHAR},
+      </if>
+      <if test="operationContent != null">
+        OPERATION_CONTENT = #{operationContent,jdbcType=VARCHAR},
+      </if>
+      <if test="operationTime != null">
+        OPERATION_TIME = #{operationTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="carNo != null">
+        CAR_NO = #{carNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterManNo != null">
+        METER_MAN_NO = #{meterManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterManName != null">
+        METER_MAN_NAME = #{meterManName,jdbcType=VARCHAR},
+      </if>
+      <if test="meterNoteSource != null">
+        METER_NOTE_SOURCE = #{meterNoteSource,jdbcType=VARCHAR},
+      </if>
+      <if test="noteTypeNo != null">
+        NOTE_TYPE_NO = #{noteTypeNo,jdbcType=VARCHAR},
+      </if>
+      <if test="noteTypeName != null">
+        NOTE_TYPE_NAME = #{noteTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="predictionNo != null">
+        PREDICTION_NO = #{predictionNo,jdbcType=VARCHAR},
+      </if>
+      <if test="memo != null">
+        MEMO = #{memo,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="monitorNote != null">
+        MONITOR_NOTE = #{monitorNote,jdbcType=VARCHAR},
+      </if>
+      <if test="actualFirstNo != null">
+        ACTUAL_FIRST_NO = #{actualFirstNo,jdbcType=VARCHAR},
+      </if>
+      <if test="actualCarNo != null">
+        ACTUAL_CAR_NO = #{actualCarNo,jdbcType=VARCHAR},
+      </if>
+      <if test="actualCreateTime != null">
+        ACTUAL_CREATE_TIME = #{actualCreateTime,jdbcType=TIMESTAMP},
+      </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="receivingUnitNo != null">
+        RECEIVING_UNIT_NO = #{receivingUnitNo,jdbcType=VARCHAR},
+      </if>
+      <if test="receivingUnitName != null">
+        RECEIVING_UNIT_NAME = #{receivingUnitName,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="specNo != null">
+        SPEC_NO = #{specNo,jdbcType=VARCHAR},
+      </if>
+      <if test="specName != null">
+        SPEC_NAME = #{specName,jdbcType=VARCHAR},
+      </if>
+      <if test="timeDiffSeconds != null">
+        TIME_DIFF_SECONDS = #{timeDiffSeconds,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where WIDE_ID = #{wideId,jdbcType=DECIMAL}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where WIDE_ID = #{wideId,jdbcType=DECIMAL}
+  </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_REPORT_WIDE 
+      (WIDE_ID, 
+      SYNC_TIME, DATA_VERSION, IS_LATEST, 
+      BUSINESS_FLAG, EXT_FIELD1, EXT_FIELD2, 
+      EXT_FIELD3, OPERATION_TIME_ORIGINAL, 
+      NOTE_NO, BASE_SPOT_NO, BASE_SPOT_NAME, 
+      OPERATION_CONTENT, OPERATION_TIME, 
+      CAR_NO, METER_MAN_NO, METER_MAN_NAME, 
+      METER_NOTE_SOURCE, NOTE_TYPE_NO, 
+      NOTE_TYPE_NAME, PREDICTION_NO, MEMO, 
+      CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+      UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, 
+      MONITOR_NOTE, ACTUAL_FIRST_NO, ACTUAL_CAR_NO, 
+      ACTUAL_CREATE_TIME, FORWARDING_UNIT_NO, 
+      FORWARDING_UNIT_NAME, RECEIVING_UNIT_NO, 
+      RECEIVING_UNIT_NAME, MATTER_NO, 
+      MATTER_NAME, SPEC_NO, SPEC_NAME, 
+      TIME_DIFF_SECONDS)
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.wideId,jdbcType=DECIMAL}, 
+      #{item.syncTime,jdbcType=TIMESTAMP}, #{item.dataVersion,jdbcType=VARCHAR}, #{item.isLatest,jdbcType=CHAR}, 
+      #{item.businessFlag,jdbcType=VARCHAR}, #{item.extField1,jdbcType=VARCHAR}, #{item.extField2,jdbcType=VARCHAR}, 
+      #{item.extField3,jdbcType=DECIMAL}, #{item.operationTimeOriginal,jdbcType=VARCHAR}, 
+      #{item.noteNo,jdbcType=VARCHAR}, #{item.baseSpotNo,jdbcType=VARCHAR}, #{item.baseSpotName,jdbcType=VARCHAR}, 
+      #{item.operationContent,jdbcType=VARCHAR}, #{item.operationTime,jdbcType=TIMESTAMP}, 
+      #{item.carNo,jdbcType=VARCHAR}, #{item.meterManNo,jdbcType=VARCHAR}, #{item.meterManName,jdbcType=VARCHAR}, 
+      #{item.meterNoteSource,jdbcType=VARCHAR}, #{item.noteTypeNo,jdbcType=VARCHAR}, 
+      #{item.noteTypeName,jdbcType=VARCHAR}, #{item.predictionNo,jdbcType=VARCHAR}, #{item.memo,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.monitorNote,jdbcType=VARCHAR}, #{item.actualFirstNo,jdbcType=VARCHAR}, #{item.actualCarNo,jdbcType=VARCHAR}, 
+      #{item.actualCreateTime,jdbcType=TIMESTAMP}, #{item.forwardingUnitNo,jdbcType=VARCHAR}, 
+      #{item.forwardingUnitName,jdbcType=VARCHAR}, #{item.receivingUnitNo,jdbcType=VARCHAR}, 
+      #{item.receivingUnitName,jdbcType=VARCHAR}, #{item.matterNo,jdbcType=VARCHAR}, 
+      #{item.matterName,jdbcType=VARCHAR}, #{item.specNo,jdbcType=VARCHAR}, #{item.specName,jdbcType=VARCHAR}, 
+      #{item.timeDiffSeconds,jdbcType=DECIMAL} from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update METER_REPORT_WIDE
+     set
+       WIDE_ID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.wideId,jdbcType=DECIMAL}
+       </foreach>
+       ,SYNC_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.syncTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,DATA_VERSION=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.dataVersion,jdbcType=VARCHAR}
+       </foreach>
+       ,IS_LATEST=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.isLatest,jdbcType=CHAR}
+       </foreach>
+       ,BUSINESS_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.businessFlag,jdbcType=VARCHAR}
+       </foreach>
+       ,EXT_FIELD1=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.extField1,jdbcType=VARCHAR}
+       </foreach>
+       ,EXT_FIELD2=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.extField2,jdbcType=VARCHAR}
+       </foreach>
+       ,EXT_FIELD3=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.extField3,jdbcType=DECIMAL}
+       </foreach>
+       ,OPERATION_TIME_ORIGINAL=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.operationTimeOriginal,jdbcType=VARCHAR}
+       </foreach>
+       ,NOTE_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.noteNo,jdbcType=VARCHAR}
+       </foreach>
+       ,BASE_SPOT_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.baseSpotNo,jdbcType=VARCHAR}
+       </foreach>
+       ,BASE_SPOT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.baseSpotName,jdbcType=VARCHAR}
+       </foreach>
+       ,OPERATION_CONTENT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.operationContent,jdbcType=VARCHAR}
+       </foreach>
+       ,OPERATION_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.operationTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,CAR_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.carNo,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.meterManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.meterManName,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_NOTE_SOURCE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.meterNoteSource,jdbcType=VARCHAR}
+       </foreach>
+       ,NOTE_TYPE_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.noteTypeNo,jdbcType=VARCHAR}
+       </foreach>
+       ,NOTE_TYPE_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.noteTypeName,jdbcType=VARCHAR}
+       </foreach>
+       ,PREDICTION_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.predictionNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MEMO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.memo,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.createManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.createManName,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.createTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.updateManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.updateManName,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,MONITOR_NOTE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.monitorNote,jdbcType=VARCHAR}
+       </foreach>
+       ,ACTUAL_FIRST_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.actualFirstNo,jdbcType=VARCHAR}
+       </foreach>
+       ,ACTUAL_CAR_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.actualCarNo,jdbcType=VARCHAR}
+       </foreach>
+       ,ACTUAL_CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.actualCreateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,FORWARDING_UNIT_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.forwardingUnitNo,jdbcType=VARCHAR}
+       </foreach>
+       ,FORWARDING_UNIT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.forwardingUnitName,jdbcType=VARCHAR}
+       </foreach>
+       ,RECEIVING_UNIT_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.receivingUnitNo,jdbcType=VARCHAR}
+       </foreach>
+       ,RECEIVING_UNIT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.receivingUnitName,jdbcType=VARCHAR}
+       </foreach>
+       ,MATTER_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.matterNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MATTER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.matterName,jdbcType=VARCHAR}
+       </foreach>
+       ,SPEC_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.specNo,jdbcType=VARCHAR}
+       </foreach>
+       ,SPEC_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.specName,jdbcType=VARCHAR}
+       </foreach>
+       ,TIME_DIFF_SECONDS=
+       <foreach collection="list" item="item" index="index" separator=" " open="case WIDE_ID" close="end">
+          when #{item.wideId,jdbcType=DECIMAL} then #{item.timeDiffSeconds,jdbcType=DECIMAL}
+       </foreach>
+     where WIDE_ID in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.wideId,jdbcType=DECIMAL}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from METER_REPORT_WIDE
+    where WIDE_ID in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  
+</mapper>

+ 526 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/model/MeterReportWide.java

@@ -0,0 +1,526 @@
+package com.steerinfo.baseinfo.meterreportwide.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 MeterReportWide implements IBasePO<BigDecimal> {
+    @ApiModelProperty(value="",required=true)
+    private BigDecimal wideId;
+
+    @ApiModelProperty(value="",required=false)
+    private Date syncTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String dataVersion;
+
+    @ApiModelProperty(value="",required=false)
+    private String isLatest;
+
+    @ApiModelProperty(value="",required=false)
+    private String businessFlag;
+
+    @ApiModelProperty(value="",required=false)
+    private String extField1;
+
+    @ApiModelProperty(value="",required=false)
+    private String extField2;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal extField3;
+
+    @ApiModelProperty(value="",required=false)
+    private String operationTimeOriginal;
+
+    @ApiModelProperty(value="",required=false)
+    private String noteNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String baseSpotNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String baseSpotName;
+
+    @ApiModelProperty(value="",required=false)
+    private String operationContent;
+
+    @ApiModelProperty(value="",required=false)
+    private Date operationTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String carNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterManNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterManName;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterNoteSource;
+
+    @ApiModelProperty(value="",required=false)
+    private String noteTypeNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String noteTypeName;
+
+    @ApiModelProperty(value="",required=false)
+    private String predictionNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String memo;
+
+    @ApiModelProperty(value="",required=false)
+    private String createManNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String createManName;
+
+    @ApiModelProperty(value="",required=false)
+    private Date createTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String updateManNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String updateManName;
+
+    @ApiModelProperty(value="",required=false)
+    private Date updateTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String monitorNote;
+
+    @ApiModelProperty(value="",required=false)
+    private String actualFirstNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String actualCarNo;
+
+    @ApiModelProperty(value="",required=false)
+    private Date actualCreateTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String forwardingUnitNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String forwardingUnitName;
+
+    @ApiModelProperty(value="",required=false)
+    private String receivingUnitNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String receivingUnitName;
+
+    @ApiModelProperty(value="",required=false)
+    private String matterNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String matterName;
+
+    @ApiModelProperty(value="",required=false)
+    private String specNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String specName;
+
+    @ApiModelProperty(value="",required=false)
+    private Long timeDiffSeconds;
+
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public BigDecimal getId() {
+        return this.wideId;
+    }
+
+    @Override
+    public void setId(BigDecimal wideId) {
+        this.wideId = wideId;
+    }
+
+    public BigDecimal getWideId() {
+        return wideId;
+    }
+
+    public void setWideId(BigDecimal wideId) {
+        this.wideId = wideId;
+    }
+
+    public Date getSyncTime() {
+        return syncTime;
+    }
+
+    public void setSyncTime(Date syncTime) {
+        this.syncTime = syncTime;
+    }
+
+    public String getDataVersion() {
+        return dataVersion;
+    }
+
+    public void setDataVersion(String dataVersion) {
+        this.dataVersion = dataVersion == null ? null : dataVersion.trim();
+    }
+
+    public String getIsLatest() {
+        return isLatest;
+    }
+
+    public void setIsLatest(String isLatest) {
+        this.isLatest = isLatest == null ? null : isLatest.trim();
+    }
+
+    public String getBusinessFlag() {
+        return businessFlag;
+    }
+
+    public void setBusinessFlag(String businessFlag) {
+        this.businessFlag = businessFlag == null ? null : businessFlag.trim();
+    }
+
+    public String getExtField1() {
+        return extField1;
+    }
+
+    public void setExtField1(String extField1) {
+        this.extField1 = extField1 == null ? null : extField1.trim();
+    }
+
+    public String getExtField2() {
+        return extField2;
+    }
+
+    public void setExtField2(String extField2) {
+        this.extField2 = extField2 == null ? null : extField2.trim();
+    }
+
+    public BigDecimal getExtField3() {
+        return extField3;
+    }
+
+    public void setExtField3(BigDecimal extField3) {
+        this.extField3 = extField3;
+    }
+
+    public String getOperationTimeOriginal() {
+        return operationTimeOriginal;
+    }
+
+    public void setOperationTimeOriginal(String operationTimeOriginal) {
+        this.operationTimeOriginal = operationTimeOriginal == null ? null : operationTimeOriginal.trim();
+    }
+
+    public String getNoteNo() {
+        return noteNo;
+    }
+
+    public void setNoteNo(String noteNo) {
+        this.noteNo = noteNo == null ? null : noteNo.trim();
+    }
+
+    public String getBaseSpotNo() {
+        return baseSpotNo;
+    }
+
+    public void setBaseSpotNo(String baseSpotNo) {
+        this.baseSpotNo = baseSpotNo == null ? null : baseSpotNo.trim();
+    }
+
+    public String getBaseSpotName() {
+        return baseSpotName;
+    }
+
+    public void setBaseSpotName(String baseSpotName) {
+        this.baseSpotName = baseSpotName == null ? null : baseSpotName.trim();
+    }
+
+    public String getOperationContent() {
+        return operationContent;
+    }
+
+    public void setOperationContent(String operationContent) {
+        this.operationContent = operationContent == null ? null : operationContent.trim();
+    }
+
+    public Date getOperationTime() {
+        return operationTime;
+    }
+
+    public void setOperationTime(Date operationTime) {
+        this.operationTime = operationTime;
+    }
+
+    public String getCarNo() {
+        return carNo;
+    }
+
+    public void setCarNo(String carNo) {
+        this.carNo = carNo == null ? null : carNo.trim();
+    }
+
+    public String getMeterManNo() {
+        return meterManNo;
+    }
+
+    public void setMeterManNo(String meterManNo) {
+        this.meterManNo = meterManNo == null ? null : meterManNo.trim();
+    }
+
+    public String getMeterManName() {
+        return meterManName;
+    }
+
+    public void setMeterManName(String meterManName) {
+        this.meterManName = meterManName == null ? null : meterManName.trim();
+    }
+
+    public String getMeterNoteSource() {
+        return meterNoteSource;
+    }
+
+    public void setMeterNoteSource(String meterNoteSource) {
+        this.meterNoteSource = meterNoteSource == null ? null : meterNoteSource.trim();
+    }
+
+    public String getNoteTypeNo() {
+        return noteTypeNo;
+    }
+
+    public void setNoteTypeNo(String noteTypeNo) {
+        this.noteTypeNo = noteTypeNo == null ? null : noteTypeNo.trim();
+    }
+
+    public String getNoteTypeName() {
+        return noteTypeName;
+    }
+
+    public void setNoteTypeName(String noteTypeName) {
+        this.noteTypeName = noteTypeName == null ? null : noteTypeName.trim();
+    }
+
+    public String getPredictionNo() {
+        return predictionNo;
+    }
+
+    public void setPredictionNo(String predictionNo) {
+        this.predictionNo = predictionNo == null ? null : predictionNo.trim();
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public void setMemo(String memo) {
+        this.memo = memo == null ? null : memo.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 getMonitorNote() {
+        return monitorNote;
+    }
+
+    public void setMonitorNote(String monitorNote) {
+        this.monitorNote = monitorNote == null ? null : monitorNote.trim();
+    }
+
+    public String getActualFirstNo() {
+        return actualFirstNo;
+    }
+
+    public void setActualFirstNo(String actualFirstNo) {
+        this.actualFirstNo = actualFirstNo == null ? null : actualFirstNo.trim();
+    }
+
+    public String getActualCarNo() {
+        return actualCarNo;
+    }
+
+    public void setActualCarNo(String actualCarNo) {
+        this.actualCarNo = actualCarNo == null ? null : actualCarNo.trim();
+    }
+
+    public Date getActualCreateTime() {
+        return actualCreateTime;
+    }
+
+    public void setActualCreateTime(Date actualCreateTime) {
+        this.actualCreateTime = actualCreateTime;
+    }
+
+    public String getForwardingUnitNo() {
+        return forwardingUnitNo;
+    }
+
+    public void setForwardingUnitNo(String forwardingUnitNo) {
+        this.forwardingUnitNo = forwardingUnitNo == null ? null : forwardingUnitNo.trim();
+    }
+
+    public String getForwardingUnitName() {
+        return forwardingUnitName;
+    }
+
+    public void setForwardingUnitName(String forwardingUnitName) {
+        this.forwardingUnitName = forwardingUnitName == null ? null : forwardingUnitName.trim();
+    }
+
+    public String getReceivingUnitNo() {
+        return receivingUnitNo;
+    }
+
+    public void setReceivingUnitNo(String receivingUnitNo) {
+        this.receivingUnitNo = receivingUnitNo == null ? null : receivingUnitNo.trim();
+    }
+
+    public String getReceivingUnitName() {
+        return receivingUnitName;
+    }
+
+    public void setReceivingUnitName(String receivingUnitName) {
+        this.receivingUnitName = receivingUnitName == null ? null : receivingUnitName.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 getSpecNo() {
+        return specNo;
+    }
+
+    public void setSpecNo(String specNo) {
+        this.specNo = specNo == null ? null : specNo.trim();
+    }
+
+    public String getSpecName() {
+        return specName;
+    }
+
+    public void setSpecName(String specName) {
+        this.specName = specName == null ? null : specName.trim();
+    }
+
+    public Long getTimeDiffSeconds() {
+        return timeDiffSeconds;
+    }
+
+    public void setTimeDiffSeconds(Long timeDiffSeconds) {
+        this.timeDiffSeconds = timeDiffSeconds;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", wideId=").append(wideId);
+        sb.append(", syncTime=").append(syncTime);
+        sb.append(", dataVersion=").append(dataVersion);
+        sb.append(", isLatest=").append(isLatest);
+        sb.append(", businessFlag=").append(businessFlag);
+        sb.append(", extField1=").append(extField1);
+        sb.append(", extField2=").append(extField2);
+        sb.append(", extField3=").append(extField3);
+        sb.append(", operationTimeOriginal=").append(operationTimeOriginal);
+        sb.append(", noteNo=").append(noteNo);
+        sb.append(", baseSpotNo=").append(baseSpotNo);
+        sb.append(", baseSpotName=").append(baseSpotName);
+        sb.append(", operationContent=").append(operationContent);
+        sb.append(", operationTime=").append(operationTime);
+        sb.append(", carNo=").append(carNo);
+        sb.append(", meterManNo=").append(meterManNo);
+        sb.append(", meterManName=").append(meterManName);
+        sb.append(", meterNoteSource=").append(meterNoteSource);
+        sb.append(", noteTypeNo=").append(noteTypeNo);
+        sb.append(", noteTypeName=").append(noteTypeName);
+        sb.append(", predictionNo=").append(predictionNo);
+        sb.append(", memo=").append(memo);
+        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(", monitorNote=").append(monitorNote);
+        sb.append(", actualFirstNo=").append(actualFirstNo);
+        sb.append(", actualCarNo=").append(actualCarNo);
+        sb.append(", actualCreateTime=").append(actualCreateTime);
+        sb.append(", forwardingUnitNo=").append(forwardingUnitNo);
+        sb.append(", forwardingUnitName=").append(forwardingUnitName);
+        sb.append(", receivingUnitNo=").append(receivingUnitNo);
+        sb.append(", receivingUnitName=").append(receivingUnitName);
+        sb.append(", matterNo=").append(matterNo);
+        sb.append(", matterName=").append(matterName);
+        sb.append(", specNo=").append(specNo);
+        sb.append(", specName=").append(specName);
+        sb.append(", timeDiffSeconds=").append(timeDiffSeconds);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 23 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/service/IMeterReportWideService.java

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

+ 36 - 0
src/main/java/com/steerinfo/baseinfo/meterreportwide/service/impl/MeterReportWideServiceImpl.java

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

+ 106 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/controller/TruckTareCheckWideController.java

@@ -0,0 +1,106 @@
+package com.steerinfo.baseinfo.trucktarecheckwide.controller;
+
+import com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide;
+import com.steerinfo.baseinfo.trucktarecheckwide.service.ITruckTareCheckWideService;
+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 io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+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;
+
+/**
+ * TruckTareCheckWide RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:TruckTareCheckWide RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/trucktarecheckwides")
+public class TruckTareCheckWideController extends BaseRESTfulController {
+
+    @Autowired
+    ITruckTareCheckWideService truckTareCheckWideService;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("trucktarecheckwide:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<TruckTareCheckWide> list = truckTareCheckWideService.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("trucktarecheckwide:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<TruckTareCheckWide> list = truckTareCheckWideService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+    
+    @ApiOperation(value="创建", notes="根据TruckTareCheckWide对象创建")
+    @ApiImplicitParam(name = "truckTareCheckWide", value = "详细实体truckTareCheckWide", required = true, dataType = "TruckTareCheckWide")
+    //@RequiresPermissions("trucktarecheckwide:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@ModelAttribute TruckTareCheckWide model){
+        TruckTareCheckWide truckTareCheckWide = truckTareCheckWideService.add(model);
+        return success(truckTareCheckWide);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "Short")
+    //@RequiresPermissions("trucktarecheckwide:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable Short id){
+        TruckTareCheckWide truckTareCheckWide = truckTareCheckWideService.getById(id);
+        return success(truckTareCheckWide);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的truckTareCheckWide信息来更新详细信息")
+    @ApiImplicitParams({
+        @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "Short"),
+        @ApiImplicitParam(name = "truckTareCheckWide", value = "详细实体truckTareCheckWide", required = true, dataType = "TruckTareCheckWide")
+    })
+    //@RequiresPermissions("trucktarecheckwide:update")
+    @PutMapping(value = "/{id}", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@PathVariable Short id, @RequestBody TruckTareCheckWide model){
+        model.setId(id);
+        TruckTareCheckWide truckTareCheckWide = truckTareCheckWideService.modify(model);
+        return success(truckTareCheckWide);
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "Short")
+    //@RequiresPermissions("trucktarecheckwide:delete")
+    @DeleteMapping(value = "/{id}")//Short
+    public RESTfulResult delete(@PathVariable String id){
+    	List<String> list = Arrays.asList(id.split(","));
+    	if(ListUtils.isNotEmpty(list)) {
+	    	List<Short> ids = ListUtils.convertList(list);
+			  truckTareCheckWideService.delete(ids);
+    	}
+      return success();
+    }
+}

+ 9 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/mapper/TruckTareCheckWideMapper.java

@@ -0,0 +1,9 @@
+package com.steerinfo.baseinfo.trucktarecheckwide.mapper;
+
+import com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+@Mapper
+public interface TruckTareCheckWideMapper extends IBaseMapper<TruckTareCheckWide, Short> {
+}

+ 961 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/mapper/TruckTareCheckWideMapper.xml

@@ -0,0 +1,961 @@
+<?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.trucktarecheckwide.mapper.TruckTareCheckWideMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide">
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="BASE_SPOT_NAME" jdbcType="VARCHAR" property="baseSpotName" />
+    <result column="CAR_NO" jdbcType="VARCHAR" property="carNo" />
+    <result column="METER_WEIGHT" jdbcType="DECIMAL" property="meterWeight" />
+    <result column="MATTER_NAME" jdbcType="VARCHAR" property="matterName" />
+    <result column="FORWARDING_UNIT_NAME" jdbcType="VARCHAR" property="forwardingUnitName" />
+    <result column="RECEIVING_UINT_NAME" jdbcType="VARCHAR" property="receivingUintName" />
+    <result column="VALUE_FLAG" jdbcType="VARCHAR" property="valueFlag" />
+    <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="METER_MODE" jdbcType="VARCHAR" property="meterMode" />
+    <result column="METER_TYPE_NAME" jdbcType="VARCHAR" property="meterTypeName" />
+    <result column="NOTE" jdbcType="VARCHAR" property="note" />
+    <result column="METER_TYPE_NO" jdbcType="VARCHAR" property="meterTypeNo" />
+    <result column="EFFECTIVE_UP_WEIGHT" jdbcType="DECIMAL" property="effectiveUpWeight" />
+    <result column="UP_TIME" jdbcType="TIMESTAMP" property="upTime" />
+    <result column="DEVIATION" jdbcType="DECIMAL" property="deviation" />
+    <result column="ALARM_TYPE" jdbcType="VARCHAR" property="alarmType" />
+    <result column="ABSOLUTE_ERROR" jdbcType="DECIMAL" property="absoluteError" />
+    <result column="RELATIVE_ERROR" jdbcType="DECIMAL" property="relativeError" />
+    <result column="RESERVE_NUM1" jdbcType="DECIMAL" property="reserveNum1" />
+    <result column="RESERVE_NUM2" jdbcType="DECIMAL" property="reserveNum2" />
+    <result column="RESERVE_NUM3" jdbcType="DECIMAL" property="reserveNum3" />
+    <result column="RESERVE_CHAR1" jdbcType="VARCHAR" property="reserveChar1" />
+    <result column="RESERVE_CHAR2" jdbcType="VARCHAR" property="reserveChar2" />
+    <result column="RESERVE_CHAR3" jdbcType="VARCHAR" property="reserveChar3" />
+    <result column="RESERVE_DATE1" jdbcType="TIMESTAMP" property="reserveDate1" />
+    <result column="RESERVE_DATE2" jdbcType="TIMESTAMP" property="reserveDate2" />
+    <result column="CALC_DATE" jdbcType="TIMESTAMP" property="calcDate" />
+    <result column="IS_VALID" jdbcType="DECIMAL" property="isValid" />
+  </resultMap>
+  <sql id="columns">
+    ID, BASE_SPOT_NAME, CAR_NO, METER_WEIGHT, MATTER_NAME, FORWARDING_UNIT_NAME, RECEIVING_UINT_NAME, 
+    VALUE_FLAG, CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, UPDATE_MAN_NO, UPDATE_MAN_NAME, 
+    UPDATE_TIME, METER_MODE, METER_TYPE_NAME, NOTE, METER_TYPE_NO, EFFECTIVE_UP_WEIGHT, 
+    UP_TIME, DEVIATION, ALARM_TYPE, ABSOLUTE_ERROR, RELATIVE_ERROR, RESERVE_NUM1, RESERVE_NUM2, 
+    RESERVE_NUM3, RESERVE_CHAR1, RESERVE_CHAR2, RESERVE_CHAR3, RESERVE_DATE1, RESERVE_DATE2, 
+    CALC_DATE, IS_VALID
+  </sql>
+  <sql id="columns_alias">
+    t.ID, t.BASE_SPOT_NAME, t.CAR_NO, t.METER_WEIGHT, t.MATTER_NAME, t.FORWARDING_UNIT_NAME, 
+    t.RECEIVING_UINT_NAME, t.VALUE_FLAG, t.CREATE_MAN_NO, t.CREATE_MAN_NAME, t.CREATE_TIME, 
+    t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME, t.METER_MODE, t.METER_TYPE_NAME, 
+    t.NOTE, t.METER_TYPE_NO, t.EFFECTIVE_UP_WEIGHT, t.UP_TIME, t.DEVIATION, t.ALARM_TYPE, 
+    t.ABSOLUTE_ERROR, t.RELATIVE_ERROR, t.RESERVE_NUM1, t.RESERVE_NUM2, t.RESERVE_NUM3, 
+    t.RESERVE_CHAR1, t.RESERVE_CHAR2, t.RESERVE_CHAR3, t.RESERVE_DATE1, t.RESERVE_DATE2, 
+    t.CALC_DATE, t.IS_VALID
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM TRUCK_TARE_CHECK_WIDE
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM TRUCK_TARE_CHECK_WIDE t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="id != null">
+        and ID = #{id}
+      </if>
+      <if test="baseSpotName != null and baseSpotName != ''">
+        and BASE_SPOT_NAME = #{baseSpotName}
+      </if>
+      <if test="carNo != null and carNo != ''">
+        and CAR_NO = #{carNo}
+      </if>
+      <if test="meterWeight != null">
+        and METER_WEIGHT = #{meterWeight}
+      </if>
+      <if test="matterName != null and matterName != ''">
+        and MATTER_NAME = #{matterName}
+      </if>
+      <if test="forwardingUnitName != null and forwardingUnitName != ''">
+        and FORWARDING_UNIT_NAME = #{forwardingUnitName}
+      </if>
+      <if test="receivingUintName != null and receivingUintName != ''">
+        and RECEIVING_UINT_NAME = #{receivingUintName}
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        and VALUE_FLAG = #{valueFlag}
+      </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="meterMode != null and meterMode != ''">
+        and METER_MODE = #{meterMode}
+      </if>
+      <if test="meterTypeName != null and meterTypeName != ''">
+        and METER_TYPE_NAME = #{meterTypeName}
+      </if>
+      <if test="note != null and note != ''">
+        and NOTE = #{note}
+      </if>
+      <if test="meterTypeNo != null and meterTypeNo != ''">
+        and METER_TYPE_NO = #{meterTypeNo}
+      </if>
+      <if test="effectiveUpWeight != null">
+        and EFFECTIVE_UP_WEIGHT = #{effectiveUpWeight}
+      </if>
+      <if test="upTime != null">
+        and TO_CHAR(UP_TIME,'yyyy-MM-dd') = #{upTime}
+      </if>
+      <if test="deviation != null">
+        and DEVIATION = #{deviation}
+      </if>
+      <if test="alarmType != null and alarmType != ''">
+        and ALARM_TYPE = #{alarmType}
+      </if>
+      <if test="absoluteError != null">
+        and ABSOLUTE_ERROR = #{absoluteError}
+      </if>
+      <if test="relativeError != null">
+        and RELATIVE_ERROR = #{relativeError}
+      </if>
+      <if test="reserveNum1 != null">
+        and RESERVE_NUM1 = #{reserveNum1}
+      </if>
+      <if test="reserveNum2 != null">
+        and RESERVE_NUM2 = #{reserveNum2}
+      </if>
+      <if test="reserveNum3 != null">
+        and RESERVE_NUM3 = #{reserveNum3}
+      </if>
+      <if test="reserveChar1 != null and reserveChar1 != ''">
+        and RESERVE_CHAR1 = #{reserveChar1}
+      </if>
+      <if test="reserveChar2 != null and reserveChar2 != ''">
+        and RESERVE_CHAR2 = #{reserveChar2}
+      </if>
+      <if test="reserveChar3 != null and reserveChar3 != ''">
+        and RESERVE_CHAR3 = #{reserveChar3}
+      </if>
+      <if test="reserveDate1 != null">
+        and TO_CHAR(RESERVE_DATE1,'yyyy-MM-dd') = #{reserveDate1}
+      </if>
+      <if test="reserveDate2 != null">
+        and TO_CHAR(RESERVE_DATE2,'yyyy-MM-dd') = #{reserveDate2}
+      </if>
+      <if test="calcDate != null">
+        and TO_CHAR(CALC_DATE,'yyyy-MM-dd') = #{calcDate}
+      </if>
+      <if test="isValid != null">
+        and IS_VALID = #{isValid}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="id != null">
+        and ID = #{id}
+      </if>
+      <if test="baseSpotName != null and baseSpotName != ''">
+        and BASE_SPOT_NAME LIKE '%${baseSpotName}%'
+      </if>
+      <if test="carNo != null and carNo != ''">
+        and CAR_NO LIKE '%${carNo}%'
+      </if>
+      <if test="meterWeight != null">
+        and METER_WEIGHT = #{meterWeight}
+      </if>
+      <if test="matterName != null and matterName != ''">
+        and MATTER_NAME LIKE '%${matterName}%'
+      </if>
+      <if test="forwardingUnitName != null and forwardingUnitName != ''">
+        and FORWARDING_UNIT_NAME LIKE '%${forwardingUnitName}%'
+      </if>
+      <if test="receivingUintName != null and receivingUintName != ''">
+        and RECEIVING_UINT_NAME LIKE '%${receivingUintName}%'
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        and VALUE_FLAG LIKE '%${valueFlag}%'
+      </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="meterMode != null and meterMode != ''">
+        and METER_MODE LIKE '%${meterMode}%'
+      </if>
+      <if test="meterTypeName != null and meterTypeName != ''">
+        and METER_TYPE_NAME LIKE '%${meterTypeName}%'
+      </if>
+      <if test="note != null and note != ''">
+        and NOTE LIKE '%${note}%'
+      </if>
+      <if test="meterTypeNo != null and meterTypeNo != ''">
+        and METER_TYPE_NO LIKE '%${meterTypeNo}%'
+      </if>
+      <if test="effectiveUpWeight != null">
+        and EFFECTIVE_UP_WEIGHT = #{effectiveUpWeight}
+      </if>
+      <if test="upTime != null">
+        and TO_CHAR(UP_TIME,'yyyy-MM-dd') = #{upTime}
+      </if>
+      <if test="deviation != null">
+        and DEVIATION = #{deviation}
+      </if>
+      <if test="alarmType != null and alarmType != ''">
+        and ALARM_TYPE LIKE '%${alarmType}%'
+      </if>
+      <if test="absoluteError != null">
+        and ABSOLUTE_ERROR = #{absoluteError}
+      </if>
+      <if test="relativeError != null">
+        and RELATIVE_ERROR = #{relativeError}
+      </if>
+      <if test="reserveNum1 != null">
+        and RESERVE_NUM1 = #{reserveNum1}
+      </if>
+      <if test="reserveNum2 != null">
+        and RESERVE_NUM2 = #{reserveNum2}
+      </if>
+      <if test="reserveNum3 != null">
+        and RESERVE_NUM3 = #{reserveNum3}
+      </if>
+      <if test="reserveChar1 != null and reserveChar1 != ''">
+        and RESERVE_CHAR1 LIKE '%${reserveChar1}%'
+      </if>
+      <if test="reserveChar2 != null and reserveChar2 != ''">
+        and RESERVE_CHAR2 LIKE '%${reserveChar2}%'
+      </if>
+      <if test="reserveChar3 != null and reserveChar3 != ''">
+        and RESERVE_CHAR3 LIKE '%${reserveChar3}%'
+      </if>
+      <if test="reserveDate1 != null">
+        and TO_CHAR(RESERVE_DATE1,'yyyy-MM-dd') = #{reserveDate1}
+      </if>
+      <if test="reserveDate2 != null">
+        and TO_CHAR(RESERVE_DATE2,'yyyy-MM-dd') = #{reserveDate2}
+      </if>
+      <if test="calcDate != null">
+        and TO_CHAR(CALC_DATE,'yyyy-MM-dd') = #{calcDate}
+      </if>
+      <if test="isValid != null">
+        and IS_VALID = #{isValid}
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    delete from TRUCK_TARE_CHECK_WIDE
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from TRUCK_TARE_CHECK_WIDE
+    where 1!=1 
+      <if test="baseSpotName != null and baseSpotName != ''">
+        or BASE_SPOT_NAME = #{baseSpotName}
+      </if>
+      <if test="carNo != null and carNo != ''">
+        or CAR_NO = #{carNo}
+      </if>
+      <if test="meterWeight != null">
+        or METER_WEIGHT = #{meterWeight}
+      </if>
+      <if test="matterName != null and matterName != ''">
+        or MATTER_NAME = #{matterName}
+      </if>
+      <if test="forwardingUnitName != null and forwardingUnitName != ''">
+        or FORWARDING_UNIT_NAME = #{forwardingUnitName}
+      </if>
+      <if test="receivingUintName != null and receivingUintName != ''">
+        or RECEIVING_UINT_NAME = #{receivingUintName}
+      </if>
+      <if test="valueFlag != null and valueFlag != ''">
+        or VALUE_FLAG = #{valueFlag}
+      </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="meterMode != null and meterMode != ''">
+        or METER_MODE = #{meterMode}
+      </if>
+      <if test="meterTypeName != null and meterTypeName != ''">
+        or METER_TYPE_NAME = #{meterTypeName}
+      </if>
+      <if test="note != null and note != ''">
+        or NOTE = #{note}
+      </if>
+      <if test="meterTypeNo != null and meterTypeNo != ''">
+        or METER_TYPE_NO = #{meterTypeNo}
+      </if>
+      <if test="effectiveUpWeight != null">
+        or EFFECTIVE_UP_WEIGHT = #{effectiveUpWeight}
+      </if>
+      <if test="upTime != null">
+        or TO_CHAR(UP_TIME,'yyyy-MM-dd') = '#{upTime}'
+      </if>
+      <if test="deviation != null">
+        or DEVIATION = #{deviation}
+      </if>
+      <if test="alarmType != null and alarmType != ''">
+        or ALARM_TYPE = #{alarmType}
+      </if>
+      <if test="absoluteError != null">
+        or ABSOLUTE_ERROR = #{absoluteError}
+      </if>
+      <if test="relativeError != null">
+        or RELATIVE_ERROR = #{relativeError}
+      </if>
+      <if test="reserveNum1 != null">
+        or RESERVE_NUM1 = #{reserveNum1}
+      </if>
+      <if test="reserveNum2 != null">
+        or RESERVE_NUM2 = #{reserveNum2}
+      </if>
+      <if test="reserveNum3 != null">
+        or RESERVE_NUM3 = #{reserveNum3}
+      </if>
+      <if test="reserveChar1 != null and reserveChar1 != ''">
+        or RESERVE_CHAR1 = #{reserveChar1}
+      </if>
+      <if test="reserveChar2 != null and reserveChar2 != ''">
+        or RESERVE_CHAR2 = #{reserveChar2}
+      </if>
+      <if test="reserveChar3 != null and reserveChar3 != ''">
+        or RESERVE_CHAR3 = #{reserveChar3}
+      </if>
+      <if test="reserveDate1 != null">
+        or TO_CHAR(RESERVE_DATE1,'yyyy-MM-dd') = '#{reserveDate1}'
+      </if>
+      <if test="reserveDate2 != null">
+        or TO_CHAR(RESERVE_DATE2,'yyyy-MM-dd') = '#{reserveDate2}'
+      </if>
+      <if test="calcDate != null">
+        or TO_CHAR(CALC_DATE,'yyyy-MM-dd') = '#{calcDate}'
+      </if>
+      <if test="isValid != null">
+        or IS_VALID = #{isValid}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide">
+    insert into TRUCK_TARE_CHECK_WIDE (ID, BASE_SPOT_NAME, CAR_NO, 
+      METER_WEIGHT, MATTER_NAME, FORWARDING_UNIT_NAME, 
+      RECEIVING_UINT_NAME, VALUE_FLAG, CREATE_MAN_NO, 
+      CREATE_MAN_NAME, CREATE_TIME, UPDATE_MAN_NO, 
+      UPDATE_MAN_NAME, UPDATE_TIME, METER_MODE, 
+      METER_TYPE_NAME, NOTE, METER_TYPE_NO, 
+      EFFECTIVE_UP_WEIGHT, UP_TIME, DEVIATION, 
+      ALARM_TYPE, ABSOLUTE_ERROR, RELATIVE_ERROR, 
+      RESERVE_NUM1, RESERVE_NUM2, RESERVE_NUM3, 
+      RESERVE_CHAR1, RESERVE_CHAR2, RESERVE_CHAR3, 
+      RESERVE_DATE1, RESERVE_DATE2, CALC_DATE, 
+      IS_VALID)
+    values (#{id,jdbcType=DECIMAL}, #{baseSpotName,jdbcType=VARCHAR}, #{carNo,jdbcType=VARCHAR}, 
+      #{meterWeight,jdbcType=DECIMAL}, #{matterName,jdbcType=VARCHAR}, #{forwardingUnitName,jdbcType=VARCHAR}, 
+      #{receivingUintName,jdbcType=VARCHAR}, #{valueFlag,jdbcType=VARCHAR}, #{createManNo,jdbcType=VARCHAR}, 
+      #{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateManNo,jdbcType=VARCHAR}, 
+      #{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{meterMode,jdbcType=VARCHAR}, 
+      #{meterTypeName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{meterTypeNo,jdbcType=VARCHAR}, 
+      #{effectiveUpWeight,jdbcType=DECIMAL}, #{upTime,jdbcType=TIMESTAMP}, #{deviation,jdbcType=DECIMAL}, 
+      #{alarmType,jdbcType=VARCHAR}, #{absoluteError,jdbcType=DECIMAL}, #{relativeError,jdbcType=DECIMAL}, 
+      #{reserveNum1,jdbcType=DECIMAL}, #{reserveNum2,jdbcType=DECIMAL}, #{reserveNum3,jdbcType=DECIMAL}, 
+      #{reserveChar1,jdbcType=VARCHAR}, #{reserveChar2,jdbcType=VARCHAR}, #{reserveChar3,jdbcType=VARCHAR}, 
+      #{reserveDate1,jdbcType=TIMESTAMP}, #{reserveDate2,jdbcType=TIMESTAMP}, #{calcDate,jdbcType=TIMESTAMP}, 
+      #{isValid,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide">
+    insert into TRUCK_TARE_CHECK_WIDE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="baseSpotName != null">
+        BASE_SPOT_NAME,
+      </if>
+      <if test="carNo != null">
+        CAR_NO,
+      </if>
+      <if test="meterWeight != null">
+        METER_WEIGHT,
+      </if>
+      <if test="matterName != null">
+        MATTER_NAME,
+      </if>
+      <if test="forwardingUnitName != null">
+        FORWARDING_UNIT_NAME,
+      </if>
+      <if test="receivingUintName != null">
+        RECEIVING_UINT_NAME,
+      </if>
+      <if test="valueFlag != null">
+        VALUE_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="meterMode != null">
+        METER_MODE,
+      </if>
+      <if test="meterTypeName != null">
+        METER_TYPE_NAME,
+      </if>
+      <if test="note != null">
+        NOTE,
+      </if>
+      <if test="meterTypeNo != null">
+        METER_TYPE_NO,
+      </if>
+      <if test="effectiveUpWeight != null">
+        EFFECTIVE_UP_WEIGHT,
+      </if>
+      <if test="upTime != null">
+        UP_TIME,
+      </if>
+      <if test="deviation != null">
+        DEVIATION,
+      </if>
+      <if test="alarmType != null">
+        ALARM_TYPE,
+      </if>
+      <if test="absoluteError != null">
+        ABSOLUTE_ERROR,
+      </if>
+      <if test="relativeError != null">
+        RELATIVE_ERROR,
+      </if>
+      <if test="reserveNum1 != null">
+        RESERVE_NUM1,
+      </if>
+      <if test="reserveNum2 != null">
+        RESERVE_NUM2,
+      </if>
+      <if test="reserveNum3 != null">
+        RESERVE_NUM3,
+      </if>
+      <if test="reserveChar1 != null">
+        RESERVE_CHAR1,
+      </if>
+      <if test="reserveChar2 != null">
+        RESERVE_CHAR2,
+      </if>
+      <if test="reserveChar3 != null">
+        RESERVE_CHAR3,
+      </if>
+      <if test="reserveDate1 != null">
+        RESERVE_DATE1,
+      </if>
+      <if test="reserveDate2 != null">
+        RESERVE_DATE2,
+      </if>
+      <if test="calcDate != null">
+        CALC_DATE,
+      </if>
+      <if test="isValid != null">
+        IS_VALID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="baseSpotName != null">
+        #{baseSpotName,jdbcType=VARCHAR},
+      </if>
+      <if test="carNo != null">
+        #{carNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterWeight != null">
+        #{meterWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="matterName != null">
+        #{matterName,jdbcType=VARCHAR},
+      </if>
+      <if test="forwardingUnitName != null">
+        #{forwardingUnitName,jdbcType=VARCHAR},
+      </if>
+      <if test="receivingUintName != null">
+        #{receivingUintName,jdbcType=VARCHAR},
+      </if>
+      <if test="valueFlag != null">
+        #{valueFlag,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="meterMode != null">
+        #{meterMode,jdbcType=VARCHAR},
+      </if>
+      <if test="meterTypeName != null">
+        #{meterTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="note != null">
+        #{note,jdbcType=VARCHAR},
+      </if>
+      <if test="meterTypeNo != null">
+        #{meterTypeNo,jdbcType=VARCHAR},
+      </if>
+      <if test="effectiveUpWeight != null">
+        #{effectiveUpWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="upTime != null">
+        #{upTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviation != null">
+        #{deviation,jdbcType=DECIMAL},
+      </if>
+      <if test="alarmType != null">
+        #{alarmType,jdbcType=VARCHAR},
+      </if>
+      <if test="absoluteError != null">
+        #{absoluteError,jdbcType=DECIMAL},
+      </if>
+      <if test="relativeError != null">
+        #{relativeError,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum1 != null">
+        #{reserveNum1,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum2 != null">
+        #{reserveNum2,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum3 != null">
+        #{reserveNum3,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveChar1 != null">
+        #{reserveChar1,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveChar2 != null">
+        #{reserveChar2,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveChar3 != null">
+        #{reserveChar3,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveDate1 != null">
+        #{reserveDate1,jdbcType=TIMESTAMP},
+      </if>
+      <if test="reserveDate2 != null">
+        #{reserveDate2,jdbcType=TIMESTAMP},
+      </if>
+      <if test="calcDate != null">
+        #{calcDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="isValid != null">
+        #{isValid,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide">
+    update TRUCK_TARE_CHECK_WIDE
+    set BASE_SPOT_NAME = #{baseSpotName,jdbcType=VARCHAR},
+      CAR_NO = #{carNo,jdbcType=VARCHAR},
+      METER_WEIGHT = #{meterWeight,jdbcType=DECIMAL},
+      MATTER_NAME = #{matterName,jdbcType=VARCHAR},
+      FORWARDING_UNIT_NAME = #{forwardingUnitName,jdbcType=VARCHAR},
+      RECEIVING_UINT_NAME = #{receivingUintName,jdbcType=VARCHAR},
+      VALUE_FLAG = #{valueFlag,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},
+      METER_MODE = #{meterMode,jdbcType=VARCHAR},
+      METER_TYPE_NAME = #{meterTypeName,jdbcType=VARCHAR},
+      NOTE = #{note,jdbcType=VARCHAR},
+      METER_TYPE_NO = #{meterTypeNo,jdbcType=VARCHAR},
+      EFFECTIVE_UP_WEIGHT = #{effectiveUpWeight,jdbcType=DECIMAL},
+      UP_TIME = #{upTime,jdbcType=TIMESTAMP},
+      DEVIATION = #{deviation,jdbcType=DECIMAL},
+      ALARM_TYPE = #{alarmType,jdbcType=VARCHAR},
+      ABSOLUTE_ERROR = #{absoluteError,jdbcType=DECIMAL},
+      RELATIVE_ERROR = #{relativeError,jdbcType=DECIMAL},
+      RESERVE_NUM1 = #{reserveNum1,jdbcType=DECIMAL},
+      RESERVE_NUM2 = #{reserveNum2,jdbcType=DECIMAL},
+      RESERVE_NUM3 = #{reserveNum3,jdbcType=DECIMAL},
+      RESERVE_CHAR1 = #{reserveChar1,jdbcType=VARCHAR},
+      RESERVE_CHAR2 = #{reserveChar2,jdbcType=VARCHAR},
+      RESERVE_CHAR3 = #{reserveChar3,jdbcType=VARCHAR},
+      RESERVE_DATE1 = #{reserveDate1,jdbcType=TIMESTAMP},
+      RESERVE_DATE2 = #{reserveDate2,jdbcType=TIMESTAMP},
+      CALC_DATE = #{calcDate,jdbcType=TIMESTAMP},
+      IS_VALID = #{isValid,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide">
+    update TRUCK_TARE_CHECK_WIDE
+    <set>
+      <if test="baseSpotName != null">
+        BASE_SPOT_NAME = #{baseSpotName,jdbcType=VARCHAR},
+      </if>
+      <if test="carNo != null">
+        CAR_NO = #{carNo,jdbcType=VARCHAR},
+      </if>
+      <if test="meterWeight != null">
+        METER_WEIGHT = #{meterWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="matterName != null">
+        MATTER_NAME = #{matterName,jdbcType=VARCHAR},
+      </if>
+      <if test="forwardingUnitName != null">
+        FORWARDING_UNIT_NAME = #{forwardingUnitName,jdbcType=VARCHAR},
+      </if>
+      <if test="receivingUintName != null">
+        RECEIVING_UINT_NAME = #{receivingUintName,jdbcType=VARCHAR},
+      </if>
+      <if test="valueFlag != null">
+        VALUE_FLAG = #{valueFlag,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="meterMode != null">
+        METER_MODE = #{meterMode,jdbcType=VARCHAR},
+      </if>
+      <if test="meterTypeName != null">
+        METER_TYPE_NAME = #{meterTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="note != null">
+        NOTE = #{note,jdbcType=VARCHAR},
+      </if>
+      <if test="meterTypeNo != null">
+        METER_TYPE_NO = #{meterTypeNo,jdbcType=VARCHAR},
+      </if>
+      <if test="effectiveUpWeight != null">
+        EFFECTIVE_UP_WEIGHT = #{effectiveUpWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="upTime != null">
+        UP_TIME = #{upTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviation != null">
+        DEVIATION = #{deviation,jdbcType=DECIMAL},
+      </if>
+      <if test="alarmType != null">
+        ALARM_TYPE = #{alarmType,jdbcType=VARCHAR},
+      </if>
+      <if test="absoluteError != null">
+        ABSOLUTE_ERROR = #{absoluteError,jdbcType=DECIMAL},
+      </if>
+      <if test="relativeError != null">
+        RELATIVE_ERROR = #{relativeError,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum1 != null">
+        RESERVE_NUM1 = #{reserveNum1,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum2 != null">
+        RESERVE_NUM2 = #{reserveNum2,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveNum3 != null">
+        RESERVE_NUM3 = #{reserveNum3,jdbcType=DECIMAL},
+      </if>
+      <if test="reserveChar1 != null">
+        RESERVE_CHAR1 = #{reserveChar1,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveChar2 != null">
+        RESERVE_CHAR2 = #{reserveChar2,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveChar3 != null">
+        RESERVE_CHAR3 = #{reserveChar3,jdbcType=VARCHAR},
+      </if>
+      <if test="reserveDate1 != null">
+        RESERVE_DATE1 = #{reserveDate1,jdbcType=TIMESTAMP},
+      </if>
+      <if test="reserveDate2 != null">
+        RESERVE_DATE2 = #{reserveDate2,jdbcType=TIMESTAMP},
+      </if>
+      <if test="calcDate != null">
+        CALC_DATE = #{calcDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="isValid != null">
+        IS_VALID = #{isValid,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Short" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where ID = #{id,jdbcType=DECIMAL}
+  </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 TRUCK_TARE_CHECK_WIDE 
+      (ID, 
+      BASE_SPOT_NAME, CAR_NO, METER_WEIGHT, 
+      MATTER_NAME, FORWARDING_UNIT_NAME, 
+      RECEIVING_UINT_NAME, VALUE_FLAG, 
+      CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+      UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME, 
+      METER_MODE, METER_TYPE_NAME, NOTE, 
+      METER_TYPE_NO, EFFECTIVE_UP_WEIGHT, 
+      UP_TIME, DEVIATION, ALARM_TYPE, 
+      ABSOLUTE_ERROR, RELATIVE_ERROR, 
+      RESERVE_NUM1, RESERVE_NUM2, RESERVE_NUM3, 
+      RESERVE_CHAR1, RESERVE_CHAR2, RESERVE_CHAR3, 
+      RESERVE_DATE1, RESERVE_DATE2, 
+      CALC_DATE, IS_VALID)
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.id,jdbcType=DECIMAL}, 
+      #{item.baseSpotName,jdbcType=VARCHAR}, #{item.carNo,jdbcType=VARCHAR}, #{item.meterWeight,jdbcType=DECIMAL}, 
+      #{item.matterName,jdbcType=VARCHAR}, #{item.forwardingUnitName,jdbcType=VARCHAR}, 
+      #{item.receivingUintName,jdbcType=VARCHAR}, #{item.valueFlag,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.meterMode,jdbcType=VARCHAR}, #{item.meterTypeName,jdbcType=VARCHAR}, #{item.note,jdbcType=VARCHAR}, 
+      #{item.meterTypeNo,jdbcType=VARCHAR}, #{item.effectiveUpWeight,jdbcType=DECIMAL}, 
+      #{item.upTime,jdbcType=TIMESTAMP}, #{item.deviation,jdbcType=DECIMAL}, #{item.alarmType,jdbcType=VARCHAR}, 
+      #{item.absoluteError,jdbcType=DECIMAL}, #{item.relativeError,jdbcType=DECIMAL}, 
+      #{item.reserveNum1,jdbcType=DECIMAL}, #{item.reserveNum2,jdbcType=DECIMAL}, #{item.reserveNum3,jdbcType=DECIMAL}, 
+      #{item.reserveChar1,jdbcType=VARCHAR}, #{item.reserveChar2,jdbcType=VARCHAR}, #{item.reserveChar3,jdbcType=VARCHAR}, 
+      #{item.reserveDate1,jdbcType=TIMESTAMP}, #{item.reserveDate2,jdbcType=TIMESTAMP}, 
+      #{item.calcDate,jdbcType=TIMESTAMP}, #{item.isValid,jdbcType=DECIMAL} from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update TRUCK_TARE_CHECK_WIDE
+     set
+       ID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.id,jdbcType=DECIMAL}
+       </foreach>
+       ,BASE_SPOT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.baseSpotName,jdbcType=VARCHAR}
+       </foreach>
+       ,CAR_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.carNo,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.meterWeight,jdbcType=DECIMAL}
+       </foreach>
+       ,MATTER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.matterName,jdbcType=VARCHAR}
+       </foreach>
+       ,FORWARDING_UNIT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.forwardingUnitName,jdbcType=VARCHAR}
+       </foreach>
+       ,RECEIVING_UINT_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.receivingUintName,jdbcType=VARCHAR}
+       </foreach>
+       ,VALUE_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.valueFlag,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.createManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.createManName,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.createTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.updateManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.updateManName,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,METER_MODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.meterMode,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_TYPE_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.meterTypeName,jdbcType=VARCHAR}
+       </foreach>
+       ,NOTE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.note,jdbcType=VARCHAR}
+       </foreach>
+       ,METER_TYPE_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.meterTypeNo,jdbcType=VARCHAR}
+       </foreach>
+       ,EFFECTIVE_UP_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.effectiveUpWeight,jdbcType=DECIMAL}
+       </foreach>
+       ,UP_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.upTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,DEVIATION=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.deviation,jdbcType=DECIMAL}
+       </foreach>
+       ,ALARM_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.alarmType,jdbcType=VARCHAR}
+       </foreach>
+       ,ABSOLUTE_ERROR=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.absoluteError,jdbcType=DECIMAL}
+       </foreach>
+       ,RELATIVE_ERROR=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.relativeError,jdbcType=DECIMAL}
+       </foreach>
+       ,RESERVE_NUM1=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveNum1,jdbcType=DECIMAL}
+       </foreach>
+       ,RESERVE_NUM2=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveNum2,jdbcType=DECIMAL}
+       </foreach>
+       ,RESERVE_NUM3=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveNum3,jdbcType=DECIMAL}
+       </foreach>
+       ,RESERVE_CHAR1=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveChar1,jdbcType=VARCHAR}
+       </foreach>
+       ,RESERVE_CHAR2=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveChar2,jdbcType=VARCHAR}
+       </foreach>
+       ,RESERVE_CHAR3=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveChar3,jdbcType=VARCHAR}
+       </foreach>
+       ,RESERVE_DATE1=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveDate1,jdbcType=TIMESTAMP}
+       </foreach>
+       ,RESERVE_DATE2=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.reserveDate2,jdbcType=TIMESTAMP}
+       </foreach>
+       ,CALC_DATE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.calcDate,jdbcType=TIMESTAMP}
+       </foreach>
+       ,IS_VALID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=DECIMAL} then #{item.isValid,jdbcType=DECIMAL}
+       </foreach>
+     where ID in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.id,jdbcType=DECIMAL}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from TRUCK_TARE_CHECK_WIDE
+    where ID in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  
+</mapper>

+ 432 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/model/TruckTareCheckWide.java

@@ -0,0 +1,432 @@
+package com.steerinfo.baseinfo.trucktarecheckwide.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 TruckTareCheckWide implements IBasePO<Short> {
+    @ApiModelProperty(value="",required=true)
+    private Short id;
+
+    @ApiModelProperty(value="",required=false)
+    private String baseSpotName;
+
+    @ApiModelProperty(value="",required=false)
+    private String carNo;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal meterWeight;
+
+    @ApiModelProperty(value="",required=false)
+    private String matterName;
+
+    @ApiModelProperty(value="",required=false)
+    private String forwardingUnitName;
+
+    @ApiModelProperty(value="",required=false)
+    private String receivingUintName;
+
+    @ApiModelProperty(value="",required=false)
+    private String valueFlag;
+
+    @ApiModelProperty(value="",required=false)
+    private String createManNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String createManName;
+
+    @ApiModelProperty(value="",required=false)
+    private Date createTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String updateManNo;
+
+    @ApiModelProperty(value="",required=false)
+    private String updateManName;
+
+    @ApiModelProperty(value="",required=false)
+    private Date updateTime;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterMode;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterTypeName;
+
+    @ApiModelProperty(value="",required=false)
+    private String note;
+
+    @ApiModelProperty(value="",required=false)
+    private String meterTypeNo;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal effectiveUpWeight;
+
+    @ApiModelProperty(value="",required=false)
+    private Date upTime;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal deviation;
+
+    @ApiModelProperty(value="",required=false)
+    private String alarmType;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal absoluteError;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal relativeError;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal reserveNum1;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal reserveNum2;
+
+    @ApiModelProperty(value="",required=false)
+    private BigDecimal reserveNum3;
+
+    @ApiModelProperty(value="",required=false)
+    private String reserveChar1;
+
+    @ApiModelProperty(value="",required=false)
+    private String reserveChar2;
+
+    @ApiModelProperty(value="",required=false)
+    private String reserveChar3;
+
+    @ApiModelProperty(value="",required=false)
+    private Date reserveDate1;
+
+    @ApiModelProperty(value="",required=false)
+    private Date reserveDate2;
+
+    @ApiModelProperty(value="",required=false)
+    private Date calcDate;
+
+    @ApiModelProperty(value="",required=false)
+    private Short isValid;
+
+    private static final long serialVersionUID = 1L;
+
+    public Short getId() {
+        return id;
+    }
+
+    public void setId(Short id) {
+        this.id = id;
+    }
+
+    public String getBaseSpotName() {
+        return baseSpotName;
+    }
+
+    public void setBaseSpotName(String baseSpotName) {
+        this.baseSpotName = baseSpotName == null ? null : baseSpotName.trim();
+    }
+
+    public String getCarNo() {
+        return carNo;
+    }
+
+    public void setCarNo(String carNo) {
+        this.carNo = carNo == null ? null : carNo.trim();
+    }
+
+    public BigDecimal getMeterWeight() {
+        return meterWeight;
+    }
+
+    public void setMeterWeight(BigDecimal meterWeight) {
+        this.meterWeight = meterWeight;
+    }
+
+    public String getMatterName() {
+        return matterName;
+    }
+
+    public void setMatterName(String matterName) {
+        this.matterName = matterName == null ? null : matterName.trim();
+    }
+
+    public String getForwardingUnitName() {
+        return forwardingUnitName;
+    }
+
+    public void setForwardingUnitName(String forwardingUnitName) {
+        this.forwardingUnitName = forwardingUnitName == null ? null : forwardingUnitName.trim();
+    }
+
+    public String getReceivingUintName() {
+        return receivingUintName;
+    }
+
+    public void setReceivingUintName(String receivingUintName) {
+        this.receivingUintName = receivingUintName == null ? null : receivingUintName.trim();
+    }
+
+    public String getValueFlag() {
+        return valueFlag;
+    }
+
+    public void setValueFlag(String valueFlag) {
+        this.valueFlag = valueFlag == null ? null : valueFlag.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 getMeterMode() {
+        return meterMode;
+    }
+
+    public void setMeterMode(String meterMode) {
+        this.meterMode = meterMode == null ? null : meterMode.trim();
+    }
+
+    public String getMeterTypeName() {
+        return meterTypeName;
+    }
+
+    public void setMeterTypeName(String meterTypeName) {
+        this.meterTypeName = meterTypeName == null ? null : meterTypeName.trim();
+    }
+
+    public String getNote() {
+        return note;
+    }
+
+    public void setNote(String note) {
+        this.note = note == null ? null : note.trim();
+    }
+
+    public String getMeterTypeNo() {
+        return meterTypeNo;
+    }
+
+    public void setMeterTypeNo(String meterTypeNo) {
+        this.meterTypeNo = meterTypeNo == null ? null : meterTypeNo.trim();
+    }
+
+    public BigDecimal getEffectiveUpWeight() {
+        return effectiveUpWeight;
+    }
+
+    public void setEffectiveUpWeight(BigDecimal effectiveUpWeight) {
+        this.effectiveUpWeight = effectiveUpWeight;
+    }
+
+    public Date getUpTime() {
+        return upTime;
+    }
+
+    public void setUpTime(Date upTime) {
+        this.upTime = upTime;
+    }
+
+    public BigDecimal getDeviation() {
+        return deviation;
+    }
+
+    public void setDeviation(BigDecimal deviation) {
+        this.deviation = deviation;
+    }
+
+    public String getAlarmType() {
+        return alarmType;
+    }
+
+    public void setAlarmType(String alarmType) {
+        this.alarmType = alarmType == null ? null : alarmType.trim();
+    }
+
+    public BigDecimal getAbsoluteError() {
+        return absoluteError;
+    }
+
+    public void setAbsoluteError(BigDecimal absoluteError) {
+        this.absoluteError = absoluteError;
+    }
+
+    public BigDecimal getRelativeError() {
+        return relativeError;
+    }
+
+    public void setRelativeError(BigDecimal relativeError) {
+        this.relativeError = relativeError;
+    }
+
+    public BigDecimal getReserveNum1() {
+        return reserveNum1;
+    }
+
+    public void setReserveNum1(BigDecimal reserveNum1) {
+        this.reserveNum1 = reserveNum1;
+    }
+
+    public BigDecimal getReserveNum2() {
+        return reserveNum2;
+    }
+
+    public void setReserveNum2(BigDecimal reserveNum2) {
+        this.reserveNum2 = reserveNum2;
+    }
+
+    public BigDecimal getReserveNum3() {
+        return reserveNum3;
+    }
+
+    public void setReserveNum3(BigDecimal reserveNum3) {
+        this.reserveNum3 = reserveNum3;
+    }
+
+    public String getReserveChar1() {
+        return reserveChar1;
+    }
+
+    public void setReserveChar1(String reserveChar1) {
+        this.reserveChar1 = reserveChar1 == null ? null : reserveChar1.trim();
+    }
+
+    public String getReserveChar2() {
+        return reserveChar2;
+    }
+
+    public void setReserveChar2(String reserveChar2) {
+        this.reserveChar2 = reserveChar2 == null ? null : reserveChar2.trim();
+    }
+
+    public String getReserveChar3() {
+        return reserveChar3;
+    }
+
+    public void setReserveChar3(String reserveChar3) {
+        this.reserveChar3 = reserveChar3 == null ? null : reserveChar3.trim();
+    }
+
+    public Date getReserveDate1() {
+        return reserveDate1;
+    }
+
+    public void setReserveDate1(Date reserveDate1) {
+        this.reserveDate1 = reserveDate1;
+    }
+
+    public Date getReserveDate2() {
+        return reserveDate2;
+    }
+
+    public void setReserveDate2(Date reserveDate2) {
+        this.reserveDate2 = reserveDate2;
+    }
+
+    public Date getCalcDate() {
+        return calcDate;
+    }
+
+    public void setCalcDate(Date calcDate) {
+        this.calcDate = calcDate;
+    }
+
+    public Short getIsValid() {
+        return isValid;
+    }
+
+    public void setIsValid(Short isValid) {
+        this.isValid = isValid;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", baseSpotName=").append(baseSpotName);
+        sb.append(", carNo=").append(carNo);
+        sb.append(", meterWeight=").append(meterWeight);
+        sb.append(", matterName=").append(matterName);
+        sb.append(", forwardingUnitName=").append(forwardingUnitName);
+        sb.append(", receivingUintName=").append(receivingUintName);
+        sb.append(", valueFlag=").append(valueFlag);
+        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(", meterMode=").append(meterMode);
+        sb.append(", meterTypeName=").append(meterTypeName);
+        sb.append(", note=").append(note);
+        sb.append(", meterTypeNo=").append(meterTypeNo);
+        sb.append(", effectiveUpWeight=").append(effectiveUpWeight);
+        sb.append(", upTime=").append(upTime);
+        sb.append(", deviation=").append(deviation);
+        sb.append(", alarmType=").append(alarmType);
+        sb.append(", absoluteError=").append(absoluteError);
+        sb.append(", relativeError=").append(relativeError);
+        sb.append(", reserveNum1=").append(reserveNum1);
+        sb.append(", reserveNum2=").append(reserveNum2);
+        sb.append(", reserveNum3=").append(reserveNum3);
+        sb.append(", reserveChar1=").append(reserveChar1);
+        sb.append(", reserveChar2=").append(reserveChar2);
+        sb.append(", reserveChar3=").append(reserveChar3);
+        sb.append(", reserveDate1=").append(reserveDate1);
+        sb.append(", reserveDate2=").append(reserveDate2);
+        sb.append(", calcDate=").append(calcDate);
+        sb.append(", isValid=").append(isValid);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 21 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/service/ITruckTareCheckWideService.java

@@ -0,0 +1,21 @@
+package com.steerinfo.baseinfo.trucktarecheckwide.service;
+
+import com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide;
+import com.steerinfo.framework.service.IBaseService;
+
+/**
+ * TruckTareCheckWide服务接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:TruckTareCheckWide服务接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+public interface ITruckTareCheckWideService extends IBaseService<TruckTareCheckWide, Short>{
+
+}

+ 34 - 0
src/main/java/com/steerinfo/baseinfo/trucktarecheckwide/service/impl/TruckTareCheckWideServiceImpl.java

@@ -0,0 +1,34 @@
+package com.steerinfo.baseinfo.trucktarecheckwide.service.impl;
+
+import com.steerinfo.baseinfo.trucktarecheckwide.mapper.TruckTareCheckWideMapper;
+import com.steerinfo.baseinfo.trucktarecheckwide.model.TruckTareCheckWide;
+import com.steerinfo.baseinfo.trucktarecheckwide.service.ITruckTareCheckWideService;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import com.steerinfo.framework.service.impl.BaseServiceImpl;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * TruckTareCheckWide服务实现:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2026-08-11 11:36
+ * 类描述
+ * 修订历史:
+ * 日期:2026-08-11
+ * 作者:generator
+ * 参考:
+ * 描述:TruckTareCheckWide服务实现
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@Service(value = "truckTareCheckWideService")
+public class TruckTareCheckWideServiceImpl extends BaseServiceImpl<TruckTareCheckWide, Short> implements ITruckTareCheckWideService {
+
+    @Autowired
+    private TruckTareCheckWideMapper truckTareCheckWideMapper;
+
+    @Override
+    protected IBaseMapper<TruckTareCheckWide, Short> getMapper() {
+        return truckTareCheckWideMapper;
+    }
+}

+ 0 - 79
src/main/java/com/steerinfo/metermonitor/metermonitornote/mapper/MeterMonitorNoteMapper.xml

@@ -730,85 +730,6 @@
     </where>
     order by operation_time desc
   </select>
-
-  select id="getOptions" parameterType="java.util.HashMap" resultMap="com.steerinfo.metermonitor.metermonitornote.dto.MeterMonitorNoteAll">
-    SELECT * FROM METER_MONITOR_NOTE
-    <where>
-      and operation_content like '勾选%'
-      <if test="noteNo != null and noteNo != ''">
-        and NOTE_NO LIKE '%${noteNo}%'
-      </if>
-      <if test="baseSpotNo != null and baseSpotNo != ''">
-        and BASE_SPOT_NO LIKE '%${baseSpotNo}%'
-      </if>
-      <if test="baseSpotName != null and baseSpotName != ''">
-        and BASE_SPOT_NAME LIKE '%${baseSpotName}%'
-      </if>
-      <if test="operationContent != null and operationContent != ''">
-        and OPERATION_CONTENT LIKE '%${operationContent}%'
-      </if>
-      <if test="operationTime != null and operationTime != ''">
-        and OPERATION_TIME LIKE '%${operationTime}%'
-      </if>
-      <if test="carNo != null and carNo != ''">
-        and CAR_NO LIKE '%${carNo}%'
-      </if>
-      <if test="meterManNo != null and meterManNo != ''">
-        and METER_MAN_NO LIKE '%${meterManNo}%'
-      </if>
-      <if test="meterManName != null and meterManName != ''">
-        and METER_MAN_NAME LIKE '%${meterManName}%'
-      </if>
-      <if test="meterNoteSource != null and meterNoteSource != ''">
-        and METER_NOTE_SOURCE LIKE '%${meterNoteSource}%'
-      </if>
-      <if test="noteTypeNo != null and noteTypeNo != ''">
-        and NOTE_TYPE_NO LIKE '%${noteTypeNo}%'
-      </if>
-      <if test="noteTypeName != null and noteTypeName != ''">
-        and NOTE_TYPE_NAME LIKE '%${noteTypeName}%'
-      </if>
-      <if test="predictionNo != null and predictionNo != ''">
-        and PREDICTION_NO LIKE '%${predictionNo}%'
-      </if>
-      <if test="memo != null and memo != ''">
-        and MEMO LIKE '%${memo}%'
-      </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="monitorNote != null and monitorNote != ''">
-        and MONITOR_NOTE LIKE '%${monitorNote}%'
-      </if>
-      <if test="baseSpotNoStr != null and baseSpotNoStr != ''">
-        and BASE_SPOT_NO in
-        <foreach collection="spotNoStr" index="item" open="(" separator="," close=")">
-          #{item}
-        </foreach>
-      </if>
-      <if test="startTime != null and endTime != null and startTime != '' and endTime != ''">
-        and to_date(OPERATION_TIME ,'yyyy-mm-dd HH24:mi:ss') >= to_date(#{startTime},'yyyy-mm-dd HH24:mi:ss')-3/24/60
-        and to_date(OPERATION_TIME ,'yyyy-mm-dd HH24:mi:ss') &lt;= to_date(#{endTime},'yyyy-mm-dd HH24:mi:ss') + 1/(24*60)
-      </if>
-    </where>
-    order by operation_time desc
-  </select>
-
   <!--根据时间查询所有秤点的不验证历史皮重、不验证异地计量、不验证零点告警、不验证时间间隔、不验证对射、不验证毛皮超差-->
   <select id="countAllState" parameterType="java.util.HashMap" resultMap="BaseResultMap">
     <include refid="select"/>