shiyunteng
2026-08-24 9c49ede494a10d7e7a322eb2e793afa412ea07e1
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}