ソースを参照

医嘱作废添加作废两个字

DESKTOP-0GD05B0\Administrator 2 年 前
コミット
d5c0cfbe50

+ 4 - 2
src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/YiZhuLuRuDao.java

@@ -391,7 +391,8 @@ public interface YiZhuLuRuDao {
             "set status_flag = 6, " +
             "    end_time    = getdate(), " +
             "    modifier    = #{userCode}, " +
-            "    instruction = #{reasonForCancellation} " +
+            "    instruction = #{reasonForCancellation}," +
+            "    order_name = cast('(作废)' + yz_act_order.order_name as char(100))" +
             "where act_order_no = #{orderNo}")
     void updateVoidedOrders(String orderNo,
                             String userCode,
@@ -401,7 +402,8 @@ public interface YiZhuLuRuDao {
             "set status_flag = 6, " +
             "    end_time    = getdate(), " +
             "    modifier    = #{userCode}, " +
-            "    instruction = #{reasonForCancellation} " +
+            "    instruction = #{reasonForCancellation}, " +
+            "    order_name = cast('(作废)' + yz_act_order.order_name as char(100))" +
             "where parent_no = #{orderNo}")
     void updateChildOrders(String orderNo,
                            String userCode,