luohairen
2024-11-26 3832f51c8d596645d8f24f385a72e5c5d448a751
business/src/main/resources/mapper/FlowableTypeMapper.xml
@@ -53,5 +53,17 @@
        WHERE
            TP.deleted = 0
    </select>
    <select id="selectTypeList" parameterType="com.ycl.domain.entity.FlowableType" resultType="com.ycl.domain.entity.FlowableType">
        select * from t_flowable_type
        <where>
            <if test="name != null and name != ''">
                AND name like concat('%', #{name}, '%')
            </if>
            <if test="status != null and status != ''">
                AND status = #{status}
            </if>
        </where>
        order by parent_id, order_num
    </select>
</mapper>