费用类别查询的时候过滤已经删除的内容
This commit is contained in:
@@ -9,14 +9,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<sql id="selectServiceItemsManagePo1">
|
||||
<where>
|
||||
<!-- <!– 删除标记:0-无状态,1-正常,2-已删除,查询时只查询正常的数据 –>-->
|
||||
<!-- <choose>-->
|
||||
<!-- <when test="delFlag != null">-->
|
||||
<!-- and del_flag = #{delFlag}-->
|
||||
<!-- </when>-->
|
||||
<!-- <otherwise>-->
|
||||
<!-- and del_flag = 1-->
|
||||
<!-- </otherwise>-->
|
||||
<!-- </choose>-->
|
||||
<choose>
|
||||
<when test="delFlag != null">
|
||||
and del_flag = #{delFlag}
|
||||
</when>
|
||||
<otherwise>
|
||||
and del_flag = 1
|
||||
</otherwise>
|
||||
</choose>
|
||||
<!-- <if test="createByName != null and createByName != ''">-->
|
||||
<!-- and create_by_name like concat('%', #{createByName}, '%')-->
|
||||
<!-- </if>-->
|
||||
|
||||
Reference in New Issue
Block a user