Aslee 3 anni fa
parent
commit
7ac74184f8
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 6 6
      src/main/resources/mapper/PayOrderMapper.xml

+ 6 - 6
src/main/resources/mapper/PayOrderMapper.xml

@@ -4,22 +4,22 @@
     <update id="updateOrderStatus">
         UPDATE cm_order SET
         status = #{status}
-        <if test="receiptStatus != null and receiptStatus != ''">
+        <if test="receiptStatus != null">
             ,receiptStatus = #{receiptStatus}
         </if>
-        <if test="payStatus != null and payStatus != ''">
+        <if test="payStatus != null">
             ,payStatus = #{payStatus}
         </if>
-        <if test="balancePayFee != null and balancePayFee != ''">
+        <if test="balancePayFee != null">
             ,balancePayFee = #{balancePayFee}
         </if>
-        <if test="payableAmount != null and payableAmount != ''">
+        <if test="payableAmount != null">
             ,payableAmount = #{payableAmount}
         </if>
-        <if test="onlinePayFlag != null and onlinePayFlag != ''">
+        <if test="onlinePayFlag != null">
             ,onlinePayFlag = #{onlinePayFlag}
         </if>
-        <if test="paySuccessCounter != null and paySuccessCounter != ''">
+        <if test="paySuccessCounter != null">
             ,paySuccessCounter = #{paySuccessCounter}
         </if>
         <if test="onlinePayFlag != null">