dyh_notice_short id, case_id, notice_type, notice_type_name, title, content, user_id, user_mobile, user_name, status, cust_id, create_time, update_time case_id = #{entity.caseId}, notice_type = #{entity.noticeType}, notice_type_name = #{entity.noticeTypeName}, title = #{entity.title}, content = #{entity.content}, user_id = #{entity.userId}, user_mobile = #{entity.userMobile}, user_name = #{entity.userName}, status = #{entity.status}, cust_id = #{entity.custId}, create_time = #{entity.createTime}, update_time = #{entity.updateTime} and id = #{terms.id} and case_id = #{terms.caseId} and notice_type = #{terms.noticeType} and notice_type_name = #{terms.noticeTypeName} and title = #{terms.title} and content = #{terms.content} and user_id = #{terms.userId} and user_mobile = #{terms.userMobile} and user_name = #{terms.userName} and status = #{terms.status} and cust_id = #{terms.custId} and DATE_FORMAT(create_time,'%Y-%m-%d') = #{terms.createTime} and (DATE_FORMAT(create_time,'%Y-%m-%d') = ]]> #{terms.createStart} and DATE_FORMAT(create_time,'%Y-%m-%d') #{terms.createEnd}) and DATE_FORMAT(update_time,'%Y-%m-%d') = #{terms.updateTime} and (DATE_FORMAT(update_time,'%Y-%m-%d') = ]]> #{terms.updateStart} and DATE_FORMAT(update_time,'%Y-%m-%d') #{terms.updateEnd}) update id = #{entity.id} update delete from where id = #{id}