mitao
2024-04-19 604d00f67ddcf25a9d079ceddd1c668b2a4e5288
ruoyi-system/src/main/resources/mapper/system/TbBasicDataConfigMapper.xml
@@ -42,7 +42,7 @@
      </if>
    </where>
    GROUP BY tdc.type_name
  </select>
  <select id="queryPage" resultType="com.ruoyi.system.vo.BasicDataConfigVO">
    SELECT tbdc.id,tbdc.type_name,tbdc.calculate_type,tbdc.status,tbdc2.basic_data_category_name AS
@@ -52,7 +52,7 @@
    <where>
      tbdc.del_flag = 0 AND tbdc2.del_flag = 0
      <if test="query.typeName != null and query.typeName !=''">
        AND tbdc.type_name LIKE CONCAT('%',#{typeName},'%')
        AND tbdc.type_name LIKE CONCAT('%',#{query.typeName},'%')
      </if>
      <if test="query.status !=null">
        AND tbdc.status = #{query.status}