Browse Source

优化代码

wuxw 2 years ago
parent
commit
c351f585a5

+ 3 - 0
java110-db/src/main/resources/mapper/acct/AccountServiceDaoImplMapper.xml

@@ -246,6 +246,9 @@
     <update id="updateAccount" parameterType="Map">
         update account t
         <set>
+            <if test="statusCd !=null and statusCd != ''">
+                t.status_cd = #{statusCd},
+            </if>
             <if test="amount !=null and amount != ''">
                 t.amount= #{amount},
             </if>