Kaynağa Gözat

增加字段

gaodandan 5 yıl önce
ebeveyn
işleme
9be3878cb0

+ 86 - 31
src/main/java/com/chinaitop/depot/intelligent/grainsituation/mapper/TCcdataMapper.java

@@ -1,32 +1,87 @@
1
-package com.chinaitop.depot.intelligent.grainsituation.mapper;
2
-
3
-import com.chinaitop.depot.intelligent.grainsituation.model.TCcdata;
4
-import com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample;
5
-import java.util.List;
6
-import java.util.Map;
7
-
8
-import org.apache.ibatis.annotations.Param;
9
-
10
-public interface TCcdataMapper {
11
-    int countByExample(TCcdataExample example);
12
-
13
-    int deleteByExample(TCcdataExample example);
14
-
15
-    int insert(TCcdata record);
16
-
17
-    int insertSelective(TCcdata record);
18
-
19
-    List<TCcdata> selectByExampleWithBLOBs(TCcdataExample example);
20
-
21
-    List<TCcdata> selectByExample(TCcdataExample example);
22
-
23
-    int updateByExampleSelective(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
24
-
25
-    int updateByExampleWithBLOBs(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
26
-
27
-    int updateByExample(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
28
-
29
-    void insertBatch(List<TCcdata> tCcdata);
30
-
31
-    List<Map<String,Object>> getList(Map<String, Object> map);
1
+package com.chinaitop.depot.intelligent.grainsituation.mapper;
2
+
3
+import com.chinaitop.depot.intelligent.grainsituation.model.TCcdata;
4
+import com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample;
5
+import java.util.List;
6
+import java.util.Map;
7
+
8
+import org.apache.ibatis.annotations.Param;
9
+
10
+public interface TCcdataMapper {
11
+    /**
12
+     * This method was generated by MyBatis Generator.
13
+     * This method corresponds to the database table t_ccdata
14
+     *
15
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
16
+     */
17
+    int countByExample(TCcdataExample example);
18
+
19
+    /**
20
+     * This method was generated by MyBatis Generator.
21
+     * This method corresponds to the database table t_ccdata
22
+     *
23
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
24
+     */
25
+    int deleteByExample(TCcdataExample example);
26
+
27
+    /**
28
+     * This method was generated by MyBatis Generator.
29
+     * This method corresponds to the database table t_ccdata
30
+     *
31
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
32
+     */
33
+    int insert(TCcdata record);
34
+
35
+    /**
36
+     * This method was generated by MyBatis Generator.
37
+     * This method corresponds to the database table t_ccdata
38
+     *
39
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
40
+     */
41
+    int insertSelective(TCcdata record);
42
+
43
+    /**
44
+     * This method was generated by MyBatis Generator.
45
+     * This method corresponds to the database table t_ccdata
46
+     *
47
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
48
+     */
49
+    List<TCcdata> selectByExampleWithBLOBs(TCcdataExample example);
50
+
51
+    /**
52
+     * This method was generated by MyBatis Generator.
53
+     * This method corresponds to the database table t_ccdata
54
+     *
55
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
56
+     */
57
+    List<TCcdata> selectByExample(TCcdataExample example);
58
+
59
+    /**
60
+     * This method was generated by MyBatis Generator.
61
+     * This method corresponds to the database table t_ccdata
62
+     *
63
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
64
+     */
65
+    int updateByExampleSelective(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
66
+
67
+    /**
68
+     * This method was generated by MyBatis Generator.
69
+     * This method corresponds to the database table t_ccdata
70
+     *
71
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
72
+     */
73
+    int updateByExampleWithBLOBs(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
74
+
75
+    /**
76
+     * This method was generated by MyBatis Generator.
77
+     * This method corresponds to the database table t_ccdata
78
+     *
79
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
80
+     */
81
+    int updateByExample(@Param("record") TCcdata record, @Param("example") TCcdataExample example);
82
+    
83
+    
84
+    void insertBatch(List<TCcdata> tCcdata);
85
+
86
+    List<Map<String,Object>> getList(Map<String, Object> map);
32 87
 }

+ 431 - 292
src/main/java/com/chinaitop/depot/intelligent/grainsituation/mapper/TCcdataMapper.xml

@@ -1,293 +1,432 @@
1
-<?xml version="1.0" encoding="UTF-8" ?>
2
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3
-<mapper namespace="com.chinaitop.depot.intelligent.grainsituation.mapper.TCcdataMapper" >
4
-  <resultMap id="BaseResultMap" type="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
5
-    <result column="id" property="id" jdbcType="VARCHAR" />
6
-    <result column="org_id" property="orgId" jdbcType="VARCHAR" />
7
-    <result column="v_cc_code" property="vCcCode" jdbcType="VARCHAR" />
8
-    <result column="i_tdh" property="iTdh" jdbcType="INTEGER" />
9
-    <result column="i_value" property="iValue" jdbcType="INTEGER" />
10
-    <result column="v_update_time" property="vUpdateTime" jdbcType="TIMESTAMP" />
11
-    <result column="data_source" property="dataSource" jdbcType="VARCHAR" />
12
-    <result column="v_remark" property="vRemark" jdbcType="VARCHAR" />
13
-  </resultMap>
14
-  <resultMap id="ResultMapWithBLOBs" type="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" extends="BaseResultMap" >
15
-    <result column="c_image" property="cImage" jdbcType="LONGVARBINARY" />
16
-  </resultMap>
17
-  <sql id="Example_Where_Clause" >
18
-    <where >
19
-      <foreach collection="oredCriteria" item="criteria" separator="or" >
20
-        <if test="criteria.valid" >
21
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
22
-            <foreach collection="criteria.criteria" item="criterion" >
23
-              <choose >
24
-                <when test="criterion.noValue" >
25
-                  and ${criterion.condition}
26
-                </when>
27
-                <when test="criterion.singleValue" >
28
-                  and ${criterion.condition} #{criterion.value}
29
-                </when>
30
-                <when test="criterion.betweenValue" >
31
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
32
-                </when>
33
-                <when test="criterion.listValue" >
34
-                  and ${criterion.condition}
35
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
36
-                    #{listItem}
37
-                  </foreach>
38
-                </when>
39
-              </choose>
40
-            </foreach>
41
-          </trim>
42
-        </if>
43
-      </foreach>
44
-    </where>
45
-  </sql>
46
-  <sql id="Update_By_Example_Where_Clause" >
47
-    <where >
48
-      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
49
-        <if test="criteria.valid" >
50
-          <trim prefix="(" suffix=")" prefixOverrides="and" >
51
-            <foreach collection="criteria.criteria" item="criterion" >
52
-              <choose >
53
-                <when test="criterion.noValue" >
54
-                  and ${criterion.condition}
55
-                </when>
56
-                <when test="criterion.singleValue" >
57
-                  and ${criterion.condition} #{criterion.value}
58
-                </when>
59
-                <when test="criterion.betweenValue" >
60
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
61
-                </when>
62
-                <when test="criterion.listValue" >
63
-                  and ${criterion.condition}
64
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
65
-                    #{listItem}
66
-                  </foreach>
67
-                </when>
68
-              </choose>
69
-            </foreach>
70
-          </trim>
71
-        </if>
72
-      </foreach>
73
-    </where>
74
-  </sql>
75
-  <sql id="Base_Column_List" >
76
-    id, org_id, v_cc_code, i_tdh, i_value, v_update_time, data_source, v_remark
77
-  </sql>
78
-  <sql id="Blob_Column_List" >
79
-    c_image
80
-  </sql>
81
-  <select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
82
-    select
83
-    <if test="distinct" >
84
-      distinct
85
-    </if>
86
-    <include refid="Base_Column_List" />
87
-    ,
88
-    <include refid="Blob_Column_List" />
89
-    from t_ccdata
90
-    <if test="_parameter != null" >
91
-      <include refid="Example_Where_Clause" />
92
-    </if>
93
-    <if test="orderByClause != null" >
94
-      order by ${orderByClause}
95
-    </if>
96
-  </select>
97
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
98
-    select
99
-    <if test="distinct" >
100
-      distinct
101
-    </if>
102
-    <include refid="Base_Column_List" />
103
-    from t_ccdata
104
-    <if test="_parameter != null" >
105
-      <include refid="Example_Where_Clause" />
106
-    </if>
107
-    <if test="orderByClause != null" >
108
-      order by ${orderByClause}
109
-    </if>
110
-  </select>
111
-  <delete id="deleteByExample" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
112
-    delete from t_ccdata
113
-    <if test="_parameter != null" >
114
-      <include refid="Example_Where_Clause" />
115
-    </if>
116
-  </delete>
117
-  <insert id="insert" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
118
-    insert into t_ccdata (id, org_id, v_cc_code, 
119
-      i_tdh, i_value, v_update_time, 
120
-      data_source, v_remark, c_image
121
-      )
122
-    values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vCcCode,jdbcType=VARCHAR}, 
123
-      #{iTdh,jdbcType=INTEGER}, #{iValue,jdbcType=INTEGER}, #{vUpdateTime,jdbcType=TIMESTAMP}, 
124
-      #{dataSource,jdbcType=VARCHAR}, #{vRemark,jdbcType=VARCHAR}, #{cImage,jdbcType=LONGVARBINARY}
125
-      )
126
-  </insert>
127
-  <insert id="insertSelective" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
128
-    insert into t_ccdata
129
-    <trim prefix="(" suffix=")" suffixOverrides="," >
130
-      <if test="id != null" >
131
-        id,
132
-      </if>
133
-      <if test="orgId != null" >
134
-        org_id,
135
-      </if>
136
-      <if test="vCcCode != null" >
137
-        v_cc_code,
138
-      </if>
139
-      <if test="iTdh != null" >
140
-        i_tdh,
141
-      </if>
142
-      <if test="iValue != null" >
143
-        i_value,
144
-      </if>
145
-      <if test="vUpdateTime != null" >
146
-        v_update_time,
147
-      </if>
148
-      <if test="dataSource != null" >
149
-        data_source,
150
-      </if>
151
-      <if test="vRemark != null" >
152
-        v_remark,
153
-      </if>
154
-      <if test="cImage != null" >
155
-        c_image,
156
-      </if>
157
-    </trim>
158
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
159
-      <if test="id != null" >
160
-        #{id,jdbcType=VARCHAR},
161
-      </if>
162
-      <if test="orgId != null" >
163
-        #{orgId,jdbcType=VARCHAR},
164
-      </if>
165
-      <if test="vCcCode != null" >
166
-        #{vCcCode,jdbcType=VARCHAR},
167
-      </if>
168
-      <if test="iTdh != null" >
169
-        #{iTdh,jdbcType=INTEGER},
170
-      </if>
171
-      <if test="iValue != null" >
172
-        #{iValue,jdbcType=INTEGER},
173
-      </if>
174
-      <if test="vUpdateTime != null" >
175
-        #{vUpdateTime,jdbcType=TIMESTAMP},
176
-      </if>
177
-      <if test="dataSource != null" >
178
-        #{dataSource,jdbcType=VARCHAR},
179
-      </if>
180
-      <if test="vRemark != null" >
181
-        #{vRemark,jdbcType=VARCHAR},
182
-      </if>
183
-      <if test="cImage != null" >
184
-        #{cImage,jdbcType=LONGVARBINARY},
185
-      </if>
186
-    </trim>
187
-  </insert>
188
-  <select id="countByExample" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" resultType="java.lang.Integer" >
189
-    select count(*) from t_ccdata
190
-    <if test="_parameter != null" >
191
-      <include refid="Example_Where_Clause" />
192
-    </if>
193
-  </select>
194
-  <update id="updateByExampleSelective" parameterType="map" >
195
-    update t_ccdata
196
-    <set >
197
-      <if test="record.id != null" >
198
-        id = #{record.id,jdbcType=VARCHAR},
199
-      </if>
200
-      <if test="record.orgId != null" >
201
-        org_id = #{record.orgId,jdbcType=VARCHAR},
202
-      </if>
203
-      <if test="record.vCcCode != null" >
204
-        v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
205
-      </if>
206
-      <if test="record.iTdh != null" >
207
-        i_tdh = #{record.iTdh,jdbcType=INTEGER},
208
-      </if>
209
-      <if test="record.iValue != null" >
210
-        i_value = #{record.iValue,jdbcType=INTEGER},
211
-      </if>
212
-      <if test="record.vUpdateTime != null" >
213
-        v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
214
-      </if>
215
-      <if test="record.dataSource != null" >
216
-        data_source = #{record.dataSource,jdbcType=VARCHAR},
217
-      </if>
218
-      <if test="record.vRemark != null" >
219
-        v_remark = #{record.vRemark,jdbcType=VARCHAR},
220
-      </if>
221
-      <if test="record.cImage != null" >
222
-        c_image = #{record.cImage,jdbcType=LONGVARBINARY},
223
-      </if>
224
-    </set>
225
-    <if test="_parameter != null" >
226
-      <include refid="Update_By_Example_Where_Clause" />
227
-    </if>
228
-  </update>
229
-  <update id="updateByExampleWithBLOBs" parameterType="map" >
230
-    update t_ccdata
231
-    set id = #{record.id,jdbcType=VARCHAR},
232
-      org_id = #{record.orgId,jdbcType=VARCHAR},
233
-      v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
234
-      i_tdh = #{record.iTdh,jdbcType=INTEGER},
235
-      i_value = #{record.iValue,jdbcType=INTEGER},
236
-      v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
237
-      data_source = #{record.dataSource,jdbcType=VARCHAR},
238
-      v_remark = #{record.vRemark,jdbcType=VARCHAR},
239
-      c_image = #{record.cImage,jdbcType=LONGVARBINARY}
240
-    <if test="_parameter != null" >
241
-      <include refid="Update_By_Example_Where_Clause" />
242
-    </if>
243
-  </update>
244
-  <update id="updateByExample" parameterType="map" >
245
-    update t_ccdata
246
-    set id = #{record.id,jdbcType=VARCHAR},
247
-      org_id = #{record.orgId,jdbcType=VARCHAR},
248
-      v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
249
-      i_tdh = #{record.iTdh,jdbcType=INTEGER},
250
-      i_value = #{record.iValue,jdbcType=INTEGER},
251
-      v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
252
-      data_source = #{record.dataSource,jdbcType=VARCHAR},
253
-      v_remark = #{record.vRemark,jdbcType=VARCHAR}
254
-    <if test="_parameter != null" >
255
-      <include refid="Update_By_Example_Where_Clause" />
256
-    </if>
257
-  </update>
258
-
259
-  <insert id="insertBatch" parameterType="java.util.List">
260
-    insert into t_ccdata (id, org_id, v_cc_code,
261
-    i_tdh, i_value, v_update_time,
262
-    data_source, v_remark, c_image
263
-    )
264
-    values
265
-    <foreach collection="list" item="cc" index="index" separator=",">
266
-      (#{cc.id,jdbcType=VARCHAR}, #{cc.orgId,jdbcType=VARCHAR}, #{cc.vCcCode,jdbcType=VARCHAR},
267
-      #{cc.iTdh,jdbcType=INTEGER}, #{cc.iValue,jdbcType=INTEGER}, #{cc.vUpdateTime,jdbcType=TIMESTAMP},
268
-      #{cc.dataSource,jdbcType=VARCHAR}, #{cc.vRemark,jdbcType=VARCHAR}, #{cc.cImage,jdbcType=LONGVARBINARY}
269
-      )
270
-    </foreach>
271
-  </insert>
272
-
273
-  <select id="getList" resultType="java.util.Map" parameterType="java.util.Map">
274
-    SELECT DISTINCT
275
-    ti.vcfcode AS vCfCode,
276
-    td.i_tdh AS iTdh,
277
-    td.i_value AS iValue,
278
-    td.v_update_time AS vUpdateTime
279
-    FROM
280
-    t_ccinfo ti,
281
-    t_ccdata td
282
-    WHERE
283
-    td.v_cc_code = ti.vdevcode
284
-    <if test="iBeginTdh != null and test=iEndTdh != null">
285
-      and td.i_tdh BETWEEN #{iBeginTdh, jdbcType=INTEGER} AND #{iEndTdh, jdbcType=INTEGER}
286
-    </if>
287
-    <if test="vCfCode != null">
288
-      and ti.vcfcode = #{vCfCode}
289
-    </if>
290
-    ORDER BY
291
-    td.v_update_time DESC
292
-  </select>
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3
+<mapper namespace="com.chinaitop.depot.intelligent.grainsituation.mapper.TCcdataMapper" >
4
+  <resultMap id="BaseResultMap" type="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
5
+    <!--
6
+      WARNING - @mbggenerated
7
+      This element is automatically generated by MyBatis Generator, do not modify.
8
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
9
+    -->
10
+    <result column="id" property="id" jdbcType="VARCHAR" />
11
+    <result column="org_id" property="orgId" jdbcType="VARCHAR" />
12
+    <result column="v_cc_code" property="vCcCode" jdbcType="VARCHAR" />
13
+    <result column="i_tdh" property="iTdh" jdbcType="INTEGER" />
14
+    <result column="i_value" property="iValue" jdbcType="INTEGER" />
15
+    <result column="v_update_time" property="vUpdateTime" jdbcType="TIMESTAMP" />
16
+    <result column="data_source" property="dataSource" jdbcType="VARCHAR" />
17
+    <result column="v_remark" property="vRemark" jdbcType="VARCHAR" />
18
+    <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
19
+    <result column="jchcff" property="jchcff" jdbcType="VARCHAR" />
20
+    <result column="hczl" property="hczl" jdbcType="VARCHAR" />
21
+    <result column="cldjpd" property="cldjpd" jdbcType="VARCHAR" />
22
+    <result column="hckyxfx" property="hckyxfx" jdbcType="VARCHAR" />
23
+  </resultMap>
24
+  <resultMap id="ResultMapWithBLOBs" type="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" extends="BaseResultMap" >
25
+    <!--
26
+      WARNING - @mbggenerated
27
+      This element is automatically generated by MyBatis Generator, do not modify.
28
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
29
+    -->
30
+    <result column="c_image" property="cImage" jdbcType="LONGVARBINARY" />
31
+  </resultMap>
32
+  <sql id="Example_Where_Clause" >
33
+    <!--
34
+      WARNING - @mbggenerated
35
+      This element is automatically generated by MyBatis Generator, do not modify.
36
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
37
+    -->
38
+    <where >
39
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
40
+        <if test="criteria.valid" >
41
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
42
+            <foreach collection="criteria.criteria" item="criterion" >
43
+              <choose >
44
+                <when test="criterion.noValue" >
45
+                  and ${criterion.condition}
46
+                </when>
47
+                <when test="criterion.singleValue" >
48
+                  and ${criterion.condition} #{criterion.value}
49
+                </when>
50
+                <when test="criterion.betweenValue" >
51
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
52
+                </when>
53
+                <when test="criterion.listValue" >
54
+                  and ${criterion.condition}
55
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
56
+                    #{listItem}
57
+                  </foreach>
58
+                </when>
59
+              </choose>
60
+            </foreach>
61
+          </trim>
62
+        </if>
63
+      </foreach>
64
+    </where>
65
+  </sql>
66
+  <sql id="Update_By_Example_Where_Clause" >
67
+    <!--
68
+      WARNING - @mbggenerated
69
+      This element is automatically generated by MyBatis Generator, do not modify.
70
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
71
+    -->
72
+    <where >
73
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
74
+        <if test="criteria.valid" >
75
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
76
+            <foreach collection="criteria.criteria" item="criterion" >
77
+              <choose >
78
+                <when test="criterion.noValue" >
79
+                  and ${criterion.condition}
80
+                </when>
81
+                <when test="criterion.singleValue" >
82
+                  and ${criterion.condition} #{criterion.value}
83
+                </when>
84
+                <when test="criterion.betweenValue" >
85
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
86
+                </when>
87
+                <when test="criterion.listValue" >
88
+                  and ${criterion.condition}
89
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
90
+                    #{listItem}
91
+                  </foreach>
92
+                </when>
93
+              </choose>
94
+            </foreach>
95
+          </trim>
96
+        </if>
97
+      </foreach>
98
+    </where>
99
+  </sql>
100
+  <sql id="Base_Column_List" >
101
+    <!--
102
+      WARNING - @mbggenerated
103
+      This element is automatically generated by MyBatis Generator, do not modify.
104
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
105
+    -->
106
+    id, org_id, v_cc_code, i_tdh, i_value, v_update_time, data_source, v_remark, updatetime, 
107
+    jchcff, hczl, cldjpd, hckyxfx
108
+  </sql>
109
+  <sql id="Blob_Column_List" >
110
+    <!--
111
+      WARNING - @mbggenerated
112
+      This element is automatically generated by MyBatis Generator, do not modify.
113
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
114
+    -->
115
+    c_image
116
+  </sql>
117
+  <select id="selectByExampleWithBLOBs" resultMap="ResultMapWithBLOBs" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
118
+    <!--
119
+      WARNING - @mbggenerated
120
+      This element is automatically generated by MyBatis Generator, do not modify.
121
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
122
+    -->
123
+    select
124
+    <if test="distinct" >
125
+      distinct
126
+    </if>
127
+    <include refid="Base_Column_List" />
128
+    ,
129
+    <include refid="Blob_Column_List" />
130
+    from t_ccdata
131
+    <if test="_parameter != null" >
132
+      <include refid="Example_Where_Clause" />
133
+    </if>
134
+    <if test="orderByClause != null" >
135
+      order by ${orderByClause}
136
+    </if>
137
+  </select>
138
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
139
+    <!--
140
+      WARNING - @mbggenerated
141
+      This element is automatically generated by MyBatis Generator, do not modify.
142
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
143
+    -->
144
+    select
145
+    <if test="distinct" >
146
+      distinct
147
+    </if>
148
+    <include refid="Base_Column_List" />
149
+    from t_ccdata
150
+    <if test="_parameter != null" >
151
+      <include refid="Example_Where_Clause" />
152
+    </if>
153
+    <if test="orderByClause != null" >
154
+      order by ${orderByClause}
155
+    </if>
156
+  </select>
157
+  <delete id="deleteByExample" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" >
158
+    <!--
159
+      WARNING - @mbggenerated
160
+      This element is automatically generated by MyBatis Generator, do not modify.
161
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
162
+    -->
163
+    delete from t_ccdata
164
+    <if test="_parameter != null" >
165
+      <include refid="Example_Where_Clause" />
166
+    </if>
167
+  </delete>
168
+  <insert id="insert" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
169
+    <!--
170
+      WARNING - @mbggenerated
171
+      This element is automatically generated by MyBatis Generator, do not modify.
172
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
173
+    -->
174
+    insert into t_ccdata (id, org_id, v_cc_code, 
175
+      i_tdh, i_value, v_update_time, 
176
+      data_source, v_remark, updatetime, 
177
+      jchcff, hczl, cldjpd, 
178
+      hckyxfx, c_image)
179
+    values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vCcCode,jdbcType=VARCHAR}, 
180
+      #{iTdh,jdbcType=INTEGER}, #{iValue,jdbcType=INTEGER}, #{vUpdateTime,jdbcType=TIMESTAMP}, 
181
+      #{dataSource,jdbcType=VARCHAR}, #{vRemark,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, 
182
+      #{jchcff,jdbcType=VARCHAR}, #{hczl,jdbcType=VARCHAR}, #{cldjpd,jdbcType=VARCHAR}, 
183
+      #{hckyxfx,jdbcType=VARCHAR}, #{cImage,jdbcType=LONGVARBINARY})
184
+  </insert>
185
+  <insert id="insertSelective" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdata" >
186
+    <!--
187
+      WARNING - @mbggenerated
188
+      This element is automatically generated by MyBatis Generator, do not modify.
189
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
190
+    -->
191
+    insert into t_ccdata
192
+    <trim prefix="(" suffix=")" suffixOverrides="," >
193
+      <if test="id != null" >
194
+        id,
195
+      </if>
196
+      <if test="orgId != null" >
197
+        org_id,
198
+      </if>
199
+      <if test="vCcCode != null" >
200
+        v_cc_code,
201
+      </if>
202
+      <if test="iTdh != null" >
203
+        i_tdh,
204
+      </if>
205
+      <if test="iValue != null" >
206
+        i_value,
207
+      </if>
208
+      <if test="vUpdateTime != null" >
209
+        v_update_time,
210
+      </if>
211
+      <if test="dataSource != null" >
212
+        data_source,
213
+      </if>
214
+      <if test="vRemark != null" >
215
+        v_remark,
216
+      </if>
217
+      <if test="updatetime != null" >
218
+        updatetime,
219
+      </if>
220
+      <if test="jchcff != null" >
221
+        jchcff,
222
+      </if>
223
+      <if test="hczl != null" >
224
+        hczl,
225
+      </if>
226
+      <if test="cldjpd != null" >
227
+        cldjpd,
228
+      </if>
229
+      <if test="hckyxfx != null" >
230
+        hckyxfx,
231
+      </if>
232
+      <if test="cImage != null" >
233
+        c_image,
234
+      </if>
235
+    </trim>
236
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
237
+      <if test="id != null" >
238
+        #{id,jdbcType=VARCHAR},
239
+      </if>
240
+      <if test="orgId != null" >
241
+        #{orgId,jdbcType=VARCHAR},
242
+      </if>
243
+      <if test="vCcCode != null" >
244
+        #{vCcCode,jdbcType=VARCHAR},
245
+      </if>
246
+      <if test="iTdh != null" >
247
+        #{iTdh,jdbcType=INTEGER},
248
+      </if>
249
+      <if test="iValue != null" >
250
+        #{iValue,jdbcType=INTEGER},
251
+      </if>
252
+      <if test="vUpdateTime != null" >
253
+        #{vUpdateTime,jdbcType=TIMESTAMP},
254
+      </if>
255
+      <if test="dataSource != null" >
256
+        #{dataSource,jdbcType=VARCHAR},
257
+      </if>
258
+      <if test="vRemark != null" >
259
+        #{vRemark,jdbcType=VARCHAR},
260
+      </if>
261
+      <if test="updatetime != null" >
262
+        #{updatetime,jdbcType=TIMESTAMP},
263
+      </if>
264
+      <if test="jchcff != null" >
265
+        #{jchcff,jdbcType=VARCHAR},
266
+      </if>
267
+      <if test="hczl != null" >
268
+        #{hczl,jdbcType=VARCHAR},
269
+      </if>
270
+      <if test="cldjpd != null" >
271
+        #{cldjpd,jdbcType=VARCHAR},
272
+      </if>
273
+      <if test="hckyxfx != null" >
274
+        #{hckyxfx,jdbcType=VARCHAR},
275
+      </if>
276
+      <if test="cImage != null" >
277
+        #{cImage,jdbcType=LONGVARBINARY},
278
+      </if>
279
+    </trim>
280
+  </insert>
281
+  <select id="countByExample" parameterType="com.chinaitop.depot.intelligent.grainsituation.model.TCcdataExample" resultType="java.lang.Integer" >
282
+    <!--
283
+      WARNING - @mbggenerated
284
+      This element is automatically generated by MyBatis Generator, do not modify.
285
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
286
+    -->
287
+    select count(*) from t_ccdata
288
+    <if test="_parameter != null" >
289
+      <include refid="Example_Where_Clause" />
290
+    </if>
291
+  </select>
292
+  <update id="updateByExampleSelective" parameterType="map" >
293
+    <!--
294
+      WARNING - @mbggenerated
295
+      This element is automatically generated by MyBatis Generator, do not modify.
296
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
297
+    -->
298
+    update t_ccdata
299
+    <set >
300
+      <if test="record.id != null" >
301
+        id = #{record.id,jdbcType=VARCHAR},
302
+      </if>
303
+      <if test="record.orgId != null" >
304
+        org_id = #{record.orgId,jdbcType=VARCHAR},
305
+      </if>
306
+      <if test="record.vCcCode != null" >
307
+        v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
308
+      </if>
309
+      <if test="record.iTdh != null" >
310
+        i_tdh = #{record.iTdh,jdbcType=INTEGER},
311
+      </if>
312
+      <if test="record.iValue != null" >
313
+        i_value = #{record.iValue,jdbcType=INTEGER},
314
+      </if>
315
+      <if test="record.vUpdateTime != null" >
316
+        v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
317
+      </if>
318
+      <if test="record.dataSource != null" >
319
+        data_source = #{record.dataSource,jdbcType=VARCHAR},
320
+      </if>
321
+      <if test="record.vRemark != null" >
322
+        v_remark = #{record.vRemark,jdbcType=VARCHAR},
323
+      </if>
324
+      <if test="record.updatetime != null" >
325
+        updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
326
+      </if>
327
+      <if test="record.jchcff != null" >
328
+        jchcff = #{record.jchcff,jdbcType=VARCHAR},
329
+      </if>
330
+      <if test="record.hczl != null" >
331
+        hczl = #{record.hczl,jdbcType=VARCHAR},
332
+      </if>
333
+      <if test="record.cldjpd != null" >
334
+        cldjpd = #{record.cldjpd,jdbcType=VARCHAR},
335
+      </if>
336
+      <if test="record.hckyxfx != null" >
337
+        hckyxfx = #{record.hckyxfx,jdbcType=VARCHAR},
338
+      </if>
339
+      <if test="record.cImage != null" >
340
+        c_image = #{record.cImage,jdbcType=LONGVARBINARY},
341
+      </if>
342
+    </set>
343
+    <if test="_parameter != null" >
344
+      <include refid="Update_By_Example_Where_Clause" />
345
+    </if>
346
+  </update>
347
+  <update id="updateByExampleWithBLOBs" parameterType="map" >
348
+    <!--
349
+      WARNING - @mbggenerated
350
+      This element is automatically generated by MyBatis Generator, do not modify.
351
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
352
+    -->
353
+    update t_ccdata
354
+    set id = #{record.id,jdbcType=VARCHAR},
355
+      org_id = #{record.orgId,jdbcType=VARCHAR},
356
+      v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
357
+      i_tdh = #{record.iTdh,jdbcType=INTEGER},
358
+      i_value = #{record.iValue,jdbcType=INTEGER},
359
+      v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
360
+      data_source = #{record.dataSource,jdbcType=VARCHAR},
361
+      v_remark = #{record.vRemark,jdbcType=VARCHAR},
362
+      updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
363
+      jchcff = #{record.jchcff,jdbcType=VARCHAR},
364
+      hczl = #{record.hczl,jdbcType=VARCHAR},
365
+      cldjpd = #{record.cldjpd,jdbcType=VARCHAR},
366
+      hckyxfx = #{record.hckyxfx,jdbcType=VARCHAR},
367
+      c_image = #{record.cImage,jdbcType=LONGVARBINARY}
368
+    <if test="_parameter != null" >
369
+      <include refid="Update_By_Example_Where_Clause" />
370
+    </if>
371
+  </update>
372
+  <update id="updateByExample" parameterType="map" >
373
+    <!--
374
+      WARNING - @mbggenerated
375
+      This element is automatically generated by MyBatis Generator, do not modify.
376
+      This element was generated on Fri Jun 05 17:10:22 CST 2020.
377
+    -->
378
+    update t_ccdata
379
+    set id = #{record.id,jdbcType=VARCHAR},
380
+      org_id = #{record.orgId,jdbcType=VARCHAR},
381
+      v_cc_code = #{record.vCcCode,jdbcType=VARCHAR},
382
+      i_tdh = #{record.iTdh,jdbcType=INTEGER},
383
+      i_value = #{record.iValue,jdbcType=INTEGER},
384
+      v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
385
+      data_source = #{record.dataSource,jdbcType=VARCHAR},
386
+      v_remark = #{record.vRemark,jdbcType=VARCHAR},
387
+      updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
388
+      jchcff = #{record.jchcff,jdbcType=VARCHAR},
389
+      hczl = #{record.hczl,jdbcType=VARCHAR},
390
+      cldjpd = #{record.cldjpd,jdbcType=VARCHAR},
391
+      hckyxfx = #{record.hckyxfx,jdbcType=VARCHAR}
392
+    <if test="_parameter != null" >
393
+      <include refid="Update_By_Example_Where_Clause" />
394
+    </if>
395
+  </update>
396
+  
397
+  
398
+  <insert id="insertBatch" parameterType="java.util.List">
399
+    insert into t_ccdata (id, org_id, v_cc_code,
400
+    i_tdh, i_value, v_update_time,
401
+    data_source, v_remark, c_image
402
+    )
403
+    values
404
+    <foreach collection="list" item="cc" index="index" separator=",">
405
+      (#{cc.id,jdbcType=VARCHAR}, #{cc.orgId,jdbcType=VARCHAR}, #{cc.vCcCode,jdbcType=VARCHAR},
406
+      #{cc.iTdh,jdbcType=INTEGER}, #{cc.iValue,jdbcType=INTEGER}, #{cc.vUpdateTime,jdbcType=TIMESTAMP},
407
+      #{cc.dataSource,jdbcType=VARCHAR}, #{cc.vRemark,jdbcType=VARCHAR}, #{cc.cImage,jdbcType=LONGVARBINARY}
408
+      )
409
+    </foreach>
410
+  </insert>
411
+
412
+  <select id="getList" resultType="java.util.Map" parameterType="java.util.Map">
413
+    SELECT DISTINCT
414
+    ti.vcfcode AS vCfCode,
415
+    td.i_tdh AS iTdh,
416
+    td.i_value AS iValue,
417
+    td.v_update_time AS vUpdateTime
418
+    FROM
419
+    t_ccinfo ti,
420
+    t_ccdata td
421
+    WHERE
422
+    td.v_cc_code = ti.vdevcode
423
+    <if test="iBeginTdh != null and test=iEndTdh != null">
424
+      and td.i_tdh BETWEEN #{iBeginTdh, jdbcType=INTEGER} AND #{iEndTdh, jdbcType=INTEGER}
425
+    </if>
426
+    <if test="vCfCode != null">
427
+      and ti.vcfcode = #{vCfCode}
428
+    </if>
429
+    ORDER BY
430
+    td.v_update_time DESC
431
+  </select>
293 432
 </mapper>

+ 452 - 166
src/main/java/com/chinaitop/depot/intelligent/grainsituation/model/TCcdata.java

@@ -1,167 +1,453 @@
1
-package com.chinaitop.depot.intelligent.grainsituation.model;
2
-
3
-import java.util.Date;
4
-
5
-public class TCcdata {
6
-    private String id;
7
-
8
-    private String orgId;
9
-
10
-    private String vCcCode;
11
-
12
-    private Integer iTdh;
13
-
14
-    private Integer iValue;
15
-
16
-    private Date vUpdateTime;
17
-
18
-    private String dataSource;
19
-
20
-    private String vRemark;
21
-
22
-    private byte[] cImage;
23
-
24
-    /**
25
-     * 测虫数据id
26
-     * @return id 测虫数据id
27
-     */
28
-    public String getId() {
29
-        return id;
30
-    }
31
-
32
-    /**
33
-     * 测虫数据id
34
-     * @param id 测虫数据id
35
-     */
36
-    public void setId(String id) {
37
-        this.id = id == null ? null : id.trim();
38
-    }
39
-
40
-    /**
41
-     * 
42
-     * @return org_id 
43
-     */
44
-    public String getOrgId() {
45
-        return orgId;
46
-    }
47
-
48
-    /**
49
-     * 
50
-     * @param orgId 
51
-     */
52
-    public void setOrgId(String orgId) {
53
-        this.orgId = orgId == null ? null : orgId.trim();
54
-    }
55
-
56
-    /**
57
-     * 测虫code
58
-     * @return v_cc_code 测虫code
59
-     */
60
-    public String getvCcCode() {
61
-        return vCcCode;
62
-    }
63
-
64
-    /**
65
-     * 测虫code
66
-     * @param vCcCode 测虫code
67
-     */
68
-    public void setvCcCode(String vCcCode) {
69
-        this.vCcCode = vCcCode == null ? null : vCcCode.trim();
70
-    }
71
-
72
-    /**
73
-     * 当前通道号
74
-     * @return i_tdh 当前通道号
75
-     */
76
-    public Integer getiTdh() {
77
-        return iTdh;
78
-    }
79
-
80
-    /**
81
-     * 当前通道号
82
-     * @param iTdh 当前通道号
83
-     */
84
-    public void setiTdh(Integer iTdh) {
85
-        this.iTdh = iTdh;
86
-    }
87
-
88
-    /**
89
-     * 当前值
90
-     * @return i_value 当前值
91
-     */
92
-    public Integer getiValue() {
93
-        return iValue;
94
-    }
95
-
96
-    /**
97
-     * 当前值
98
-     * @param iValue 当前值
99
-     */
100
-    public void setiValue(Integer iValue) {
101
-        this.iValue = iValue;
102
-    }
103
-
104
-    /**
105
-     * 采集时间
106
-     * @return v_update_time 采集时间
107
-     */
108
-    public Date getvUpdateTime() {
109
-        return vUpdateTime;
110
-    }
111
-
112
-    /**
113
-     * 采集时间
114
-     * @param vUpdateTime 采集时间
115
-     */
116
-    public void setvUpdateTime(Date vUpdateTime) {
117
-        this.vUpdateTime = vUpdateTime;
118
-    }
119
-
120
-    /**
121
-     * 数据来源
122
-     * @return data_source 数据来源
123
-     */
124
-    public String getDataSource() {
125
-        return dataSource;
126
-    }
127
-
128
-    /**
129
-     * 数据来源
130
-     * @param dataSource 数据来源
131
-     */
132
-    public void setDataSource(String dataSource) {
133
-        this.dataSource = dataSource == null ? null : dataSource.trim();
134
-    }
135
-
136
-    /**
137
-     * 描述
138
-     * @return v_remark 描述
139
-     */
140
-    public String getvRemark() {
141
-        return vRemark;
142
-    }
143
-
144
-    /**
145
-     * 描述
146
-     * @param vRemark 描述
147
-     */
148
-    public void setvRemark(String vRemark) {
149
-        this.vRemark = vRemark == null ? null : vRemark.trim();
150
-    }
151
-
152
-    /**
153
-     * 采集图片(可能有)
154
-     * @return c_image 采集图片(可能有)
155
-     */
156
-    public byte[] getcImage() {
157
-        return cImage;
158
-    }
159
-
160
-    /**
161
-     * 采集图片(可能有)
162
-     * @param cImage 采集图片(可能有)
163
-     */
164
-    public void setcImage(byte[] cImage) {
165
-        this.cImage = cImage;
166
-    }
1
+package com.chinaitop.depot.intelligent.grainsituation.model;
2
+
3
+import java.util.Date;
4
+
5
+public class TCcdata {
6
+    /**
7
+     * This field was generated by MyBatis Generator.
8
+     * This field corresponds to the database column t_ccdata.id
9
+     *
10
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
11
+     */
12
+    private String id;
13
+
14
+    /**
15
+     * This field was generated by MyBatis Generator.
16
+     * This field corresponds to the database column t_ccdata.org_id
17
+     *
18
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
19
+     */
20
+    private String orgId;
21
+
22
+    /**
23
+     * This field was generated by MyBatis Generator.
24
+     * This field corresponds to the database column t_ccdata.v_cc_code
25
+     *
26
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
27
+     */
28
+    private String vCcCode;
29
+
30
+    /**
31
+     * This field was generated by MyBatis Generator.
32
+     * This field corresponds to the database column t_ccdata.i_tdh
33
+     *
34
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
35
+     */
36
+    private Integer iTdh;
37
+
38
+    /**
39
+     * This field was generated by MyBatis Generator.
40
+     * This field corresponds to the database column t_ccdata.i_value
41
+     *
42
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
43
+     */
44
+    private Integer iValue;
45
+
46
+    /**
47
+     * This field was generated by MyBatis Generator.
48
+     * This field corresponds to the database column t_ccdata.v_update_time
49
+     *
50
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
51
+     */
52
+    private Date vUpdateTime;
53
+
54
+    /**
55
+     * This field was generated by MyBatis Generator.
56
+     * This field corresponds to the database column t_ccdata.data_source
57
+     *
58
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
59
+     */
60
+    private String dataSource;
61
+
62
+    /**
63
+     * This field was generated by MyBatis Generator.
64
+     * This field corresponds to the database column t_ccdata.v_remark
65
+     *
66
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
67
+     */
68
+    private String vRemark;
69
+
70
+    /**
71
+     * This field was generated by MyBatis Generator.
72
+     * This field corresponds to the database column t_ccdata.updatetime
73
+     *
74
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
75
+     */
76
+    private Date updatetime;
77
+
78
+    /**
79
+     * This field was generated by MyBatis Generator.
80
+     * This field corresponds to the database column t_ccdata.jchcff
81
+     *
82
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
83
+     */
84
+    private String jchcff;
85
+
86
+    /**
87
+     * This field was generated by MyBatis Generator.
88
+     * This field corresponds to the database column t_ccdata.hczl
89
+     *
90
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
91
+     */
92
+    private String hczl;
93
+
94
+    /**
95
+     * This field was generated by MyBatis Generator.
96
+     * This field corresponds to the database column t_ccdata.cldjpd
97
+     *
98
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
99
+     */
100
+    private String cldjpd;
101
+
102
+    /**
103
+     * This field was generated by MyBatis Generator.
104
+     * This field corresponds to the database column t_ccdata.hckyxfx
105
+     *
106
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
107
+     */
108
+    private String hckyxfx;
109
+
110
+    /**
111
+     * This field was generated by MyBatis Generator.
112
+     * This field corresponds to the database column t_ccdata.c_image
113
+     *
114
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
115
+     */
116
+    private byte[] cImage;
117
+
118
+    /**
119
+     * This method was generated by MyBatis Generator.
120
+     * This method returns the value of the database column t_ccdata.id
121
+     *
122
+     * @return the value of t_ccdata.id
123
+     *
124
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
125
+     */
126
+    public String getId() {
127
+        return id;
128
+    }
129
+
130
+    /**
131
+     * This method was generated by MyBatis Generator.
132
+     * This method sets the value of the database column t_ccdata.id
133
+     *
134
+     * @param id the value for t_ccdata.id
135
+     *
136
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
137
+     */
138
+    public void setId(String id) {
139
+        this.id = id == null ? null : id.trim();
140
+    }
141
+
142
+    /**
143
+     * This method was generated by MyBatis Generator.
144
+     * This method returns the value of the database column t_ccdata.org_id
145
+     *
146
+     * @return the value of t_ccdata.org_id
147
+     *
148
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
149
+     */
150
+    public String getOrgId() {
151
+        return orgId;
152
+    }
153
+
154
+    /**
155
+     * This method was generated by MyBatis Generator.
156
+     * This method sets the value of the database column t_ccdata.org_id
157
+     *
158
+     * @param orgId the value for t_ccdata.org_id
159
+     *
160
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
161
+     */
162
+    public void setOrgId(String orgId) {
163
+        this.orgId = orgId == null ? null : orgId.trim();
164
+    }
165
+
166
+    /**
167
+     * This method was generated by MyBatis Generator.
168
+     * This method returns the value of the database column t_ccdata.v_cc_code
169
+     *
170
+     * @return the value of t_ccdata.v_cc_code
171
+     *
172
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
173
+     */
174
+    public String getvCcCode() {
175
+        return vCcCode;
176
+    }
177
+
178
+    /**
179
+     * This method was generated by MyBatis Generator.
180
+     * This method sets the value of the database column t_ccdata.v_cc_code
181
+     *
182
+     * @param vCcCode the value for t_ccdata.v_cc_code
183
+     *
184
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
185
+     */
186
+    public void setvCcCode(String vCcCode) {
187
+        this.vCcCode = vCcCode == null ? null : vCcCode.trim();
188
+    }
189
+
190
+    /**
191
+     * This method was generated by MyBatis Generator.
192
+     * This method returns the value of the database column t_ccdata.i_tdh
193
+     *
194
+     * @return the value of t_ccdata.i_tdh
195
+     *
196
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
197
+     */
198
+    public Integer getiTdh() {
199
+        return iTdh;
200
+    }
201
+
202
+    /**
203
+     * This method was generated by MyBatis Generator.
204
+     * This method sets the value of the database column t_ccdata.i_tdh
205
+     *
206
+     * @param iTdh the value for t_ccdata.i_tdh
207
+     *
208
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
209
+     */
210
+    public void setiTdh(Integer iTdh) {
211
+        this.iTdh = iTdh;
212
+    }
213
+
214
+    /**
215
+     * This method was generated by MyBatis Generator.
216
+     * This method returns the value of the database column t_ccdata.i_value
217
+     *
218
+     * @return the value of t_ccdata.i_value
219
+     *
220
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
221
+     */
222
+    public Integer getiValue() {
223
+        return iValue;
224
+    }
225
+
226
+    /**
227
+     * This method was generated by MyBatis Generator.
228
+     * This method sets the value of the database column t_ccdata.i_value
229
+     *
230
+     * @param iValue the value for t_ccdata.i_value
231
+     *
232
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
233
+     */
234
+    public void setiValue(Integer iValue) {
235
+        this.iValue = iValue;
236
+    }
237
+
238
+    /**
239
+     * This method was generated by MyBatis Generator.
240
+     * This method returns the value of the database column t_ccdata.v_update_time
241
+     *
242
+     * @return the value of t_ccdata.v_update_time
243
+     *
244
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
245
+     */
246
+    public Date getvUpdateTime() {
247
+        return vUpdateTime;
248
+    }
249
+
250
+    /**
251
+     * This method was generated by MyBatis Generator.
252
+     * This method sets the value of the database column t_ccdata.v_update_time
253
+     *
254
+     * @param vUpdateTime the value for t_ccdata.v_update_time
255
+     *
256
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
257
+     */
258
+    public void setvUpdateTime(Date vUpdateTime) {
259
+        this.vUpdateTime = vUpdateTime;
260
+    }
261
+
262
+    /**
263
+     * This method was generated by MyBatis Generator.
264
+     * This method returns the value of the database column t_ccdata.data_source
265
+     *
266
+     * @return the value of t_ccdata.data_source
267
+     *
268
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
269
+     */
270
+    public String getDataSource() {
271
+        return dataSource;
272
+    }
273
+
274
+    /**
275
+     * This method was generated by MyBatis Generator.
276
+     * This method sets the value of the database column t_ccdata.data_source
277
+     *
278
+     * @param dataSource the value for t_ccdata.data_source
279
+     *
280
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
281
+     */
282
+    public void setDataSource(String dataSource) {
283
+        this.dataSource = dataSource == null ? null : dataSource.trim();
284
+    }
285
+
286
+    /**
287
+     * This method was generated by MyBatis Generator.
288
+     * This method returns the value of the database column t_ccdata.v_remark
289
+     *
290
+     * @return the value of t_ccdata.v_remark
291
+     *
292
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
293
+     */
294
+    public String getvRemark() {
295
+        return vRemark;
296
+    }
297
+
298
+    /**
299
+     * This method was generated by MyBatis Generator.
300
+     * This method sets the value of the database column t_ccdata.v_remark
301
+     *
302
+     * @param vRemark the value for t_ccdata.v_remark
303
+     *
304
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
305
+     */
306
+    public void setvRemark(String vRemark) {
307
+        this.vRemark = vRemark == null ? null : vRemark.trim();
308
+    }
309
+
310
+    /**
311
+     * This method was generated by MyBatis Generator.
312
+     * This method returns the value of the database column t_ccdata.updatetime
313
+     *
314
+     * @return the value of t_ccdata.updatetime
315
+     *
316
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
317
+     */
318
+    public Date getUpdatetime() {
319
+        return updatetime;
320
+    }
321
+
322
+    /**
323
+     * This method was generated by MyBatis Generator.
324
+     * This method sets the value of the database column t_ccdata.updatetime
325
+     *
326
+     * @param updatetime the value for t_ccdata.updatetime
327
+     *
328
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
329
+     */
330
+    public void setUpdatetime(Date updatetime) {
331
+        this.updatetime = updatetime;
332
+    }
333
+
334
+    /**
335
+     * This method was generated by MyBatis Generator.
336
+     * This method returns the value of the database column t_ccdata.jchcff
337
+     *
338
+     * @return the value of t_ccdata.jchcff
339
+     *
340
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
341
+     */
342
+    public String getJchcff() {
343
+        return jchcff;
344
+    }
345
+
346
+    /**
347
+     * This method was generated by MyBatis Generator.
348
+     * This method sets the value of the database column t_ccdata.jchcff
349
+     *
350
+     * @param jchcff the value for t_ccdata.jchcff
351
+     *
352
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
353
+     */
354
+    public void setJchcff(String jchcff) {
355
+        this.jchcff = jchcff == null ? null : jchcff.trim();
356
+    }
357
+
358
+    /**
359
+     * This method was generated by MyBatis Generator.
360
+     * This method returns the value of the database column t_ccdata.hczl
361
+     *
362
+     * @return the value of t_ccdata.hczl
363
+     *
364
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
365
+     */
366
+    public String getHczl() {
367
+        return hczl;
368
+    }
369
+
370
+    /**
371
+     * This method was generated by MyBatis Generator.
372
+     * This method sets the value of the database column t_ccdata.hczl
373
+     *
374
+     * @param hczl the value for t_ccdata.hczl
375
+     *
376
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
377
+     */
378
+    public void setHczl(String hczl) {
379
+        this.hczl = hczl == null ? null : hczl.trim();
380
+    }
381
+
382
+    /**
383
+     * This method was generated by MyBatis Generator.
384
+     * This method returns the value of the database column t_ccdata.cldjpd
385
+     *
386
+     * @return the value of t_ccdata.cldjpd
387
+     *
388
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
389
+     */
390
+    public String getCldjpd() {
391
+        return cldjpd;
392
+    }
393
+
394
+    /**
395
+     * This method was generated by MyBatis Generator.
396
+     * This method sets the value of the database column t_ccdata.cldjpd
397
+     *
398
+     * @param cldjpd the value for t_ccdata.cldjpd
399
+     *
400
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
401
+     */
402
+    public void setCldjpd(String cldjpd) {
403
+        this.cldjpd = cldjpd == null ? null : cldjpd.trim();
404
+    }
405
+
406
+    /**
407
+     * This method was generated by MyBatis Generator.
408
+     * This method returns the value of the database column t_ccdata.hckyxfx
409
+     *
410
+     * @return the value of t_ccdata.hckyxfx
411
+     *
412
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
413
+     */
414
+    public String getHckyxfx() {
415
+        return hckyxfx;
416
+    }
417
+
418
+    /**
419
+     * This method was generated by MyBatis Generator.
420
+     * This method sets the value of the database column t_ccdata.hckyxfx
421
+     *
422
+     * @param hckyxfx the value for t_ccdata.hckyxfx
423
+     *
424
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
425
+     */
426
+    public void setHckyxfx(String hckyxfx) {
427
+        this.hckyxfx = hckyxfx == null ? null : hckyxfx.trim();
428
+    }
429
+
430
+    /**
431
+     * This method was generated by MyBatis Generator.
432
+     * This method returns the value of the database column t_ccdata.c_image
433
+     *
434
+     * @return the value of t_ccdata.c_image
435
+     *
436
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
437
+     */
438
+    public byte[] getcImage() {
439
+        return cImage;
440
+    }
441
+
442
+    /**
443
+     * This method was generated by MyBatis Generator.
444
+     * This method sets the value of the database column t_ccdata.c_image
445
+     *
446
+     * @param cImage the value for t_ccdata.c_image
447
+     *
448
+     * @mbggenerated Fri Jun 05 17:10:22 CST 2020
449
+     */
450
+    public void setcImage(byte[] cImage) {
451
+        this.cImage = cImage;
452
+    }
167 453
 }

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1172 - 748
src/main/java/com/chinaitop/depot/intelligent/grainsituation/model/TCcdataExample.java