Przeglądaj źródła

优化代码提交

mashengyi 3 lat temu
rodzic
commit
8c7a5147b2

+ 1 - 1
src/main/resources/mapper/customer/CustomerMapper.xml

@@ -100,7 +100,7 @@
     select
     <include refid="Base_Column_List" />
     from t_customer
-    where  customer_name = BINARY #{customerName,jdbcType=VARCHAR} lock in share mode
+    where  customer_name = BINARY #{customerName,jdbcType=VARCHAR} for update
   </select>
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
     delete from t_customer