| | |
| | | <if test="checktime != null ">and checktime = #{checktime}</if> |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="typename != null and typename != ''">and typename like concat('%', #{typename}, '%')</if> |
| | | <if test="bgeinTime != null ">and date_format(update_time,'%y%m%d') >= date_format(#{endTime},'%y%m%d') |
| | | </if> |
| | | <if test="endTime != null ">and date_format(update_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') |
| | | </if> |
| | | |
| | | <if test="deptcode != null and deptcode != ''">and deptcode = #{deptcode}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | |
| | | <if test="hospType != null and hospType != ''">and hosp_type = #{hospType}</if> |
| | | <if test="libtemplateid != null ">and libtemplateid = #{libtemplateid}</if> |
| | | <if test="libtemplatename != null and libtemplatename != ''">and libtemplatename = #{libtemplatename}</if> |
| | | <if test="createBy != null and createBy != ''">and create_by = #{createBy}</if> |
| | | <if test="sendState != null ">and send_state = #{sendState}</if> |
| | | </where> |
| | | order by update_time desc,taskid desc |
| | | </select> |