浏览代码

报账作废后未释放费用申请问题

ly 1 月之前
父节点
当前提交
921631b409
共有 1 个文件被更改,包括 6 次插入8 次删除
  1. 6 8
      src/main/resources/mapper/StaBudgetapprovalDao.xml

+ 6 - 8
src/main/resources/mapper/StaBudgetapprovalDao.xml

@@ -337,16 +337,14 @@
337 337
     <!--通过主键修改基础数据-->
338 338
     <update id="update">
339 339
         update sta_BudgetApproval
340
-        set SQJE = #{sqje},
341
-            FJ   = #{fj},
342
-            BZ   = #{bz},
343
-            SQMC = #{sqmc},
344
-            SQSM = #{sqsm}
340
+        set SQJE = #{sqje}
341
+            ,FJ   = #{fj}
342
+            ,BZ   = #{bz}
343
+            ,SQMC = #{sqmc}
344
+            ,SQSM = #{sqsm}
345 345
             ,BZJE = #{bzje}
346 346
             ,BHSJE = #{bhsje}
347
-            <if test="sfbz != null and sfbz != ''">
348
-                ,SFBZ = #{sfbz}
349
-            </if>
347
+            ,SFBZ = #{sfbz}
350 348
             ,SF = #{sf}
351 349
         where ID = #{id}
352 350
     </update>