<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListView id="__Mvqqb980Yo9aFLayGos">
  <name>lesson_section</name>
  <parentId>__UMwALyqPMqwczm9lfpw</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <description><![CDATA[节信息]]></description>
  <pagination>true</pagination>
  <pageLines>10</pageLines>
  <showTotalRow>true</showTotalRow>
  <refresh>false</refresh>
  <refreshAll>false</refreshAll>
  <newPage>false</newPage>
  <readonly>false</readonly>
  <relatedMap><![CDATA[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ]]></relatedMap>
  <displayType>relatedForm</displayType>
  <defaultShowMode>month</defaultShowMode>
  <collapsibleShowMode>normal</collapsibleShowMode>
  <showWaterMark>false</showWaterMark>
  <showActivityColumnType>0</showActivityColumnType>
  <searchFormId>__L6w5mvStbMCUYNDEVrq</searchFormId>
  <autoCompose>false</autoCompose>
  <relatedForm>__pnYRxNIghezkiH0EGDX</relatedForm>
  <permissionType>public</permissionType>
  <filterScript><![CDATA[]]></filterScript>
  <sqlFilterScript><![CDATA[(function(){      
 var lessonChapterId=decodeURI(getParameter("lessonChapterId"));  
var sectionId=getItemValueAsString("sectionId");   
var keyWord = getItemValueAsString("keyWord");   
var sql = "select *"+ 
    
/* "'"+ getDomainid() +"' as domainid,"+  
    "ITEM_LESSONCHAPTERID," + //章id
    "ITEM_LESSONRESOURCENAME," + //节资源
    "ITEM_SECTIONNAME," + //节名称
    "ITEM_COVERURL," + //课程封面
    "ITEM_DESCRIPTION," + //课程简介
    "ITEM_SEQ," + //节排序
    "ITEM_ISACTIVE," + //是否启用
    "ITEM_CREATEDTIME," + //创建时间
    "ITEM_UPDATEDTIME," + //更新时间
    "ITEM_SECTIONRESURL," + //节资源url
    "ITEM_SECTIONRESOURCEFORMAT," + //节资源类型
    "ITEM_SECTIONRESOURCEID," + //节资源Id
    "ITEM_SECTIONTYPE," + //
    "ITEM_TOPICBANKNAME," + //题库名称
    "ITEM_TOPICBANKID," + //题库id
    "ITEM_ISCOMPLETED," + //是否已完成
    "ITEM_ISAUTHFACE," + //是否人脸采集
    "ITEM_SECTIONTIME," + //视频时长
    "ITEM_ISONFACE" + //*/
    
" from tlk_lesson_section where ITEM_LESSONCHAPTERID = '"+lessonChapterId+"' and ITEM_SECTIONNAME like concat('%','"+keyWord+"','%')";    
if(isNotNull(sectionId)){
  sql += " and ID = '"+sectionId+"'";
}

return sql;      
      })();]]></sqlFilterScript>
  <procedureFilterScript><![CDATA[]]></procedureFilterScript>
  <filterCondition><![CDATA[[]]]></filterCondition>
  <commonFilterCondition><![CDATA[[{"field":"keyWord","isCommonFilter":"true"}]]]></commonFilterCondition>
  <authorityCondition>[]</authorityCondition>
  <openType>1</openType>
  <editMode>02</editMode>
  <width>0</width>
  <height>0</height>
</ListView>