<select id="GetInfo">
            <![CDATA[
select * from vi_WaterStation 
            ]]>
            <dynamic prepend="where">
                <isParameterPresent>        

   <isEqual property="state" compareValue="0">

    <![CDATA[

          state=#state#

   ]]>
   < /isEqual>                   
                    <isNotEmpty prepend="and" property="MonitorType" >
                        <![CDATA[
              AOBJID=#AOBJID#
                 
]]>
                    </isNotEmpty>
                    <isNotEmpty prepend="and" property="AOBJTYPE" >
                        <![CDATA[
              AOBJTYPE=#AOBJTYPE#
                 
]]>
                    </isNotEmpty>
                 </isParameterPresent>
            </dynamic>
</select>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2021-12-15
  • 2021-09-13
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2021-05-16
相关资源
相似解决方案