|
@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="flowId" column="flow_id" />
|
|
<result property="flowId" column="flow_id" />
|
|
|
<result property="flowName" column="flow_name" />
|
|
<result property="flowName" column="flow_name" />
|
|
|
<result property="flowCode" column="flow_code"/>
|
|
<result property="flowCode" column="flow_code"/>
|
|
|
|
|
+ <result property="flowAttribution" column="flow_attribution"/>
|
|
|
<result property="sort" column="sort" />
|
|
<result property="sort" column="sort" />
|
|
|
<result property="status" column="status" />
|
|
<result property="status" column="status" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
<result property="delFlag" column="del_flag" />
|
|
@@ -19,13 +20,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFlowVo">
|
|
<sql id="selectFlowVo">
|
|
|
- select flow_id, flow_name, sort, status, del_flag, create_by, create_time, update_by, update_time, remark from flow
|
|
|
|
|
|
|
+ select flow_id, flow_name, flow_code ,flow_attribution, sort, status, del_flag, create_by, create_time, update_by, update_time, remark from flow
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFlowList" parameterType="Flow" resultMap="FlowResult">
|
|
<select id="selectFlowList" parameterType="Flow" resultMap="FlowResult">
|
|
|
<include refid="selectFlowVo"/>
|
|
<include refid="selectFlowVo"/>
|
|
|
<where>
|
|
<where>
|
|
|
<if test="flowName != null and flowName != ''"> and flow_name like concat('%', #{flowName}, '%')</if>
|
|
<if test="flowName != null and flowName != ''"> and flow_name like concat('%', #{flowName}, '%')</if>
|
|
|
|
|
+ <if test="flowAttribution != null and flowAttribution != ''"> and flow_attribution = #{flowAttribution}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="delFlag == null"> and del_flag = '0'</if>
|
|
<if test="delFlag == null"> and del_flag = '0'</if>
|
|
|
</where>
|
|
</where>
|