diff --git a/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml b/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml index 71acdb7..6b5ca5c 100644 --- a/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml +++ b/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml @@ -59,9 +59,6 @@ AND ylqxzcrbarmc LIKE concat('%', #{ylqxzcrbarmc}, '%') - - AND ggxh LIKE concat('%', #{ggxh}, '%') - AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') @@ -69,17 +66,23 @@ + + AND bur.companyIdFk = #{companyIdFk} + + + AND ggxh = #{ggxh} + AND bur.uuid = #{uuid} AND bur.id = #{id} - + AND diType = #{diType} - AND zczbhhzbapzbh LIKE concat('%',#{zczbhhzbapzbh}, '%') + AND zczbhhzbapzbh LIKE concat(#{zczbhhzbapzbh}, '%')