<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListView id="__fwfHNrRJ8rfZavczv2R">
  <name>lesson_chapter</name>
  <parentId>__UMwALyqPMqwczm9lfpw</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <description><![CDATA[章信息]]></description>
  <pagination>true</pagination>
  <pageLines>10</pageLines>
  <showTotalRow>true</showTotalRow>
  <refresh>false</refresh>
  <newPage>false</newPage>
  <readonly>false</readonly>
  <relatedMap><![CDATA[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ]]></relatedMap>
  <displayType>relatedForm</displayType>
  <showWaterMark>false</showWaterMark>
  <showActivityColumnType>0</showActivityColumnType>
  <defaultShowMode>month</defaultShowMode>
  <collapsibleShowMode>normal</collapsibleShowMode>
  <waterMarkScript></waterMarkScript>
  <removeActivityScript></removeActivityScript>
  <confirmActivityScript></confirmActivityScript>
  <searchFormId>__L6w5mvStbMCUYNDEVrq</searchFormId>
  <styleId></styleId>
  <autoCompose>false</autoCompose>
  <relatedForm>__W5XSGa7JvznHJAvijaN</relatedForm>
  <templateForm></templateForm>
  <permissionType>public</permissionType>
  <filterScript><![CDATA[]]></filterScript>
  <sqlFilterScript><![CDATA[(function(){    
    var lessonId=decodeURI(getParameter("lessonId"));    
    var chapterId=getItemValueAsString("chapterId");   
    var keyWord = getItemValueAsString("keyWord");   
    var sql = "select "+  
     "'"+ getDomainid() +"' as domainid,"+ 
    "ID,"+
"ID as ITEM_ID,"+
        "ITEM_CHAPTERNAME," + //章节名称
        "ITEM_COVERURL," + //课程封面
        "ITEM_DESCRIPTION," + //课程简介
        "ITEM_SEQ," + //章排序
        "ITEM_ISACTIVE," + //是否启用
        "ITEM_CREATEDTIME," + //创建时间
        "ITEM_UPDATEDTIME," + //更新时间
        "ITEM_LESSONID" + //课程Id
     " from tlk_lesson_chapter where ITEM_LESSONID = '"+lessonId+"' and ITEM_CHAPTERNAME like concat('%','"+keyWord+"','%')";
if(isNotNull(chapterId)){
  sql += " and ID = '"+chapterId+"'";
}
println(sql);
    return sql;    
    })();]]></sqlFilterScript>
  <procedureFilterScript><![CDATA[]]></procedureFilterScript>
  <filterCondition><![CDATA[[]]]></filterCondition>
  <commonFilterCondition><![CDATA[[{field:'keyWord',isCommonFilter:'true'}]]]></commonFilterCondition>
  <authorityCondition></authorityCondition>
  <openType>1</openType>
  <editMode>02</editMode>
</ListView>