|  |  | 
 |  |  |             <if test="optypename != null  and optypename != ''"> | 
 |  |  |                 and optypename like concat('%', #{optypename}, '%') | 
 |  |  |             </if> | 
 |  |  |             <if test="operatortime != null "> | 
 |  |  |                 and operatortime = #{operatortime} | 
 |  |  |             <!--            <if test="operatortime != null ">--> | 
 |  |  |             <!--                and operatortime = #{operatortime}--> | 
 |  |  |             <!--            </if>--> | 
 |  |  |             <if test="beginTime != null ">and date_format(operatortime,'%y%m%d') >= | 
 |  |  |                 date_format(#{beginTime},'%y%m%d') | 
 |  |  |             </if> | 
 |  |  |             <if test="endTime != null ">and date_format(operatortime,'%y%m%d') <= | 
 |  |  |                 date_format(#{endTime},'%y%m%d') | 
 |  |  |             </if> | 
 |  |  |             <if test="opreqtime != null "> | 
 |  |  |                 and opreqtime = #{opreqtime} |