dyh_ct_usepost id, user_id, post_id, post_name, unit_id, dept_id, match_type, cust_id, create_time, update_time user_id = #{entity.userId}, post_id = #{entity.postId}, post_name = #{entity.postName}, unit_id = #{entity.unitId}, dept_id = #{entity.deptId}, match_type = #{entity.matchType}, cust_id = #{entity.custId}, create_time = #{entity.createTime}, update_time = #{entity.updateTime} and id = #{terms.id} and user_id = #{terms.userId} and post_id = #{terms.postId} and post_name = #{terms.postName} and unit_id = #{terms.unitId} and dept_id = #{terms.deptId} and match_type = #{terms.matchType} 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}