| | |
| | | <if test="ew.productName != null and ew.productName != ''"> |
| | | AND p.product_name LIKE CONCAT('%', #{ew.productName}, '%') |
| | | </if> |
| | | <if test="ew.model != null and ew.model != ''"> |
| | | AND pm.model LIKE CONCAT('%', #{ew.model}, '%') |
| | | </if> |
| | | </where> |
| | | ) temp |
| | | WHERE qualitity != 0 |
| | |
| | | <if test="ew.productName != null and ew.productName != ''"> |
| | | AND p.product_name LIKE CONCAT('%', #{ew.productName}, '%') |
| | | </if> |
| | | <if test="ew.model != null and ew.model != ''"> |
| | | AND pm.model LIKE CONCAT('%', #{ew.model}, '%') |
| | | </if> |
| | | </where> |
| | | ) temp |
| | | WHERE qualitity != 0 |