ljx %!s(int64=4) %!d(string=hai) anos
pai
achega
71586e14d4
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  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