deal with apply (not include application)

add activity end date judge
add some variables for application
can deal with apply  but in display model may some bugs exist