|
|
|
@@ -8,7 +8,7 @@ |
|
|
|
<result column="parent_id" property="parentId" /> |
|
|
|
<result column="name" property="name" /> |
|
|
|
<result column="type" property="type" /> |
|
|
|
<result column="status" property="status" /> |
|
|
|
<result column="sort" property="sort" /> |
|
|
|
<result column="model_id" property="modelId" /> |
|
|
|
<result column="create_date" property="createDate" /> |
|
|
|
<result column="update_date" property="updateDate" /> |
|
|
|
@@ -26,7 +26,7 @@ |
|
|
|
<if test=" null != name "> and `name` like concat('%', #{name},'%') </if> |
|
|
|
|
|
|
|
<if test=" null != sortColumns"> order by ${sortColumns} </if> |
|
|
|
<if test=" null == sortColumns"> order by id asc </if> |
|
|
|
<if test=" null == sortColumns"> order by sort asc </if> |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="findList" parameterType="com.iformall.domain.po.WxFlowConfig" resultMap="BaseResultMap"> |
|
|
|
@@ -35,7 +35,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="findChildList" resultType="WxFlowConfig"> |
|
|
|
SELECT * FROM wx_flow_config WHERE parent_id = #{id} ORDER BY id ASC |
|
|
|
SELECT * FROM wx_flow_config WHERE parent_id = #{id} ORDER BY sort ASC |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |