姜永辉 hace 2 años
padre
commit
203d3da289
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/main/java/com/dk/mdm/mapper/mac/AccountItemMapper.xml

+ 3 - 3
src/main/java/com/dk/mdm/mapper/mac/AccountItemMapper.xml

@@ -64,13 +64,13 @@
                 AND t.acc_item_type = #{accItemType}
                 AND t.acc_item_type = #{accItemType}
             </if>
             </if>
             <if test="objectId != null and objectId != ''">
             <if test="objectId != null and objectId != ''">
-                AND t.object_id = #{objectId}
+                AND t.object_id = #{objectId}::uuid
             </if>
             </if>
             <if test="orgId != null and orgId != ''">
             <if test="orgId != null and orgId != ''">
-                AND t.org_id = #{orgId}
+                AND t.org_id = #{orgId}::uuid
             </if>
             </if>
             <if test="staffId != null and staffId != ''">
             <if test="staffId != null and staffId != ''">
-                AND t.staff_id = #{staffId}
+                AND t.staff_id = #{staffId}::uuid
             </if>
             </if>
             <if test="biznisType != null and biznisType != ''">
             <if test="biznisType != null and biznisType != ''">
                 AND t.biznis_type = #{biznisType}
                 AND t.biznis_type = #{biznisType}