费用类别查询的时候过滤已经删除的内容

This commit is contained in:
zhou-hongcheng
2026-02-25 09:50:29 +08:00
parent e848336562
commit 219db303d0
@@ -9,14 +9,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectServiceItemsManagePo1"> <sql id="selectServiceItemsManagePo1">
<where> <where>
<!-- &lt;!&ndash; 删除标记:0-无状态,1-正常,2-已删除,查询时只查询正常的数据 &ndash;&gt;--> <!-- &lt;!&ndash; 删除标记:0-无状态,1-正常,2-已删除,查询时只查询正常的数据 &ndash;&gt;-->
<!-- <choose>--> <choose>
<!-- <when test="delFlag != null">--> <when test="delFlag != null">
<!-- and del_flag = #{delFlag}--> and del_flag = #{delFlag}
<!-- </when>--> </when>
<!-- <otherwise>--> <otherwise>
<!-- and del_flag = 1--> and del_flag = 1
<!-- </otherwise>--> </otherwise>
<!-- </choose>--> </choose>
<!-- <if test="createByName != null and createByName != ''">--> <!-- <if test="createByName != null and createByName != ''">-->
<!-- and create_by_name like concat('%', #{createByName}, '%')--> <!-- and create_by_name like concat('%', #{createByName}, '%')-->
<!-- </if>--> <!-- </if>-->