t
.
id
, t.subCompanyName
, t.subCompanyDesc
, t.companyId
, t.supSubComId
, t.url
, t.canceled
, t.subCompanyCode
, t.outKey
, t.limitUsers
, t.uuid
, t.showOrder
, t.showOrderOfTree
and t.subCompanyCode like CONCAT('%',#{CompanyPO.subCompanyCode},'%')
and t.subCompanyDesc like CONCAT('%',#{CompanyPO.subCompanyDesc},'%')
and t.subCompanyName like CONCAT('%',#{CompanyPO.subCompanyName},'%')
and t.subCompanyCode like '%'||#{CompanyPO.subCompanyCode}||'%'
and t.subCompanyDesc like '%'||#{CompanyPO.subCompanyDesc}||'%'
and t.subCompanyName like '%'||#{CompanyPO.subCompanyName}||'%'
and t.subCompanyCode like '%'||#{CompanyPO.subCompanyCode}||'%'
and t.subCompanyDesc like '%'||#{CompanyPO.subCompanyDesc}||'%'
and t.subCompanyName like '%'||#{CompanyPO.subCompanyName}||'%'
and t.subCompanyCode like '%'+#{CompanyPO.subCompanyCode}+'%'
and t.subCompanyDesc like '%'+#{CompanyPO.subCompanyDesc}+'%'
and t.subCompanyName like '%'+#{CompanyPO.subCompanyName}+'%'
and ifnull(canceled,0)=0
and nvl(canceled,0)=0
and isnull(canceled,0)=0
and COALESCE(canceled,'0')='0'
and ifnull(canceled,0)=
#{CompanyPO.canceled}
and nvl(canceled,0)=
#{CompanyPO.canceled}
and isnull(canceled,0)=
#{CompanyPO.canceled}
and COALESCE(canceled,'0')=
#{CompanyPO.canceled}