Sfoglia il codice sorgente

动态秤代码更新

BourneCao 4 anni fa
parent
commit
c9b1fb754e
14 ha cambiato i file con 1527 aggiunte e 8 eliminazioni
  1. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasebatchdbconfig/controller/DynamicBaseBatchdbConfigController.java
  2. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasebatchstation/controller/DynamicBaseBatchStationController.java
  3. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasemeterial/controller/DynamicBaseMeterialController.java
  4. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasereciever/controller/DynamicBaseRecieverController.java
  5. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasescdbconfig/controller/DynamicBaseScdbConfigController.java
  6. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasescstation/controller/DynamicBaseScStationController.java
  7. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasesender/controller/DynamicBaseSenderController.java
  8. 1 1
      src/main/java/com/jisco/dynamicweight/dynamicbasestationmaterial/controller/DynamicBaseStationMaterialController.java
  9. 126 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/controller/DynamicWorkUpdataController.java
  10. 13 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/mapper/DynamicWorkUpdataMapper.java
  11. 845 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/mapper/DynamicWorkUpdataMapper.xml
  12. 468 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/model/DynamicWorkUpdata.java
  13. 25 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/service/IDynamicWorkUpdataService.java
  14. 42 0
      src/main/java/com/jisco/dynamicweight/dynamicworkupdata/service/impl/DynamicWorkUpdataServiceImpl.java

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasebatchdbconfig/controller/DynamicBaseBatchdbConfigController.java

@@ -137,7 +137,7 @@ public class DynamicBaseBatchdbConfigController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseBatchdbConfig> list = dynamicBaseBatchdbConfigService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseBatchdbConfig.class, "皮带秤扩展配置");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasebatchstation/controller/DynamicBaseBatchStationController.java

@@ -129,7 +129,7 @@ public class DynamicBaseBatchStationController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseBatchStation> list = dynamicBaseBatchStationService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseBatchStation.class, "分料系统站点信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasemeterial/controller/DynamicBaseMeterialController.java

@@ -129,7 +129,7 @@ public class DynamicBaseMeterialController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseMeterial> list = dynamicBaseMeterialService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseMeterial.class, "动态秤物料信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasereciever/controller/DynamicBaseRecieverController.java

@@ -132,7 +132,7 @@ public class DynamicBaseRecieverController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseReciever> list = dynamicBaseRecieverService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseReciever.class, "收货单位信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasescdbconfig/controller/DynamicBaseScdbConfigController.java

@@ -133,7 +133,7 @@ public class DynamicBaseScdbConfigController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseScdbConfig> list = dynamicBaseScdbConfigService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseScdbConfig.class, "动态秤日报数据库配置信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasescstation/controller/DynamicBaseScStationController.java

@@ -141,7 +141,7 @@ public class DynamicBaseScStationController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseScStation> list = dynamicBaseScStationService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseScStation.class, "动态秤日报站点信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasesender/controller/DynamicBaseSenderController.java

@@ -130,7 +130,7 @@ public class DynamicBaseSenderController extends BaseRESTfulController {
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseSender> list = dynamicBaseSenderService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseSender.class, "发货单位信息");

+ 1 - 1
src/main/java/com/jisco/dynamicweight/dynamicbasestationmaterial/controller/DynamicBaseStationMaterialController.java

@@ -131,7 +131,7 @@ public class DynamicBaseStationMaterialController extends BaseRESTfulController
     }
 
     @ApiOperation(value = "导出Excel", notes = "导出Excel")
-    @GetMapping(value = "/exportExcel")//String
+    @PostMapping(value = "/exportExcel")//String
     public void exportExcel(HttpServletResponse response) throws IOException {
         List<DynamicBaseStationMaterial> list = dynamicBaseStationMaterialService.query(null);
         ExcelUtil.exportExcel(response, list, DynamicBaseStationMaterial.class, "动态秤站点物料信息");

+ 126 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/controller/DynamicWorkUpdataController.java

@@ -0,0 +1,126 @@
+package com.jisco.dynamicweight.dynamicworkupdata.controller;
+
+import com.jisco.dynamicweight.dynamicbasestationmaterial.model.DynamicBaseStationMaterial;
+import com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata;
+import com.jisco.dynamicweight.dynamicworkupdata.service.IDynamicWorkUpdataService;
+import com.jisco.dynamicweight.util.ExcelUtil;
+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 javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+
+/**
+ * DynamicWorkUpdata RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-01-18 10:14
+ * 类描述
+ * 修订历史:
+ * 日期:2022-01-18
+ * 作者:generator
+ * 参考:
+ * 描述:DynamicWorkUpdata RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/dynamicworkupdatas")
+public class DynamicWorkUpdataController extends BaseRESTfulController {
+
+    @Autowired
+    IDynamicWorkUpdataService dynamicWorkUpdataService;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+        @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+        @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("dynamicworkupdata:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        dynamicWorkUpdataService.recalc();
+        PageList<DynamicWorkUpdata> list = dynamicWorkUpdataService.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("dynamicworkupdata:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        dynamicWorkUpdataService.recalc();
+        PageList<DynamicWorkUpdata> list = dynamicWorkUpdataService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+    
+    @ApiOperation(value="创建", notes="根据DynamicWorkUpdata对象创建")
+    @ApiImplicitParam(name = "dynamicWorkUpdata", value = "详细实体dynamicWorkUpdata", required = true, dataType = "DynamicWorkUpdata")
+    //@RequiresPermissions("dynamicworkupdata:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@RequestBody DynamicWorkUpdata model){
+        DynamicWorkUpdata dynamicWorkUpdata = dynamicWorkUpdataService.add(model);
+        return success(dynamicWorkUpdata);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("dynamicworkupdata:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable String id){
+        DynamicWorkUpdata dynamicWorkUpdata = dynamicWorkUpdataService.getById(id);
+        return success(dynamicWorkUpdata);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的dynamicWorkUpdata信息来更新详细信息")
+    @ApiImplicitParams({
+        @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+        @ApiImplicitParam(name = "dynamicWorkUpdata", value = "详细实体dynamicWorkUpdata", required = true, dataType = "DynamicWorkUpdata")
+    })
+    //@RequiresPermissions("dynamicworkupdata:update")
+    @PutMapping(value = "/{id}", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@PathVariable String id, @RequestBody DynamicWorkUpdata model){
+        model.setId(id);
+        DynamicWorkUpdata dynamicWorkUpdata = dynamicWorkUpdataService.modify(model);
+        return success(dynamicWorkUpdata);
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("dynamicworkupdata: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);
+			  dynamicWorkUpdataService.delete(ids);
+    	}
+      return success();
+    }
+
+    @ApiOperation(value = "导出Excel", notes = "导出Excel")
+    @PostMapping(value = "/exportExcel")//String
+    public void exportExcel(HttpServletResponse response, @RequestParam HashMap parmas) throws IOException {
+        List<DynamicWorkUpdata> list = dynamicWorkUpdataService.query(parmas);
+        ExcelUtil.exportExcel(response, list, DynamicWorkUpdata.class, "动态秤称重数据");
+    }
+
+    @ApiOperation(value = "重新计算", notes = "重新计算煤塔秤数据")
+    @PostMapping(value = "/recalc")//String
+    public RESTfulResult recalc(){
+        dynamicWorkUpdataService.recalc();
+        return success();
+    }
+}

+ 13 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/mapper/DynamicWorkUpdataMapper.java

@@ -0,0 +1,13 @@
+package com.jisco.dynamicweight.dynamicworkupdata.mapper;
+
+import com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+@Mapper
+public interface DynamicWorkUpdataMapper extends IBaseMapper<DynamicWorkUpdata, String> {
+    /**
+     *重新计算煤塔秤数据
+     */
+    void recalc();
+}

