|
|
@@ -133,12 +133,13 @@
|
|
|
AND tmgs.category_id = #{categoryId}::UUID
|
|
|
</if>
|
|
|
<if test="brandId != null and brandId != ''">
|
|
|
- AND tmgs.brand_id = #{brandId}::UUID
|
|
|
+ AND tmgs.brand_id = #{brandId }::UUID
|
|
|
</if>
|
|
|
<if test="searchText != null">
|
|
|
AND (tmgs.sku_model like concat('%', my_ex.likequery(#{searchText}) , '%')
|
|
|
OR tmgs.sku_name like concat('%', my_ex.likequery(#{searchText}) , '%')
|
|
|
OR tpi.non_std_code like concat('%', my_ex.likequery(#{searchText}) , '%')
|
|
|
+ OR tmw.wh_name like concat('%', my_ex.likequery(#{searchText}) , '%')
|
|
|
)
|
|
|
</if>
|
|
|
<if test="invQtyFlag != null and invQtyFlag = true">
|