Browse Source

私有化部署:更新order表

tangxiangan 1 year ago
parent
commit
a67a98d998
1 changed files with 7 additions and 7 deletions
  1. 7 7
      pdf-tech-core/src/main/resources/sqlmap/LicenseCodesMapper.xml

+ 7 - 7
pdf-tech-core/src/main/resources/sqlmap/LicenseCodesMapper.xml

@@ -83,7 +83,7 @@
   </sql>
   <sql id="Base_Column_List">
     id, member_id, subscription_id, cdkey, times, used_times, created_at, updated_at,
-    last_remind_at, product_id, vpp_member_id, team_id, company_id, `type`, end_up_at,
+    last_remind_at, product_id, vpp_member_id, team_id, company_id, type, end_up_at,
     valid_flag, assigned_date, activated_date, is_vpp, sign
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.LicenseCodesExample" resultMap="BaseResultMap">
@@ -121,7 +121,7 @@
       cdkey, times, used_times,
       created_at, updated_at, last_remind_at,
       product_id, vpp_member_id, team_id,
-      company_id, `type`, end_up_at,
+      company_id, type, end_up_at,
       valid_flag, assigned_date, activated_date,
       is_vpp, sign)
     values (#{id}::uuid, #{memberId}::uuid, #{subscriptionId}::uuid,
@@ -175,7 +175,7 @@
         company_id,
       </if>
       <if test="type != null">
-        `type`,
+        type,
       </if>
       <if test="endUpAt != null">
         end_up_at,
@@ -308,7 +308,7 @@
         company_id = #{row.companyId,jdbcType=VARCHAR},
       </if>
       <if test="row.type != null">
-        `type` = #{row.type,jdbcType=SMALLINT},
+        type = #{row.type,jdbcType=SMALLINT},
       </if>
       <if test="row.endUpAt != null">
         end_up_at = #{row.endUpAt,jdbcType=TIMESTAMP},
@@ -348,7 +348,7 @@
       vpp_member_id = #{row.vppMemberId,jdbcType=VARCHAR},
       team_id = #{row.teamId,jdbcType=VARCHAR},
       company_id = #{row.companyId,jdbcType=VARCHAR},
-      `type` = #{row.type,jdbcType=SMALLINT},
+      type = #{row.type,jdbcType=SMALLINT},
       end_up_at = #{row.endUpAt,jdbcType=TIMESTAMP},
       valid_flag = #{row.validFlag,jdbcType=SMALLINT},
       assigned_date = #{row.assignedDate,jdbcType=TIMESTAMP},
@@ -399,7 +399,7 @@
         company_id = #{companyId,jdbcType=VARCHAR},
       </if>
       <if test="type != null">
-        `type` = #{type,jdbcType=SMALLINT},
+        type = #{type,jdbcType=SMALLINT},
       </if>
       <if test="endUpAt != null">
         end_up_at = #{endUpAt,jdbcType=TIMESTAMP},
@@ -436,7 +436,7 @@
       vpp_member_id = #{vppMemberId,jdbcType=VARCHAR},
       team_id = #{teamId,jdbcType=VARCHAR},
       company_id = #{companyId,jdbcType=VARCHAR},
-      `type` = #{type,jdbcType=SMALLINT},
+      type = #{type,jdbcType=SMALLINT},
       end_up_at = #{endUpAt,jdbcType=TIMESTAMP},
       valid_flag = #{validFlag,jdbcType=SMALLINT},
       assigned_date = #{assignedDate,jdbcType=TIMESTAMP},