diff --git a/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml b/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml index bbd197ad..4a464b0d 100644 --- a/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml +++ b/src/main/resources/mybatis/mapper/basic/UdiRelevanceDao.xml @@ -853,7 +853,7 @@ AND basic_products.tyshxydm = #{tyshxydm} - GROUP BY cpmctymc, manufactory + GROUP BY cpmctymc, manufactory,zczbhhzbapzbh diff --git a/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml b/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml index cfeed9bf..22358b84 100644 --- a/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml +++ b/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml @@ -138,7 +138,7 @@ sup_product.manufacturerIdFk INNER join basic_products on basic_products.cpmctymc = sup_product.recordProductName and basic_products.manufactory = sup_product.manufactory - + where basic_products.zczbhhzbapzbh = sup_product.recordCode and sup_product.id = #{id} @@ -183,7 +183,6 @@ and (sup_product.auditStatus = 1 or sup_product.auditStatus = 4) - GROUP BY cpmctymc, manufactory, ggxh