shiyunteng
11 小时以前 2db76f2066701cbe292f206ad49a7f8523b8aa9f
platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml
@@ -66,7 +66,8 @@
      WHERE
         del_flag = '0'
      <if test="queryDTO.productName !=null and queryDTO.productName !=''">
         and t.product_name LIKE CONCAT('%', #{queryDTO.productName}, '%')
         and ( t.product_name LIKE CONCAT('%', #{queryDTO.productName}, '%') or
         t.erp_code LIKE CONCAT('%', #{queryDTO.productName}, '%'))
      </if>
      <if test="queryDTO.parentId !=null ">
         and t.parent_id = #{queryDTO.parentId}