Parcourir la source

修改字段名

weiximei il y a 6 ans
Parent
révision
c7576a623b

+ 5
- 5
CODE/smart-community/app-api/src/main/java/com/community/huiju/model/TpMessage.java Voir le fichier

@@ -40,7 +40,7 @@ public class TpMessage {
40 40
     private Date updateDate;
41 41
 
42 42
     /** 缴费项ID **/
43
-    private Integer billId;
43
+    private Integer commonId;
44 44
     
45 45
     /**
46 46
      * 工单状态
@@ -261,11 +261,11 @@ public class TpMessage {
261 261
         this.messageIconTitle = messageIconTitle;
262 262
     }
263 263
 
264
-    public Integer getBillId() {
265
-        return billId;
264
+    public Integer getCommonId() {
265
+        return commonId;
266 266
     }
267 267
 
268
-    public void setBillId(Integer billId) {
269
-        this.billId = billId;
268
+    public void setCommonId(Integer commonId) {
269
+        this.commonId = commonId;
270 270
     }
271 271
 }

+ 11
- 11
CODE/smart-community/app-api/src/main/resources/mapper/TpMessageMapper.xml Voir le fichier

@@ -26,12 +26,12 @@
26 26
     <result column="unread_message_icon" property="unreadMessageIcon" jdbcType="VARCHAR" />
27 27
     <result column="message_detail_url" property="messageDetailUrl" jdbcType="VARCHAR" />
28 28
     <result column="message_icon_title" property="messageIconTitle" jdbcType="VARCHAR" />
29
-    <result column="bill_id" property="billId" jdbcType="INTEGER" />
29
+    <result column="common_id" property="commonId" jdbcType="INTEGER" />
30 30
   </resultMap>
31 31
   <sql id="Base_Column_List" >
32 32
     id, ticket_id,community_id, message_type, advice_type, model_type, uuid, uuid_type, source,
33 33
     message_content, status, result, meaasge_type_id, read_status, create_user, create_date, 
34
-    update_user, update_date, bill_id
34
+    update_user, update_date, common_id
35 35
   </sql>
36 36
   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
37 37
     select 
@@ -49,13 +49,13 @@
49 49
       uuid_type, source, message_content, 
50 50
       status, result, meaasge_type_id, 
51 51
       read_status, create_user, create_date, 
52
-      update_user, update_date, bill_id)
52
+      update_user, update_date, common_id)
53 53
     values (#{id,jdbcType=INTEGER}, #{ticketId,jdbcType=INTEGER},#{communityId,jdbcType=INTEGER}, #{messageType,jdbcType=CHAR},
54 54
       #{adviceType,jdbcType=CHAR}, #{modelType,jdbcType=CHAR}, #{uuid,jdbcType=INTEGER}, 
55 55
       #{uuidType,jdbcType=CHAR}, #{source,jdbcType=CHAR}, #{messageContent,jdbcType=VARCHAR}, 
56 56
       #{status,jdbcType=CHAR}, #{result,jdbcType=VARCHAR}, #{meaasgeTypeId,jdbcType=VARCHAR}, 
57 57
       #{readStatus,jdbcType=CHAR}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, 
58
-      #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP}, #{billId,jdbcType=INTEGER})
58
+      #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP}, #{commonId,jdbcType=INTEGER})
59 59
   </insert>
60 60
   <insert id="insertSelective" parameterType="com.community.huiju.model.TpMessage" useGeneratedKeys="true" keyProperty="id" >
61 61
     insert into tp_message
@@ -114,8 +114,8 @@
114 114
       <if test="updateDate != null" >
115 115
         update_date,
116 116
       </if>
117
-      <if test="billId != null">
118
-        bill_id,
117
+      <if test="commonId != null">
118
+        common_id,
119 119
       </if>
120 120
     </trim>
121 121
     <trim prefix="values (" suffix=")" suffixOverrides="," >
@@ -173,8 +173,8 @@
173 173
       <if test="updateDate != null" >
174 174
         #{updateDate,jdbcType=TIMESTAMP},
175 175
       </if>
176
-      <if test="billId != null">
177
-        #{billId,jdbcType=INTEGER},
176
+      <if test="commonId != null">
177
+        #{commonId,jdbcType=INTEGER},
178 178
       </if>
179 179
     </trim>
180 180
   </insert>
@@ -232,8 +232,8 @@
232 232
       <if test="updateDate != null" >
233 233
         update_date = #{updateDate,jdbcType=TIMESTAMP},
234 234
       </if>
235
-      <if test="billId != null">
236
-        bill_id = #{billId,jdbcType=INTEGER}
235
+      <if test="commonId != null">
236
+        common_id = #{commonId,jdbcType=INTEGER}
237 237
       </if>
238 238
     </set>
239 239
     where id = #{id,jdbcType=INTEGER}
@@ -257,7 +257,7 @@
257 257
       create_date = #{createDate,jdbcType=TIMESTAMP},
258 258
       update_user = #{updateUser,jdbcType=INTEGER},
259 259
       update_date = #{updateDate,jdbcType=TIMESTAMP},
260
-      bill_id = #{billId,jdbcType=INTEGER}
260
+      common_id = #{commonId,jdbcType=INTEGER}
261 261
     where id = #{id,jdbcType=INTEGER}
262 262
   </update>
263 263