浏览代码

Merge branch 'master' of huangrui/CostAccount into dev

lijiaxi 4 年之前
父节点
当前提交
4521d8765f
共有 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