瀏覽代碼

1、修改更新频率表

zhoux 1 年之前
父節點
當前提交
8d63241f11
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/resources/mapper/CompanyMapper.xml

+ 3 - 1
src/main/resources/mapper/CompanyMapper.xml

@@ -269,6 +269,7 @@
             cp_id,
             app_code,
             qty,
+            op_update_time,
         </trim>
         )
         values
@@ -278,10 +279,11 @@
             #{cpId},
             #{appCode},
             #{qty},
+            now(),
         </trim>
         )
         on conflict (menu_uuid,cp_id,app_code) do update set
-        qty = excluded."qty" ;
+        qty = excluded."qty", op_update_time = now();
     </insert>
 
     <select id="selectMenuByUuid" resultMap="ResultMenuMap">