|
@@ -713,6 +713,12 @@
|
|
|
<if test="status != null">
|
|
|
AND mgpc.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
+ <if test="organId != null and organId != ''">
|
|
|
+ AND FIND_IN_SET(mgpc.organ_id_,#{organId})
|
|
|
+ </if>
|
|
|
+ <if test="tenantId != null">
|
|
|
+ AND mgpc.tenant_id_ = #{tenantId}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<select id="countCalender" resultType="java.lang.Integer">
|