+ 845 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/mapper/DynamicWorkUpdataMapper.xml

@@ -0,0 +1,845 @@
+<?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.jisco.dynamicweight.dynamicworkupdata.mapper.DynamicWorkUpdataMapper">
+  <resultMap id="BaseResultMap" type="com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata">
+    <id column="UPDATA_NO" jdbcType="VARCHAR" property="updataNo" />
+    <result column="MATERIAL_NAME" jdbcType="VARCHAR" property="materialName" />
+    <result column="MATERIAL_CODE" jdbcType="VARCHAR" property="materialCode" />
+    <result column="STATION_NAME" jdbcType="VARCHAR" property="stationName" />
+    <result column="STATION_CODE" jdbcType="VARCHAR" property="stationCode" />
+    <result column="RECIEVER_NAME" jdbcType="VARCHAR" property="recieverName" />
+    <result column="RECIEVER_CODE" jdbcType="VARCHAR" property="recieverCode" />
+    <result column="SENDER_NAME" jdbcType="VARCHAR" property="senderName" />
+    <result column="SENDER_CODE" jdbcType="VARCHAR" property="senderCode" />
+    <result column="WEIGHT" jdbcType="VARCHAR" property="weight" />
+    <result column="RECIEVER_TYPE" jdbcType="VARCHAR" property="recieverType" />
+    <result column="SENDER_TYPE" jdbcType="VARCHAR" property="senderType" />
+    <result column="UPLOADED" jdbcType="VARCHAR" property="uploaded" />
+    <result column="START_TIME" jdbcType="TIMESTAMP" property="startTime" />
+    <result column="END_TIME" jdbcType="TIMESTAMP" property="endTime" />
+    <result column="MEMO" jdbcType="VARCHAR" property="memo" />
+    <result column="AUDITING_MAN_NO" jdbcType="VARCHAR" property="auditingManNo" />
+    <result column="ORIGINAL_VALUE" jdbcType="VARCHAR" property="originalValue" />
+    <result column="SYSLOG" jdbcType="VARCHAR" property="syslog" />
+    <result column="AUDITING_MAN_NAME" jdbcType="VARCHAR" property="auditingManName" />
+    <result column="AUDITING_TIME" jdbcType="TIMESTAMP" property="auditingTime" />
+    <result column="AUDITING_FLAG" jdbcType="VARCHAR" property="auditingFlag" />
+    <result column="VALID_FLAG" jdbcType="VARCHAR" property="validFlag" />
+    <result column="CREATE_MAN_NO" jdbcType="VARCHAR" property="createManNo" />
+    <result column="CREATE_MAN_NAME" jdbcType="VARCHAR" property="createManName" />
+    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="UPDATE_MAN_NO" jdbcType="VARCHAR" property="updateManNo" />
+    <result column="UPDATE_MAN_NAME" jdbcType="VARCHAR" property="updateManName" />
+    <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
+  </resultMap>
+  <sql id="columns">
+    UPDATA_NO, MATERIAL_NAME, MATERIAL_CODE, STATION_NAME, STATION_CODE, RECIEVER_NAME, 
+    RECIEVER_CODE, SENDER_NAME, SENDER_CODE, WEIGHT, RECIEVER_TYPE, SENDER_TYPE, UPLOADED, 
+    START_TIME, END_TIME, MEMO, AUDITING_MAN_NO, ORIGINAL_VALUE, SYSLOG, AUDITING_MAN_NAME, 
+    AUDITING_TIME, AUDITING_FLAG, VALID_FLAG, CREATE_MAN_NO, CREATE_MAN_NAME, CREATE_TIME, 
+    UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME
+  </sql>
+  <sql id="columns_alias">
+    t.UPDATA_NO, t.MATERIAL_NAME, t.MATERIAL_CODE, t.STATION_NAME, t.STATION_CODE, t.RECIEVER_NAME, 
+    t.RECIEVER_CODE, t.SENDER_NAME, t.SENDER_CODE, t.WEIGHT, t.RECIEVER_TYPE, t.SENDER_TYPE, 
+    t.UPLOADED, t.START_TIME, t.END_TIME, t.MEMO, t.AUDITING_MAN_NO, t.ORIGINAL_VALUE, 
+    t.SYSLOG, t.AUDITING_MAN_NAME, t.AUDITING_TIME, t.AUDITING_FLAG, t.VALID_FLAG, t.CREATE_MAN_NO, 
+    t.CREATE_MAN_NAME, t.CREATE_TIME, t.UPDATE_MAN_NO, t.UPDATE_MAN_NAME, t.UPDATE_TIME
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM DYNAMIC_WORK_UPDATA
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM DYNAMIC_WORK_UPDATA t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="updataNo != null and updataNo != ''">
+        and UPDATA_NO = #{updataNo}
+      </if>
+      <if test="materialName != null and materialName != ''">
+        and MATERIAL_NAME = #{materialName}
+      </if>
+      <if test="materialCode != null and materialCode != ''">
+        and MATERIAL_CODE = #{materialCode}
+      </if>
+      <if test="stationName != null and stationName != ''">
+        and STATION_NAME = #{stationName}
+      </if>
+      <if test="stationCode != null and stationCode != ''">
+        and STATION_CODE = #{stationCode}
+      </if>
+      <if test="recieverName != null and recieverName != ''">
+        and RECIEVER_NAME = #{recieverName}
+      </if>
+      <if test="recieverCode != null and recieverCode != ''">
+        and RECIEVER_CODE = #{recieverCode}
+      </if>
+      <if test="senderName != null and senderName != ''">
+        and SENDER_NAME = #{senderName}
+      </if>
+      <if test="senderCode != null and senderCode != ''">
+        and SENDER_CODE = #{senderCode}
+      </if>
+      <if test="weight != null and weight != ''">
+        and WEIGHT = #{weight}
+      </if>
+      <if test="recieverType != null and recieverType != ''">
+        and RECIEVER_TYPE = #{recieverType}
+      </if>
+      <if test="senderType != null and senderType != ''">
+        and SENDER_TYPE = #{senderType}
+      </if>
+      <if test="uploaded != null and uploaded != ''">
+        and UPLOADED = #{uploaded}
+      </if>
+      <if test="startTime != null">
+        and TO_CHAR(START_TIME,'yyyy-MM-dd') = #{startTime}
+      </if>
+      <if test="endTime != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') = #{endTime}
+      </if>
+      <if test="endTime1 != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') &gt;= #{endTime1}
+      </if>
+      <if test="endTime2 != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') &lt;= #{endTime2}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO = #{memo}
+      </if>
+      <if test="auditingManNo != null and auditingManNo != ''">
+        and AUDITING_MAN_NO = #{auditingManNo}
+      </if>
+      <if test="originalValue != null and originalValue != ''">
+        and ORIGINAL_VALUE = #{originalValue}
+      </if>
+      <if test="syslog != null and syslog != ''">
+        and SYSLOG = #{syslog}
+      </if>
+      <if test="auditingManName != null and auditingManName != ''">
+        and AUDITING_MAN_NAME = #{auditingManName}
+      </if>
+      <if test="auditingTime != null">
+        and TO_CHAR(AUDITING_TIME,'yyyy-MM-dd') = #{auditingTime}
+      </if>
+      <if test="auditingFlag != null and auditingFlag != ''">
+        and AUDITING_FLAG = #{auditingFlag}
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        and VALID_FLAG = #{validFlag}
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        and CREATE_MAN_NO = #{createManNo}
+      </if>
+      <if test="createManName != null and createManName != ''">
+        and CREATE_MAN_NAME = #{createManName}
+      </if>
+      <if test="createTime != null">
+        and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
+      </if>
+      <if test="updateManNo != null and updateManNo != ''">
+        and UPDATE_MAN_NO = #{updateManNo}
+      </if>
+      <if test="updateManName != null and updateManName != ''">
+        and UPDATE_MAN_NAME = #{updateManName}
+      </if>
+      <if test="updateTime != null">
+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="updataNo != null and updataNo != ''">
+        and UPDATA_NO LIKE '%${updataNo}%'
+      </if>
+      <if test="materialName != null and materialName != ''">
+        and MATERIAL_NAME LIKE '%${materialName}%'
+      </if>
+      <if test="materialCode != null and materialCode != ''">
+        and MATERIAL_CODE LIKE '%${materialCode}%'
+      </if>
+      <if test="stationName != null and stationName != ''">
+        and STATION_NAME LIKE '%${stationName}%'
+      </if>
+      <if test="stationCode != null and stationCode != ''">
+        and STATION_CODE LIKE '%${stationCode}%'
+      </if>
+      <if test="recieverName != null and recieverName != ''">
+        and RECIEVER_NAME LIKE '%${recieverName}%'
+      </if>
+      <if test="recieverCode != null and recieverCode != ''">
+        and RECIEVER_CODE LIKE '%${recieverCode}%'
+      </if>
+      <if test="senderName != null and senderName != ''">
+        and SENDER_NAME LIKE '%${senderName}%'
+      </if>
+      <if test="senderCode != null and senderCode != ''">
+        and SENDER_CODE LIKE '%${senderCode}%'
+      </if>
+      <if test="weight != null and weight != ''">
+        and WEIGHT LIKE '%${weight}%'
+      </if>
+      <if test="recieverType != null and recieverType != ''">
+        and RECIEVER_TYPE LIKE '%${recieverType}%'
+      </if>
+      <if test="senderType != null and senderType != ''">
+        and SENDER_TYPE LIKE '%${senderType}%'
+      </if>
+      <if test="uploaded != null and uploaded != ''">
+        and UPLOADED LIKE '%${uploaded}%'
+      </if>
+      <if test="startTime != null">
+        and TO_CHAR(START_TIME,'yyyy-MM-dd') = #{startTime}
+      </if>
+      <if test="endTime != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') = #{endTime}
+      </if>
+      <if test="endTime1 != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') &gt;= #{endTime1}
+      </if>
+      <if test="endTime2 != null">
+        and TO_CHAR(END_TIME,'yyyy-MM-dd HH24:mi:ss') &lt;= #{endTime2}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO LIKE '%${memo}%'
+      </if>
+      <if test="auditingManNo != null and auditingManNo != ''">
+        and AUDITING_MAN_NO LIKE '%${auditingManNo}%'
+      </if>
+      <if test="originalValue != null and originalValue != ''">
+        and ORIGINAL_VALUE LIKE '%${originalValue}%'
+      </if>
+      <if test="syslog != null and syslog != ''">
+        and SYSLOG LIKE '%${syslog}%'
+      </if>
+      <if test="auditingManName != null and auditingManName != ''">
+        and AUDITING_MAN_NAME LIKE '%${auditingManName}%'
+      </if>
+      <if test="auditingTime != null">
+        and TO_CHAR(AUDITING_TIME,'yyyy-MM-dd') = #{auditingTime}
+      </if>
+      <if test="auditingFlag != null and auditingFlag != ''">
+        and AUDITING_FLAG LIKE '%${auditingFlag}%'
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        and VALID_FLAG LIKE '%${validFlag}%'
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        and CREATE_MAN_NO LIKE '%${createManNo}%'
+      </if>
+      <if test="createManName != null and createManName != ''">
+        and CREATE_MAN_NAME LIKE '%${createManName}%'
+      </if>
+      <if test="createTime != null">
+        and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
+      </if>
+      <if test="updateManNo != null and updateManNo != ''">
+        and UPDATE_MAN_NO LIKE '%${updateManNo}%'
+      </if>
+      <if test="updateManName != null and updateManName != ''">
+        and UPDATE_MAN_NAME LIKE '%${updateManName}%'
+      </if>
+      <if test="updateTime != null">
+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from DYNAMIC_WORK_UPDATA
+    where UPDATA_NO = #{updataNo,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from DYNAMIC_WORK_UPDATA
+    where 1!=1 
+      <if test="materialName != null and materialName != ''">
+        or MATERIAL_NAME = #{materialName}
+      </if>
+      <if test="materialCode != null and materialCode != ''">
+        or MATERIAL_CODE = #{materialCode}
+      </if>
+      <if test="stationName != null and stationName != ''">
+        or STATION_NAME = #{stationName}
+      </if>
+      <if test="stationCode != null and stationCode != ''">
+        or STATION_CODE = #{stationCode}
+      </if>
+      <if test="recieverName != null and recieverName != ''">
+        or RECIEVER_NAME = #{recieverName}
+      </if>
+      <if test="recieverCode != null and recieverCode != ''">
+        or RECIEVER_CODE = #{recieverCode}
+      </if>
+      <if test="senderName != null and senderName != ''">
+        or SENDER_NAME = #{senderName}
+      </if>
+      <if test="senderCode != null and senderCode != ''">
+        or SENDER_CODE = #{senderCode}
+      </if>
+      <if test="weight != null and weight != ''">
+        or WEIGHT = #{weight}
+      </if>
+      <if test="recieverType != null and recieverType != ''">
+        or RECIEVER_TYPE = #{recieverType}
+      </if>
+      <if test="senderType != null and senderType != ''">
+        or SENDER_TYPE = #{senderType}
+      </if>
+      <if test="uploaded != null and uploaded != ''">
+        or UPLOADED = #{uploaded}
+      </if>
+      <if test="startTime != null">
+        or TO_CHAR(START_TIME,'yyyy-MM-dd') = '#{startTime}'
+      </if>
+      <if test="endTime != null">
+        or TO_CHAR(END_TIME,'yyyy-MM-dd') = '#{endTime}'
+      </if>
+      <if test="memo != null and memo != ''">
+        or MEMO = #{memo}
+      </if>
+      <if test="auditingManNo != null and auditingManNo != ''">
+        or AUDITING_MAN_NO = #{auditingManNo}
+      </if>
+      <if test="originalValue != null and originalValue != ''">
+        or ORIGINAL_VALUE = #{originalValue}
+      </if>
+      <if test="syslog != null and syslog != ''">
+        or SYSLOG = #{syslog}
+      </if>
+      <if test="auditingManName != null and auditingManName != ''">
+        or AUDITING_MAN_NAME = #{auditingManName}
+      </if>
+      <if test="auditingTime != null">
+        or TO_CHAR(AUDITING_TIME,'yyyy-MM-dd') = '#{auditingTime}'
+      </if>
+      <if test="auditingFlag != null and auditingFlag != ''">
+        or AUDITING_FLAG = #{auditingFlag}
+      </if>
+      <if test="validFlag != null and validFlag != ''">
+        or VALID_FLAG = #{validFlag}
+      </if>
+      <if test="createManNo != null and createManNo != ''">
+        or CREATE_MAN_NO = #{createManNo}
+      </if>
+      <if test="createManName != null and createManName != ''">
+        or CREATE_MAN_NAME = #{createManName}
+      </if>
+      <if test="createTime != null">
+        or TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
+      </if>
+      <if test="updateManNo != null and updateManNo != ''">
+        or UPDATE_MAN_NO = #{updateManNo}
+      </if>
+      <if test="updateManName != null and updateManName != ''">
+        or UPDATE_MAN_NAME = #{updateManName}
+      </if>
+      <if test="updateTime != null">
+        or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}'
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata">
+    insert into DYNAMIC_WORK_UPDATA (UPDATA_NO, MATERIAL_NAME, MATERIAL_CODE, 
+      STATION_NAME, STATION_CODE, RECIEVER_NAME, 
+      RECIEVER_CODE, SENDER_NAME, SENDER_CODE, 
+      WEIGHT, RECIEVER_TYPE, SENDER_TYPE, 
+      UPLOADED, START_TIME, END_TIME, 
+      MEMO, AUDITING_MAN_NO, ORIGINAL_VALUE, 
+      SYSLOG, AUDITING_MAN_NAME, AUDITING_TIME, 
+      AUDITING_FLAG, VALID_FLAG, CREATE_MAN_NO, 
+      CREATE_MAN_NAME, CREATE_TIME, UPDATE_MAN_NO, 
+      UPDATE_MAN_NAME, UPDATE_TIME)
+    values (#{updataNo,jdbcType=VARCHAR}, #{materialName,jdbcType=VARCHAR}, #{materialCode,jdbcType=VARCHAR}, 
+      #{stationName,jdbcType=VARCHAR}, #{stationCode,jdbcType=VARCHAR}, #{recieverName,jdbcType=VARCHAR}, 
+      #{recieverCode,jdbcType=VARCHAR}, #{senderName,jdbcType=VARCHAR}, #{senderCode,jdbcType=VARCHAR}, 
+      #{weight,jdbcType=VARCHAR}, #{recieverType,jdbcType=VARCHAR}, #{senderType,jdbcType=VARCHAR}, 
+      #{uploaded,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, 
+      #{memo,jdbcType=VARCHAR}, #{auditingManNo,jdbcType=VARCHAR}, #{originalValue,jdbcType=VARCHAR}, 
+      #{syslog,jdbcType=VARCHAR}, #{auditingManName,jdbcType=VARCHAR}, #{auditingTime,jdbcType=TIMESTAMP}, 
+      #{auditingFlag,jdbcType=VARCHAR}, #{validFlag,jdbcType=VARCHAR}, #{createManNo,jdbcType=VARCHAR}, 
+      #{createManName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateManNo,jdbcType=VARCHAR}, 
+      #{updateManName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata">
+    insert into DYNAMIC_WORK_UPDATA
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="updataNo != null">
+        UPDATA_NO,
+      </if>
+      <if test="materialName != null">
+        MATERIAL_NAME,
+      </if>
+      <if test="materialCode != null">
+        MATERIAL_CODE,
+      </if>
+      <if test="stationName != null">
+        STATION_NAME,
+      </if>
+      <if test="stationCode != null">
+        STATION_CODE,
+      </if>
+      <if test="recieverName != null">
+        RECIEVER_NAME,
+      </if>
+      <if test="recieverCode != null">
+        RECIEVER_CODE,
+      </if>
+      <if test="senderName != null">
+        SENDER_NAME,
+      </if>
+      <if test="senderCode != null">
+        SENDER_CODE,
+      </if>
+      <if test="weight != null">
+        WEIGHT,
+      </if>
+      <if test="recieverType != null">
+        RECIEVER_TYPE,
+      </if>
+      <if test="senderType != null">
+        SENDER_TYPE,
+      </if>
+      <if test="uploaded != null">
+        UPLOADED,
+      </if>
+      <if test="startTime != null">
+        START_TIME,
+      </if>
+      <if test="endTime != null">
+        END_TIME,
+      </if>
+      <if test="memo != null">
+        MEMO,
+      </if>
+      <if test="auditingManNo != null">
+        AUDITING_MAN_NO,
+      </if>
+      <if test="originalValue != null">
+        ORIGINAL_VALUE,
+      </if>
+      <if test="syslog != null">
+        SYSLOG,
+      </if>
+      <if test="auditingManName != null">
+        AUDITING_MAN_NAME,
+      </if>
+      <if test="auditingTime != null">
+        AUDITING_TIME,
+      </if>
+      <if test="auditingFlag != null">
+        AUDITING_FLAG,
+      </if>
+      <if test="validFlag != null">
+        VALID_FLAG,
+      </if>
+      <if test="createManNo != null">
+        CREATE_MAN_NO,
+      </if>
+      <if test="createManName != null">
+        CREATE_MAN_NAME,
+      </if>
+      <if test="createTime != null">
+        CREATE_TIME,
+      </if>
+      <if test="updateManNo != null">
+        UPDATE_MAN_NO,
+      </if>
+      <if test="updateManName != null">
+        UPDATE_MAN_NAME,
+      </if>
+      <if test="updateTime != null">
+        UPDATE_TIME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="updataNo != null">
+        #{updataNo,jdbcType=VARCHAR},
+      </if>
+      <if test="materialName != null">
+        #{materialName,jdbcType=VARCHAR},
+      </if>
+      <if test="materialCode != null">
+        #{materialCode,jdbcType=VARCHAR},
+      </if>
+      <if test="stationName != null">
+        #{stationName,jdbcType=VARCHAR},
+      </if>
+      <if test="stationCode != null">
+        #{stationCode,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverName != null">
+        #{recieverName,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverCode != null">
+        #{recieverCode,jdbcType=VARCHAR},
+      </if>
+      <if test="senderName != null">
+        #{senderName,jdbcType=VARCHAR},
+      </if>
+      <if test="senderCode != null">
+        #{senderCode,jdbcType=VARCHAR},
+      </if>
+      <if test="weight != null">
+        #{weight,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverType != null">
+        #{recieverType,jdbcType=VARCHAR},
+      </if>
+      <if test="senderType != null">
+        #{senderType,jdbcType=VARCHAR},
+      </if>
+      <if test="uploaded != null">
+        #{uploaded,jdbcType=VARCHAR},
+      </if>
+      <if test="startTime != null">
+        #{startTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endTime != null">
+        #{endTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingManNo != null">
+        #{auditingManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="originalValue != null">
+        #{originalValue,jdbcType=VARCHAR},
+      </if>
+      <if test="syslog != null">
+        #{syslog,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingManName != null">
+        #{auditingManName,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingTime != null">
+        #{auditingTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="auditingFlag != null">
+        #{auditingFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="validFlag != null">
+        #{validFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="createManNo != null">
+        #{createManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="createManName != null">
+        #{createManName,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateManNo != null">
+        #{updateManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="updateManName != null">
+        #{updateManName,jdbcType=VARCHAR},
+      </if>
+      <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata">
+    update DYNAMIC_WORK_UPDATA
+    set MATERIAL_NAME = #{materialName,jdbcType=VARCHAR},
+      MATERIAL_CODE = #{materialCode,jdbcType=VARCHAR},
+      STATION_NAME = #{stationName,jdbcType=VARCHAR},
+      STATION_CODE = #{stationCode,jdbcType=VARCHAR},
+      RECIEVER_NAME = #{recieverName,jdbcType=VARCHAR},
+      RECIEVER_CODE = #{recieverCode,jdbcType=VARCHAR},
+      SENDER_NAME = #{senderName,jdbcType=VARCHAR},
+      SENDER_CODE = #{senderCode,jdbcType=VARCHAR},
+      WEIGHT = #{weight,jdbcType=VARCHAR},
+      RECIEVER_TYPE = #{recieverType,jdbcType=VARCHAR},
+      SENDER_TYPE = #{senderType,jdbcType=VARCHAR},
+      UPLOADED = #{uploaded,jdbcType=VARCHAR},
+      START_TIME = #{startTime,jdbcType=TIMESTAMP},
+      END_TIME = #{endTime,jdbcType=TIMESTAMP},
+      MEMO = #{memo,jdbcType=VARCHAR},
+      AUDITING_MAN_NO = #{auditingManNo,jdbcType=VARCHAR},
+      ORIGINAL_VALUE = #{originalValue,jdbcType=VARCHAR},
+      SYSLOG = #{syslog,jdbcType=VARCHAR},
+      AUDITING_MAN_NAME = #{auditingManName,jdbcType=VARCHAR},
+      AUDITING_TIME = #{auditingTime,jdbcType=TIMESTAMP},
+      AUDITING_FLAG = #{auditingFlag,jdbcType=VARCHAR},
+      VALID_FLAG = #{validFlag,jdbcType=VARCHAR},
+      CREATE_MAN_NO = #{createManNo,jdbcType=VARCHAR},
+      CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_MAN_NO = #{updateManNo,jdbcType=VARCHAR},
+      UPDATE_MAN_NAME = #{updateManName,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
+    where UPDATA_NO = #{updataNo,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata">
+    update DYNAMIC_WORK_UPDATA
+    <set>
+      <if test="materialName != null">
+        MATERIAL_NAME = #{materialName,jdbcType=VARCHAR},
+      </if>
+      <if test="materialCode != null">
+        MATERIAL_CODE = #{materialCode,jdbcType=VARCHAR},
+      </if>
+      <if test="stationName != null">
+        STATION_NAME = #{stationName,jdbcType=VARCHAR},
+      </if>
+      <if test="stationCode != null">
+        STATION_CODE = #{stationCode,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverName != null">
+        RECIEVER_NAME = #{recieverName,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverCode != null">
+        RECIEVER_CODE = #{recieverCode,jdbcType=VARCHAR},
+      </if>
+      <if test="senderName != null">
+        SENDER_NAME = #{senderName,jdbcType=VARCHAR},
+      </if>
+      <if test="senderCode != null">
+        SENDER_CODE = #{senderCode,jdbcType=VARCHAR},
+      </if>
+      <if test="weight != null">
+        WEIGHT = #{weight,jdbcType=VARCHAR},
+      </if>
+      <if test="recieverType != null">
+        RECIEVER_TYPE = #{recieverType,jdbcType=VARCHAR},
+      </if>
+      <if test="senderType != null">
+        SENDER_TYPE = #{senderType,jdbcType=VARCHAR},
+      </if>
+      <if test="uploaded != null">
+        UPLOADED = #{uploaded,jdbcType=VARCHAR},
+      </if>
+      <if test="startTime != null">
+        START_TIME = #{startTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endTime != null">
+        END_TIME = #{endTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        MEMO = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingManNo != null">
+        AUDITING_MAN_NO = #{auditingManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="originalValue != null">
+        ORIGINAL_VALUE = #{originalValue,jdbcType=VARCHAR},
+      </if>
+      <if test="syslog != null">
+        SYSLOG = #{syslog,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingManName != null">
+        AUDITING_MAN_NAME = #{auditingManName,jdbcType=VARCHAR},
+      </if>
+      <if test="auditingTime != null">
+        AUDITING_TIME = #{auditingTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="auditingFlag != null">
+        AUDITING_FLAG = #{auditingFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="validFlag != null">
+        VALID_FLAG = #{validFlag,jdbcType=VARCHAR},
+      </if>
+      <if test="createManNo != null">
+        CREATE_MAN_NO = #{createManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="createManName != null">
+        CREATE_MAN_NAME = #{createManName,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateManNo != null">
+        UPDATE_MAN_NO = #{updateManNo,jdbcType=VARCHAR},
+      </if>
+      <if test="updateManName != null">
+        UPDATE_MAN_NAME = #{updateManName,jdbcType=VARCHAR},
+      </if>
+      <if test="updateTime != null">
+        UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where UPDATA_NO = #{updataNo,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where UPDATA_NO = #{updataNo,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>
+  <select id="recalc" statementType="CALLABLE">
+    call GENERATEUPDATA();
+  </select>
+  <insert id="batchInsert" parameterType="java.util.List">
+    insert into DYNAMIC_WORK_UPDATA 
+      (UPDATA_NO, 
+      MATERIAL_NAME, MATERIAL_CODE, STATION_NAME, 
+      STATION_CODE, RECIEVER_NAME, RECIEVER_CODE, 
+      SENDER_NAME, SENDER_CODE, WEIGHT, 
+      RECIEVER_TYPE, SENDER_TYPE, UPLOADED, 
+      START_TIME, END_TIME, MEMO, 
+      AUDITING_MAN_NO, ORIGINAL_VALUE, 
+      SYSLOG, AUDITING_MAN_NAME, AUDITING_TIME, 
+      AUDITING_FLAG, VALID_FLAG, CREATE_MAN_NO, 
+      CREATE_MAN_NAME, CREATE_TIME, 
+      UPDATE_MAN_NO, UPDATE_MAN_NAME, UPDATE_TIME
+      )
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.updataNo,jdbcType=VARCHAR}, 
+      #{item.materialName,jdbcType=VARCHAR}, #{item.materialCode,jdbcType=VARCHAR}, #{item.stationName,jdbcType=VARCHAR}, 
+      #{item.stationCode,jdbcType=VARCHAR}, #{item.recieverName,jdbcType=VARCHAR}, #{item.recieverCode,jdbcType=VARCHAR}, 
+      #{item.senderName,jdbcType=VARCHAR}, #{item.senderCode,jdbcType=VARCHAR}, #{item.weight,jdbcType=VARCHAR}, 
+      #{item.recieverType,jdbcType=VARCHAR}, #{item.senderType,jdbcType=VARCHAR}, #{item.uploaded,jdbcType=VARCHAR}, 
+      #{item.startTime,jdbcType=TIMESTAMP}, #{item.endTime,jdbcType=TIMESTAMP}, #{item.memo,jdbcType=VARCHAR}, 
+      #{item.auditingManNo,jdbcType=VARCHAR}, #{item.originalValue,jdbcType=VARCHAR}, 
+      #{item.syslog,jdbcType=VARCHAR}, #{item.auditingManName,jdbcType=VARCHAR}, #{item.auditingTime,jdbcType=TIMESTAMP}, 
+      #{item.auditingFlag,jdbcType=VARCHAR}, #{item.validFlag,jdbcType=VARCHAR}, #{item.createManNo,jdbcType=VARCHAR}, 
+      #{item.createManName,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, 
+      #{item.updateManNo,jdbcType=VARCHAR}, #{item.updateManName,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}
+       from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update DYNAMIC_WORK_UPDATA
+     set
+       UPDATA_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.updataNo,jdbcType=VARCHAR}
+       </foreach>
+       ,MATERIAL_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.materialName,jdbcType=VARCHAR}
+       </foreach>
+       ,MATERIAL_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.materialCode,jdbcType=VARCHAR}
+       </foreach>
+       ,STATION_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.stationName,jdbcType=VARCHAR}
+       </foreach>
+       ,STATION_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.stationCode,jdbcType=VARCHAR}
+       </foreach>
+       ,RECIEVER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.recieverName,jdbcType=VARCHAR}
+       </foreach>
+       ,RECIEVER_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.recieverCode,jdbcType=VARCHAR}
+       </foreach>
+       ,SENDER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.senderName,jdbcType=VARCHAR}
+       </foreach>
+       ,SENDER_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.senderCode,jdbcType=VARCHAR}
+       </foreach>
+       ,WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.weight,jdbcType=VARCHAR}
+       </foreach>
+       ,RECIEVER_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.recieverType,jdbcType=VARCHAR}
+       </foreach>
+       ,SENDER_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.senderType,jdbcType=VARCHAR}
+       </foreach>
+       ,UPLOADED=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.uploaded,jdbcType=VARCHAR}
+       </foreach>
+       ,START_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.startTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,END_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.endTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,MEMO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
+       </foreach>
+       ,AUDITING_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.auditingManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,ORIGINAL_VALUE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.originalValue,jdbcType=VARCHAR}
+       </foreach>
+       ,SYSLOG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.syslog,jdbcType=VARCHAR}
+       </foreach>
+       ,AUDITING_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.auditingManName,jdbcType=VARCHAR}
+       </foreach>
+       ,AUDITING_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.auditingTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,AUDITING_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.auditingFlag,jdbcType=VARCHAR}
+       </foreach>
+       ,VALID_FLAG=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.validFlag,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.createManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.createManName,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_MAN_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.updateManNo,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_MAN_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.updateManName,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case UPDATA_NO" close="end">
+          when #{item.updataNo,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+     where UPDATA_NO in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.updataNo,jdbcType=VARCHAR}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from DYNAMIC_WORK_UPDATA
+    where UPDATA_NO in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  
+</mapper>

