|
@@ -315,7 +315,7 @@
|
|
|
|
|
|
|
|
<select id="productNameExist" resultType="java.lang.Boolean">
|
|
<select id="productNameExist" resultType="java.lang.Boolean">
|
|
|
select count(product_id)
|
|
select count(product_id)
|
|
|
- from fs_platform_product_scrm p where p.product_name = #{productName} or p.common_name = #{commonName}
|
|
|
|
|
|
|
+ from fs_platform_product_scrm p where p.product_name = #{productName} or or (p.common_name = '-' AND p.common_name != '-')
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<delete id="deleteFsPlatFormProductByIds">
|
|
<delete id="deleteFsPlatFormProductByIds">
|