|
@@ -15,6 +15,7 @@
|
|
|
<result column="update_time_" property="updateTime" />
|
|
|
<result column="operator_id_" property="operatorId" />
|
|
|
<result column="del_flag_" property="delFlag" />
|
|
|
+ <result column="open_flag_" property="openFlag" />
|
|
|
<result column="organ_name_" property="organName" />
|
|
|
<result column="user_id_" property="userId" />
|
|
|
</resultMap>
|
|
@@ -45,6 +46,9 @@
|
|
|
<if test="title != null">
|
|
|
title_ = #{title},
|
|
|
</if>
|
|
|
+ <if test="openFlag != null">
|
|
|
+ open_flag_ = #{openFlag},
|
|
|
+ </if>
|
|
|
<if test="chargeType != null">
|
|
|
charge_type_ = #{chargeType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
@@ -102,6 +106,9 @@
|
|
|
<if test="type == 'common'">
|
|
|
AND sci.user_id_ IS NULL
|
|
|
</if>
|
|
|
+ <if test="openFlag != null">
|
|
|
+ AND sci.open_flag_ = #{openFlag}
|
|
|
+ </if>
|
|
|
<if test="search != null">
|
|
|
AND (sci.title_ LIKE CONCAT('%',#{search},'%') OR su.username_ LIKE CONCAT('%',#{search},'%'))
|
|
|
</if>
|