and (( a.type = '0' AND (s.HANDLE_STATUS = "0" or s.HANDLE_STATUS = "4") ) or ( a.type ='1' AND s.HANDLE_STATUS in ('1','5','6','3','7') and s.REDUCE_CAN = '1'))
and a.SOCIAL_HANDLE_STATUS in ('0','4')
<iftest="tDispatchInfo.empTypeList != null ">
<iftest="tDispatchInfo.empTypeList != null and tDispatchInfo.empTypeList.length>0 ">