|
@@ -55,7 +55,7 @@ public interface ProductDao extends JpaSpecificationExecutor<Product>, JpaReposi
|
|
|
* @return count by enuu and status
|
|
* @return count by enuu and status
|
|
|
*/
|
|
*/
|
|
|
@Query(value = "select count(1) from products p left join product$private pp on pp.pr_id = p.pr_id where " +
|
|
@Query(value = "select count(1) from products p left join product$private pp on pp.pr_id = p.pr_id where " +
|
|
|
- "p.pr_enuu=:enuu and p.pr_standard = :standard and pp.pr_b2cenabled = :enabled", nativeQuery = true)
|
|
|
|
|
|
|
+ "p.pr_enuu=:enuu and p.pr_pcmpcode is not null and p.pr_pbranden is not null and p.pr_standard = :standard and pp.pr_b2cenabled = :enabled", nativeQuery = true)
|
|
|
Integer getCountByEnuuAndStatusAndEnabled(@Param("enuu") Long enuu, @Param("standard") Short standard, @Param("enabled") Integer enabled);
|
|
Integer getCountByEnuuAndStatusAndEnabled(@Param("enuu") Long enuu, @Param("standard") Short standard, @Param("enabled") Integer enabled);
|
|
|
|
|
|
|
|
/**
|
|
/**
|