+ 468 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/model/DynamicWorkUpdata.java

@@ -0,0 +1,468 @@
+package com.jisco.dynamicweight.dynamicworkupdata.model;
+
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.util.Date;
+
+@ApiModel(value="动态秤称重数据")
+public class DynamicWorkUpdata implements IBasePO<String> {
+    /**
+     * 系统编号(UPDATA_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="系统编号",required=true)
+    private String updataNo;
+
+    /**
+     * 物料名称(MATERIAL_NAME,VARCHAR,60)
+     */
+    @ApiModelProperty(value="物料名称",required=false)
+    private String materialName;
+
+    /**
+     * 物料编码(MATERIAL_CODE,VARCHAR,20)
+     */
+    @ApiModelProperty(value="物料编码",required=false)
+    private String materialCode;
+
+    /**
+     * 站点名称(STATION_NAME,VARCHAR,60)
+     */
+    @ApiModelProperty(value="站点名称",required=false)
+    private String stationName;
+
+    /**
+     * 站点编码(STATION_CODE,VARCHAR,60)
+     */
+    @ApiModelProperty(value="站点编码",required=false)
+    private String stationCode;
+
+    /**
+     * 收货库房(RECIEVER_NAME,VARCHAR,60)
+     */
+    @ApiModelProperty(value="收货库房",required=false)
+    private String recieverName;
+
+    /**
+     * 收货库房编码(RECIEVER_CODE,VARCHAR,60)
+     */
+    @ApiModelProperty(value="收货库房编码",required=false)
+    private String recieverCode;
+
+    /**
+     * 发货库房(SENDER_NAME,VARCHAR,60)
+     */
+    @ApiModelProperty(value="发货库房",required=false)
+    private String senderName;
+
+    /**
+     * 发货库房编码(SENDER_CODE,VARCHAR,60)
+     */
+    @ApiModelProperty(value="发货库房编码",required=false)
+    private String senderCode;
+
+    /**
+     * 重量(WEIGHT,VARCHAR,20)
+     */
+    @ApiModelProperty(value="重量",required=false)
+    private String weight;
+
+    /**
+     * 收货点类型(RECIEVER_TYPE,VARCHAR,60)
+     */
+    @ApiModelProperty(value="收货点类型",required=false)
+    private String recieverType;
+
+    /**
+     * 发货点类型(SENDER_TYPE,VARCHAR,60)
+     */
+    @ApiModelProperty(value="发货点类型",required=false)
+    private String senderType;
+
+    /**
+     * 上传标志(UPLOADED,VARCHAR,1)
+     */
+    @ApiModelProperty(value="上传标志",required=false)
+    private String uploaded;
+
+    /**
+     * 开始时间(START_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="开始时间",required=false)
+    private Date startTime;
+
+    /**
+     * 结束时间(END_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="结束时间",required=false)
+    private Date endTime;
+
+    /**
+     * 备注(MEMO,VARCHAR,100)
+     */
+    @ApiModelProperty(value="备注",required=false)
+    private String memo;
+
+    /**
+     * 审核人编号(AUDITING_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="审核人编号",required=false)
+    private String auditingManNo;
+
+    /**
+     * 原始记录(ORIGINAL_VALUE,VARCHAR,20)
+     */
+    @ApiModelProperty(value="原始记录",required=false)
+    private String originalValue;
+
+    /**
+     * 系统修改日志(SYSLOG,VARCHAR,2000)
+     */
+    @ApiModelProperty(value="系统修改日志",required=false)
+    private String syslog;
+
+    /**
+     * 审核人姓名(AUDITING_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="审核人姓名",required=false)
+    private String auditingManName;
+
+    /**
+     * 审核时间(AUDITING_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="审核时间",required=false)
+    private Date auditingTime;
+
+    /**
+     * 审核标识(AUDITING_FLAG,VARCHAR,1)
+     */
+    @ApiModelProperty(value="审核标识",required=false)
+    private String auditingFlag;
+
+    /**
+     * 状态(0:无效;1:有效)(VALID_FLAG,VARCHAR,1)
+     */
+    @ApiModelProperty(value="状态(0:无效;1:有效)",required=true)
+    private String validFlag;
+
+    /**
+     * 创建人编号(CREATE_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="创建人编号",required=true)
+    private String createManNo;
+
+    /**
+     * 创建人姓名(CREATE_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="创建人姓名",required=true)
+    private String createManName;
+
+    /**
+     * 创建时间(YYYY-MM-DD HH:mm:SS)(CREATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="创建时间(YYYY-MM-DD HH:mm:SS)",required=true)
+    private Date createTime;
+
+    /**
+     * 修改人编号(UPDATE_MAN_NO,VARCHAR,20)
+     */
+    @ApiModelProperty(value="修改人编号",required=false)
+    private String updateManNo;
+
+    /**
+     * 修改人姓名(UPDATE_MAN_NAME,VARCHAR,30)
+     */
+    @ApiModelProperty(value="修改人姓名",required=false)
+    private String updateManName;
+
+    /**
+     * 修改时间(YYYY-MM-DD HH:mm:SS)(UPDATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="修改时间(YYYY-MM-DD HH:mm:SS)",required=false)
+    private Date updateTime;
+
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public String getId() {
+        return this.updataNo;
+    }
+
+    @Override
+    public void setId(String updataNo) {
+        this.updataNo = updataNo == null ? null : updataNo.trim();
+    }
+
+    public String getUpdataNo() {
+        return updataNo;
+    }
+
+    public void setUpdataNo(String updataNo) {
+        this.updataNo = updataNo == null ? null : updataNo.trim();
+    }
+
+    public String getMaterialName() {
+        return materialName;
+    }
+
+    public void setMaterialName(String materialName) {
+        this.materialName = materialName == null ? null : materialName.trim();
+    }
+
+    public String getMaterialCode() {
+        return materialCode;
+    }
+
+    public void setMaterialCode(String materialCode) {
+        this.materialCode = materialCode == null ? null : materialCode.trim();
+    }
+
+    public String getStationName() {
+        return stationName;
+    }
+
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    public String getStationCode() {
+        return stationCode;
+    }
+
+    public void setStationCode(String stationCode) {
+        this.stationCode = stationCode == null ? null : stationCode.trim();
+    }
+
+    public String getRecieverName() {
+        return recieverName;
+    }
+
+    public void setRecieverName(String recieverName) {
+        this.recieverName = recieverName == null ? null : recieverName.trim();
+    }
+
+    public String getRecieverCode() {
+        return recieverCode;
+    }
+
+    public void setRecieverCode(String recieverCode) {
+        this.recieverCode = recieverCode == null ? null : recieverCode.trim();
+    }
+
+    public String getSenderName() {
+        return senderName;
+    }
+
+    public void setSenderName(String senderName) {
+        this.senderName = senderName == null ? null : senderName.trim();
+    }
+
+    public String getSenderCode() {
+        return senderCode;
+    }
+
+    public void setSenderCode(String senderCode) {
+        this.senderCode = senderCode == null ? null : senderCode.trim();
+    }
+
+    public String getWeight() {
+        return weight;
+    }
+
+    public void setWeight(String weight) {
+        this.weight = weight == null ? null : weight.trim();
+    }
+
+    public String getRecieverType() {
+        return recieverType;
+    }
+
+    public void setRecieverType(String recieverType) {
+        this.recieverType = recieverType == null ? null : recieverType.trim();
+    }
+
+    public String getSenderType() {
+        return senderType;
+    }
+
+    public void setSenderType(String senderType) {
+        this.senderType = senderType == null ? null : senderType.trim();
+    }
+
+    public String getUploaded() {
+        return uploaded;
+    }
+
+    public void setUploaded(String uploaded) {
+        this.uploaded = uploaded == null ? null : uploaded.trim();
+    }
+
+    public Date getStartTime() {
+        return startTime;
+    }
+
+    public void setStartTime(Date startTime) {
+        this.startTime = startTime;
+    }
+
+    public Date getEndTime() {
+        return endTime;
+    }
+
+    public void setEndTime(Date endTime) {
+        this.endTime = endTime;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public void setMemo(String memo) {
+        this.memo = memo == null ? null : memo.trim();
+    }
+
+    public String getAuditingManNo() {
+        return auditingManNo;
+    }
+
+    public void setAuditingManNo(String auditingManNo) {
+        this.auditingManNo = auditingManNo == null ? null : auditingManNo.trim();
+    }
+
+    public String getOriginalValue() {
+        return originalValue;
+    }
+
+    public void setOriginalValue(String originalValue) {
+        this.originalValue = originalValue == null ? null : originalValue.trim();
+    }
+
+    public String getSyslog() {
+        return syslog;
+    }
+
+    public void setSyslog(String syslog) {
+        this.syslog = syslog == null ? null : syslog.trim();
+    }
+
+    public String getAuditingManName() {
+        return auditingManName;
+    }
+
+    public void setAuditingManName(String auditingManName) {
+        this.auditingManName = auditingManName == null ? null : auditingManName.trim();
+    }
+
+    public Date getAuditingTime() {
+        return auditingTime;
+    }
+
+    public void setAuditingTime(Date auditingTime) {
+        this.auditingTime = auditingTime;
+    }
+
+    public String getAuditingFlag() {
+        return auditingFlag;
+    }
+
+    public void setAuditingFlag(String auditingFlag) {
+        this.auditingFlag = auditingFlag == null ? null : auditingFlag.trim();
+    }
+
+    public String getValidFlag() {
+        return validFlag;
+    }
+
+    public void setValidFlag(String validFlag) {
+        this.validFlag = validFlag == null ? null : validFlag.trim();
+    }
+
+    public String getCreateManNo() {
+        return createManNo;
+    }
+
+    public void setCreateManNo(String createManNo) {
+        this.createManNo = createManNo == null ? null : createManNo.trim();
+    }
+
+    public String getCreateManName() {
+        return createManName;
+    }
+
+    public void setCreateManName(String createManName) {
+        this.createManName = createManName == null ? null : createManName.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateManNo() {
+        return updateManNo;
+    }
+
+    public void setUpdateManNo(String updateManNo) {
+        this.updateManNo = updateManNo == null ? null : updateManNo.trim();
+    }
+
+    public String getUpdateManName() {
+        return updateManName;
+    }
+
+    public void setUpdateManName(String updateManName) {
+        this.updateManName = updateManName == null ? null : updateManName.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", updataNo=").append(updataNo);
+        sb.append(", materialName=").append(materialName);
+        sb.append(", materialCode=").append(materialCode);
+        sb.append(", stationName=").append(stationName);
+        sb.append(", stationCode=").append(stationCode);
+        sb.append(", recieverName=").append(recieverName);
+        sb.append(", recieverCode=").append(recieverCode);
+        sb.append(", senderName=").append(senderName);
+        sb.append(", senderCode=").append(senderCode);
+        sb.append(", weight=").append(weight);
+        sb.append(", recieverType=").append(recieverType);
+        sb.append(", senderType=").append(senderType);
+        sb.append(", uploaded=").append(uploaded);
+        sb.append(", startTime=").append(startTime);
+        sb.append(", endTime=").append(endTime);
+        sb.append(", memo=").append(memo);
+        sb.append(", auditingManNo=").append(auditingManNo);
+        sb.append(", originalValue=").append(originalValue);
+        sb.append(", syslog=").append(syslog);
+        sb.append(", auditingManName=").append(auditingManName);
+        sb.append(", auditingTime=").append(auditingTime);
+        sb.append(", auditingFlag=").append(auditingFlag);
+        sb.append(", validFlag=").append(validFlag);
+        sb.append(", createManNo=").append(createManNo);
+        sb.append(", createManName=").append(createManName);
+        sb.append(", createTime=").append(createTime);
+        sb.append(", updateManNo=").append(updateManNo);
+        sb.append(", updateManName=").append(updateManName);
+        sb.append(", updateTime=").append(updateTime);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 25 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/service/IDynamicWorkUpdataService.java

@@ -0,0 +1,25 @@
+package com.jisco.dynamicweight.dynamicworkupdata.service;
+
+import com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata;
+import com.steerinfo.framework.service.IBaseService;
+
+/**
+ * DynamicWorkUpdata服务接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-01-18 10:14
+ * 类描述
+ * 修订历史:
+ * 日期:2022-01-18
+ * 作者:generator
+ * 参考:
+ * 描述:DynamicWorkUpdata服务接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+public interface IDynamicWorkUpdataService extends IBaseService<DynamicWorkUpdata, String>{
+
+    /**
+     * 重新计算煤塔秤数据
+     */
+    void recalc();
+}

