瀏覽代碼

设置ccg

ljx 4 年之前
父節點
當前提交
71586e14d4
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/resources/mapper/CostCostingGroupMapper.xml

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

@@ -53,10 +53,10 @@
         and ccg.date_month = #{month}
         and ccg.hosp_id = #{hospId}
         <if test="responsibilityCode != null and responsibilityCode != ''">
-            and responsibility_code = #{responsibilityCode}
+            and ccg.responsibility_code = #{responsibilityCode}
         </if>
         <if test="accountCode != null and accountCode != ''">
-            and account_code #{accountCode}
+            and ccg.account_code #{accountCode}
         </if>
         and sd.delete_time = 0
         and cr.delete_time = 0
@@ -79,10 +79,10 @@
         and ccg.date_month = #{month}
         and ccg.hosp_id = #{hospId}
         <if test="responsibilityCode != null and responsibilityCode != ''">
-            and responsibility_code = #{responsibilityCode}
+            and ccg.responsibility_code = #{responsibilityCode}
         </if>
         <if test="accountCode != null and accountCode != ''">
-            and account_code #{accountCode}
+            and ccg.account_code #{accountCode}
         </if>
         and sd.delete_time = 0
         and cr.delete_time = 0
@@ -104,10 +104,10 @@
         and ccg.date_month = #{month}
         and ccg.hosp_id = #{hospId}
         <if test="responsibilityCode != null and responsibilityCode != ''">
-            and responsibility_code = #{responsibilityCode}
+            and ccg.responsibility_code = #{responsibilityCode}
         </if>
         <if test="accountCode != null and accountCode != ''">
-            and account_code #{accountCode}
+            and ccg.account_code #{accountCode}
         </if>
         and sd.delete_time = 0
         and cr.delete_time = 0