+ 42 - 0
src/main/java/com/jisco/dynamicweight/dynamicworkupdata/service/impl/DynamicWorkUpdataServiceImpl.java

@@ -0,0 +1,42 @@
+package com.jisco.dynamicweight.dynamicworkupdata.service.impl;
+
+import com.jisco.dynamicweight.dynamicworkupdata.mapper.DynamicWorkUpdataMapper;
+import com.jisco.dynamicweight.dynamicworkupdata.model.DynamicWorkUpdata;
+import com.jisco.dynamicweight.dynamicworkupdata.service.IDynamicWorkUpdataService;
+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;
+
+/**
+ * DynamicWorkUpdata服务实现:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2022-01-18 10:14
+ * 类描述
+ * 修订历史:
+ * 日期:2022-01-18
+ * 作者:generator
+ * 参考:
+ * 描述:DynamicWorkUpdata服务实现
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@Service(value = "dynamicWorkUpdataService")
+public class DynamicWorkUpdataServiceImpl extends BaseServiceImpl<DynamicWorkUpdata, String> implements IDynamicWorkUpdataService {
+
+    @Autowired
+    private DynamicWorkUpdataMapper dynamicWorkUpdataMapper;
+
+    @Override
+    protected IBaseMapper<DynamicWorkUpdata, String> getMapper() {
+        return dynamicWorkUpdataMapper;
+    }
+
+    /**
+     * 重新计算煤塔秤数据
+     */
+    @Override
+    public void recalc() {
+        dynamicWorkUpdataMapper.recalc();
+    }
+}